- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for DecryptOAEP (3.71 sec)
-
lib/fips140/v1.1.0-rc1.zip
db[len(db)-len(msg)-1] = 1 copy(db[len(db)-len(msg):], msg) if err := drbg.ReadWithReader(random, seed); err != nil { return nil, err } mgf1XOR(db, mgfHash, seed) mgf1XOR(seed, mgfHash, db) return encrypt(pub, em) } // DecryptOAEP decrypts ciphertext using RSAES-OAEP. func DecryptOAEP(hash, mgfHash hash.Hash, priv *PrivateKey, ciphertext []byte, label []byte) ([]byte, error) { fipsSelfTest() fips140.RecordApproved() checkApprovedHash(hash) k := priv.pub.Size() if len(ciphertext) > k || k < hash.Size()*2+2...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)