---
name: "nvme_init_auth_receive-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_receive-libnvme3"
---

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