nvme_init_auth_receive-libnvme32
Initialize passthru command for authentication receive
Usage
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) |
Overview
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.