Home
last modified time | relevance | path

Searched refs:SHARED_SECRET_MAX (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_protocol.h280 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];
Ddrbd_receiver.c3672 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 …]
Ddrbd_main.c745 memset(p->verify_alg, 0, 2 * SHARED_SECRET_MAX); in drbd_send_sync_param()
Ddrbd_nl.c2649 ((char *)new_net_conf->shared_secret)[SHARED_SECRET_MAX-1] = 0; in drbd_adm_connect()
/Linux-v5.4/include/linux/
Ddrbd_genl.h147 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)
Ddrbd.h317 #define SHARED_SECRET_MAX 64 macro