Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for saltLength (0.06 sec)

  1. lib/fips140/v1.0.0.zip

    key and // hash function. func PSSMaxSaltLength(pub *PublicKey, hash fips140.Hash) (int, error) { saltLength := (pub.N.BitLen()-1+7)/8 - 2 - hash.Size() if saltLength < 0 { return 0, ErrMessageTooLong } // FIPS 186-5, Section 5.4(g): "the length (in bytes) of the salt (sLen) // shall satisfy 0 ≤ sLen ≤ hLen". if fips140.Enabled && saltLength > hash.Size() { return hash.Size(), nil } return saltLength, nil } // SignPSS calculates the signature of hashed using RSASSA-PSS. func SignPSS(rand io.Reader,...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  2. api/go1.2.txt

    pkg crypto/rsa, func VerifyPSS(*PublicKey, crypto.Hash, []uint8, []uint8, *PSSOptions) error
    pkg crypto/rsa, type PSSOptions struct
    pkg crypto/rsa, type PSSOptions struct, SaltLength int
    pkg crypto/sha1, func Sum([]uint8) [20]uint8
    pkg crypto/sha256, func Sum224([]uint8) [28]uint8
    pkg crypto/sha256, func Sum256([]uint8) [32]uint8
    pkg crypto/sha512, func Sum384([]uint8) [48]uint8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top