Sha256: 2eb7d8ba9dcd98fead03afa2212087d0ee73652686f00b2c536b1347fd6dd5dc

Contents?: true

Size: 1.56 KB

Versions: 9

Compression:

Stored size: 1.56 KB

Contents

/*
The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.

Implementation by Gilles Van Assche, hereby denoted as "the implementer".

For more information, feedback or questions, please refer to the Keccak Team website:
https://keccak.team/

To the extent possible under law, the implementer has waived all copyright
and related or neighboring rights to the source code in this file.
http://creativecommons.org/publicdomain/zero/1.0/

---

This file implements Keccak-p[1600]×2 in a PlSnP-compatible way.
Please refer to PlSnP-documentation.h for more details.

This implementation comes with KeccakP-1600-times2-SnP.h in the same folder.
Please refer to LowLevel.build for the exact list of other files it must be combined with.
*/

#include "KeccakP-1600-SnP.h"

#define prefix                          KeccakP1600times2
#define PlSnP_baseParallelism           1
#define PlSnP_targetParallelism         2
#define SnP_laneLengthInBytes           8
#define SnP                             KeccakP1600
#define SnP_Permute                     KeccakP1600_Permute_24rounds
#define SnP_Permute_12rounds            KeccakP1600_Permute_12rounds
#define SnP_Permute_Nrounds             KeccakP1600_Permute_Nrounds
#define PlSnP_PermuteAll                KeccakP1600times2_PermuteAll_24rounds
#define PlSnP_PermuteAll_12rounds       KeccakP1600times2_PermuteAll_12rounds
#define PlSnP_PermuteAll_6rounds        KeccakP1600times2_PermuteAll_6rounds
#define PlSnP_PermuteAll_4rounds        KeccakP1600times2_PermuteAll_4rounds

#include "PlSnP-Fallback.inc"

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
digest-kangarootwelve-0.4.8 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
digest-kangarootwelve-0.4.7 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
digest-kangarootwelve-0.4.6 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
digest-kangarootwelve-0.4.5 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
digest-kangarootwelve-0.4.4 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
sleeping_kangaroo12-0.0.3 ext/xkcp/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
sleeping_kangaroo12-0.0.2 ext/xkcp/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
digest-kangarootwelve-0.4.2 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c
sleeping_kangaroo12-0.0.1 ext/xkcp/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c