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