nvme_init_auth_send-libnvme32
Initialize passthru command for authentication send
Usage
void nvme_init_auth_send (struct libnvme_passthru_cmd *cmd , __u16 spsp , __u8 secp , __u32 tl , void *data , __u32 len );
Arguments
cmd
|
Passthru command to use |
|---|---|
spsp
|
Security Protocol Specific field |
secp
|
Security Protocol |
tl
|
Protocol specific transfer length |
data
|
Authentication message payload buffer to send |
len
|
Data length of the payload in bytes |
Overview
Initializes the passthru command buffer for the Fabrics Authentication Send command, used to send a KX-HMAC-CHAP authentication message (e.g. struct nvmf_auth_kxchap_reply) to a controller. This is an NVMe-over-Fabrics specific command that reuses the SECP/SPSP0/SPSP1/TL field encoding of the Security Send command.