Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/target/iscsi/
Discsi_target_auth.c87 char *tmp, *orig, *token, *digest_name; in chap_check_algorithm() local
114 digest_name = chap_get_digest_name(digest_type); in chap_check_algorithm()
115 if (!digest_name) in chap_check_algorithm()
118 pr_debug("Selected %s Algorithm\n", digest_name); in chap_check_algorithm()
119 if (chap_test_algorithm(digest_name) < 0) { in chap_check_algorithm()
120 pr_err("failed to allocate %s algo\n", digest_name); in chap_check_algorithm()
180 chap->digest_name = chap_get_digest_name(digest_type); in chap_server_open()
356 tfm = crypto_alloc_shash(chap->digest_name, 0, 0); in chap_server_compute_hash()
399 chap->digest_name, response); in chap_server_compute_hash()
403 chap->digest_name); in chap_server_compute_hash()
[all …]
Discsi_target_auth.h39 unsigned char *digest_name; member
/linux-6.1.9/drivers/nvme/common/
Dauth.c307 const char *digest_name; in nvme_auth_hash_skey() local
311 digest_name = nvme_auth_digest_name(hmac_id); in nvme_auth_hash_skey()
312 if (!digest_name) { in nvme_auth_hash_skey()
317 tfm = crypto_alloc_shash(digest_name, 0, 0); in nvme_auth_hash_skey()