Lines Matching refs:verify_alg
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()
4031 new_net_conf->verify_alg_len = strlen(p->verify_alg) + 1; in receive_SyncParam()
4034 drbd_info(device, "using verify-alg: \"%s\"\n", p->verify_alg); in receive_SyncParam()