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-20250726022846-8a89a2fab4a2 (latest)
- Published
- Jul 26, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 day ago –
Tools for package owners.