libosmogsm 1.13.1.1-afb4 Osmocom GSM library

KeccakP-1600-3gpp.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 * code extracted from 3GPP TS 35.231, annex E for Keccak core functions
3 * https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2402
4 *-----------------------------------------------------------------------*/
5
6/* this is the trick to make the code cross-platform
7 * at least, Win32 / Linux */
8
9#if defined(_WIN32) || defined(__WIN32__)
10# include <windows.h>
11# define EXPORTIT __declspec(dllexport)
12#else
13# define EXPORTIT
14#endif
15
16#include <stdint.h>
17
18/*------------------------------------------------------------------------
19 * KeccakP-1600-3gpp.h
20 *------------------------------------------------------------------------*/
21
22 EXPORTIT void Keccak_f_8 (uint8_t s[200]);
23 EXPORTIT void Keccak_f_32(uint32_t s[50]);
24 EXPORTIT void Keccak_f_64(uint64_t s[25]);
25
Keccak_f_64
EXPORTIT void Keccak_f_64(uint64_t s[25])
Definition: KeccakP-1600-3gpp.c:28
Keccak_f_8
EXPORTIT void Keccak_f_8(uint8_t s[200])
Definition: KeccakP-1600-3gpp.c:76
EXPORTIT
#define EXPORTIT
Definition: KeccakP-1600-3gpp.h:13
Keccak_f_32
EXPORTIT void Keccak_f_32(uint32_t s[50])
Definition: KeccakP-1600-3gpp.c:131