Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for saltLength (1.43 sec)

  1. lib/fips140/v1.0.0-c2097c7c.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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    public key and // hash function. func PSSMaxSaltLength(pub *PublicKey, hash hash.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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  3. 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (1)
Back to top