Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for emsaPSSEncode (0.22 sec)

  1. src/crypto/rsa/pss.go

    //
    // where
    //
    //     DB = PS || 0x01 || salt
    //
    // and PS can be empty so
    //
    //     emLen = dbLen + hLen + 1 = psLen + sLen + hLen + 2
    //
    
    func emsaPSSEncode(mHash []byte, emBits int, salt []byte, hash hash.Hash) ([]byte, error) {
    	// See RFC 8017, Section 9.1.1.
    
    	hLen := hash.Size()
    	sLen := len(salt)
    	emLen := (emBits + 7) / 8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top