- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkPublicKey (0.19 sec)
-
lib/fips140/v1.0.0.zip
sig []byte) error { fipsSelfTest() fips140.RecordApproved() checkApprovedHashNam(hash) return verifyPKCS1v15(pub, hash, hashed, sig) } func verifyPKCS1v15(pub *PublicKey, hash string, hashed []byte, sig []byte) error { if fipsApproved, err := checkPublicKey(pub); err != nil { return err } else if !fipsApproved { fips140.RecordNonApproved() } // RFC 8017 Section 8.2.2: If the length of the signature S is not k // octets (where k is the length in octets of the RSA modulus n), output // "invalid signature"...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)