digest-kangarootwelve 0.4.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.XKCP +0 -20
- data/README.md +2 -2
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +20 -20
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +4 -4
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +27 -31
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.h +1 -1
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +19 -11
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +10 -10
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +3 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +24 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +23 -22
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +18 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +12 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +18 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +19 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +36 -36
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +19 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +31 -31
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +21 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +64 -64
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +16 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +37 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +25 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +32 -34
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +39 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +26 -20
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +38 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +25 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +33 -35
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +26 -21
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +25 -21
- data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx512/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/config.h +0 -6
- data/ext/digest/kangarootwelve/targets/list +0 -2
- data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
- data/lib/digest/kangarootwelve/version.rb +1 -1
- metadata +2 -423
- data/ext/digest/kangarootwelve/.sitearchdir.-.digest.time +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +0 -625
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +0 -444
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +0 -446
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +0 -427
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +0 -647
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +0 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +0 -190
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +0 -416
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +0 -728
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +0 -418
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +0 -534
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +0 -527
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +0 -523
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +0 -929
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +0 -40
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +0 -244
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +0 -46
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +0 -184
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +0 -454
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +0 -459
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +0 -83
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +0 -88
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +0 -441
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +0 -291
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +0 -177
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +0 -30
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/defs +0 -2
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +0 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 494bade116ed3511f1182ba5e2150357053921a39e6e55a62d234746d78b5185
         | 
| 4 | 
            +
              data.tar.gz: 48fcdbe91ef7ef8390eccde97841e56b1231a069f3cca87588d3488973dbe13b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 35cbf325fec5072a28430acf27ce4f2e4fd59dc82f384408ab8627b0d5fd2ff438e8620abcbbd070608bd510a4e19e1dfdb5bfc7bfed6a520f52e1ee31066df7
         | 
| 7 | 
            +
              data.tar.gz: e15cc91881a43fc00549dda67bc1559bcb29b7f6f56caabb88900b2c7e24e1f73dabaa06574f842148e15156899a6b9cffd2695bc575188d76731d53caa95fac
         | 
    
        data/LICENSE.XKCP
    CHANGED
    
    | @@ -100,26 +100,6 @@ For XKCP/Standalone/CompactFIPS202/C/genKAT.c, XKCP/tests/UnitTests/genKAT.c and | |
| 100 100 | 
             
                SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         | 
| 101 101 |  | 
| 102 102 |  | 
| 103 | 
            -
            For XKCP/support/Kernel-PMU/enable_arm_pmu.c (*not* used in libXKCP, UnitTests, Benchmarks nor KeccakSum):
         | 
| 104 | 
            -
             | 
| 105 | 
            -
                Kernel-PMU
         | 
| 106 | 
            -
                Enabling user-mode access to the performance monitor unit (PMU) on ARMv8 Aarch64 and ARMv7
         | 
| 107 | 
            -
                Copyright (C) 2019 Bruno Pairault
         | 
| 108 | 
            -
             | 
| 109 | 
            -
                This program is free software: you can redistribute it and/or modify
         | 
| 110 | 
            -
                it under the terms of the GNU General Public License as published by
         | 
| 111 | 
            -
                the Free Software Foundation, either version 3 of the License, or
         | 
| 112 | 
            -
                (at your option) any later version.
         | 
| 113 | 
            -
             | 
| 114 | 
            -
                This program is distributed in the hope that it will be useful,
         | 
| 115 | 
            -
                but WITHOUT ANY WARRANTY; without even the implied warranty of
         | 
| 116 | 
            -
                MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
         | 
| 117 | 
            -
                GNU General Public License for more details.
         | 
| 118 | 
            -
             | 
| 119 | 
            -
                You should have received a copy of the GNU General Public License
         | 
| 120 | 
            -
                along with this program.  If not, see <http://www.gnu.org/licenses/>.
         | 
| 121 | 
            -
             | 
| 122 | 
            -
             | 
| 123 103 | 
             
            For XKCP/tests/Benchmarks/timing.h (used only in Benchmarks):
         | 
| 124 104 |  | 
| 125 105 | 
             
                Copyright 2020 Google Inc.
         | 
    
        data/README.md
    CHANGED
    
    | @@ -18,8 +18,8 @@ This gem can be configured to compile differently based on the target specified. | |
| 18 18 |  | 
| 19 19 | 
             
            The current target implementations are `armv6`, `armv6m`, `armv7a`, `armv7m`,
         | 
| 20 20 | 
             
            `armv8a`, `avr8`, `avx`, `avx2`, `avx2noasm`, `avx512`, `avx512noasm`,
         | 
| 21 | 
            -
            `compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`, | 
| 22 | 
            -
            ` | 
| 21 | 
            +
            `compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`,  `ssse3`, and
         | 
| 22 | 
            +
            `xop`, with `compact` being the default target.
         | 
| 23 23 |  | 
| 24 24 | 
             
            Details on what architectures these targets support are provided in the
         | 
| 25 25 | 
             
            [README.markdown](https://github.com/XKCP/XKCP/blob/master/README.markdown) file
         | 
| @@ -44,7 +44,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 44 44 |  | 
| 45 45 | 
             
            #define ParallelSpongeFastLoop( Parallellism ) \
         | 
| 46 46 | 
             
                while ( inLen >= Parallellism * chunkSize ) { \
         | 
| 47 | 
            -
                     | 
| 47 | 
            +
                    KeccakP1600times##Parallellism##_states states; \
         | 
| 48 48 | 
             
                    unsigned char intermediate[Parallellism*capacityInBytes]; \
         | 
| 49 49 | 
             
                    unsigned int localBlockLen = chunkSize; \
         | 
| 50 50 | 
             
                    const unsigned char * localInput = input; \
         | 
| @@ -52,49 +52,49 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 52 52 | 
             
                    unsigned int fastLoopOffset; \
         | 
| 53 53 | 
             
                    \
         | 
| 54 54 | 
             
                    KeccakP1600times##Parallellism##_StaticInitialize(); \
         | 
| 55 | 
            -
                    KeccakP1600times##Parallellism##_InitializeAll(states); \
         | 
| 56 | 
            -
                    fastLoopOffset = (unsigned int)KeccakP1600times##Parallellism##_12rounds_FastLoop_Absorb(states, rateInLanes, chunkSize / laneSize, rateInLanes, localInput, Parallellism * chunkSize); \
         | 
| 55 | 
            +
                    KeccakP1600times##Parallellism##_InitializeAll(&states); \
         | 
| 56 | 
            +
                    fastLoopOffset = (unsigned int)KeccakP1600times##Parallellism##_12rounds_FastLoop_Absorb(&states, rateInLanes, chunkSize / laneSize, rateInLanes, localInput, Parallellism * chunkSize); \
         | 
| 57 57 | 
             
                    localBlockLen -= fastLoopOffset; \
         | 
| 58 58 | 
             
                    localInput += fastLoopOffset; \
         | 
| 59 59 | 
             
                    for ( i = 0; i < Parallellism; ++i, localInput += chunkSize ) { \
         | 
| 60 | 
            -
                        KeccakP1600times##Parallellism##_AddBytes(states, i, localInput, 0, localBlockLen); \
         | 
| 61 | 
            -
                        KeccakP1600times##Parallellism##_AddByte(states, i, suffixLeaf, localBlockLen); \
         | 
| 62 | 
            -
                        KeccakP1600times##Parallellism##_AddByte(states, i, 0x80, rateInBytes-1); \
         | 
| 60 | 
            +
                        KeccakP1600times##Parallellism##_AddBytes(&states, i, localInput, 0, localBlockLen); \
         | 
| 61 | 
            +
                        KeccakP1600times##Parallellism##_AddByte(&states, i, suffixLeaf, localBlockLen); \
         | 
| 62 | 
            +
                        KeccakP1600times##Parallellism##_AddByte(&states, i, 0x80, rateInBytes-1); \
         | 
| 63 63 | 
             
                    } \
         | 
| 64 | 
            -
                    KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
         | 
| 64 | 
            +
                    KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
         | 
| 65 65 | 
             
                    input += Parallellism * chunkSize; \
         | 
| 66 66 | 
             
                    inLen -= Parallellism * chunkSize; \
         | 
| 67 67 | 
             
                    ktInstance->blockNumber += Parallellism; \
         | 
| 68 | 
            -
                    KeccakP1600times##Parallellism##_ExtractLanesAll(states, intermediate, capacityInLanes, capacityInLanes ); \
         | 
| 68 | 
            +
                    KeccakP1600times##Parallellism##_ExtractLanesAll(&states, intermediate, capacityInLanes, capacityInLanes ); \
         | 
| 69 69 | 
             
                    if (TurboSHAKE_Absorb(&ktInstance->finalNode, intermediate, Parallellism * capacityInBytes) != 0) return 1; \
         | 
| 70 70 | 
             
                        }
         | 
| 71 71 |  | 
| 72 72 | 
             
            #define ParallelSpongeLoop( Parallellism ) \
         | 
| 73 73 | 
             
                while ( inLen >= Parallellism * chunkSize ) { \
         | 
| 74 | 
            -
                     | 
| 74 | 
            +
                    KeccakP1600times##Parallellism##_states states; \
         | 
| 75 75 | 
             
                    unsigned char intermediate[Parallellism*capacityInBytes]; \
         | 
| 76 76 | 
             
                    unsigned int localBlockLen = chunkSize; \
         | 
| 77 77 | 
             
                    const unsigned char * localInput = input; \
         | 
| 78 78 | 
             
                    unsigned int i; \
         | 
| 79 79 | 
             
                    \
         | 
| 80 80 | 
             
                    KeccakP1600times##Parallellism##_StaticInitialize(); \
         | 
| 81 | 
            -
                    KeccakP1600times##Parallellism##_InitializeAll(states); \
         | 
| 81 | 
            +
                    KeccakP1600times##Parallellism##_InitializeAll(&states); \
         | 
| 82 82 | 
             
                    while(localBlockLen >= rateInBytes) { \
         | 
| 83 | 
            -
                        KeccakP1600times##Parallellism##_AddLanesAll(states, localInput, rateInLanes, chunkSize / laneSize); \
         | 
| 84 | 
            -
                        KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
         | 
| 83 | 
            +
                        KeccakP1600times##Parallellism##_AddLanesAll(&states, localInput, rateInLanes, chunkSize / laneSize); \
         | 
| 84 | 
            +
                        KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
         | 
| 85 85 | 
             
                        localBlockLen -= rateInBytes; \
         | 
| 86 86 | 
             
                        localInput += rateInBytes; \
         | 
| 87 87 | 
             
                       } \
         | 
| 88 88 | 
             
                    for ( i = 0; i < Parallellism; ++i, localInput += chunkSize ) { \
         | 
| 89 | 
            -
                        KeccakP1600times##Parallellism##_AddBytes(states, i, localInput, 0, localBlockLen); \
         | 
| 90 | 
            -
                        KeccakP1600times##Parallellism##_AddByte(states, i, suffixLeaf, localBlockLen); \
         | 
| 91 | 
            -
                        KeccakP1600times##Parallellism##_AddByte(states, i, 0x80, rateInBytes-1); \
         | 
| 89 | 
            +
                        KeccakP1600times##Parallellism##_AddBytes(&states, i, localInput, 0, localBlockLen); \
         | 
| 90 | 
            +
                        KeccakP1600times##Parallellism##_AddByte(&states, i, suffixLeaf, localBlockLen); \
         | 
| 91 | 
            +
                        KeccakP1600times##Parallellism##_AddByte(&states, i, 0x80, rateInBytes-1); \
         | 
| 92 92 | 
             
                    } \
         | 
| 93 | 
            -
                    KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
         | 
| 93 | 
            +
                    KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
         | 
| 94 94 | 
             
                    input += Parallellism * chunkSize; \
         | 
| 95 95 | 
             
                    inLen -= Parallellism * chunkSize; \
         | 
| 96 96 | 
             
                    ktInstance->blockNumber += Parallellism; \
         | 
| 97 | 
            -
                    KeccakP1600times##Parallellism##_ExtractLanesAll(states, intermediate, capacityInLanes, capacityInLanes ); \
         | 
| 97 | 
            +
                    KeccakP1600times##Parallellism##_ExtractLanesAll(&states, intermediate, capacityInLanes, capacityInLanes ); \
         | 
| 98 98 | 
             
                    if (TurboSHAKE_Absorb(&ktInstance->finalNode, intermediate, Parallellism * capacityInBytes) != 0) return 1; \
         | 
| 99 99 | 
             
            }
         | 
| 100 100 |  | 
| @@ -175,7 +175,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch | |
| 175 175 | 
             
                    }
         | 
| 176 176 | 
             
                }
         | 
| 177 177 |  | 
| 178 | 
            -
                #if defined(KeccakP1600times8_implementation) | 
| 178 | 
            +
                #if defined(KeccakP1600times8_implementation)
         | 
| 179 179 | 
             
                #if defined(KeccakP1600times8_K12ProcessLeaves_supported)
         | 
| 180 180 | 
             
                ProcessLeaves( 8 )
         | 
| 181 181 | 
             
                #elif defined(KeccakP1600times8_12rounds_FastLoop_supported)
         | 
| @@ -185,7 +185,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch | |
| 185 185 | 
             
                #endif
         | 
| 186 186 | 
             
                #endif
         | 
| 187 187 |  | 
| 188 | 
            -
                #if defined(KeccakP1600times4_implementation) | 
| 188 | 
            +
                #if defined(KeccakP1600times4_implementation)
         | 
| 189 189 | 
             
                #if defined(KeccakP1600times4_K12ProcessLeaves_supported)
         | 
| 190 190 | 
             
                ProcessLeaves( 4 )
         | 
| 191 191 | 
             
                #elif defined(KeccakP1600times4_12rounds_FastLoop_supported)
         | 
| @@ -195,7 +195,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch | |
| 195 195 | 
             
                #endif
         | 
| 196 196 | 
             
                #endif
         | 
| 197 197 |  | 
| 198 | 
            -
                #if defined(KeccakP1600times2_implementation) | 
| 198 | 
            +
                #if defined(KeccakP1600times2_implementation)
         | 
| 199 199 | 
             
                #if defined(KeccakP1600times2_K12ProcessLeaves_supported)
         | 
| 200 200 | 
             
                ProcessLeaves( 2 )
         | 
| 201 201 | 
             
                #elif defined(KeccakP1600times2_12rounds_FastLoop_supported)
         | 
| @@ -79,6 +79,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 79 79 |  | 
| 80 80 | 
             
                #define prefix KeccakWidth1600
         | 
| 81 81 | 
             
                #define SnP KeccakP1600
         | 
| 82 | 
            +
                #define SnP_state KeccakP1600_state
         | 
| 82 83 | 
             
                #define SnP_width 1600
         | 
| 83 84 | 
             
                #define SnP_Permute KeccakP1600_Permute_24rounds
         | 
| 84 85 | 
             
                #if defined(KeccakF1600_FastLoop_supported)
         | 
| @@ -87,6 +88,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 87 88 | 
             
                    #include "KeccakSponge.inc"
         | 
| 88 89 | 
             
                #undef prefix
         | 
| 89 90 | 
             
                #undef SnP
         | 
| 91 | 
            +
                #undef SnP_state
         | 
| 90 92 | 
             
                #undef SnP_width
         | 
| 91 93 | 
             
                #undef SnP_Permute
         | 
| 92 94 | 
             
                #undef SnP_FastLoop_Absorb
         | 
| @@ -24,9 +24,9 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 24 24 | 
             
            #include "align.h"
         | 
| 25 25 | 
             
            #include "config.h"
         | 
| 26 26 |  | 
| 27 | 
            -
            #define XKCP_DeclareSpongeStructure(prefix,  | 
| 28 | 
            -
                 | 
| 29 | 
            -
                     | 
| 27 | 
            +
            #define XKCP_DeclareSpongeStructure(prefix, state_t) \
         | 
| 28 | 
            +
                typedef struct prefix##_SpongeInstanceStruct { \
         | 
| 29 | 
            +
                    state_t state; \
         | 
| 30 30 | 
             
                    unsigned int rate; \
         | 
| 31 31 | 
             
                    unsigned int byteIOIndex; \
         | 
| 32 32 | 
             
                    int squeezing; \
         | 
| @@ -62,7 +62,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 62 62 |  | 
| 63 63 | 
             
            #ifdef XKCP_has_KeccakP1600
         | 
| 64 64 | 
             
                #include "KeccakP-1600-SnP.h"
         | 
| 65 | 
            -
                XKCP_DeclareSpongeStructure(KeccakWidth1600,  | 
| 65 | 
            +
                XKCP_DeclareSpongeStructure(KeccakWidth1600, KeccakP1600_state)
         | 
| 66 66 | 
             
                XKCP_DeclareSpongeFunctions(KeccakWidth1600)
         | 
| 67 67 | 
             
                #define XKCP_has_Sponge_Keccak_width1600
         | 
| 68 68 | 
             
            #endif
         | 
| @@ -24,8 +24,6 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 24 24 | 
             
            #define SpongeAbsorbLastFewBits         JOIN(prefix, _SpongeAbsorbLastFewBits)
         | 
| 25 25 | 
             
            #define SpongeSqueeze                   JOIN(prefix, _SpongeSqueeze)
         | 
| 26 26 |  | 
| 27 | 
            -
            #define SnP_stateSizeInBytes            JOIN(SnP, _stateSizeInBytes)
         | 
| 28 | 
            -
            #define SnP_stateAlignment              JOIN(SnP, _stateAlignment)
         | 
| 29 27 | 
             
            #define SnP_StaticInitialize            JOIN(SnP, _StaticInitialize)
         | 
| 30 28 | 
             
            #define SnP_Initialize                  JOIN(SnP, _Initialize)
         | 
| 31 29 | 
             
            #define SnP_AddByte                     JOIN(SnP, _AddByte)
         | 
| @@ -34,7 +32,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 34 32 |  | 
| 35 33 | 
             
            int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *output, size_t outputByteLen)
         | 
| 36 34 | 
             
            {
         | 
| 37 | 
            -
                 | 
| 35 | 
            +
                SnP_state state;
         | 
| 38 36 | 
             
                unsigned int partialBlock;
         | 
| 39 37 | 
             
                const unsigned char *curInput = input;
         | 
| 40 38 | 
             
                unsigned char *curOutput = output;
         | 
| @@ -49,14 +47,14 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 49 47 |  | 
| 50 48 | 
             
                /* Initialize the state */
         | 
| 51 49 | 
             
                SnP_StaticInitialize();
         | 
| 52 | 
            -
                SnP_Initialize(state);
         | 
| 50 | 
            +
                SnP_Initialize(&state);
         | 
| 53 51 |  | 
| 54 52 | 
             
                /* First, absorb whole blocks */
         | 
| 55 53 | 
             
            #ifdef SnP_FastLoop_Absorb
         | 
| 56 54 | 
             
                if (((rateInBytes % (SnP_width/200)) == 0) && (inputByteLen >= rateInBytes)) {
         | 
| 57 55 | 
             
                    /* fast lane: whole lane rate */
         | 
| 58 56 | 
             
                    size_t j;
         | 
| 59 | 
            -
                    j = SnP_FastLoop_Absorb(state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
         | 
| 57 | 
            +
                    j = SnP_FastLoop_Absorb(&state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
         | 
| 60 58 | 
             
                    curInput += j;
         | 
| 61 59 | 
             
                    inputByteLen -= j;
         | 
| 62 60 | 
             
                }
         | 
| @@ -65,8 +63,8 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 65 63 | 
             
                    #ifdef KeccakReference
         | 
| 66 64 | 
             
                    displayBytes(1, "Block to be absorbed", curInput, rateInBytes);
         | 
| 67 65 | 
             
                    #endif
         | 
| 68 | 
            -
                    SnP_AddBytes(state, curInput, 0, rateInBytes);
         | 
| 69 | 
            -
                    SnP_Permute(state);
         | 
| 66 | 
            +
                    SnP_AddBytes(&state, curInput, 0, rateInBytes);
         | 
| 67 | 
            +
                    SnP_Permute(&state);
         | 
| 70 68 | 
             
                    curInput += rateInBytes;
         | 
| 71 69 | 
             
                    inputByteLen -= rateInBytes;
         | 
| 72 70 | 
             
                }
         | 
| @@ -76,7 +74,7 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 76 74 | 
             
                #ifdef KeccakReference
         | 
| 77 75 | 
             
                displayBytes(1, "Block to be absorbed (part)", curInput, partialBlock);
         | 
| 78 76 | 
             
                #endif
         | 
| 79 | 
            -
                SnP_AddBytes(state, curInput, 0, partialBlock);
         | 
| 77 | 
            +
                SnP_AddBytes(&state, curInput, 0, partialBlock);
         | 
| 80 78 |  | 
| 81 79 | 
             
                /* Finally, absorb the suffix */
         | 
| 82 80 | 
             
                #ifdef KeccakReference
         | 
| @@ -87,12 +85,12 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 87 85 | 
             
                }
         | 
| 88 86 | 
             
                #endif
         | 
| 89 87 | 
             
                /* Last few bits, whose delimiter coincides with first bit of padding */
         | 
| 90 | 
            -
                SnP_AddByte(state, suffix, partialBlock);
         | 
| 88 | 
            +
                SnP_AddByte(&state, suffix, partialBlock);
         | 
| 91 89 | 
             
                /* If the first bit of padding is at position rate-1, we need a whole new block for the second bit of padding */
         | 
| 92 90 | 
             
                if ((suffix >= 0x80) && (partialBlock == (rateInBytes-1)))
         | 
| 93 | 
            -
                    SnP_Permute(state);
         | 
| 91 | 
            +
                    SnP_Permute(&state);
         | 
| 94 92 | 
             
                /* Second bit of padding */
         | 
| 95 | 
            -
                SnP_AddByte(state, 0x80, rateInBytes-1);
         | 
| 93 | 
            +
                SnP_AddByte(&state, 0x80, rateInBytes-1);
         | 
| 96 94 | 
             
                #ifdef KeccakReference
         | 
| 97 95 | 
             
                {
         | 
| 98 96 | 
             
                    unsigned char block[SnP_width/8];
         | 
| @@ -101,15 +99,15 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 101 99 | 
             
                    displayBytes(1, "Second bit of padding", block, rateInBytes);
         | 
| 102 100 | 
             
                }
         | 
| 103 101 | 
             
                #endif
         | 
| 104 | 
            -
                SnP_Permute(state);
         | 
| 102 | 
            +
                SnP_Permute(&state);
         | 
| 105 103 | 
             
                #ifdef KeccakReference
         | 
| 106 104 | 
             
                displayText(1, "--- Switching to squeezing phase ---");
         | 
| 107 105 | 
             
                #endif
         | 
| 108 106 |  | 
| 109 107 | 
             
                /* First, output whole blocks */
         | 
| 110 108 | 
             
                while(outputByteLen > (size_t)rateInBytes) {
         | 
| 111 | 
            -
                    SnP_ExtractBytes(state, curOutput, 0, rateInBytes);
         | 
| 112 | 
            -
                    SnP_Permute(state);
         | 
| 109 | 
            +
                    SnP_ExtractBytes(&state, curOutput, 0, rateInBytes);
         | 
| 110 | 
            +
                    SnP_Permute(&state);
         | 
| 113 111 | 
             
                    #ifdef KeccakReference
         | 
| 114 112 | 
             
                    displayBytes(1, "Squeezed block", curOutput, rateInBytes);
         | 
| 115 113 | 
             
                    #endif
         | 
| @@ -119,7 +117,7 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, | |
| 119 117 |  | 
| 120 118 | 
             
                /* Finally, output what remains */
         | 
| 121 119 | 
             
                partialBlock = (unsigned int)outputByteLen;
         | 
| 122 | 
            -
                SnP_ExtractBytes(state, curOutput, 0, partialBlock);
         | 
| 120 | 
            +
                SnP_ExtractBytes(&state, curOutput, 0, partialBlock);
         | 
| 123 121 | 
             
                #ifdef KeccakReference
         | 
| 124 122 | 
             
                displayBytes(1, "Squeezed block (part)", curOutput, partialBlock);
         | 
| 125 123 | 
             
                #endif
         | 
| @@ -138,7 +136,7 @@ int SpongeInitialize(SpongeInstance *instance, unsigned int rate, unsigned int c | |
| 138 136 | 
             
                if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
         | 
| 139 137 | 
             
                    return 1;
         | 
| 140 138 | 
             
                SnP_StaticInitialize();
         | 
| 141 | 
            -
                SnP_Initialize(instance->state);
         | 
| 139 | 
            +
                SnP_Initialize(&instance->state);
         | 
| 142 140 | 
             
                instance->rate = rate;
         | 
| 143 141 | 
             
                instance->byteIOIndex = 0;
         | 
| 144 142 | 
             
                instance->squeezing = 0;
         | 
| @@ -166,7 +164,7 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat | |
| 166 164 | 
             
                        /* processing full blocks first */
         | 
| 167 165 | 
             
                        if ((rateInBytes % (SnP_width/200)) == 0) {
         | 
| 168 166 | 
             
                            /* fast lane: whole lane rate */
         | 
| 169 | 
            -
                            j = SnP_FastLoop_Absorb(instance->state, rateInBytes/(SnP_width/200), curData, dataByteLen - i);
         | 
| 167 | 
            +
                            j = SnP_FastLoop_Absorb(&instance->state, rateInBytes/(SnP_width/200), curData, dataByteLen - i);
         | 
| 170 168 | 
             
                            i += j;
         | 
| 171 169 | 
             
                            curData += j;
         | 
| 172 170 | 
             
                        }
         | 
| @@ -176,8 +174,8 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat | |
| 176 174 | 
             
                                #ifdef KeccakReference
         | 
| 177 175 | 
             
                                displayBytes(1, "Block to be absorbed", curData, rateInBytes);
         | 
| 178 176 | 
             
                                #endif
         | 
| 179 | 
            -
                                SnP_AddBytes(instance->state, curData, 0, rateInBytes);
         | 
| 180 | 
            -
                                SnP_Permute(instance->state);
         | 
| 177 | 
            +
                                SnP_AddBytes(&instance->state, curData, 0, rateInBytes);
         | 
| 178 | 
            +
                                SnP_Permute(&instance->state);
         | 
| 181 179 | 
             
                                curData+=rateInBytes;
         | 
| 182 180 | 
             
                            }
         | 
| 183 181 | 
             
                            i = dataByteLen - j;
         | 
| @@ -196,11 +194,11 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat | |
| 196 194 | 
             
                        #endif
         | 
| 197 195 | 
             
                        i += partialBlock;
         | 
| 198 196 |  | 
| 199 | 
            -
                        SnP_AddBytes(instance->state, curData, instance->byteIOIndex, partialBlock);
         | 
| 197 | 
            +
                        SnP_AddBytes(&instance->state, curData, instance->byteIOIndex, partialBlock);
         | 
| 200 198 | 
             
                        curData += partialBlock;
         | 
| 201 199 | 
             
                        instance->byteIOIndex += partialBlock;
         | 
| 202 200 | 
             
                        if (instance->byteIOIndex == rateInBytes) {
         | 
| 203 | 
            -
                            SnP_Permute(instance->state);
         | 
| 201 | 
            +
                            SnP_Permute(&instance->state);
         | 
| 204 202 | 
             
                            instance->byteIOIndex = 0;
         | 
| 205 203 | 
             
                        }
         | 
| 206 204 | 
             
                    }
         | 
| @@ -227,12 +225,12 @@ int SpongeAbsorbLastFewBits(SpongeInstance *instance, unsigned char delimitedDat | |
| 227 225 | 
             
                }
         | 
| 228 226 | 
             
                #endif
         | 
| 229 227 | 
             
                /* Last few bits, whose delimiter coincides with first bit of padding */
         | 
| 230 | 
            -
                SnP_AddByte(instance->state, delimitedData, instance->byteIOIndex);
         | 
| 228 | 
            +
                SnP_AddByte(&instance->state, delimitedData, instance->byteIOIndex);
         | 
| 231 229 | 
             
                /* If the first bit of padding is at position rate-1, we need a whole new block for the second bit of padding */
         | 
| 232 230 | 
             
                if ((delimitedData >= 0x80) && (instance->byteIOIndex == (rateInBytes-1)))
         | 
| 233 | 
            -
                    SnP_Permute(instance->state);
         | 
| 231 | 
            +
                    SnP_Permute(&instance->state);
         | 
| 234 232 | 
             
                /* Second bit of padding */
         | 
| 235 | 
            -
                SnP_AddByte(instance->state, 0x80, rateInBytes-1);
         | 
| 233 | 
            +
                SnP_AddByte(&instance->state, 0x80, rateInBytes-1);
         | 
| 236 234 | 
             
                #ifdef KeccakReference
         | 
| 237 235 | 
             
                {
         | 
| 238 236 | 
             
                    unsigned char block[SnP_width/8];
         | 
| @@ -241,7 +239,7 @@ int SpongeAbsorbLastFewBits(SpongeInstance *instance, unsigned char delimitedDat | |
| 241 239 | 
             
                    displayBytes(1, "Second bit of padding", block, rateInBytes);
         | 
| 242 240 | 
             
                }
         | 
| 243 241 | 
             
                #endif
         | 
| 244 | 
            -
                SnP_Permute(instance->state);
         | 
| 242 | 
            +
                SnP_Permute(&instance->state);
         | 
| 245 243 | 
             
                instance->byteIOIndex = 0;
         | 
| 246 244 | 
             
                instance->squeezing = 1;
         | 
| 247 245 | 
             
                #ifdef KeccakReference
         | 
| @@ -267,8 +265,8 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte | |
| 267 265 | 
             
                while(i < dataByteLen) {
         | 
| 268 266 | 
             
                    if ((instance->byteIOIndex == rateInBytes) && (dataByteLen-i >= rateInBytes)) {
         | 
| 269 267 | 
             
                        for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
         | 
| 270 | 
            -
                            SnP_Permute(instance->state);
         | 
| 271 | 
            -
                            SnP_ExtractBytes(instance->state, curData, 0, rateInBytes);
         | 
| 268 | 
            +
                            SnP_Permute(&instance->state);
         | 
| 269 | 
            +
                            SnP_ExtractBytes(&instance->state, curData, 0, rateInBytes);
         | 
| 272 270 | 
             
                            #ifdef KeccakReference
         | 
| 273 271 | 
             
                            displayBytes(1, "Squeezed block", curData, rateInBytes);
         | 
| 274 272 | 
             
                            #endif
         | 
| @@ -279,7 +277,7 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte | |
| 279 277 | 
             
                    else {
         | 
| 280 278 | 
             
                        /* normal lane: using the message queue */
         | 
| 281 279 | 
             
                        if (instance->byteIOIndex == rateInBytes) {
         | 
| 282 | 
            -
                            SnP_Permute(instance->state);
         | 
| 280 | 
            +
                            SnP_Permute(&instance->state);
         | 
| 283 281 | 
             
                            instance->byteIOIndex = 0;
         | 
| 284 282 | 
             
                        }
         | 
| 285 283 | 
             
                        if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
         | 
| @@ -288,7 +286,7 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte | |
| 288 286 | 
             
                            partialBlock = (unsigned int)(dataByteLen - i);
         | 
| 289 287 | 
             
                        i += partialBlock;
         | 
| 290 288 |  | 
| 291 | 
            -
                        SnP_ExtractBytes(instance->state, curData, instance->byteIOIndex, partialBlock);
         | 
| 289 | 
            +
                        SnP_ExtractBytes(&instance->state, curData, instance->byteIOIndex, partialBlock);
         | 
| 292 290 | 
             
                        #ifdef KeccakReference
         | 
| 293 291 | 
             
                        displayBytes(1, "Squeezed block (part)", curData, partialBlock);
         | 
| 294 292 | 
             
                        #endif
         | 
| @@ -307,8 +305,6 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte | |
| 307 305 | 
             
            #undef SpongeAbsorb
         | 
| 308 306 | 
             
            #undef SpongeAbsorbLastFewBits
         | 
| 309 307 | 
             
            #undef SpongeSqueeze
         | 
| 310 | 
            -
            #undef SnP_stateSizeInBytes
         | 
| 311 | 
            -
            #undef SnP_stateAlignment
         | 
| 312 308 | 
             
            #undef SnP_StaticInitialize
         | 
| 313 309 | 
             
            #undef SnP_Initialize
         | 
| 314 310 | 
             
            #undef SnP_AddByte
         | 
| @@ -21,6 +21,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 21 21 |  | 
| 22 22 | 
             
                #define prefix TurboSHAKE
         | 
| 23 23 | 
             
                #define SnP KeccakP1600
         | 
| 24 | 
            +
                #define SnP_state KeccakP1600_state
         | 
| 24 25 | 
             
                #define SnP_width 1600
         | 
| 25 26 | 
             
                #define SnP_Permute KeccakP1600_Permute_12rounds
         | 
| 26 27 | 
             
                #if defined(KeccakP1600_12rounds_FastLoop_supported)
         | 
| @@ -29,6 +30,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 29 30 | 
             
                    #include "KeccakSponge.inc"
         | 
| 30 31 | 
             
                #undef prefix
         | 
| 31 32 | 
             
                #undef SnP
         | 
| 33 | 
            +
                #undef SnP_state
         | 
| 32 34 | 
             
                #undef SnP_width
         | 
| 33 35 | 
             
                #undef SnP_Permute
         | 
| 34 36 | 
             
                #undef SnP_FastLoop_Absorb
         | 
| @@ -24,7 +24,7 @@ http://creativecommons.org/publicdomain/zero/1.0/ | |
| 24 24 |  | 
| 25 25 | 
             
            #ifdef XKCP_has_KeccakP1600
         | 
| 26 26 | 
             
                #include "KeccakP-1600-SnP.h"
         | 
| 27 | 
            -
                XKCP_DeclareSpongeStructure(TurboSHAKE,  | 
| 27 | 
            +
                XKCP_DeclareSpongeStructure(TurboSHAKE, KeccakP1600_state)
         | 
| 28 28 |  | 
| 29 29 | 
             
            typedef TurboSHAKE_SpongeInstance TurboSHAKE_Instance;
         | 
| 30 30 |  | 
| @@ -21,21 +21,27 @@ Please refer to SnP-documentation.h for more details. | |
| 21 21 | 
             
            #ifndef _KeccakP_1600_SnP_h_
         | 
| 22 22 | 
             
            #define _KeccakP_1600_SnP_h_
         | 
| 23 23 |  | 
| 24 | 
            +
            #include <stdint.h>
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            typedef struct {
         | 
| 27 | 
            +
                uint32_t A[50];
         | 
| 28 | 
            +
            } KeccakP1600_plain32_state;
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            typedef KeccakP1600_plain32_state KeccakP1600_state;
         | 
| 31 | 
            +
             | 
| 24 32 | 
             
            #define KeccakP1600_implementation      "32-bit bit-interleaved optimized ARM assembler implementation"
         | 
| 25 | 
            -
            #define KeccakP1600_stateSizeInBytes    200
         | 
| 26 | 
            -
            #define KeccakP1600_stateAlignment      4
         | 
| 27 33 |  | 
| 28 34 | 
             
            /* void KeccakP1600_StaticInitialize( void ); */
         | 
| 29 35 | 
             
            #define KeccakP1600_StaticInitialize()
         | 
| 30 | 
            -
            void KeccakP1600_Initialize( | 
| 31 | 
            -
            void KeccakP1600_AddByte( | 
| 32 | 
            -
            void KeccakP1600_AddBytes( | 
| 33 | 
            -
            void KeccakP1600_OverwriteBytes( | 
| 34 | 
            -
            void KeccakP1600_OverwriteWithZeroes( | 
| 35 | 
            -
            void KeccakP1600_Permute_Nrounds( | 
| 36 | 
            -
            void KeccakP1600_Permute_12rounds( | 
| 37 | 
            -
            void KeccakP1600_Permute_24rounds( | 
| 38 | 
            -
            void KeccakP1600_ExtractBytes(const  | 
| 39 | 
            -
            void KeccakP1600_ExtractAndAddBytes(const  | 
| 36 | 
            +
            void KeccakP1600_Initialize(KeccakP1600_plain32_state *state);
         | 
| 37 | 
            +
            void KeccakP1600_AddByte(KeccakP1600_plain32_state *state, unsigned char data, unsigned int offset);
         | 
| 38 | 
            +
            void KeccakP1600_AddBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 39 | 
            +
            void KeccakP1600_OverwriteBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 40 | 
            +
            void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain32_state *state, unsigned int byteCount);
         | 
| 41 | 
            +
            void KeccakP1600_Permute_Nrounds(KeccakP1600_plain32_state *state, unsigned int nrounds);
         | 
| 42 | 
            +
            void KeccakP1600_Permute_12rounds(KeccakP1600_plain32_state *state);
         | 
| 43 | 
            +
            void KeccakP1600_Permute_24rounds(KeccakP1600_plain32_state *state);
         | 
| 44 | 
            +
            void KeccakP1600_ExtractBytes(const KeccakP1600_plain32_state *state, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 45 | 
            +
            void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain32_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 40 46 |  | 
| 41 47 | 
             
            #endif
         | 
| @@ -21,22 +21,30 @@ Please refer to SnP-documentation.h for more details. | |
| 21 21 | 
             
            #ifndef _KeccakP_1600_SnP_h_
         | 
| 22 22 | 
             
            #define _KeccakP_1600_SnP_h_
         | 
| 23 23 |  | 
| 24 | 
            +
            #include <stdint.h>
         | 
| 25 | 
            +
            #include "align.h"
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            typedef struct {
         | 
| 28 | 
            +
                ALIGN(32) uint64_t A[25];
         | 
| 29 | 
            +
            } KeccakP1600_align256plain64_state;
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            typedef KeccakP1600_align256plain64_state KeccakP1600_state;
         | 
| 32 | 
            +
             | 
| 24 33 | 
             
            #define KeccakP1600_implementation      "64-bit optimized ARM assembler implementation"
         | 
| 25 | 
            -
            #define KeccakP1600_stateSizeInBytes    200
         | 
| 26 34 | 
             
            #define KeccakP1600_stateAlignment      32
         | 
| 27 35 |  | 
| 28 36 | 
             
            /* void KeccakP1600_StaticInitialize( void ); */
         | 
| 29 37 | 
             
            #define KeccakP1600_StaticInitialize()
         | 
| 30 | 
            -
            void KeccakP1600_Initialize( | 
| 31 | 
            -
            /* void KeccakP1600_AddByte( | 
| 38 | 
            +
            void KeccakP1600_Initialize(KeccakP1600_align256plain64_state *state);
         | 
| 39 | 
            +
            /* void KeccakP1600_AddByte(KeccakP1600_align256plain64_state *state, unsigned char data, unsigned int offset); */
         | 
| 32 40 | 
             
            #define KeccakP1600_AddByte(argS, argData, argOffset)   ((unsigned char*)argS)[argOffset] ^= (argData)
         | 
| 33 | 
            -
            void KeccakP1600_AddBytes( | 
| 34 | 
            -
            void KeccakP1600_OverwriteBytes( | 
| 35 | 
            -
            void KeccakP1600_OverwriteWithZeroes( | 
| 36 | 
            -
            void KeccakP1600_Permute_Nrounds( | 
| 37 | 
            -
            void KeccakP1600_Permute_12rounds( | 
| 38 | 
            -
            void KeccakP1600_Permute_24rounds( | 
| 39 | 
            -
            void KeccakP1600_ExtractBytes(const  | 
| 40 | 
            -
            void KeccakP1600_ExtractAndAddBytes(const  | 
| 41 | 
            +
            void KeccakP1600_AddBytes(KeccakP1600_align256plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 42 | 
            +
            void KeccakP1600_OverwriteBytes(KeccakP1600_align256plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 43 | 
            +
            void KeccakP1600_OverwriteWithZeroes(KeccakP1600_align256plain64_state *state, unsigned int byteCount);
         | 
| 44 | 
            +
            void KeccakP1600_Permute_Nrounds(KeccakP1600_align256plain64_state *state, unsigned int nrounds);
         | 
| 45 | 
            +
            void KeccakP1600_Permute_12rounds(KeccakP1600_align256plain64_state *state);
         | 
| 46 | 
            +
            void KeccakP1600_Permute_24rounds(KeccakP1600_align256plain64_state *state);
         | 
| 47 | 
            +
            void KeccakP1600_ExtractBytes(const KeccakP1600_align256plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 48 | 
            +
            void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_align256plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 41 49 |  | 
| 42 50 | 
             
            #endif
         | 
| @@ -21,22 +21,28 @@ Please refer to SnP-documentation.h for more details. | |
| 21 21 | 
             
            #ifndef _KeccakP_1600_SnP_h_
         | 
| 22 22 | 
             
            #define _KeccakP_1600_SnP_h_
         | 
| 23 23 |  | 
| 24 | 
            +
            #include <stdint.h>
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            typedef struct {
         | 
| 27 | 
            +
                uint8_t A[200];
         | 
| 28 | 
            +
            } KeccakP1600_plain8_state;
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            typedef KeccakP1600_plain8_state KeccakP1600_state;
         | 
| 31 | 
            +
             | 
| 24 32 | 
             
            #define KeccakP1600_implementation      "8-bit optimized AVR assembler implementation"
         | 
| 25 | 
            -
            #define KeccakP1600_stateSizeInBytes    200
         | 
| 26 | 
            -
            #define KeccakP1600_stateAlignment      8
         | 
| 27 33 |  | 
| 28 34 | 
             
            void KeccakP1600_StaticInitialize( void );
         | 
| 29 35 | 
             
            /* #define   KeccakP1600_StaticInitialize() */
         | 
| 30 | 
            -
            void KeccakP1600_Initialize( | 
| 31 | 
            -
            void KeccakP1600_AddByte( | 
| 36 | 
            +
            void KeccakP1600_Initialize(KeccakP1600_state *state);
         | 
| 37 | 
            +
            void KeccakP1600_AddByte(KeccakP1600_state *state, unsigned char data, unsigned int offset);
         | 
| 32 38 | 
             
            /* #define   KeccakP1600_AddByte(argS, argData, argOffset)   ((unsigned char*)argS)[argOffset] ^= (argData) */
         | 
| 33 | 
            -
            void KeccakP1600_AddBytes( | 
| 34 | 
            -
            void KeccakP1600_OverwriteBytes( | 
| 35 | 
            -
            void KeccakP1600_OverwriteWithZeroes( | 
| 36 | 
            -
            void KeccakP1600_Permute_Nrounds( | 
| 37 | 
            -
            void KeccakP1600_Permute_12rounds( | 
| 38 | 
            -
            void KeccakP1600_Permute_24rounds( | 
| 39 | 
            -
            void KeccakP1600_ExtractBytes(const  | 
| 40 | 
            -
            void KeccakP1600_ExtractAndAddBytes(const  | 
| 39 | 
            +
            void KeccakP1600_AddBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 40 | 
            +
            void KeccakP1600_OverwriteBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 41 | 
            +
            void KeccakP1600_OverwriteWithZeroes(KeccakP1600_state *state, unsigned int byteCount);
         | 
| 42 | 
            +
            void KeccakP1600_Permute_Nrounds(KeccakP1600_state *state, unsigned int nrounds);
         | 
| 43 | 
            +
            void KeccakP1600_Permute_12rounds(KeccakP1600_state *state);
         | 
| 44 | 
            +
            void KeccakP1600_Permute_24rounds(KeccakP1600_state *state);
         | 
| 45 | 
            +
            void KeccakP1600_ExtractBytes(const KeccakP1600_state *state, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 46 | 
            +
            void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 41 47 |  | 
| 42 48 | 
             
            #endif
         | 
| @@ -40,7 +40,7 @@ | |
| 40 40 |  | 
| 41 41 | 
             
            ;----------------------------------------------------------------------------
         | 
| 42 42 | 
             
            ;
         | 
| 43 | 
            -
            ; void KeccakP1600_Initialize( | 
| 43 | 
            +
            ; void KeccakP1600_Initialize(KeccakP1600_state *state)
         | 
| 44 44 | 
             
            ;
         | 
| 45 45 | 
             
            ; argument state   is passed in r24:r25
         | 
| 46 46 | 
             
            ;
         | 
| @@ -64,7 +64,7 @@ KeccakP1600_StaticInitialize: | |
| 64 64 |  | 
| 65 65 | 
             
            ;----------------------------------------------------------------------------
         | 
| 66 66 | 
             
            ;
         | 
| 67 | 
            -
            ; void KeccakP1600_AddByte( | 
| 67 | 
            +
            ; void KeccakP1600_AddByte(KeccakP1600_state *state, unsigned char data, unsigned int offset)
         | 
| 68 68 | 
             
            ;
         | 
| 69 69 | 
             
            ; argument state     is passed in r24:r25
         | 
| 70 70 | 
             
            ; argument data      is passed in r22:r23, only LSB (r22) is used
         | 
| @@ -82,7 +82,7 @@ KeccakP1600_AddByte: | |
| 82 82 |  | 
| 83 83 | 
             
            ;----------------------------------------------------------------------------
         | 
| 84 84 | 
             
            ;
         | 
| 85 | 
            -
            ; void KeccakP1600_AddBytes( | 
| 85 | 
            +
            ; void KeccakP1600_AddBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 86 86 | 
             
            ;
         | 
| 87 87 | 
             
            ; argument state     is passed in r24:r25
         | 
| 88 88 | 
             
            ; argument data      is passed in r22:r23
         | 
| @@ -150,7 +150,7 @@ KeccakP1600_AddBytes_End: | |
| 150 150 |  | 
| 151 151 | 
             
            ;----------------------------------------------------------------------------
         | 
| 152 152 | 
             
            ;
         | 
| 153 | 
            -
            ; void KeccakP1600_OverwriteBytes( | 
| 153 | 
            +
            ; void KeccakP1600_OverwriteBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 154 154 | 
             
            ;
         | 
| 155 155 | 
             
            ; argument state     is passed in r24:r25
         | 
| 156 156 | 
             
            ; argument data      is passed in r22:r23
         | 
| @@ -199,7 +199,7 @@ KeccakP1600_OverwriteBytes_End: | |
| 199 199 |  | 
| 200 200 | 
             
            ;----------------------------------------------------------------------------
         | 
| 201 201 | 
             
            ;
         | 
| 202 | 
            -
            ; void KeccakP1600_OverwriteWithZeroes( | 
| 202 | 
            +
            ; void KeccakP1600_OverwriteWithZeroes(KeccakP1600_state *state, unsigned int byteCount)
         | 
| 203 203 | 
             
            ;
         | 
| 204 204 | 
             
            ; argument state        is passed in r24:r25
         | 
| 205 205 | 
             
            ; argument byteCount    is passed in r22:r23, only LSB (r22) is used
         | 
| @@ -235,7 +235,7 @@ KeccakP1600_OverwriteWithZeroes_End: | |
| 235 235 |  | 
| 236 236 | 
             
            ;----------------------------------------------------------------------------
         | 
| 237 237 | 
             
            ;
         | 
| 238 | 
            -
            ; void KeccakP1600_ExtractBytes( | 
| 238 | 
            +
            ; void KeccakP1600_ExtractBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 239 239 | 
             
            ;
         | 
| 240 240 | 
             
            ; argument state     is passed in r24:r25
         | 
| 241 241 | 
             
            ; argument data      is passed in r22:r23
         | 
| @@ -284,7 +284,7 @@ KeccakP1600_ExtractBytes_End: | |
| 284 284 |  | 
| 285 285 | 
             
            ;----------------------------------------------------------------------------
         | 
| 286 286 | 
             
            ;
         | 
| 287 | 
            -
            ; void KeccakP1600_ExtractAndAddBytes( | 
| 287 | 
            +
            ; void KeccakP1600_ExtractAndAddBytes(KeccakP1600_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
         | 
| 288 288 | 
             
            ;
         | 
| 289 289 | 
             
            ; argument state     is passed in r24:r25
         | 
| 290 290 | 
             
            ; argument input     is passed in r22:r23
         | 
| @@ -424,7 +424,7 @@ KeccakP1600_RoundConstants_0: | |
| 424 424 |  | 
| 425 425 | 
             
            ;----------------------------------------------------------------------------
         | 
| 426 426 | 
             
            ;
         | 
| 427 | 
            -
            ; void KeccakP1600_Permute_Nrounds(  | 
| 427 | 
            +
            ; void KeccakP1600_Permute_Nrounds( KeccakP1600_state *state, unsigned int nrounds )
         | 
| 428 428 | 
             
            ;
         | 
| 429 429 | 
             
            ; argument state     is passed in r24:r25
         | 
| 430 430 | 
             
            ; argument nrounds   is passed in r22:r23 (only LSB (r22) is used)
         | 
| @@ -443,7 +443,7 @@ KeccakP1600_Permute_Nrounds: | |
| 443 443 |  | 
| 444 444 | 
             
            ;----------------------------------------------------------------------------
         | 
| 445 445 | 
             
            ;
         | 
| 446 | 
            -
            ; void KeccakP1600_Permute_24rounds(  | 
| 446 | 
            +
            ; void KeccakP1600_Permute_24rounds( KeccakP1600_state *state )
         | 
| 447 447 | 
             
            ;
         | 
| 448 448 | 
             
            .global KeccakP1600_Permute_24rounds
         | 
| 449 449 | 
             
            KeccakP1600_Permute_24rounds:
         | 
| @@ -453,7 +453,7 @@ KeccakP1600_Permute_24rounds: | |
| 453 453 |  | 
| 454 454 | 
             
            ;----------------------------------------------------------------------------
         | 
| 455 455 | 
             
            ;
         | 
| 456 | 
            -
            ; void KeccakP1600_Permute_12rounds(  | 
| 456 | 
            +
            ; void KeccakP1600_Permute_12rounds( KeccakP1600_state *state )
         | 
| 457 457 | 
             
            ;
         | 
| 458 458 | 
             
            .global KeccakP1600_Permute_12rounds
         | 
| 459 459 | 
             
            KeccakP1600_Permute_12rounds:
         | 
| @@ -1014,6 +1014,9 @@ KeccakP1600_12rounds_FastLoop_Absorb_LanesAddLoop: | |
| 1014 1014 | 
             
            .size   KeccakP1600_12rounds_FastLoop_Absorb,.-KeccakP1600_12rounds_FastLoop_Absorb
         | 
| 1015 1015 | 
             
            .endif
         | 
| 1016 1016 |  | 
| 1017 | 
            +
            .ifndef old_gas_syntax
         | 
| 1018 | 
            +
            .section .rodata
         | 
| 1019 | 
            +
            .endif
         | 
| 1017 1020 | 
             
            .equ    ALLON,        0xFFFFFFFFFFFFFFFF
         | 
| 1018 1021 |  | 
| 1019 1022 | 
             
            .balign 64
         |