Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_protocol.h274 char verify_alg[]; member
280 char verify_alg[SHARED_SECRET_MAX]; member
286 char verify_alg[SHARED_SECRET_MAX]; member
Ddrbd_receiver.c3926 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 …]
Ddrbd_main.c742 + strlen(nc->verify_alg) + 1 in drbd_send_sync_param()
749 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in drbd_send_sync_param()
768 strcpy(p->verify_alg, nc->verify_alg); in drbd_send_sync_param()
Ddrbd_nl.c2392 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2481 if (ovr && strcmp(new_net_conf->verify_alg, old_net_conf->verify_alg)) { in drbd_adm_net_opts()
Ddrbd_state.c880 (nc->verify_alg[0] == 0)) in is_valid_state()