- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for DecryptOAEP (0.07 seconds)
-
lib/fips140/v1.0.0-c2097c7c.zip
db[len(db)-len(msg)-1] = 1 copy(db[len(db)-len(msg):], msg) if err := drbg.ReadWithReaderDeterm(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 fips140.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...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
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...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)