nvme_init_auth_receive(9) libnvme API manual nvme_init_auth_receive(9)

nvme_init_auth_receive - Initialize passthru command for Authentication Receive

void nvme_init_auth_receive (struct libnvme_passthru_cmd *cmd , __u16 spsp , __u8 secp , __u32 al , void *data , __u32 len );

Passthru command to use
Security Protocol Specific field
Security Protocol
Protocol specific allocation length
Authentication message payload buffer to receive data into
Data length of the payload in bytes (must match al)

Initializes the passthru command buffer for the Fabrics Authentication Receive command, used to receive a KX-HMAC-CHAP authentication message (e.g. struct nvmf_auth_kxchap_challenge) from a controller. This is an NVMe-over-Fabrics specific command that reuses the SECP/SPSP0/SPSP1/AL field encoding of the Security Receive command.

nvme_init_auth_receive October 2026