2 * Implementation of XTEA cipher
3 * By Ahmad Fatoum <ahmad[AT]a3f.at>
4 * Copyright 2017 Ahmad Fatoum
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
16 /* Actual XTEA is big-endian, nevertheless there exist protocols that treat every block
17 * as little endian, so we provide both
19 #include "ws_symbol_export.h"
22 WS_DLL_PUBLIC void decrypt_xtea_ecb(guint8 plaintext[8], const guint8 ciphertext[8], const guint32 key[4], guint num_rounds);
24 WS_DLL_PUBLIC void decrypt_xtea_le_ecb(guint8 plaintext[8], const guint8 ciphertext[8], const guint32 key[4], guint num_rounds);
26 #endif /* __XTEA_H__ */
29 * Editor modelines - http://www.wireshark.org/tools/modelines.html
34 * indent-tabs-mode: nil
37 * vi: set shiftwidth=4 tabstop=8 expandtab:
38 * :indentSize=4:tabSize=8:noTabs=true: