Denis Kenzior
d59086c791
wscutil: Add wsc_build_m4_encrypted_settings
2016-08-30 13:57:28 -05:00
Denis Kenzior
11e56031c0
wscutil: Add wsc_parse_m4_encrypted_settings
2016-08-30 13:38:08 -05:00
Denis Kenzior
757e4dbb90
wscutil: Prepare for parsing of Encrypted Settings
...
Encrypted Settings TLVs are structured similarly to the various WSC
messages. However, they lack a version2 extension field and use a Key
Wrap Authenticator element instead of Authenticator.
2016-08-30 13:33:17 -05:00
Denis Kenzior
642804f9d7
wscutil: Handle Key Wrap Authenticator
2016-08-30 13:30:06 -05:00
Denis Kenzior
a8580c7ed0
wscutil: Add wsc_build_m5
2016-08-30 09:45:39 -05:00
Denis Kenzior
0081bf4f64
wscutil: Add wsc_parse_m5
2016-08-30 09:34:34 -05:00
Denis Kenzior
b650b16d6f
wscutil: Check authenticator more strictly
...
Make sure Authenticator is the last data in the WSC PDU, with no
extraneous data afterwards
2016-08-28 02:47:09 -05:00
Denis Kenzior
00dac648aa
wscutil: Add wsc_build_nack
2016-08-26 17:14:36 -05:00
Denis Kenzior
334ccfce0f
wscutil: Add wsc_parse_nack
2016-08-26 17:14:36 -05:00
Denis Kenzior
887119c82f
wscutil: Expose WSC WFA OUI
2016-08-24 21:35:41 -05:00
Denis Kenzior
c2b1351396
wscutil: Add WSC KDF function
2016-08-23 13:52:52 -05:00
Denis Kenzior
9c457de8d5
wscutil: Add M4 builder
2016-08-19 15:24:29 -05:00
Denis Kenzior
d3ee7c71be
wscutil: Add M4 parser
2016-08-19 15:14:24 -05:00
Denis Kenzior
ca41b21e15
wscutil: Add extractor for R_HASH1 & R_HASH2
2016-08-19 15:03:44 -05:00
Denis Kenzior
4e4820e2a5
wscutil: Add encrypted settings extractor
2016-08-19 15:03:25 -05:00
Denis Kenzior
f116659ab3
wscutil: Macro-ize WFA extension building
2016-08-18 18:02:08 -05:00
Denis Kenzior
6f0b31b3a4
wscutil: Add M3 builder
2016-08-18 17:58:34 -05:00
Denis Kenzior
b6e7b7a4d6
wscutil: Add M3 parser
2016-08-18 17:48:04 -05:00
Denis Kenzior
dc310bfc49
wscutil: Add e_hash 1 & 2 extractor
2016-08-18 17:47:36 -05:00
Denis Kenzior
a867076c3e
wscutil: Relax OS_VERSION parser
...
Apple implementations seem to not set the MSB bit to 1.
2016-08-18 17:29:16 -05:00
Denis Kenzior
f2e11f5e7c
wscutil: Fix memset
2016-08-18 16:22:48 -05:00
Denis Kenzior
af7224a973
wscutil: More strictly handle AUTHENTICATOR tlv
...
This element must be the TLV in the message
2016-08-18 12:53:06 -05:00
Denis Kenzior
f59f7564ce
wscutil: Fix flags
...
For some reason they weren't setup to be used in a bitfield
2016-08-18 12:52:36 -05:00
Denis Kenzior
f11868d59d
wscutil: Add builder for M2 messages
2016-08-17 22:20:46 -05:00
Denis Kenzior
ea8fddb897
wscutil: Move builders to proper alphabetical order
2016-08-17 22:20:46 -05:00
Denis Kenzior
966f0a974f
wscutil: Add parser for M2 messages
2016-08-17 21:57:50 -05:00
Denis Kenzior
f389b2ffbc
wscutil: Extract REGISTRAR_NONCE
2016-08-16 16:20:57 -05:00
Denis Kenzior
d4c41103d9
wscutil: Add extractor for UUID_R
2016-08-16 16:20:34 -05:00
Denis Kenzior
1c9e82001b
wscutil: Fix incorrect return value
2016-08-16 16:12:19 -05:00
Denis Kenzior
e91846bbc5
wscutil: Add extractor for AUTHENTICATOR
2016-08-16 16:11:51 -05:00
Denis Kenzior
5f087aa0ea
wscutil: Add builder for M1 messages
2016-08-16 15:27:46 -05:00
Denis Kenzior
e9d1ca7f7b
wscutil: Don't include request_to_enroll if false
2016-08-16 15:27:16 -05:00
Denis Kenzior
2133a5edb3
wscutil: Rename WSC_CONFIG_STATE to WSC_STATE
2016-08-16 12:30:24 -05:00
Denis Kenzior
0f1372f866
wscutil: move extract_wsc_state
...
To proper alphabetical order
2016-08-16 12:25:55 -05:00
Denis Kenzior
f7338c45c5
wscutil: Add M1 parser
2016-08-11 16:39:30 -05:00
Denis Kenzior
9ef4a40f0f
wscutil: Add parsers for various flag types
2016-08-11 16:38:50 -05:00
Denis Kenzior
3d29f510e1
wscutil: Add parser for OS_VERSION
2016-08-11 16:38:33 -05:00
Denis Kenzior
e3626018d2
wscutil: Add parser for PUBLIC_KEY
2016-08-11 16:18:57 -05:00
Denis Kenzior
c787a4c5b8
wscutil: Add parser for ENROLLEE_NONCE
2016-08-11 16:17:24 -05:00
Denis Kenzior
2aaff15987
wscutil: Add parser for MAC_ADDRESS
2016-08-11 16:15:55 -05:00
Denis Kenzior
29a0d9f066
wscutil: Simplify uuid extractor
2016-08-11 16:15:14 -05:00
Denis Kenzior
da7477435e
wscutil: Add parser for MESSAGE_TYPE
2016-08-11 16:09:46 -05:00
Denis Kenzior
f97d5778ea
wscutil: Use macro magic to make more readable
2016-08-11 12:47:03 -05:00
Denis Kenzior
c37e700921
wsc: Add wsc_uuid_from_addr
2015-09-18 17:16:09 -05:00
Denis Kenzior
e055460709
wsc: Rename wsc.[ch] to wscutil.[ch]
2015-09-10 23:07:34 -05:00