nvme_gen_dhchap_key - DH-HMAC-CHAP key generation
Contents
Arguments
hostnqn Host NVMe Qualified Name
hmac HMAC algorithm
key_len Output key length
secret Secret to used for digest
key Generated DH-HMAC-CHAP key
Name
nvme_gen_dhchap_key - DH-HMAC-CHAP key generation
Return
If key generation was successful the function returns 0 or -1 with errno set otherwise.
August 2025 nvme_gen_dhchap_key nvme_gen_dhchap_key(2)
Synopsis
intnvme_gen_dhchap_key(char*hostnqn,enumnvme_hmac_alghmac,unsignedintkey_len,unsignedchar*secret,unsignedchar*key);
