Wireshark  4.3.0
The Wireshark network protocol analyzer
eax.h
Go to the documentation of this file.
1 
12 #ifndef _EAX_H
13 #define _EAX_H
14 
15 #include <wireshark.h>
16 
17 typedef struct tagMAC_T
18 {
19  uint8_t Mac[4];
20 } MAC_T;
21 
22 #define EAX_MODE_CLEARTEXT_AUTH 1
23 #define EAX_MODE_CIPHERTEXT_AUTH 2
24 
25 #define EAX_SIZEOF_KEY 16
26 
41 WS_DLL_PUBLIC
42 bool Eax_Decrypt(uint8_t *pN, uint8_t *pK, uint8_t *pC,
43  uint32_t SizeN, uint32_t SizeK, uint32_t SizeC, MAC_T *pMac,
44  uint8_t Mode);
45 
46 #endif
WS_DLL_PUBLIC bool Eax_Decrypt(uint8_t *pN, uint8_t *pK, uint8_t *pC, uint32_t SizeN, uint32_t SizeK, uint32_t SizeC, MAC_T *pMac, uint8_t Mode)
Definition: eax.c:49
Definition: eax.h:18