- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 162 for birini (0.17 sec)
-
src/crypto/ecdh/nist.go
// only be the result of a scalar multiplication if one of the inputs is the // zero scalar or the point at infinity. if boring.Enabled { return boring.ECDH(local.boring, remote.boring) } boring.Unreachable() p, err := c.newPoint().SetBytes(remote.publicKey) if err != nil { return nil, err } if _, err := p.ScalarMult(p, local.privateKey); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 8.1K bytes - Viewed (0) -
src/crypto/rand/rand_unix.go
// Unix cryptographically secure pseudorandom number // generator. package rand import ( "crypto/internal/boring" "errors" "io" "os" "sync" "sync/atomic" "syscall" "time" ) const urandomDevice = "/dev/urandom" func init() { if boring.Enabled { Reader = boring.RandReader return } Reader = &reader{} } // A reader satisfies reads by reading from urandomDevice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:32:46 UTC 2022 - 1.8K bytes - Viewed (0) -
test/asmhdr.dir/main.go
c uint8 } var ( typSize uint64 typA, typB, typC uint64 ) func main() { if smallInt != smallIntAsm { println("smallInt", smallInt, "!=", smallIntAsm) } if bigInt != bigIntAsm { println("bigInt", uint64(bigInt), "!=", bigIntAsm) } if stringVal != string(stringAsm[:]) { println("stringVal", stringVal, "!=", string(stringAsm[:])) } if longStringVal != string(longStringAsm[:]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 10 21:27:19 UTC 2022 - 1.8K 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/sha256/sha256.go
// state of the hash. func New() hash.Hash { if boring.Enabled { return boring.NewSHA256() } d := new(digest) d.Reset() return d } // New224 returns a new hash.Hash computing the SHA224 checksum. func New224() hash.Hash { if boring.Enabled { return boring.NewSHA224() } d := new(digest) d.is224 = true d.Reset() return d }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
src/crypto/boring/boring_test.go
//go:build boringcrypto package boring_test import ( "crypto/boring" "runtime" "testing" ) func TestEnabled(t *testing.T) { supportedPlatform := runtime.GOOS == "linux" && (runtime.GOARCH == "amd64" || runtime.GOARCH == "arm64") if supportedPlatform && !boring.Enabled() { t.Error("Enabled returned false on a supported platform") } else if !supportedPlatform && boring.Enabled() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 21:28:09 UTC 2022 - 620 bytes - Viewed (0) -
src/crypto/rsa/pkcs1v15.go
return nil, err } k := pub.Size() if len(msg) > k-11 { return nil, ErrMessageTooLong } if boring.Enabled && random == boring.RandReader { bkey, err := boringPublicKey(pub) if err != nil { return nil, err } return boring.EncryptRSAPKCS1(bkey, msg) } boring.UnreachableExceptTests() // EM = 0x00 || 0x02 || PS || 0x00 || M em := make([]byte, k) em[1] = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:21 UTC 2024 - 12.8K bytes - Viewed (0) -
src/math/big/alias_test.go
"Abs": func(v, x bigInt) bool { return checkAliasingOneArg(t, (*big.Int).Abs, v.Int, x.Int) }, "Add": func(v, x, y bigInt) bool { return checkAliasingTwoArgs(t, (*big.Int).Add, v.Int, x.Int, y.Int) }, "And": func(v, x, y bigInt) bool { return checkAliasingTwoArgs(t, (*big.Int).And, v.Int, x.Int, y.Int) }, "AndNot": func(v, x, y bigInt) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0) -
src/crypto/rsa/pss.go
// well-specified number of random bytes is included in the signature, in a // well-specified way. if boring.Enabled && rand == boring.RandReader { bkey, err := boringPrivateKey(priv) if err != nil { return nil, err } return boring.SignRSAPSS(bkey, hash, digest, opts.saltLength()) } boring.UnreachableExceptTests() if opts != nil && opts.Hash != 0 { hash = opts.Hash }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11K bytes - Viewed (0) -
src/go/build/deps_test.go
NET, log < net/mail; NONE < crypto/internal/boring/sig, crypto/internal/boring/syso; sync/atomic < crypto/internal/boring/bcache, crypto/internal/boring/fipstls; crypto/internal/boring/sig, crypto/internal/boring/fipstls < crypto/tls/fipsonly; # CRYPTO is core crypto algorithms - no cgo, fmt, net. crypto/internal/boring/sig, crypto/internal/boring/syso, golang.org/x/sys/cpu, hash, embed < crypto
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0)