Lines Matching defs:hash_len
120 uint_t hash_len;
344 headspace += null_hash.hash_len + null_hash.confound_len;
347 headspace += crc32_hash.hash_len + crc32_hash.confound_len;
350 headspace += md5_hash.hash_len + md5_hash.confound_len;
356 headspace += md5_hash.hash_len + md5_hash.confound_len;
382 cipherlen = (size_t)P2ROUNDUP(null_hash.hash_len +
386 cipherlen = (size_t)P2ROUNDUP(md5_hash.hash_len +
391 cipherlen = (size_t)P2ROUNDUP(crc32_hash.hash_len +
398 sha1_hash.hash_len;
402 plainlen, 1) + md5_hash.hash_len;
1606 (char *)hmacbuff, hash->hash_len);
1685 (char *)hmacbuff, hash->hash_len);
1784 cipherlen = inlen - hash->hash_len;
1852 (char *)mp->b_rptr, hash->hash_len,
1901 v1.iov_base = (char *)mp->b_rptr + hash->hash_len;
1928 (char *)mp->b_rptr + hash->hash_len, cipherlen,
1929 (char *)cksum, hash->hash_len);
1938 if (bcmp(cksum, mp->b_rptr, hash->hash_len) != 0) {
1948 mp->b_rptr += hash->hash_len + hash->confound_len;
2024 mp->b_rptr -= (hash->confound_len + hash->hash_len);
2027 bzero(mp->b_rptr, (size_t)hash->hash_len);
2078 (uint8_t *)(mp->b_rptr + hash->hash_len),
2093 (char *)mp->b_rptr + hash->hash_len,
2095 (char *)mp->b_rptr, hash->hash_len);
2128 (char *)mp->b_rptr, hash->hash_len,
2170 v1.iov_base = (char *)mp->b_rptr + hash->hash_len;
2269 mp->b_rptr -= (hash->confound_len + hash->hash_len);
2272 bzero(mp->b_rptr + hash->confound_len, (size_t)hash->hash_len);
2286 if (hash->hash_len > 0 && hash->hashfunc != NULL) {
2297 (size_t)hash->hash_len);
2323 plainlen = cipherlen - hash->hash_len;
2330 hash->hash_len);
2430 int decrypt_len = inlen - hash->hash_len;
2448 (char *)newcksum, hash->hash_len);
2485 if (hash->hash_len > 0) {
2487 bcopy(mp->b_rptr + inlen - hash->hash_len, cksum,
2488 hash->hash_len);
2490 bcopy(optr + hash->confound_len, cksum, hash->hash_len);
2493 ASSERT(optr + hash->confound_len + hash->hash_len <=
2495 bzero(optr + hash->confound_len, hash->hash_len);
2503 if (bcmp(cksum, newcksum, hash->hash_len)) {
2519 datalen = inlen - hash->confound_len - hash->hash_len;
2522 if (hash->confound_len > 0 || hash->hash_len > 0) {
2526 mp->b_rptr += hash->confound_len + hash->hash_len;
3034 extra = sha1_hash.hash_len;