| 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 EXPORTITcxx . . $ `src/gsm/tuak/KeccakP-1600-3gpp.h:13:10`! |
| 14 | #endif |
| 15 | |
| 16 | #include <stdint.h> |
| 17 | |
| 18 | /*------------------------------------------------------------------------ |
| 19 | * KeccakP-1600-3gpp.h |
| 20 | *------------------------------------------------------------------------*/ |
| 21 | |
| 22 | EXPORTITcxx . . $ `src/gsm/tuak/KeccakP-1600-3gpp.h:13:10`! void Keccak_f_8cxx . . $ Keccak_f_8(f25546b61a629de7). (uint8_tcxx . . $ uint8_t# s[200]); |
| 23 | EXPORTITcxx . . $ `src/gsm/tuak/KeccakP-1600-3gpp.h:13:10`! void Keccak_f_32cxx . . $ Keccak_f_32(218b13e5e7cbf689).(uint32_tcxx . . $ uint32_t# s[50]); |
| 24 | EXPORTITcxx . . $ `src/gsm/tuak/KeccakP-1600-3gpp.h:13:10`! void Keccak_f_64cxx . . $ Keccak_f_64(386f4d2be08c489b).(uint64_tcxx . . $ uint64_t# s[25]); |
| 25 |