Searched refs:verify_alg (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/block/drbd/ |
| D | drbd_protocol.h | 274 char verify_alg[]; member 280 char verify_alg[SHARED_SECRET_MAX]; member 286 char verify_alg[SHARED_SECRET_MAX]; member
|
| D | drbd_receiver.c | 3926 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in receive_SyncParam() 3959 err = drbd_recv_all(peer_device->connection, p->verify_alg, data_size); in receive_SyncParam() 3964 D_ASSERT(device, p->verify_alg[data_size-1] == 0); in receive_SyncParam() 3965 p->verify_alg[data_size-1] = 0; in receive_SyncParam() 3970 D_ASSERT(device, p->verify_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3972 p->verify_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() 3976 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam() 3979 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() 3983 p->verify_alg, "verify-alg"); in receive_SyncParam() 4031 strcpy(new_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() [all …]
|
| D | drbd_main.c | 739 + strlen(nc->verify_alg) + 1 in drbd_send_sync_param() 746 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in drbd_send_sync_param() 765 strcpy(p->verify_alg, nc->verify_alg); in drbd_send_sync_param()
|
| D | drbd_nl.c | 2390 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto() 2479 if (ovr && strcmp(new_net_conf->verify_alg, old_net_conf->verify_alg)) { in drbd_adm_net_opts()
|
| D | drbd_state.c | 880 (nc->verify_alg[0] == 0)) in is_valid_state()
|
| /Linux-v5.10/include/linux/ |
| D | drbd_genl.h | 150 __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
|