- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for pkcs1v15ConstructEM (0.15 seconds)
-
lib/fips140/v1.26.0.zip
fips140.RecordApproved() checkApprovedHashNam(hash) return signPKCS1v15(priv, hash, hashed) } func signPKCS1v15(priv *PrivateKey, hash string, hashed []byte) ([]byte, error) { em, err := pkcs1v15ConstructEM(&priv.pub, hash, hashed) if err != nil { return nil, err } return decrypt(priv, em, withCheck) } func pkcs1v15ConstructEM(pub *PublicKey, hash string, hashed []byte) ([]byte, error) { // Special case: "" is used to indicate that the data is signed directly. var prefix []byte if hash != "" { var ok bool...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
fips140.RecordApproved() checkApprovedHashNam(hash) return signPKCS1v15(priv, hash, hashed) } func signPKCS1v15(priv *PrivateKey, hash string, hashed []byte) ([]byte, error) { em, err := pkcs1v15ConstructEM(&priv.pub, hash, hashed) if err != nil { return nil, err } return decrypt(priv, em, withCheck) } func pkcs1v15ConstructEM(pub *PublicKey, hash string, hashed []byte) ([]byte, error) { // Special case: "" is used to indicate that the data is signed directly. var prefix []byte if hash != "" { var ok bool...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)