Reference

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.