Searched refs:SHARED_SECRET_MAX (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_protocol.h | 280 char verify_alg[SHARED_SECRET_MAX]; 281 char csums_alg[SHARED_SECRET_MAX]; 287 char verify_alg[SHARED_SECRET_MAX]; 288 char csums_alg[SHARED_SECRET_MAX];
|
D | drbd_receiver.c | 3620 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() 3640 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol() 3845 + SHARED_SECRET_MAX in receive_SyncParam() 3870 BUILD_BUG_ON(sizeof(p->algs) != 2 * SHARED_SECRET_MAX); in receive_SyncParam() 3896 if (data_size > SHARED_SECRET_MAX || data_size == 0) { in receive_SyncParam() 3899 data_size, SHARED_SECRET_MAX); in receive_SyncParam() 3914 D_ASSERT(device, p->verify_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3915 D_ASSERT(device, p->csums_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam() 3916 p->verify_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() 3917 p->csums_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam() [all …]
|
D | drbd_main.c | 735 BUILD_BUG_ON(sizeof(p->algs) != 2 * SHARED_SECRET_MAX); in drbd_send_sync_param()
|
D | drbd_nl.c | 2564 ((char *)new_net_conf->shared_secret)[SHARED_SECRET_MAX-1] = 0; in drbd_adm_connect()
|
/linux-6.1.9/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
|