Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
dot11decrypt_rijndael.h
1 
27 #ifndef _DOT11DECRYPT_RIJNDAEL
28 #define _DOT11DECRYPT_RIJNDAEL
29 
30 /******************************************************************************/
31 /* File includes */
32 /* */
33 #include "dot11decrypt_interop.h"
34 /* */
35 /* */
36 /******************************************************************************/
37 
38 /******************************************************************************/
39 /* Type definitions */
40 /* */
41 UCHAR *AES_unwrap(UCHAR *kek, UINT16 key_len, UCHAR *cipher_text, UINT16 cipher_len);
42 
43 /* */
44 /******************************************************************************/
45 
46 /******************************************************************************/
47 /* Block XOR macro definition */
48 /* */
49 #define XOR_BLOCK(b, a, len) \
50  { \
51  INT __i__; \
52  for (__i__ = 0; __i__ < (INT)(len); __i__++) \
53  (b)[__i__] ^= (a)[__i__]; \
54  }
55 /* */
56 /******************************************************************************/
57 
58 #endif