- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SignMarshalECDSA (0.17 sec)
-
src/crypto/internal/boring/notboring.go
panic("boringcrypto: not available") } func NewPublicKeyECDSA(curve string, X, Y BigInt) (*PublicKeyECDSA, error) { panic("boringcrypto: not available") } func SignMarshalECDSA(priv *PrivateKeyECDSA, hash []byte) ([]byte, error) { panic("boringcrypto: not available") } func VerifyECDSA(pub *PublicKeyECDSA, hash []byte, sig []byte) bool { 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/internal/boring/ecdsa.go
// to make sure k is not collected (and finalized) before the cgo // call returns. runtime.SetFinalizer(k, (*PrivateKeyECDSA).finalize) return k, nil } func SignMarshalECDSA(priv *PrivateKeyECDSA, hash []byte) ([]byte, error) { size := C._goboringcrypto_ECDSA_size(priv.key) sig := make([]byte, size) var sigLen C.uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 17:51:31 UTC 2023 - 4.7K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
randutil.MaybeReadByte(rand) if boring.Enabled && rand == boring.RandReader { b, err := boringPrivateKey(priv) if err != nil { return nil, err } return boring.SignMarshalECDSA(b, hash) } boring.UnreachableExceptTests() csprng, err := mixedCSPRNG(rand, priv, hash) if err != nil { return nil, err } if sig, err := signAsm(priv, csprng, hash); err != errNoAsm {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0)