Reference

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.