Lines Matching refs:mHash
20 func emsaPSSEncode(mHash []byte, emBits int, salt []byte, hash hash.Hash) ([]byte, error) {
30 // 2. Let mHash = Hash(M), an octet string of length hLen.
32 if len(mHash) != hLen {
50 // M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt;
60 hash.Write(mHash)
93 func emsaPSSVerify(mHash, em []byte, emBits, sLen int, hash hash.Hash) error {
98 // 2. Let mHash = Hash(M), an octet string of length hLen.
100 if hLen != len(mHash) {
171 // M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt ;
178 hash.Write(mHash)