---
name: "nvme_init_auth_send-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_auth_send-libnvme3"
---

# nvme\_init\_auth\_send-libnvme3(2)

Initialize passthru command for Authentication Send

## 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.
