Home
last modified time | relevance | path

Searched refs:integrity_alg (Results 1 – 4 of 4) sorted by relevance

/drivers/block/drbd/
Ddrbd_protocol.h310 char integrity_alg[]; member
Ddrbd_receiver.c3635 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() local
3650 if (pi->size > sizeof(integrity_alg)) in receive_protocol()
3652 err = drbd_recv_all(connection, integrity_alg, pi->size); in receive_protocol()
3655 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol()
3697 if (strcmp(integrity_alg, nc->integrity_alg)) { in receive_protocol()
3705 if (integrity_alg[0]) { in receive_protocol()
3717 peer_integrity_tfm = crypto_alloc_shash(integrity_alg, 0, 0); in receive_protocol()
3721 integrity_alg); in receive_protocol()
3760 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol()
3762 integrity_alg[0] ? integrity_alg : "(none)"); in receive_protocol()
Ddrbd_main.c790 size += strlen(nc->integrity_alg) + 1; in __drbd_send_protocol()
805 strcpy(p->integrity_alg, nc->integrity_alg); in __drbd_send_protocol()
Ddrbd_nl.c2250 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options()
2340 rv = alloc_shash(&crypto->integrity_tfm, new_net_conf->integrity_alg, in alloc_crypto()