- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _goboringcrypto_ECDSA_verify (0.51 sec)
-
src/crypto/internal/boring/ecdsa.go
return nil, fail("ECDSA_sign") } runtime.KeepAlive(priv) return sig[:sigLen], nil } func VerifyECDSA(pub *PublicKeyECDSA, hash []byte, sig []byte) bool { ok := C._goboringcrypto_ECDSA_verify(0, base(hash), C.size_t(len(hash)), base(sig), C.size_t(len(sig)), pub.key) != 0 runtime.KeepAlive(pub) return ok } func GenerateKeyECDSA(curve string) (X, Y, D BigInt, err error) {
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/internal/boring/goboringcrypto.h
int _goboringcrypto_ECDSA_sign(int, const uint8_t*, size_t, uint8_t*, unsigned int*, const GO_EC_KEY*); size_t _goboringcrypto_ECDSA_size(const GO_EC_KEY*); int _goboringcrypto_ECDSA_verify(int, const uint8_t*, size_t, const uint8_t*, size_t, const GO_EC_KEY*); // #include <openssl/rsa.h> // Note: order of struct fields here is unchecked.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 14.1K bytes - Viewed (0)