Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c261 int auth_ret = -1, ret, initiatorchg_len; in chap_server_compute_hash() local
458 initiatorchg_len = DIV_ROUND_UP(strlen(initiatorchg), 2); in chap_server_compute_hash()
459 if (!initiatorchg_len) { in chap_server_compute_hash()
463 if (initiatorchg_len > 1024) { in chap_server_compute_hash()
469 initiatorchg_len) < 0) { in chap_server_compute_hash()
475 initiatorchg_len = chap_base64_decode(initiatorchg_binhex, in chap_server_compute_hash()
478 if (initiatorchg_len < 0) { in chap_server_compute_hash()
482 if (!initiatorchg_len) { in chap_server_compute_hash()
486 if (initiatorchg_len > 1024) { in chap_server_compute_hash()
502 if (initiatorchg_len == chap->challenge_len && in chap_server_compute_hash()
[all …]