Lines Matching defs:cksum
1759 uchar_t cksum[MD5_HASHSIZE];
1929 (char *)cksum, hash->hash_len);
1938 if (bcmp(cksum, mp->b_rptr, hash->hash_len) != 0) {
1953 bzero(cksum, sizeof (cksum));
2218 * |confounder | cksum | msg-data | pad |
2227 * The cksum depends on the hash being used.
2287 uchar_t cksum[MAX_CKSUM_LEN];
2289 result = hash->hashfunc(cksum, mp->b_rptr,
2296 bcopy(cksum, (mp->b_rptr + hash->confound_len),
2380 * |confounder | cksum | msg-data | pad |
2389 * The cksum depends on the hash being used.
2402 uchar_t cksum[MAX_CKSUM_LEN], newcksum[MAX_CKSUM_LEN];
2487 bcopy(mp->b_rptr + inlen - hash->hash_len, cksum,
2490 bcopy(optr + hash->confound_len, cksum, hash->hash_len);
2492 /* zero the cksum in the buffer */
2503 if (bcmp(cksum, newcksum, hash->hash_len)) {