package crypto
import "gvisor.dev/gvisor/pkg/crypto"
Package crypto wraps crypto primitives.
Index ¶
- func EcdsaP384Sha384Verify(pub *ecdsa.PublicKey, data []byte, r, s *big.Int) (bool, error)
- func SumSha384(data []byte) ([sha512.Size384]byte, error)
Functions ¶
func EcdsaP384Sha384Verify ¶
EcdsaP384Sha384Verify verifies the signature in r, s of hash using ECDSA P384 + SHA 384 and the public key, pub. Its return value records whether the signature is valid.
func SumSha384 ¶
SumSha384 returns the SHA384 checksum of the data.
Source Files ¶
crypto.go crypto_stdlib.go
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.