Searched refs:verify_alg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_protocol.h | 274 char verify_alg[0]; member 280 char verify_alg[SHARED_SECRET_MAX]; member 286 char verify_alg[SHARED_SECRET_MAX]; member
|
D | drbd_receiver.c | 3925 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in receive_SyncParam() 3958 err = drbd_recv_all(peer_device->connection, p->verify_alg, data_size); in receive_SyncParam() 3963 D_ASSERT(device, p->verify_alg[data_size-1] == 0); in receive_SyncParam() 3964 p->verify_alg[data_size-1] = 0; in receive_SyncParam() 3969 D_ASSERT(device, p->verify_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3971 p->verify_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() 3975 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam() 3978 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() 3982 p->verify_alg, "verify-alg"); in receive_SyncParam() 4030 strcpy(new_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() [all …]
|
D | drbd_main.c | 738 + strlen(nc->verify_alg) + 1 in drbd_send_sync_param() 745 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in drbd_send_sync_param() 764 strcpy(p->verify_alg, nc->verify_alg); in drbd_send_sync_param()
|
D | drbd_nl.c | 2399 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto() 2488 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.4/include/linux/ |
D | drbd_genl.h | 150 __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
|