---
name: "nvmf_auth_kxchap_reply-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/nvmf_auth_kxchap_reply-libnvme3"
---

# nvmf\_auth\_kxchap\_reply-libnvme3(2)

KX-HMAC-CHAP\_Reply message, host to controller

## NAME

struct nvmf\_auth\_kxchap\_reply - KX-HMAC-CHAP\_Reply message, host to controller

## SYNOPSIS

struct nvmf\_auth\_kxchap\_reply {\
     **\_\_u8 auth\_type;**\
     **\_\_u8 auth\_id;**\
     **\_\_u16 rsvd2;**\
     **\_\_le16 t\_id;**\
     **\_\_u8 hl;**\
     **\_\_u8 rsvd7;**\
     **\_\_u8 cvalid;**\
     **\_\_u8 rsvd9;**\
     **\_\_le16 kxvlen;**\
     **\_\_le32 seqnum;**\
     **\_\_u8 rval\_cval\_kxv\[\];**\
 };\

## Members

- auth\_type

  Authentication Type, see *enum nvmf\_auth\_protocol\_id*

- auth\_id

  Authentication Identifier, see *enum nvmf\_auth\_kxchap\_id*

- rsvd2

  Reserved

- t\_id

  Transaction Identifier

- hl

  Hash Length: length in bytes of the selected hash function

- rsvd7

  Reserved

- cvalid

  Challenge Valid: 01h if the Challenge Value in *rval\_cval\_kxv* is valid (bidirectional authentication requested), 00h otherwise.

- rsvd9

  Reserved

- kxvlen

  KX Value Length: length in bytes of the KX Value carried in *rval\_cval\_kxv*, cleared to 0h if no key exchange is performed.

- seqnum

  Sequence Number (S2)

- rval\_cval\_kxv

  Response Value (R1, *hl* bytes), followed by the Challenge Value (C2, *hl* bytes, cleared to 0h if *cvalid* is 00h), followed by the KX Value (KXh, *kxvlen* bytes). The KX Value is absent if *kxvlen* is cleared to 0h.
