Lines Matching full:hmac
94 const char hmac[15]; member
99 .hmac = "hmac(sha256)",
104 .hmac = "hmac(sha384)",
109 .hmac = "hmac(sha512)",
118 return hash_map[hmac_id].hmac; in nvme_auth_hmac_name()
138 if (!strlen(hash_map[i].hmac)) in nvme_auth_hmac_id()
140 if (!strncmp(hash_map[i].hmac, hmac_name, in nvme_auth_hmac_id()
141 strlen(hash_map[i].hmac))) in nvme_auth_hmac_id()
480 * The generated PSK for TLS shall be computed applying the HMAC function
482 * DH-HMAC-CHAP_Challenge message with the session key KS as key to the
484 * PSK = HMAC(KS, C1 || C2)).
565 * 4648) the result of the application of the HMAC function using the hash
567 * suite associated with the PSK identity) with the PSK as HMAC key to the
575 * (i.e., <PSK digest> = Base64(HMAC(PSK, NQNh || " " || NQNc || " " ||