70 likes | 241 Views
TKIP Key Mixing Code And Vectors. David Johnston david.johnston@ieee.org. PN. We now have the 48 bit PN, common to TKIP and CCMP. Existing TKIP code and vectors do not adequately relate PN to TSC_[012], IV16 and IV32. Reference C Code. Byte Oriented Fully endian tolerant
E N D
TKIP Key Mixing CodeAnd Vectors David Johnston david.johnston@ieee.org David Johnston, Mobilian.
PN • We now have the 48 bit PN, common to TKIP and CCMP. • Existing TKIP code and vectors do not adequately relate PN to TSC_[012], IV16 and IV32 David Johnston, Mobilian.
Reference C Code • Byte Oriented • Fully endian tolerant • *, % and / used for shifting and masking • Single .c file • ANSI C • ANSI Standard libraries only • A standard can be referenced to determine meaning • Compiles easily • gcc –o key_mixing key_mixing.c David Johnston, Mobilian.
Vectors • Makes endianess of TK Clear • Makes relationship between PN, IV32, IV16 and transmit order clear • Same results as previous vectors. No fundamental algorithm change. David Johnston, Mobilian.
Vector Example Test vector #5: TK = 98 3A 16 EF 4F AC B3 51 AA 9E CC 27 1D 73 09 E2 [LSB on left, MSB on right] TA = 50-9C-4B-17-27-D9 PN = F0A410FC058C [transmitted as: 8C 25 05 DefKeyID FC 10 A4 F0] IV32 = F0A410FC IV16 = 058C P1K = F2DF EBB1 88D3 5923 A07C RC4KEY= 05 25 8C F4 D8 51 52 F4 D9 AF 1A 64 F1 D0 70 21 David Johnston, Mobilian.
Motion • Move that the editor incorporate into the draft the text described in document 11-02-701r0-TKIPKeyMixingCodeAndVectors David Johnston, Mobilian.