Sha256: 66cd56bfd8eb4731e1ee386828a1c2f5c606e055f87a5a36da867569b69e8a96

Contents?: true

Size: 1.68 KB

Versions: 9

Compression:

Stored size: 1.68 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]×8 in a PlSnP-compatible way.
Please refer to PlSnP-documentation.h for more details.

This implementation comes with KeccakP-1600-times8-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-times4-SnP.h"

#define prefix                          KeccakP1600times8
#define PlSnP_baseParallelism           4
#define PlSnP_targetParallelism         8
#define SnP_laneLengthInBytes           8
#define SnP                             KeccakP1600times4
#define SnP_PermuteAll                  KeccakP1600times4_PermuteAll_24rounds
#define SnP_PermuteAll_12rounds         KeccakP1600times4_PermuteAll_12rounds
#define SnP_PermuteAll_6rounds          KeccakP1600times4_PermuteAll_6rounds
#define SnP_PermuteAll_4rounds          KeccakP1600times4_PermuteAll_4rounds
#define PlSnP_PermuteAll                KeccakP1600times8_PermuteAll_24rounds
#define PlSnP_PermuteAll_12rounds       KeccakP1600times8_PermuteAll_12rounds
#define PlSnP_PermuteAll_6rounds        KeccakP1600times8_PermuteAll_6rounds
#define PlSnP_PermuteAll_4rounds        KeccakP1600times8_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-times8/fallback-on4/KeccakP-1600-times8-on4.c
digest-kangarootwelve-0.4.7 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
digest-kangarootwelve-0.4.6 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
digest-kangarootwelve-0.4.5 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
digest-kangarootwelve-0.4.4 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
sleeping_kangaroo12-0.0.3 ext/xkcp/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
sleeping_kangaroo12-0.0.2 ext/xkcp/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
digest-kangarootwelve-0.4.2 ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c
sleeping_kangaroo12-0.0.1 ext/xkcp/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c