Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for firstByteIsZero (0.09 seconds)

  1. lib/fips140/v1.26.0.zip

    checkApprovedHash(hash) k := priv.pub.Size() if len(ciphertext) > k || k < hash.Size()*2+2 { return nil, ErrDecryption } em, err := decrypt(priv, ciphertext, noCheck) if err != nil { return nil, err } hash.Reset() hash.Write(label) lHash := hash.Sum(nil) firstByteIsZero := constanttime.ByteEq(em[0], 0) seed := em[1 : hash.Size()+1] db := em[hash.Size()+1:] mgf1XOR(seed, mgfHash, db) mgf1XOR(db, mgfHash, seed) lHash2 := db[0:hash.Size()] // We have to validate the plaintext in constant time in order to avoid //...
    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)
Back to Top