Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
eax.h
Go to the documentation of this file.
1
12#ifndef _EAX_H
13#define _EAX_H
14
15#include <wireshark.h>
16
17typedef 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
41WS_DLL_PUBLIC
42bool 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