Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/drbd/
Ddrbd_receiver.c5354 #define CHALLENGE_LEN 64 macro
5365 char my_challenge[CHALLENGE_LEN]; /* 64 Bytes... */ in drbd_do_auth()
5401 get_random_bytes(my_challenge, CHALLENGE_LEN); in drbd_do_auth()
5409 my_challenge, CHALLENGE_LEN); in drbd_do_auth()
5426 if (pi.size > CHALLENGE_LEN * 2) { in drbd_do_auth()
5432 if (pi.size < CHALLENGE_LEN) { in drbd_do_auth()
5450 if (!memcmp(my_challenge, peers_ch, CHALLENGE_LEN)) { in drbd_do_auth()
5510 rv = crypto_shash_digest(desc, my_challenge, CHALLENGE_LEN, in drbd_do_auth()