libosmogsm 1.11.0.26-c59d.202505152026
Osmocom GSM library
Loading...
Searching...
No Matches
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
22EXPORTIT void Keccak_f_8 (uint8_t s[200]);
25
EXPORTIT void Keccak_f_64(uint64_t s[25])
Definition KeccakP-1600-3gpp.c:28
EXPORTIT void Keccak_f_8(uint8_t s[200])
Definition KeccakP-1600-3gpp.c:76
#define EXPORTIT
Definition KeccakP-1600-3gpp.h:13
EXPORTIT void Keccak_f_32(uint32_t s[50])
Definition KeccakP-1600-3gpp.c:131
uint8_t len
Definition gsm_04_11.h:0