digest-kangarootwelve 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,291 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
Implementation by Gilles Van Assche, hereby denoted as "the implementer".
|
6
|
-
|
7
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
8
|
-
https://keccak.team/
|
9
|
-
|
10
|
-
To the extent possible under law, the implementer has waived all copyright
|
11
|
-
and related or neighboring rights to the source code in this file.
|
12
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
13
|
-
|
14
|
-
---
|
15
|
-
|
16
|
-
This file contains macros that help make a PlSnP-compatible implementation by
|
17
|
-
serially falling back on a SnP-compatible implementation or on a PlSnP-compatible
|
18
|
-
implementation of lower parallism degree.
|
19
|
-
|
20
|
-
Please refer to PlSnP-documentation.h for more details.
|
21
|
-
*/
|
22
|
-
|
23
|
-
/* expect PlSnP_baseParallelism, PlSnP_targetParallelism */
|
24
|
-
/* expect SnP_stateSizeInBytes, SnP_stateAlignment */
|
25
|
-
/* expect prefix */
|
26
|
-
/* expect SnP_* */
|
27
|
-
|
28
|
-
#define JOIN0(a, b) a ## b
|
29
|
-
#define JOIN(a, b) JOIN0(a, b)
|
30
|
-
|
31
|
-
#define PlSnP_StaticInitialize JOIN(prefix, _StaticInitialize)
|
32
|
-
#define PlSnP_InitializeAll JOIN(prefix, _InitializeAll)
|
33
|
-
#define PlSnP_AddByte JOIN(prefix, _AddByte)
|
34
|
-
#define PlSnP_AddBytes JOIN(prefix, _AddBytes)
|
35
|
-
#define PlSnP_AddLanesAll JOIN(prefix, _AddLanesAll)
|
36
|
-
#define PlSnP_OverwriteBytes JOIN(prefix, _OverwriteBytes)
|
37
|
-
#define PlSnP_OverwriteLanesAll JOIN(prefix, _OverwriteLanesAll)
|
38
|
-
#define PlSnP_OverwriteWithZeroes JOIN(prefix, _OverwriteWithZeroes)
|
39
|
-
#define PlSnP_ExtractBytes JOIN(prefix, _ExtractBytes)
|
40
|
-
#define PlSnP_ExtractLanesAll JOIN(prefix, _ExtractLanesAll)
|
41
|
-
#define PlSnP_ExtractAndAddBytes JOIN(prefix, _ExtractAndAddBytes)
|
42
|
-
#define PlSnP_ExtractAndAddLanesAll JOIN(prefix, _ExtractAndAddLanesAll)
|
43
|
-
|
44
|
-
#if (PlSnP_baseParallelism == 1)
|
45
|
-
#define SnP_stateSizeInBytes JOIN(SnP, _stateSizeInBytes)
|
46
|
-
#define SnP_stateAlignment JOIN(SnP, _stateAlignment)
|
47
|
-
#else
|
48
|
-
#define SnP_stateSizeInBytes JOIN(SnP, _statesSizeInBytes)
|
49
|
-
#define SnP_stateAlignment JOIN(SnP, _statesAlignment)
|
50
|
-
#endif
|
51
|
-
#define PlSnP_factor ((PlSnP_targetParallelism)/(PlSnP_baseParallelism))
|
52
|
-
#define SnP_stateOffset (((SnP_stateSizeInBytes+(SnP_stateAlignment-1))/SnP_stateAlignment)*SnP_stateAlignment)
|
53
|
-
#define stateWithIndex(i) ((unsigned char *)states+((i)*SnP_stateOffset))
|
54
|
-
#define stateWithIndexConst(i) ((const unsigned char *)states+((i)*SnP_stateOffset))
|
55
|
-
|
56
|
-
#define SnP_StaticInitialize JOIN(SnP, _StaticInitialize)
|
57
|
-
#define SnP_Initialize JOIN(SnP, _Initialize)
|
58
|
-
#define SnP_InitializeAll JOIN(SnP, _InitializeAll)
|
59
|
-
#define SnP_AddByte JOIN(SnP, _AddByte)
|
60
|
-
#define SnP_AddBytes JOIN(SnP, _AddBytes)
|
61
|
-
#define SnP_AddLanesAll JOIN(SnP, _AddLanesAll)
|
62
|
-
#define SnP_OverwriteBytes JOIN(SnP, _OverwriteBytes)
|
63
|
-
#define SnP_OverwriteLanesAll JOIN(SnP, _OverwriteLanesAll)
|
64
|
-
#define SnP_OverwriteWithZeroes JOIN(SnP, _OverwriteWithZeroes)
|
65
|
-
#define SnP_ExtractBytes JOIN(SnP, _ExtractBytes)
|
66
|
-
#define SnP_ExtractLanesAll JOIN(SnP, _ExtractLanesAll)
|
67
|
-
#define SnP_ExtractAndAddBytes JOIN(SnP, _ExtractAndAddBytes)
|
68
|
-
#define SnP_ExtractAndAddLanesAll JOIN(SnP, _ExtractAndAddLanesAll)
|
69
|
-
|
70
|
-
void PlSnP_StaticInitialize( void )
|
71
|
-
{
|
72
|
-
SnP_StaticInitialize();
|
73
|
-
}
|
74
|
-
|
75
|
-
void PlSnP_InitializeAll(void *states)
|
76
|
-
{
|
77
|
-
unsigned int i;
|
78
|
-
|
79
|
-
for(i=0; i<PlSnP_factor; i++)
|
80
|
-
#if (PlSnP_baseParallelism == 1)
|
81
|
-
SnP_Initialize(stateWithIndex(i));
|
82
|
-
#else
|
83
|
-
SnP_InitializeAll(stateWithIndex(i));
|
84
|
-
#endif
|
85
|
-
}
|
86
|
-
|
87
|
-
void PlSnP_AddByte(void *states, unsigned int instanceIndex, unsigned char byte, unsigned int offset)
|
88
|
-
{
|
89
|
-
#if (PlSnP_baseParallelism == 1)
|
90
|
-
SnP_AddByte(stateWithIndex(instanceIndex), byte, offset);
|
91
|
-
#else
|
92
|
-
SnP_AddByte(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, byte, offset);
|
93
|
-
#endif
|
94
|
-
}
|
95
|
-
|
96
|
-
void PlSnP_AddBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
|
97
|
-
{
|
98
|
-
#if (PlSnP_baseParallelism == 1)
|
99
|
-
SnP_AddBytes(stateWithIndex(instanceIndex), data, offset, length);
|
100
|
-
#else
|
101
|
-
SnP_AddBytes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, data, offset, length);
|
102
|
-
#endif
|
103
|
-
}
|
104
|
-
|
105
|
-
void PlSnP_AddLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
|
106
|
-
{
|
107
|
-
unsigned int i;
|
108
|
-
|
109
|
-
for(i=0; i<PlSnP_factor; i++) {
|
110
|
-
#if (PlSnP_baseParallelism == 1)
|
111
|
-
SnP_AddBytes(stateWithIndex(i), data, 0, laneCount*SnP_laneLengthInBytes);
|
112
|
-
#else
|
113
|
-
SnP_AddLanesAll(stateWithIndex(i), data, laneCount, laneOffset);
|
114
|
-
#endif
|
115
|
-
data += PlSnP_baseParallelism*laneOffset*SnP_laneLengthInBytes;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
void PlSnP_OverwriteBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
|
120
|
-
{
|
121
|
-
#if (PlSnP_baseParallelism == 1)
|
122
|
-
SnP_OverwriteBytes(stateWithIndex(instanceIndex), data, offset, length);
|
123
|
-
#else
|
124
|
-
SnP_OverwriteBytes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, data, offset, length);
|
125
|
-
#endif
|
126
|
-
}
|
127
|
-
|
128
|
-
void PlSnP_OverwriteLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
|
129
|
-
{
|
130
|
-
unsigned int i;
|
131
|
-
|
132
|
-
for(i=0; i<PlSnP_factor; i++) {
|
133
|
-
#if (PlSnP_baseParallelism == 1)
|
134
|
-
SnP_OverwriteBytes(stateWithIndex(i), data, 0, laneCount*SnP_laneLengthInBytes);
|
135
|
-
#else
|
136
|
-
SnP_OverwriteLanesAll(stateWithIndex(i), data, laneCount, laneOffset);
|
137
|
-
#endif
|
138
|
-
data += PlSnP_baseParallelism*laneOffset*SnP_laneLengthInBytes;
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
void PlSnP_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount)
|
143
|
-
{
|
144
|
-
#if (PlSnP_baseParallelism == 1)
|
145
|
-
SnP_OverwriteWithZeroes(stateWithIndex(instanceIndex), byteCount);
|
146
|
-
#else
|
147
|
-
SnP_OverwriteWithZeroes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, byteCount);
|
148
|
-
#endif
|
149
|
-
}
|
150
|
-
|
151
|
-
void PlSnP_PermuteAll(void *states)
|
152
|
-
{
|
153
|
-
unsigned int i;
|
154
|
-
|
155
|
-
for(i=0; i<PlSnP_factor; i++) {
|
156
|
-
#if (PlSnP_baseParallelism == 1)
|
157
|
-
SnP_Permute(stateWithIndex(i));
|
158
|
-
#else
|
159
|
-
SnP_PermuteAll(stateWithIndex(i));
|
160
|
-
#endif
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
#if (defined(SnP_Permute_12rounds) || defined(SnP_PermuteAll_12rounds))
|
165
|
-
void PlSnP_PermuteAll_12rounds(void *states)
|
166
|
-
{
|
167
|
-
unsigned int i;
|
168
|
-
|
169
|
-
for(i=0; i<PlSnP_factor; i++) {
|
170
|
-
#if (PlSnP_baseParallelism == 1)
|
171
|
-
SnP_Permute_12rounds(stateWithIndex(i));
|
172
|
-
#else
|
173
|
-
SnP_PermuteAll_12rounds(stateWithIndex(i));
|
174
|
-
#endif
|
175
|
-
}
|
176
|
-
}
|
177
|
-
#endif
|
178
|
-
|
179
|
-
#if (defined(SnP_Permute_Nrounds) || defined(SnP_PermuteAll_6rounds))
|
180
|
-
void PlSnP_PermuteAll_6rounds(void *states)
|
181
|
-
{
|
182
|
-
unsigned int i;
|
183
|
-
|
184
|
-
for(i=0; i<PlSnP_factor; i++) {
|
185
|
-
#if (PlSnP_baseParallelism == 1)
|
186
|
-
SnP_Permute_Nrounds(stateWithIndex(i), 6);
|
187
|
-
#else
|
188
|
-
SnP_PermuteAll_6rounds(stateWithIndex(i));
|
189
|
-
#endif
|
190
|
-
}
|
191
|
-
}
|
192
|
-
#endif
|
193
|
-
|
194
|
-
#if (defined(SnP_Permute_Nrounds) || defined(SnP_PermuteAll_4rounds))
|
195
|
-
void PlSnP_PermuteAll_4rounds(void *states)
|
196
|
-
{
|
197
|
-
unsigned int i;
|
198
|
-
|
199
|
-
for(i=0; i<PlSnP_factor; i++) {
|
200
|
-
#if (PlSnP_baseParallelism == 1)
|
201
|
-
SnP_Permute_Nrounds(stateWithIndex(i), 4);
|
202
|
-
#else
|
203
|
-
SnP_PermuteAll_4rounds(stateWithIndex(i));
|
204
|
-
#endif
|
205
|
-
}
|
206
|
-
}
|
207
|
-
#endif
|
208
|
-
|
209
|
-
void PlSnP_ExtractBytes(void *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length)
|
210
|
-
{
|
211
|
-
#if (PlSnP_baseParallelism == 1)
|
212
|
-
SnP_ExtractBytes(stateWithIndex(instanceIndex), data, offset, length);
|
213
|
-
#else
|
214
|
-
SnP_ExtractBytes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, data, offset, length);
|
215
|
-
#endif
|
216
|
-
}
|
217
|
-
|
218
|
-
void PlSnP_ExtractLanesAll(const void *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
|
219
|
-
{
|
220
|
-
unsigned int i;
|
221
|
-
|
222
|
-
for(i=0; i<PlSnP_factor; i++) {
|
223
|
-
#if (PlSnP_baseParallelism == 1)
|
224
|
-
SnP_ExtractBytes(stateWithIndexConst(i), data, 0, laneCount*SnP_laneLengthInBytes);
|
225
|
-
#else
|
226
|
-
SnP_ExtractLanesAll(stateWithIndex(i), data, laneCount, laneOffset);
|
227
|
-
#endif
|
228
|
-
data += laneOffset*SnP_laneLengthInBytes*PlSnP_baseParallelism;
|
229
|
-
}
|
230
|
-
}
|
231
|
-
|
232
|
-
void PlSnP_ExtractAndAddBytes(void *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
233
|
-
{
|
234
|
-
#if (PlSnP_baseParallelism == 1)
|
235
|
-
SnP_ExtractAndAddBytes(stateWithIndex(instanceIndex), input, output, offset, length);
|
236
|
-
#else
|
237
|
-
SnP_ExtractAndAddBytes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, input, output, offset, length);
|
238
|
-
#endif
|
239
|
-
}
|
240
|
-
|
241
|
-
void PlSnP_ExtractAndAddLanesAll(const void *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset)
|
242
|
-
{
|
243
|
-
unsigned int i;
|
244
|
-
|
245
|
-
for(i=0; i<PlSnP_factor; i++) {
|
246
|
-
#if (PlSnP_baseParallelism == 1)
|
247
|
-
SnP_ExtractAndAddBytes(stateWithIndexConst(i), input, output, 0, laneCount*SnP_laneLengthInBytes);
|
248
|
-
#else
|
249
|
-
SnP_ExtractAndAddLanesAll(stateWithIndex(i), input, output, laneCount, laneOffset);
|
250
|
-
#endif
|
251
|
-
input += laneOffset*SnP_laneLengthInBytes*PlSnP_baseParallelism;
|
252
|
-
output += laneOffset*SnP_laneLengthInBytes*PlSnP_baseParallelism;
|
253
|
-
}
|
254
|
-
}
|
255
|
-
|
256
|
-
#undef PlSnP_factor
|
257
|
-
#undef SnP_stateOffset
|
258
|
-
#undef stateWithIndex
|
259
|
-
#undef JOIN0
|
260
|
-
#undef JOIN
|
261
|
-
#undef PlSnP_StaticInitialize
|
262
|
-
#undef PlSnP_InitializeAll
|
263
|
-
#undef PlSnP_AddByte
|
264
|
-
#undef PlSnP_AddBytes
|
265
|
-
#undef PlSnP_AddLanesAll
|
266
|
-
#undef PlSnP_OverwriteBytes
|
267
|
-
#undef PlSnP_OverwriteLanesAll
|
268
|
-
#undef PlSnP_OverwriteWithZeroes
|
269
|
-
#undef PlSnP_PermuteAll
|
270
|
-
#undef PlSnP_ExtractBytes
|
271
|
-
#undef PlSnP_ExtractLanesAll
|
272
|
-
#undef PlSnP_ExtractAndAddBytes
|
273
|
-
#undef PlSnP_ExtractAndAddLanesAll
|
274
|
-
#undef SnP_stateAlignment
|
275
|
-
#undef SnP_stateSizeInBytes
|
276
|
-
#undef PlSnP_factor
|
277
|
-
#undef SnP_stateOffset
|
278
|
-
#undef stateWithIndex
|
279
|
-
#undef SnP_StaticInitialize
|
280
|
-
#undef SnP_Initialize
|
281
|
-
#undef SnP_InitializeAll
|
282
|
-
#undef SnP_AddByte
|
283
|
-
#undef SnP_AddBytes
|
284
|
-
#undef SnP_AddLanesAll
|
285
|
-
#undef SnP_OverwriteBytes
|
286
|
-
#undef SnP_OverwriteWithZeroes
|
287
|
-
#undef SnP_OverwriteLanesAll
|
288
|
-
#undef SnP_ExtractBytes
|
289
|
-
#undef SnP_ExtractLanesAll
|
290
|
-
#undef SnP_ExtractAndAddBytes
|
291
|
-
#undef SnP_ExtractAndAddLanesAll
|
@@ -1,177 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
Implementation by Gilles Van Assche and Ronny Van Keer, hereby denoted as "the implementer".
|
6
|
-
|
7
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
8
|
-
https://keccak.team/
|
9
|
-
|
10
|
-
To the extent possible under law, the implementer has waived all copyright
|
11
|
-
and related or neighboring rights to the source code in this file.
|
12
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
13
|
-
*/
|
14
|
-
|
15
|
-
#include <stdio.h>
|
16
|
-
#include "displayIntermediateValues.h"
|
17
|
-
|
18
|
-
FILE *intermediateValueFile = 0;
|
19
|
-
int displayLevel = 0;
|
20
|
-
|
21
|
-
void displaySetIntermediateValueFile(FILE *f)
|
22
|
-
{
|
23
|
-
intermediateValueFile = f;
|
24
|
-
}
|
25
|
-
|
26
|
-
void displaySetLevel(int level)
|
27
|
-
{
|
28
|
-
displayLevel = level;
|
29
|
-
}
|
30
|
-
|
31
|
-
void displayBytes(int level, const char *text, const unsigned char *bytes, unsigned int size)
|
32
|
-
{
|
33
|
-
unsigned int i;
|
34
|
-
|
35
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
36
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
37
|
-
for(i=0; i<size; i++)
|
38
|
-
fprintf(intermediateValueFile, "%02X ", bytes[i]);
|
39
|
-
fprintf(intermediateValueFile, "\n");
|
40
|
-
fprintf(intermediateValueFile, "\n");
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
void displayBits(int level, const char *text, const unsigned char *data, unsigned int size, int MSBfirst)
|
45
|
-
{
|
46
|
-
unsigned int i, iByte, iBit;
|
47
|
-
|
48
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
49
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
50
|
-
for(i=0; i<size; i++) {
|
51
|
-
iByte = i/8;
|
52
|
-
iBit = i%8;
|
53
|
-
if (MSBfirst)
|
54
|
-
fprintf(intermediateValueFile, "%d ", ((data[iByte] << iBit) & 0x80) != 0);
|
55
|
-
else
|
56
|
-
fprintf(intermediateValueFile, "%d ", ((data[iByte] >> iBit) & 0x01) != 0);
|
57
|
-
}
|
58
|
-
fprintf(intermediateValueFile, "\n");
|
59
|
-
fprintf(intermediateValueFile, "\n");
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
void displayStateAsBytes(int level, const char *text, const unsigned char *state, unsigned int width)
|
64
|
-
{
|
65
|
-
displayBytes(level, text, state, width/8);
|
66
|
-
}
|
67
|
-
|
68
|
-
void displayStateAs32bitWords(int level, const char *text, const unsigned int *state)
|
69
|
-
{
|
70
|
-
unsigned int i;
|
71
|
-
|
72
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
73
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
74
|
-
for(i=0; i<25; i++) {
|
75
|
-
fprintf(intermediateValueFile, "%08X:%08X", (unsigned int)state[2*i+0], (unsigned int)state[2*i+1]);
|
76
|
-
if ((i%5) == 4)
|
77
|
-
fprintf(intermediateValueFile, "\n");
|
78
|
-
else
|
79
|
-
fprintf(intermediateValueFile, " ");
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
void displayStateAs64bitLanes(int level, const char *text, void *statePointer)
|
85
|
-
{
|
86
|
-
unsigned int i;
|
87
|
-
unsigned long long int *state = statePointer;
|
88
|
-
|
89
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
90
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
91
|
-
for(i=0; i<25; i++) {
|
92
|
-
fprintf(intermediateValueFile, "%08X", (unsigned int)(state[i] >> 32));
|
93
|
-
fprintf(intermediateValueFile, "%08X", (unsigned int)(state[i] & 0xFFFFFFFFULL));
|
94
|
-
if ((i%5) == 4)
|
95
|
-
fprintf(intermediateValueFile, "\n");
|
96
|
-
else
|
97
|
-
fprintf(intermediateValueFile, " ");
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
void displayStateAs32bitLanes(int level, const char *text, void *statePointer)
|
103
|
-
{
|
104
|
-
unsigned int i;
|
105
|
-
unsigned int *state = statePointer;
|
106
|
-
|
107
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
108
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
109
|
-
for(i=0; i<25; i++) {
|
110
|
-
fprintf(intermediateValueFile, "%08X", state[i]);
|
111
|
-
if ((i%5) == 4)
|
112
|
-
fprintf(intermediateValueFile, "\n");
|
113
|
-
else
|
114
|
-
fprintf(intermediateValueFile, " ");
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
void displayStateAs16bitLanes(int level, const char *text, void *statePointer)
|
120
|
-
{
|
121
|
-
unsigned int i;
|
122
|
-
unsigned short *state = statePointer;
|
123
|
-
|
124
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
125
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
126
|
-
for(i=0; i<25; i++) {
|
127
|
-
fprintf(intermediateValueFile, "%04X ", state[i]);
|
128
|
-
if ((i%5) == 4)
|
129
|
-
fprintf(intermediateValueFile, "\n");
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
void displayStateAs8bitLanes(int level, const char *text, void *statePointer)
|
135
|
-
{
|
136
|
-
unsigned int i;
|
137
|
-
unsigned char *state = statePointer;
|
138
|
-
|
139
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
140
|
-
fprintf(intermediateValueFile, "%s:\n", text);
|
141
|
-
for(i=0; i<25; i++) {
|
142
|
-
fprintf(intermediateValueFile, "%02X ", state[i]);
|
143
|
-
if ((i%5) == 4)
|
144
|
-
fprintf(intermediateValueFile, "\n");
|
145
|
-
}
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
void displayStateAsLanes(int level, const char *text, void *statePointer, unsigned int width)
|
150
|
-
{
|
151
|
-
if (width == 1600)
|
152
|
-
displayStateAs64bitLanes(level, text, statePointer);
|
153
|
-
if (width == 800)
|
154
|
-
displayStateAs32bitLanes(level, text, statePointer);
|
155
|
-
if (width == 400)
|
156
|
-
displayStateAs16bitLanes(level, text, statePointer);
|
157
|
-
if (width == 200)
|
158
|
-
displayStateAs8bitLanes(level, text, statePointer);
|
159
|
-
}
|
160
|
-
|
161
|
-
void displayRoundNumber(int level, unsigned int i)
|
162
|
-
{
|
163
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
164
|
-
fprintf(intermediateValueFile, "\n");
|
165
|
-
fprintf(intermediateValueFile, "--- Round %d ---\n", i);
|
166
|
-
fprintf(intermediateValueFile, "\n");
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
void displayText(int level, const char *text)
|
171
|
-
{
|
172
|
-
if ((intermediateValueFile) && (level <= displayLevel)) {
|
173
|
-
fprintf(intermediateValueFile, "%s", text);
|
174
|
-
fprintf(intermediateValueFile, "\n");
|
175
|
-
fprintf(intermediateValueFile, "\n");
|
176
|
-
}
|
177
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
Implementation by Gilles Van Assche and Ronny Van Keer, hereby denoted as "the implementer".
|
6
|
-
|
7
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
8
|
-
https://keccak.team/
|
9
|
-
|
10
|
-
To the extent possible under law, the implementer has waived all copyright
|
11
|
-
and related or neighboring rights to the source code in this file.
|
12
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
13
|
-
*/
|
14
|
-
|
15
|
-
#ifndef _displayIntermediateValues_h_
|
16
|
-
#define _displayIntermediateValues_h_
|
17
|
-
|
18
|
-
#include <stdio.h>
|
19
|
-
|
20
|
-
void displaySetIntermediateValueFile(FILE *f);
|
21
|
-
void displaySetLevel(int level);
|
22
|
-
void displayBytes(int level, const char *text, const unsigned char *bytes, unsigned int size);
|
23
|
-
void displayBits(int level, const char *text, const unsigned char *data, unsigned int size, int MSBfirst);
|
24
|
-
void displayStateAsBytes(int level, const char *text, const unsigned char *state, unsigned int width);
|
25
|
-
void displayStateAs32bitWords(int level, const char *text, const unsigned int *state);
|
26
|
-
void displayStateAsLanes(int level, const char *text, void *statePointer, unsigned int width);
|
27
|
-
void displayRoundNumber(int level, unsigned int i);
|
28
|
-
void displayText(int level, const char *text);
|
29
|
-
|
30
|
-
#endif
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/common/PlSnP-Fallback.inc"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/common/PlSnP-Fallback.inc"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/common/PlSnP-Fallback.inc"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../../XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s"
|