- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for BoringCrypto (0.28 sec)
-
src/crypto/internal/boring/notboring.go
func NewSHA224() hash.Hash { panic("boringcrypto: not available") } func NewSHA256() hash.Hash { panic("boringcrypto: not available") } func NewSHA384() hash.Hash { panic("boringcrypto: not available") } func NewSHA512() hash.Hash { panic("boringcrypto: not available") } func SHA1([]byte) [20]byte { panic("boringcrypto: not available") } func SHA224([]byte) [28]byte { panic("boringcrypto: not available") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 4.9K bytes - Viewed (0) -
src/crypto/boring/notboring_test.go
// license that can be found in the LICENSE file. //go:build (goexperiment.boringcrypto && !boringcrypto) || (!goexperiment.boringcrypto && boringcrypto) package boring_test import "testing" func TestNotBoring(t *testing.T) { t.Error("goexperiment.boringcrypto and boringcrypto should be equivalent build tags")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 428 bytes - Viewed (0) -
src/crypto/internal/boring/hmac.go
if C._goboringcrypto_HMAC_Init(&h.ctx, unsafe.Pointer(base(h.key)), C.int(len(h.key)), h.md) == 0 { panic("boringcrypto: HMAC_Init failed") } if int(C._goboringcrypto_HMAC_size(&h.ctx)) != h.size { println("boringcrypto: HMAC size:", C._goboringcrypto_HMAC_size(&h.ctx), "!=", h.size) panic("boringcrypto: HMAC size mismatch") } runtime.KeepAlive(h) // Next line will keep h alive too; just making doubly sure. h.sum = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 17:51:31 UTC 2023 - 4K bytes - Viewed (0) -
src/crypto/boring/boring.go
//go:build boringcrypto // Package boring exposes functions that are only available when building with // Go+BoringCrypto. This package is available on all targets as long as the // Go+BoringCrypto toolchain is used. Use the Enabled function to determine // whether the BoringCrypto core is actually in use. // // Any time the Go+BoringCrypto toolchain is used, the "boringcrypto" build tag
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:22 UTC 2022 - 800 bytes - Viewed (0) -
src/crypto/internal/boring/sig/sig.go
// and will result in certain code sequences being linked into // the final binary. The functions themselves are no-ops. package sig // BoringCrypto indicates that the BoringCrypto module is present. func BoringCrypto() // FIPSOnly indicates that package crypto/tls/fipsonly is present. func FIPSOnly() // StandardCrypto indicates that standard Go crypto is present.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 15:58:43 UTC 2017 - 614 bytes - Viewed (0) -
src/crypto/rsa/boring_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build boringcrypto // Note: Can run these tests against the non-BoringCrypto // version of the code by using "CGO_ENABLED=0 go test". package rsa import ( "crypto" "crypto/rand" "encoding/asn1" "encoding/hex" "math/big" "runtime" "runtime/debug" "sync"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 00:16:30 UTC 2022 - 4.5K bytes - Viewed (0) -
src/crypto/rsa/notboring.go
// license that can be found in the LICENSE file. //go:build !boringcrypto package rsa import "crypto/internal/boring" func boringPublicKey(*PublicKey) (*boring.PublicKeyRSA, error) { panic("boringcrypto: not available") } func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyRSA, error) { panic("boringcrypto: not available")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:22 UTC 2022 - 445 bytes - Viewed (0) -
src/crypto/internal/boring/syso/syso.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build boringcrypto // This package only exists with GOEXPERIMENT=boringcrypto. // It provides the actual syso file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:22 UTC 2022 - 295 bytes - Viewed (0) -
src/crypto/internal/boring/boring.go
func init() { C._goboringcrypto_BORINGSSL_bcm_power_on_self_test() if C._goboringcrypto_FIPS_mode() != 1 { panic("boringcrypto: not in FIPS mode") } sig.BoringCrypto() } // Unreachable marks code that should be unreachable // when BoringCrypto is in use. It panics. func Unreachable() { panic("boringcrypto: invalid code execution") } // provided by runtime to avoid os import. func runtime_arg0() string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 3K bytes - Viewed (0) -
src/internal/goexperiment/exp_boringcrypto_off.go
// Code generated by mkconsts.go. DO NOT EDIT. //go:build !goexperiment.boringcrypto package goexperiment const BoringCrypto = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 162 bytes - Viewed (0)