Scroll to navigation

nvme_gen_dhchap_key(2) libnvme API manual nvme_gen_dhchap_key(2)

NAME

nvme_gen_dhchap_key - DH-HMAC-CHAP key generation

SYNOPSIS

int nvme_gen_dhchap_key (char *hostnqn , enum nvme_hmac_alg hmac , unsigned int key_len , unsigned char *secret , unsigned char *key );

ARGUMENTS

Host NVMe Qualified Name
HMAC algorithm
Output key length
Secret to used for digest
Generated DH-HMAC-CHAP key

RETURN

If key generation was successful the function returns 0 or -1 with errno set otherwise.

nvme_gen_dhchap_key February 2024