Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_receiver.c5402 #define CHALLENGE_LEN 64 macro
5413 char my_challenge[CHALLENGE_LEN]; /* 64 Bytes... */ in drbd_do_auth()
5449 get_random_bytes(my_challenge, CHALLENGE_LEN); in drbd_do_auth()
5457 my_challenge, CHALLENGE_LEN); in drbd_do_auth()
5474 if (pi.size > CHALLENGE_LEN * 2) { in drbd_do_auth()
5480 if (pi.size < CHALLENGE_LEN) { in drbd_do_auth()
5499 if (!memcmp(my_challenge, peers_ch, CHALLENGE_LEN)) { in drbd_do_auth()
5561 rv = crypto_shash_digest(desc, my_challenge, CHALLENGE_LEN, in drbd_do_auth()