Lines Matching refs:SHARED_SECRET_MAX
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()
5356 char secret[SHARED_SECRET_MAX]; /* 64 byte */ in drbd_do_auth()