Reference

nvme_init_auth_receive-libnvme3(2)

Initialize passthru command for Authentication Receive

NAME

nvme_init_auth_receive - Initialize passthru command for Authentication Receive

SYNOPSIS

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

ARGUMENTS

cmd

Passthru command to use

spsp

Security Protocol Specific field

secp

Security Protocol

al

Protocol specific allocation length

data

Authentication message payload buffer to receive data into

len

Data length of the payload in bytes (must match al)

DESCRIPTION

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.