NAME
nvme_init_auth_send - Initialize passthru command for Authentication Send
SYNOPSIS
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
DESCRIPTION
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.