Home | History | Annotate | Download | only in rsa

Lines Matching refs:hashLen

205 	hashLen, prefix, err := pkcs1v15HashInfo(hash, len(hashed))
210 tLen := len(prefix) + hashLen
222 copy(em[k-tLen:k-hashLen], prefix)
223 copy(em[k-hashLen:k], hashed)
242 hashLen, prefix, err := pkcs1v15HashInfo(hash, len(hashed))
247 tLen := len(prefix) + hashLen
261 ok &= subtle.ConstantTimeCompare(em[k-hashLen:k], hashed)
262 ok &= subtle.ConstantTimeCompare(em[k-tLen:k-hashLen], prefix)
276 func pkcs1v15HashInfo(hash crypto.Hash, inLen int) (hashLen int, prefix []byte, err error) {
283 hashLen = hash.Size()
284 if inLen != hashLen {