Searched refs:integrity_alg (Results 1 – 4 of 4) sorted by relevance
/drivers/block/drbd/ |
D | drbd_protocol.h | 308 char integrity_alg[]; member
|
D | drbd_receiver.c | 3673 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() local 3688 if (pi->size > sizeof(integrity_alg)) in receive_protocol() 3690 err = drbd_recv_all(connection, integrity_alg, pi->size); in receive_protocol() 3693 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol() 3735 if (strcmp(integrity_alg, nc->integrity_alg)) { in receive_protocol() 3743 if (integrity_alg[0]) { in receive_protocol() 3755 peer_integrity_tfm = crypto_alloc_shash(integrity_alg, 0, 0); in receive_protocol() 3759 integrity_alg); in receive_protocol() 3798 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol() 3800 integrity_alg[0] ? integrity_alg : "(none)"); in receive_protocol()
|
D | drbd_main.c | 785 size += strlen(nc->integrity_alg) + 1; in __drbd_send_protocol() 800 strcpy(p->integrity_alg, nc->integrity_alg); in __drbd_send_protocol()
|
D | drbd_nl.c | 2306 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options() 2396 rv = alloc_shash(&crypto->integrity_tfm, new_net_conf->integrity_alg, in alloc_crypto()
|