Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_protocol.h310 char integrity_alg[]; member
Ddrbd_receiver.c3620 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() local
3635 if (pi->size > sizeof(integrity_alg)) in receive_protocol()
3637 err = drbd_recv_all(connection, integrity_alg, pi->size); in receive_protocol()
3640 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol()
3682 if (strcmp(integrity_alg, nc->integrity_alg)) { in receive_protocol()
3690 if (integrity_alg[0]) { in receive_protocol()
3702 peer_integrity_tfm = crypto_alloc_shash(integrity_alg, 0, 0); in receive_protocol()
3706 integrity_alg); in receive_protocol()
3745 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol()
3747 integrity_alg[0] ? integrity_alg : "(none)"); in receive_protocol()
Ddrbd_main.c786 size += strlen(nc->integrity_alg) + 1; in __drbd_send_protocol()
801 strcpy(p->integrity_alg, nc->integrity_alg); in __drbd_send_protocol()
Ddrbd_nl.c2228 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options()
2318 rv = alloc_shash(&crypto->integrity_tfm, new_net_conf->integrity_alg, in alloc_crypto()
/linux-6.1.9/include/linux/
Ddrbd_genl.h149 __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)