Update draft-cam-winget-eap-fast-provisioning references to RFC 5422
This commit is contained in:
parent
bffc384cbf
commit
c590cb67d4
3 changed files with 8 additions and 16 deletions
|
@ -24,8 +24,7 @@
|
|||
#define TLS_EXT_PAC_OPAQUE 35
|
||||
|
||||
/*
|
||||
* draft-cam-winget-eap-fast-provisioning-04.txt:
|
||||
* Section 4.2.1 - Formats for PAC TLV Attributes / Type Field
|
||||
* RFC 5422: Section 4.2.1 - Formats for PAC TLV Attributes / Type Field
|
||||
* Note: bit 0x8000 (Mandatory) and bit 0x4000 (Reserved) are also defined
|
||||
* in the general PAC TLV format (Section 4.2).
|
||||
*/
|
||||
|
@ -59,10 +58,7 @@ struct pac_tlv_hdr {
|
|||
|
||||
#define EAP_FAST_PAC_KEY_LEN 32
|
||||
|
||||
/* draft-cam-winget-eap-fast-provisioning-04.txt: 4.2.6 PAC-Type TLV
|
||||
* Note: Machine Authentication PAC and User Authorization PAC were removed in
|
||||
* draft-cam-winget-eap-fast-provisioning-03.txt
|
||||
*/
|
||||
/* RFC 5422: 4.2.6 PAC-Type TLV */
|
||||
#define PAC_TYPE_TUNNEL_PAC 1
|
||||
/* Application Specific Short Lived PACs (only in volatile storage) */
|
||||
/* User Authorization PAC */
|
||||
|
@ -73,8 +69,8 @@ struct pac_tlv_hdr {
|
|||
|
||||
|
||||
/*
|
||||
* draft-cam-winget-eap-fast-provisioning-04.txt:
|
||||
* Section 3.4 - Key Derivations Used in the EAP-FAST Provisioning Exchange
|
||||
* RFC 5422:
|
||||
* Section 3.3 - Key Derivations Used in the EAP-FAST Provisioning Exchange
|
||||
*/
|
||||
struct eap_fast_key_block_provisioning {
|
||||
/* Extra key material after TLS key_block */
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
#define EAP_TLV_URI_TLV 8
|
||||
#define EAP_TLV_EAP_PAYLOAD_TLV 9
|
||||
#define EAP_TLV_INTERMEDIATE_RESULT_TLV 10
|
||||
#define EAP_TLV_PAC_TLV 11 /* draft-cam-winget-eap-fast-provisioning-04.txt,
|
||||
* Section 4.2 */
|
||||
#define EAP_TLV_PAC_TLV 11 /* RFC 5422, Section 4.2 */
|
||||
#define EAP_TLV_CRYPTO_BINDING_TLV 12
|
||||
#define EAP_TLV_CALLING_STATION_ID_TLV 13
|
||||
#define EAP_TLV_CALLED_STATION_ID_TLV 14
|
||||
|
@ -99,7 +98,7 @@ struct eap_tlv_request_action_tlv {
|
|||
be16 action;
|
||||
} STRUCT_PACKED;
|
||||
|
||||
/* draft-cam-winget-eap-fast-provisiong-04.txt, Section 4.2.6 - PAC-Type TLV */
|
||||
/* RFC 5422, Section 4.2.6 - PAC-Type TLV */
|
||||
struct eap_tlv_pac_type_tlv {
|
||||
be16 tlv_type; /* PAC_TYPE_PAC_TYPE */
|
||||
be16 length;
|
||||
|
|
|
@ -918,10 +918,7 @@ static int eap_fast_parse_pac_info(struct eap_fast_pac *entry, int type,
|
|||
entry->a_id_info_len = len;
|
||||
break;
|
||||
case PAC_TYPE_PAC_TYPE:
|
||||
/*
|
||||
* draft-cam-winget-eap-fast-provisioning-04.txt,
|
||||
* Section 4.2.6 - PAC-Type TLV
|
||||
*/
|
||||
/* RFC 5422, Section 4.2.6 - PAC-Type TLV */
|
||||
if (len != 2) {
|
||||
wpa_printf(MSG_INFO, "EAP-FAST: Invalid PAC-Type "
|
||||
"length %lu (expected 2)",
|
||||
|
@ -961,7 +958,7 @@ static int eap_fast_process_pac_info(struct eap_fast_pac *entry)
|
|||
size_t left, len;
|
||||
int type;
|
||||
|
||||
/* draft-cam-winget-eap-fast-provisioning-04.txt, Section 4.2.4 */
|
||||
/* RFC 5422, Section 4.2.4 */
|
||||
|
||||
/* PAC-Type defaults to Tunnel PAC (Type 1) */
|
||||
entry->pac_type = PAC_TYPE_TUNNEL_PAC;
|
||||
|
|
Loading…
Reference in a new issue