Lines Matching refs:initiatorchg_len
261 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()
504 initiatorchg_len)) { in chap_server_compute_hash()
536 ret = crypto_shash_finup(desc, initiatorchg_binhex, initiatorchg_len, in chap_server_compute_hash()