Lines Matching defs:digest
1371 * and may need to be corrected for digest size. */
1446 void *digest, int digest_size, enum drbd_packet cmd)
1451 /* FIXME: Put the digest into the preallocated socket buffer. */
1460 return drbd_send_command(peer_device, sock, cmd, sizeof(*p), digest, digest_size);
1732 /* our digest is still only over the payload.
1753 * won't change the data on the wire, thus if the digest checks
1762 /* double check digest, sometimes buffers have been modified in flight. */
1764 /* 64 byte, 512 bit, is the largest digest size
1766 unsigned char digest[64];
1767 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest);
1768 if (memcmp(p + 1, digest, digest_size)) {
1774 ... Be noisy about digest too large ...