Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
xtea.h
Go to the documentation of this file.
1
14#ifndef __XTEA_H__
15#define __XTEA_H__
16
17/* Actual XTEA is big-endian, nevertheless there exist protocols that treat every block
18 * as little endian, so we provide both
19 */
20#include "wireshark.h"
21
22WS_DLL_PUBLIC void decrypt_xtea_ecb(uint8_t plaintext[8], const uint8_t ciphertext[8], const uint32_t key[4], unsigned num_rounds);
23
24WS_DLL_PUBLIC void decrypt_xtea_le_ecb(uint8_t plaintext[8], const uint8_t ciphertext[8], const uint32_t key[4], unsigned num_rounds);
25
26#endif /* __XTEA_H__ */
27
28/*
29 * Editor modelines - https://www.wireshark.org/tools/modelines.html
30 *
31 * Local variables:
32 * c-basic-offset: 4
33 * tab-width: 8
34 * indent-tabs-mode: nil
35 * End:
36 *
37 * vi: set shiftwidth=4 tabstop=8 expandtab:
38 * :indentSize=4:tabSize=8:noTabs=true:
39 */