Searched refs:SHARED_SECRET_MAX (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_protocol.h | 280 char verify_alg[SHARED_SECRET_MAX]; 281 char csums_alg[SHARED_SECRET_MAX]; 286 char verify_alg[SHARED_SECRET_MAX]; 287 char csums_alg[SHARED_SECRET_MAX];
|
D | drbd_receiver.c | 3672 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() 3692 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol() 3900 + SHARED_SECRET_MAX in receive_SyncParam() 3925 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in receive_SyncParam() 3950 if (data_size > SHARED_SECRET_MAX || data_size == 0) { in receive_SyncParam() 3953 data_size, SHARED_SECRET_MAX); in receive_SyncParam() 3969 D_ASSERT(device, p->verify_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3970 D_ASSERT(device, p->csums_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3971 p->verify_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() 3972 p->csums_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() [all …]
|
D | drbd_main.c | 745 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in drbd_send_sync_param()
|
D | drbd_nl.c | 2649 ((char *)new_net_conf->shared_secret)[SHARED_SECRET_MAX-1] = 0; in drbd_adm_connect()
|
/Linux-v5.4/include/linux/ |
D | drbd_genl.h | 147 shared_secret, SHARED_SECRET_MAX) 148 __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX) 149 __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX) 150 __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX) 151 __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
|
D | drbd.h | 317 #define SHARED_SECRET_MAX 64 macro
|