---
name: "nvmf_auth_kxchap_challenge-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_challenge-libnvme3"
---

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

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

## NAME

struct nvmf\_auth\_kxchap\_challenge - KX-HMAC-CHAP\_Challenge message, controller to host

## SYNOPSIS

struct nvmf\_auth\_kxchap\_challenge {\
     **\_\_u8 auth\_type;**\
     **\_\_u8 auth\_id;**\
     **\_\_u16 rsvd2;**\
     **\_\_le16 t\_id;**\
     **\_\_u8 hl;**\
     **\_\_u8 rsvd7;**\
     **\_\_u8 hashid;**\
     **\_\_u8 kxgid;**\
     **\_\_le16 kxvlen;**\
     **\_\_le32 seqnum;**\
     **\_\_u8 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

- hashid

  Hash Identifier, see *enum libnvmf\_hmac\_alg*

- kxgid

  Key Exchange Group Identifier, see *enum nvmf\_auth\_kxgid*. Cleared to 0h if no key exchange is performed.

- kxvlen

  KX Value Length: length in bytes of the KX Value carried in *cval\_kxv*, cleared to 0h if *kxgid* is cleared to 0h.

- seqnum

  Sequence Number (S1)

- cval\_kxv

  Challenge Value (C1, *hl* bytes) followed by the KX Value (KXc, *kxvlen* bytes). The KX Value is absent if *kxvlen* is cleared to 0h.
