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,459 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
|
6
|
-
|
7
|
-
Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
8
|
-
|
9
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
10
|
-
https://keccak.team/
|
11
|
-
|
12
|
-
To the extent possible under law, the implementer has waived all copyright
|
13
|
-
and related or neighboring rights to the source code in this file.
|
14
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
15
|
-
*/
|
16
|
-
|
17
|
-
#define _b 0
|
18
|
-
#define _g 5
|
19
|
-
#define _k 10
|
20
|
-
#define _m 15
|
21
|
-
#define _s 20
|
22
|
-
|
23
|
-
#define _a 0
|
24
|
-
#define _e 1
|
25
|
-
#define _i 2
|
26
|
-
#define _o 3
|
27
|
-
#define _u 4
|
28
|
-
|
29
|
-
#define declareBCDE \
|
30
|
-
uint32_t Ba, Be, Bi, Bo, Bu; \
|
31
|
-
uint32_t Ca, Ce, Ci, Co, Cu; \
|
32
|
-
uint32_t Da, De, Di, Do, Du; \
|
33
|
-
uint32_t Estate[25]; \
|
34
|
-
|
35
|
-
#define prepareTheta \
|
36
|
-
Ca = Astate[_b+_a]^Astate[_g+_a]^Astate[_k+_a]^Astate[_m+_a]^Astate[_s+_a]; \
|
37
|
-
Ce = Astate[_b+_e]^Astate[_g+_e]^Astate[_k+_e]^Astate[_m+_e]^Astate[_s+_e]; \
|
38
|
-
Ci = Astate[_b+_i]^Astate[_g+_i]^Astate[_k+_i]^Astate[_m+_i]^Astate[_s+_i]; \
|
39
|
-
Co = Astate[_b+_o]^Astate[_g+_o]^Astate[_k+_o]^Astate[_m+_o]^Astate[_s+_o]; \
|
40
|
-
Cu = Astate[_b+_u]^Astate[_g+_u]^Astate[_k+_u]^Astate[_m+_u]^Astate[_s+_u]; \
|
41
|
-
|
42
|
-
#ifdef UseBebigokimisa
|
43
|
-
/* --- Code for round, with prepare-theta (lane complementing pattern 'bebigokimisa') */
|
44
|
-
/* --- 32-bit lanes mapped to 32-bit words */
|
45
|
-
#define thetaRhoPiChiIotaPrepareTheta(i, A, E) \
|
46
|
-
Da = Cu^ROL32(Ce, 1); \
|
47
|
-
De = Ca^ROL32(Ci, 1); \
|
48
|
-
Di = Ce^ROL32(Co, 1); \
|
49
|
-
Do = Ci^ROL32(Cu, 1); \
|
50
|
-
Du = Co^ROL32(Ca, 1); \
|
51
|
-
\
|
52
|
-
A##state[_b+_a] ^= Da; \
|
53
|
-
Ba = A##state[_b+_a]; \
|
54
|
-
A##state[_g+_e] ^= De; \
|
55
|
-
Be = ROL32(A##state[_g+_e], 12); \
|
56
|
-
A##state[_k+_i] ^= Di; \
|
57
|
-
Bi = ROL32(A##state[_k+_i], 11); \
|
58
|
-
A##state[_m+_o] ^= Do; \
|
59
|
-
Bo = ROL32(A##state[_m+_o], 21); \
|
60
|
-
A##state[_s+_u] ^= Du; \
|
61
|
-
Bu = ROL32(A##state[_s+_u], 14); \
|
62
|
-
E##state[_b+_a] = Ba ^( Be | Bi ); \
|
63
|
-
E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
|
64
|
-
Ca = E##state[_b+_a]; \
|
65
|
-
E##state[_b+_e] = Be ^((~Bi)| Bo ); \
|
66
|
-
Ce = E##state[_b+_e]; \
|
67
|
-
E##state[_b+_i] = Bi ^( Bo & Bu ); \
|
68
|
-
Ci = E##state[_b+_i]; \
|
69
|
-
E##state[_b+_o] = Bo ^( Bu | Ba ); \
|
70
|
-
Co = E##state[_b+_o]; \
|
71
|
-
E##state[_b+_u] = Bu ^( Ba & Be ); \
|
72
|
-
Cu = E##state[_b+_u]; \
|
73
|
-
\
|
74
|
-
A##state[_b+_o] ^= Do; \
|
75
|
-
Ba = ROL32(A##state[_b+_o], 28); \
|
76
|
-
A##state[_g+_u] ^= Du; \
|
77
|
-
Be = ROL32(A##state[_g+_u], 20); \
|
78
|
-
A##state[_k+_a] ^= Da; \
|
79
|
-
Bi = ROL32(A##state[_k+_a], 3); \
|
80
|
-
A##state[_m+_e] ^= De; \
|
81
|
-
Bo = ROL32(A##state[_m+_e], 13); \
|
82
|
-
A##state[_s+_i] ^= Di; \
|
83
|
-
Bu = ROL32(A##state[_s+_i], 29); \
|
84
|
-
E##state[_g+_a] = Ba ^( Be | Bi ); \
|
85
|
-
Ca ^= E##state[_g+_a]; \
|
86
|
-
E##state[_g+_e] = Be ^( Bi & Bo ); \
|
87
|
-
Ce ^= E##state[_g+_e]; \
|
88
|
-
E##state[_g+_i] = Bi ^( Bo |(~Bu)); \
|
89
|
-
Ci ^= E##state[_g+_i]; \
|
90
|
-
E##state[_g+_o] = Bo ^( Bu | Ba ); \
|
91
|
-
Co ^= E##state[_g+_o]; \
|
92
|
-
E##state[_g+_u] = Bu ^( Ba & Be ); \
|
93
|
-
Cu ^= E##state[_g+_u]; \
|
94
|
-
\
|
95
|
-
A##state[_b+_e] ^= De; \
|
96
|
-
Ba = ROL32(A##state[_b+_e], 1); \
|
97
|
-
A##state[_g+_i] ^= Di; \
|
98
|
-
Be = ROL32(A##state[_g+_i], 6); \
|
99
|
-
A##state[_k+_o] ^= Do; \
|
100
|
-
Bi = ROL32(A##state[_k+_o], 25); \
|
101
|
-
A##state[_m+_u] ^= Du; \
|
102
|
-
Bo = ROL32(A##state[_m+_u], 8); \
|
103
|
-
A##state[_s+_a] ^= Da; \
|
104
|
-
Bu = ROL32(A##state[_s+_a], 18); \
|
105
|
-
E##state[_k+_a] = Ba ^( Be | Bi ); \
|
106
|
-
Ca ^= E##state[_k+_a]; \
|
107
|
-
E##state[_k+_e] = Be ^( Bi & Bo ); \
|
108
|
-
Ce ^= E##state[_k+_e]; \
|
109
|
-
E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
|
110
|
-
Ci ^= E##state[_k+_i]; \
|
111
|
-
E##state[_k+_o] = (~Bo)^( Bu | Ba ); \
|
112
|
-
Co ^= E##state[_k+_o]; \
|
113
|
-
E##state[_k+_u] = Bu ^( Ba & Be ); \
|
114
|
-
Cu ^= E##state[_k+_u]; \
|
115
|
-
\
|
116
|
-
A##state[_b+_u] ^= Du; \
|
117
|
-
Ba = ROL32(A##state[_b+_u], 27); \
|
118
|
-
A##state[_g+_a] ^= Da; \
|
119
|
-
Be = ROL32(A##state[_g+_a], 4); \
|
120
|
-
A##state[_k+_e] ^= De; \
|
121
|
-
Bi = ROL32(A##state[_k+_e], 10); \
|
122
|
-
A##state[_m+_i] ^= Di; \
|
123
|
-
Bo = ROL32(A##state[_m+_i], 15); \
|
124
|
-
A##state[_s+_o] ^= Do; \
|
125
|
-
Bu = ROL32(A##state[_s+_o], 24); \
|
126
|
-
E##state[_m+_a] = Ba ^( Be & Bi ); \
|
127
|
-
Ca ^= E##state[_m+_a]; \
|
128
|
-
E##state[_m+_e] = Be ^( Bi | Bo ); \
|
129
|
-
Ce ^= E##state[_m+_e]; \
|
130
|
-
E##state[_m+_i] = Bi ^((~Bo)| Bu ); \
|
131
|
-
Ci ^= E##state[_m+_i]; \
|
132
|
-
E##state[_m+_o] = (~Bo)^( Bu & Ba ); \
|
133
|
-
Co ^= E##state[_m+_o]; \
|
134
|
-
E##state[_m+_u] = Bu ^( Ba | Be ); \
|
135
|
-
Cu ^= E##state[_m+_u]; \
|
136
|
-
\
|
137
|
-
A##state[_b+_i] ^= Di; \
|
138
|
-
Ba = ROL32(A##state[_b+_i], 30); \
|
139
|
-
A##state[_g+_o] ^= Do; \
|
140
|
-
Be = ROL32(A##state[_g+_o], 23); \
|
141
|
-
A##state[_k+_u] ^= Du; \
|
142
|
-
Bi = ROL32(A##state[_k+_u], 7); \
|
143
|
-
A##state[_m+_a] ^= Da; \
|
144
|
-
Bo = ROL32(A##state[_m+_a], 9); \
|
145
|
-
A##state[_s+_e] ^= De; \
|
146
|
-
Bu = ROL32(A##state[_s+_e], 2); \
|
147
|
-
E##state[_s+_a] = Ba ^((~Be)& Bi ); \
|
148
|
-
Ca ^= E##state[_s+_a]; \
|
149
|
-
E##state[_s+_e] = (~Be)^( Bi | Bo ); \
|
150
|
-
Ce ^= E##state[_s+_e]; \
|
151
|
-
E##state[_s+_i] = Bi ^( Bo & Bu ); \
|
152
|
-
Ci ^= E##state[_s+_i]; \
|
153
|
-
E##state[_s+_o] = Bo ^( Bu | Ba ); \
|
154
|
-
Co ^= E##state[_s+_o]; \
|
155
|
-
E##state[_s+_u] = Bu ^( Ba & Be ); \
|
156
|
-
Cu ^= E##state[_s+_u]; \
|
157
|
-
\
|
158
|
-
|
159
|
-
/* --- Code for round (lane complementing pattern 'bebigokimisa') */
|
160
|
-
/* --- 32-bit lanes mapped to 32-bit words */
|
161
|
-
#define thetaRhoPiChiIota(i, A, E) \
|
162
|
-
Da = Cu^ROL32(Ce, 1); \
|
163
|
-
De = Ca^ROL32(Ci, 1); \
|
164
|
-
Di = Ce^ROL32(Co, 1); \
|
165
|
-
Do = Ci^ROL32(Cu, 1); \
|
166
|
-
Du = Co^ROL32(Ca, 1); \
|
167
|
-
\
|
168
|
-
A##state[_b+_a] ^= Da; \
|
169
|
-
Ba = A##state[_b+_a]; \
|
170
|
-
A##state[_g+_e] ^= De; \
|
171
|
-
Be = ROL32(A##state[_g+_e], 12); \
|
172
|
-
A##state[_k+_i] ^= Di; \
|
173
|
-
Bi = ROL32(A##state[_k+_i], 11); \
|
174
|
-
A##state[_m+_o] ^= Do; \
|
175
|
-
Bo = ROL32(A##state[_m+_o], 21); \
|
176
|
-
A##state[_s+_u] ^= Du; \
|
177
|
-
Bu = ROL32(A##state[_s+_u], 14); \
|
178
|
-
E##state[_b+_a] = Ba ^( Be | Bi ); \
|
179
|
-
E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
|
180
|
-
E##state[_b+_e] = Be ^((~Bi)| Bo ); \
|
181
|
-
E##state[_b+_i] = Bi ^( Bo & Bu ); \
|
182
|
-
E##state[_b+_o] = Bo ^( Bu | Ba ); \
|
183
|
-
E##state[_b+_u] = Bu ^( Ba & Be ); \
|
184
|
-
\
|
185
|
-
A##state[_b+_o] ^= Do; \
|
186
|
-
Ba = ROL32(A##state[_b+_o], 28); \
|
187
|
-
A##state[_g+_u] ^= Du; \
|
188
|
-
Be = ROL32(A##state[_g+_u], 20); \
|
189
|
-
A##state[_k+_a] ^= Da; \
|
190
|
-
Bi = ROL32(A##state[_k+_a], 3); \
|
191
|
-
A##state[_m+_e] ^= De; \
|
192
|
-
Bo = ROL32(A##state[_m+_e], 13); \
|
193
|
-
A##state[_s+_i] ^= Di; \
|
194
|
-
Bu = ROL32(A##state[_s+_i], 29); \
|
195
|
-
E##state[_g+_a] = Ba ^( Be | Bi ); \
|
196
|
-
E##state[_g+_e] = Be ^( Bi & Bo ); \
|
197
|
-
E##state[_g+_i] = Bi ^( Bo |(~Bu)); \
|
198
|
-
E##state[_g+_o] = Bo ^( Bu | Ba ); \
|
199
|
-
E##state[_g+_u] = Bu ^( Ba & Be ); \
|
200
|
-
\
|
201
|
-
A##state[_b+_e] ^= De; \
|
202
|
-
Ba = ROL32(A##state[_b+_e], 1); \
|
203
|
-
A##state[_g+_i] ^= Di; \
|
204
|
-
Be = ROL32(A##state[_g+_i], 6); \
|
205
|
-
A##state[_k+_o] ^= Do; \
|
206
|
-
Bi = ROL32(A##state[_k+_o], 25); \
|
207
|
-
A##state[_m+_u] ^= Du; \
|
208
|
-
Bo = ROL32(A##state[_m+_u], 8); \
|
209
|
-
A##state[_s+_a] ^= Da; \
|
210
|
-
Bu = ROL32(A##state[_s+_a], 18); \
|
211
|
-
E##state[_k+_a] = Ba ^( Be | Bi ); \
|
212
|
-
E##state[_k+_e] = Be ^( Bi & Bo ); \
|
213
|
-
E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
|
214
|
-
E##state[_k+_o] = (~Bo)^( Bu | Ba ); \
|
215
|
-
E##state[_k+_u] = Bu ^( Ba & Be ); \
|
216
|
-
\
|
217
|
-
A##state[_b+_u] ^= Du; \
|
218
|
-
Ba = ROL32(A##state[_b+_u], 27); \
|
219
|
-
A##state[_g+_a] ^= Da; \
|
220
|
-
Be = ROL32(A##state[_g+_a], 4); \
|
221
|
-
A##state[_k+_e] ^= De; \
|
222
|
-
Bi = ROL32(A##state[_k+_e], 10); \
|
223
|
-
A##state[_m+_i] ^= Di; \
|
224
|
-
Bo = ROL32(A##state[_m+_i], 15); \
|
225
|
-
A##state[_s+_o] ^= Do; \
|
226
|
-
Bu = ROL32(A##state[_s+_o], 24); \
|
227
|
-
E##state[_m+_a] = Ba ^( Be & Bi ); \
|
228
|
-
E##state[_m+_e] = Be ^( Bi | Bo ); \
|
229
|
-
E##state[_m+_i] = Bi ^((~Bo)| Bu ); \
|
230
|
-
E##state[_m+_o] = (~Bo)^( Bu & Ba ); \
|
231
|
-
E##state[_m+_u] = Bu ^( Ba | Be ); \
|
232
|
-
\
|
233
|
-
A##state[_b+_i] ^= Di; \
|
234
|
-
Ba = ROL32(A##state[_b+_i], 30); \
|
235
|
-
A##state[_g+_o] ^= Do; \
|
236
|
-
Be = ROL32(A##state[_g+_o], 23); \
|
237
|
-
A##state[_k+_u] ^= Du; \
|
238
|
-
Bi = ROL32(A##state[_k+_u], 7); \
|
239
|
-
A##state[_m+_a] ^= Da; \
|
240
|
-
Bo = ROL32(A##state[_m+_a], 9); \
|
241
|
-
A##state[_s+_e] ^= De; \
|
242
|
-
Bu = ROL32(A##state[_s+_e], 2); \
|
243
|
-
E##state[_s+_a] = Ba ^((~Be)& Bi ); \
|
244
|
-
E##state[_s+_e] = (~Be)^( Bi | Bo ); \
|
245
|
-
E##state[_s+_i] = Bi ^( Bo & Bu ); \
|
246
|
-
E##state[_s+_o] = Bo ^( Bu | Ba ); \
|
247
|
-
E##state[_s+_u] = Bu ^( Ba & Be ); \
|
248
|
-
\
|
249
|
-
|
250
|
-
#else /* UseBebigokimisa */
|
251
|
-
/* --- Code for round, with prepare-theta */
|
252
|
-
/* --- 32-bit lanes mapped to 32-bit words */
|
253
|
-
#define thetaRhoPiChiIotaPrepareTheta(i, A, E) \
|
254
|
-
Da = Cu^ROL32(Ce, 1); \
|
255
|
-
De = Ca^ROL32(Ci, 1); \
|
256
|
-
Di = Ce^ROL32(Co, 1); \
|
257
|
-
Do = Ci^ROL32(Cu, 1); \
|
258
|
-
Du = Co^ROL32(Ca, 1); \
|
259
|
-
\
|
260
|
-
A##state[_b+_a] ^= Da; \
|
261
|
-
Ba = A##state[_b+_a]; \
|
262
|
-
A##state[_g+_e] ^= De; \
|
263
|
-
Be = ROL32(A##state[_g+_e], 12); \
|
264
|
-
A##state[_k+_i] ^= Di; \
|
265
|
-
Bi = ROL32(A##state[_k+_i], 11); \
|
266
|
-
A##state[_m+_o] ^= Do; \
|
267
|
-
Bo = ROL32(A##state[_m+_o], 21); \
|
268
|
-
A##state[_s+_u] ^= Du; \
|
269
|
-
Bu = ROL32(A##state[_s+_u], 14); \
|
270
|
-
E##state[_b+_a] = Ba ^((~Be)& Bi ); \
|
271
|
-
E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
|
272
|
-
Ca = E##state[_b+_a]; \
|
273
|
-
E##state[_b+_e] = Be ^((~Bi)& Bo ); \
|
274
|
-
Ce = E##state[_b+_e]; \
|
275
|
-
E##state[_b+_i] = Bi ^((~Bo)& Bu ); \
|
276
|
-
Ci = E##state[_b+_i]; \
|
277
|
-
E##state[_b+_o] = Bo ^((~Bu)& Ba ); \
|
278
|
-
Co = E##state[_b+_o]; \
|
279
|
-
E##state[_b+_u] = Bu ^((~Ba)& Be ); \
|
280
|
-
Cu = E##state[_b+_u]; \
|
281
|
-
\
|
282
|
-
A##state[_b+_o] ^= Do; \
|
283
|
-
Ba = ROL32(A##state[_b+_o], 28); \
|
284
|
-
A##state[_g+_u] ^= Du; \
|
285
|
-
Be = ROL32(A##state[_g+_u], 20); \
|
286
|
-
A##state[_k+_a] ^= Da; \
|
287
|
-
Bi = ROL32(A##state[_k+_a], 3); \
|
288
|
-
A##state[_m+_e] ^= De; \
|
289
|
-
Bo = ROL32(A##state[_m+_e], 13); \
|
290
|
-
A##state[_s+_i] ^= Di; \
|
291
|
-
Bu = ROL32(A##state[_s+_i], 29); \
|
292
|
-
E##state[_g+_a] = Ba ^((~Be)& Bi ); \
|
293
|
-
Ca ^= E##state[_g+_a]; \
|
294
|
-
E##state[_g+_e] = Be ^((~Bi)& Bo ); \
|
295
|
-
Ce ^= E##state[_g+_e]; \
|
296
|
-
E##state[_g+_i] = Bi ^((~Bo)& Bu ); \
|
297
|
-
Ci ^= E##state[_g+_i]; \
|
298
|
-
E##state[_g+_o] = Bo ^((~Bu)& Ba ); \
|
299
|
-
Co ^= E##state[_g+_o]; \
|
300
|
-
E##state[_g+_u] = Bu ^((~Ba)& Be ); \
|
301
|
-
Cu ^= E##state[_g+_u]; \
|
302
|
-
\
|
303
|
-
A##state[_b+_e] ^= De; \
|
304
|
-
Ba = ROL32(A##state[_b+_e], 1); \
|
305
|
-
A##state[_g+_i] ^= Di; \
|
306
|
-
Be = ROL32(A##state[_g+_i], 6); \
|
307
|
-
A##state[_k+_o] ^= Do; \
|
308
|
-
Bi = ROL32(A##state[_k+_o], 25); \
|
309
|
-
A##state[_m+_u] ^= Du; \
|
310
|
-
Bo = ROL32(A##state[_m+_u], 8); \
|
311
|
-
A##state[_s+_a] ^= Da; \
|
312
|
-
Bu = ROL32(A##state[_s+_a], 18); \
|
313
|
-
E##state[_k+_a] = Ba ^((~Be)& Bi ); \
|
314
|
-
Ca ^= E##state[_k+_a]; \
|
315
|
-
E##state[_k+_e] = Be ^((~Bi)& Bo ); \
|
316
|
-
Ce ^= E##state[_k+_e]; \
|
317
|
-
E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
|
318
|
-
Ci ^= E##state[_k+_i]; \
|
319
|
-
E##state[_k+_o] = Bo ^((~Bu)& Ba ); \
|
320
|
-
Co ^= E##state[_k+_o]; \
|
321
|
-
E##state[_k+_u] = Bu ^((~Ba)& Be ); \
|
322
|
-
Cu ^= E##state[_k+_u]; \
|
323
|
-
\
|
324
|
-
A##state[_b+_u] ^= Du; \
|
325
|
-
Ba = ROL32(A##state[_b+_u], 27); \
|
326
|
-
A##state[_g+_a] ^= Da; \
|
327
|
-
Be = ROL32(A##state[_g+_a], 4); \
|
328
|
-
A##state[_k+_e] ^= De; \
|
329
|
-
Bi = ROL32(A##state[_k+_e], 10); \
|
330
|
-
A##state[_m+_i] ^= Di; \
|
331
|
-
Bo = ROL32(A##state[_m+_i], 15); \
|
332
|
-
A##state[_s+_o] ^= Do; \
|
333
|
-
Bu = ROL32(A##state[_s+_o], 24); \
|
334
|
-
E##state[_m+_a] = Ba ^((~Be)& Bi ); \
|
335
|
-
Ca ^= E##state[_m+_a]; \
|
336
|
-
E##state[_m+_e] = Be ^((~Bi)& Bo ); \
|
337
|
-
Ce ^= E##state[_m+_e]; \
|
338
|
-
E##state[_m+_i] = Bi ^((~Bo)& Bu ); \
|
339
|
-
Ci ^= E##state[_m+_i]; \
|
340
|
-
E##state[_m+_o] = Bo ^((~Bu)& Ba ); \
|
341
|
-
Co ^= E##state[_m+_o]; \
|
342
|
-
E##state[_m+_u] = Bu ^((~Ba)& Be ); \
|
343
|
-
Cu ^= E##state[_m+_u]; \
|
344
|
-
\
|
345
|
-
A##state[_b+_i] ^= Di; \
|
346
|
-
Ba = ROL32(A##state[_b+_i], 30); \
|
347
|
-
A##state[_g+_o] ^= Do; \
|
348
|
-
Be = ROL32(A##state[_g+_o], 23); \
|
349
|
-
A##state[_k+_u] ^= Du; \
|
350
|
-
Bi = ROL32(A##state[_k+_u], 7); \
|
351
|
-
A##state[_m+_a] ^= Da; \
|
352
|
-
Bo = ROL32(A##state[_m+_a], 9); \
|
353
|
-
A##state[_s+_e] ^= De; \
|
354
|
-
Bu = ROL32(A##state[_s+_e], 2); \
|
355
|
-
E##state[_s+_a] = Ba ^((~Be)& Bi ); \
|
356
|
-
Ca ^= E##state[_s+_a]; \
|
357
|
-
E##state[_s+_e] = Be ^((~Bi)& Bo ); \
|
358
|
-
Ce ^= E##state[_s+_e]; \
|
359
|
-
E##state[_s+_i] = Bi ^((~Bo)& Bu ); \
|
360
|
-
Ci ^= E##state[_s+_i]; \
|
361
|
-
E##state[_s+_o] = Bo ^((~Bu)& Ba ); \
|
362
|
-
Co ^= E##state[_s+_o]; \
|
363
|
-
E##state[_s+_u] = Bu ^((~Ba)& Be ); \
|
364
|
-
Cu ^= E##state[_s+_u]; \
|
365
|
-
\
|
366
|
-
|
367
|
-
/* --- Code for round */
|
368
|
-
/* --- 32-bit lanes mapped to 32-bit words */
|
369
|
-
#define thetaRhoPiChiIota(i, A, E) \
|
370
|
-
Da = Cu^ROL32(Ce, 1); \
|
371
|
-
De = Ca^ROL32(Ci, 1); \
|
372
|
-
Di = Ce^ROL32(Co, 1); \
|
373
|
-
Do = Ci^ROL32(Cu, 1); \
|
374
|
-
Du = Co^ROL32(Ca, 1); \
|
375
|
-
\
|
376
|
-
A##state[_b+_a] ^= Da; \
|
377
|
-
Ba = A##state[_b+_a]; \
|
378
|
-
A##state[_g+_e] ^= De; \
|
379
|
-
Be = ROL32(A##state[_g+_e], 12); \
|
380
|
-
A##state[_k+_i] ^= Di; \
|
381
|
-
Bi = ROL32(A##state[_k+_i], 11); \
|
382
|
-
A##state[_m+_o] ^= Do; \
|
383
|
-
Bo = ROL32(A##state[_m+_o], 21); \
|
384
|
-
A##state[_s+_u] ^= Du; \
|
385
|
-
Bu = ROL32(A##state[_s+_u], 14); \
|
386
|
-
E##state[_b+_a] = Ba ^((~Be)& Bi ); \
|
387
|
-
E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
|
388
|
-
E##state[_b+_e] = Be ^((~Bi)& Bo ); \
|
389
|
-
E##state[_b+_i] = Bi ^((~Bo)& Bu ); \
|
390
|
-
E##state[_b+_o] = Bo ^((~Bu)& Ba ); \
|
391
|
-
E##state[_b+_u] = Bu ^((~Ba)& Be ); \
|
392
|
-
\
|
393
|
-
A##state[_b+_o] ^= Do; \
|
394
|
-
Ba = ROL32(A##state[_b+_o], 28); \
|
395
|
-
A##state[_g+_u] ^= Du; \
|
396
|
-
Be = ROL32(A##state[_g+_u], 20); \
|
397
|
-
A##state[_k+_a] ^= Da; \
|
398
|
-
Bi = ROL32(A##state[_k+_a], 3); \
|
399
|
-
A##state[_m+_e] ^= De; \
|
400
|
-
Bo = ROL32(A##state[_m+_e], 13); \
|
401
|
-
A##state[_s+_i] ^= Di; \
|
402
|
-
Bu = ROL32(A##state[_s+_i], 29); \
|
403
|
-
E##state[_g+_a] = Ba ^((~Be)& Bi ); \
|
404
|
-
E##state[_g+_e] = Be ^((~Bi)& Bo ); \
|
405
|
-
E##state[_g+_i] = Bi ^((~Bo)& Bu ); \
|
406
|
-
E##state[_g+_o] = Bo ^((~Bu)& Ba ); \
|
407
|
-
E##state[_g+_u] = Bu ^((~Ba)& Be ); \
|
408
|
-
\
|
409
|
-
A##state[_b+_e] ^= De; \
|
410
|
-
Ba = ROL32(A##state[_b+_e], 1); \
|
411
|
-
A##state[_g+_i] ^= Di; \
|
412
|
-
Be = ROL32(A##state[_g+_i], 6); \
|
413
|
-
A##state[_k+_o] ^= Do; \
|
414
|
-
Bi = ROL32(A##state[_k+_o], 25); \
|
415
|
-
A##state[_m+_u] ^= Du; \
|
416
|
-
Bo = ROL32(A##state[_m+_u], 8); \
|
417
|
-
A##state[_s+_a] ^= Da; \
|
418
|
-
Bu = ROL32(A##state[_s+_a], 18); \
|
419
|
-
E##state[_k+_a] = Ba ^((~Be)& Bi ); \
|
420
|
-
E##state[_k+_e] = Be ^((~Bi)& Bo ); \
|
421
|
-
E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
|
422
|
-
E##state[_k+_o] = Bo ^((~Bu)& Ba ); \
|
423
|
-
E##state[_k+_u] = Bu ^((~Ba)& Be ); \
|
424
|
-
\
|
425
|
-
A##state[_b+_u] ^= Du; \
|
426
|
-
Ba = ROL32(A##state[_b+_u], 27); \
|
427
|
-
A##state[_g+_a] ^= Da; \
|
428
|
-
Be = ROL32(A##state[_g+_a], 4); \
|
429
|
-
A##state[_k+_e] ^= De; \
|
430
|
-
Bi = ROL32(A##state[_k+_e], 10); \
|
431
|
-
A##state[_m+_i] ^= Di; \
|
432
|
-
Bo = ROL32(A##state[_m+_i], 15); \
|
433
|
-
A##state[_s+_o] ^= Do; \
|
434
|
-
Bu = ROL32(A##state[_s+_o], 24); \
|
435
|
-
E##state[_m+_a] = Ba ^((~Be)& Bi ); \
|
436
|
-
E##state[_m+_e] = Be ^((~Bi)& Bo ); \
|
437
|
-
E##state[_m+_i] = Bi ^((~Bo)& Bu ); \
|
438
|
-
E##state[_m+_o] = Bo ^((~Bu)& Ba ); \
|
439
|
-
E##state[_m+_u] = Bu ^((~Ba)& Be ); \
|
440
|
-
\
|
441
|
-
A##state[_b+_i] ^= Di; \
|
442
|
-
Ba = ROL32(A##state[_b+_i], 30); \
|
443
|
-
A##state[_g+_o] ^= Do; \
|
444
|
-
Be = ROL32(A##state[_g+_o], 23); \
|
445
|
-
A##state[_k+_u] ^= Du; \
|
446
|
-
Bi = ROL32(A##state[_k+_u], 7); \
|
447
|
-
A##state[_m+_a] ^= Da; \
|
448
|
-
Bo = ROL32(A##state[_m+_a], 9); \
|
449
|
-
A##state[_s+_e] ^= De; \
|
450
|
-
Bu = ROL32(A##state[_s+_e], 2); \
|
451
|
-
E##state[_s+_a] = Ba ^((~Be)& Bi ); \
|
452
|
-
E##state[_s+_e] = Be ^((~Bi)& Bo ); \
|
453
|
-
E##state[_s+_i] = Bi ^((~Bo)& Bu ); \
|
454
|
-
E##state[_s+_o] = Bo ^((~Bu)& Ba ); \
|
455
|
-
E##state[_s+_u] = Bu ^((~Ba)& Be ); \
|
456
|
-
\
|
457
|
-
|
458
|
-
#endif /* UseBebigokimisa */
|
459
|
-
|
data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
|
6
|
-
|
7
|
-
Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
8
|
-
|
9
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
10
|
-
https://keccak.team/
|
11
|
-
|
12
|
-
To the extent possible under law, the implementer has waived all copyright
|
13
|
-
and related or neighboring rights to the source code in this file.
|
14
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
15
|
-
*/
|
16
|
-
|
17
|
-
#if (defined(KeccakP800_fullUnrolling))
|
18
|
-
#define rounds22 \
|
19
|
-
thetaRhoPiChiIota( 0, A, E) \
|
20
|
-
thetaRhoPiChiIota( 1, E, A) \
|
21
|
-
thetaRhoPiChiIota( 2, A, E) \
|
22
|
-
thetaRhoPiChiIota( 3, E, A) \
|
23
|
-
thetaRhoPiChiIota( 4, A, E) \
|
24
|
-
thetaRhoPiChiIota( 5, E, A) \
|
25
|
-
thetaRhoPiChiIota( 6, A, E) \
|
26
|
-
thetaRhoPiChiIota( 7, E, A) \
|
27
|
-
thetaRhoPiChiIota( 8, A, E) \
|
28
|
-
thetaRhoPiChiIota( 9, E, A) \
|
29
|
-
thetaRhoPiChiIota(10, A, E) \
|
30
|
-
thetaRhoPiChiIota(11, E, A) \
|
31
|
-
thetaRhoPiChiIota(12, A, E) \
|
32
|
-
thetaRhoPiChiIota(13, E, A) \
|
33
|
-
thetaRhoPiChiIota(14, A, E) \
|
34
|
-
thetaRhoPiChiIota(15, E, A) \
|
35
|
-
thetaRhoPiChiIota(16, A, E) \
|
36
|
-
thetaRhoPiChiIota(17, E, A) \
|
37
|
-
thetaRhoPiChiIota(18, A, E) \
|
38
|
-
thetaRhoPiChiIota(19, E, A) \
|
39
|
-
thetaRhoPiChiIota(20, A, E) \
|
40
|
-
thetaRhoPiChiIota(21, E, A) \
|
41
|
-
|
42
|
-
#define rounds12 \
|
43
|
-
thetaRhoPiChiIota(10, A, E) \
|
44
|
-
thetaRhoPiChiIota(11, E, A) \
|
45
|
-
thetaRhoPiChiIota(12, A, E) \
|
46
|
-
thetaRhoPiChiIota(13, E, A) \
|
47
|
-
thetaRhoPiChiIota(14, A, E) \
|
48
|
-
thetaRhoPiChiIota(15, E, A) \
|
49
|
-
thetaRhoPiChiIota(16, A, E) \
|
50
|
-
thetaRhoPiChiIota(17, E, A) \
|
51
|
-
thetaRhoPiChiIota(18, A, E) \
|
52
|
-
thetaRhoPiChiIota(19, E, A) \
|
53
|
-
thetaRhoPiChiIota(20, A, E) \
|
54
|
-
thetaRhoPiChiIota(21, E, A) \
|
55
|
-
|
56
|
-
#elif (KeccakP800_unrolling == 2)
|
57
|
-
#define rounds22 \
|
58
|
-
for(i=0; i<22; i+=2) { \
|
59
|
-
thetaRhoPiChiIota(i , A, E) \
|
60
|
-
thetaRhoPiChiIota(i+1, E, A) \
|
61
|
-
} \
|
62
|
-
|
63
|
-
#define rounds12 \
|
64
|
-
for(i=10; i<22; i+=2) { \
|
65
|
-
thetaRhoPiChiIota(i , A, E) \
|
66
|
-
thetaRhoPiChiIota(i+1, E, A) \
|
67
|
-
} \
|
68
|
-
|
69
|
-
#else
|
70
|
-
#error "KeccakP800_unrolling is not correctly specified!"
|
71
|
-
#endif
|
72
|
-
|
73
|
-
#define roundsN(A,E,__nrounds) \
|
74
|
-
i = 22 - (__nrounds); \
|
75
|
-
if ((i&1) != 0) { \
|
76
|
-
memcpy( (void*)Estate, (void*)Astate, 25*4); \
|
77
|
-
thetaRhoPiChiIota(i, E, A) \
|
78
|
-
++i; \
|
79
|
-
} \
|
80
|
-
for( /* empty */; i<22; i+=2) { \
|
81
|
-
thetaRhoPiChiIota(i , A, E) \
|
82
|
-
thetaRhoPiChiIota(i+1, E, A) \
|
83
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
|
6
|
-
|
7
|
-
Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
8
|
-
|
9
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
10
|
-
https://keccak.team/
|
11
|
-
|
12
|
-
To the extent possible under law, the implementer has waived all copyright
|
13
|
-
and related or neighboring rights to the source code in this file.
|
14
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
15
|
-
*/
|
16
|
-
|
17
|
-
#if (defined(KeccakP800_fullUnrolling))
|
18
|
-
#define rounds22 \
|
19
|
-
prepareTheta \
|
20
|
-
thetaRhoPiChiIotaPrepareTheta( 0, A, E) \
|
21
|
-
thetaRhoPiChiIotaPrepareTheta( 1, E, A) \
|
22
|
-
thetaRhoPiChiIotaPrepareTheta( 2, A, E) \
|
23
|
-
thetaRhoPiChiIotaPrepareTheta( 3, E, A) \
|
24
|
-
thetaRhoPiChiIotaPrepareTheta( 4, A, E) \
|
25
|
-
thetaRhoPiChiIotaPrepareTheta( 5, E, A) \
|
26
|
-
thetaRhoPiChiIotaPrepareTheta( 6, A, E) \
|
27
|
-
thetaRhoPiChiIotaPrepareTheta( 7, E, A) \
|
28
|
-
thetaRhoPiChiIotaPrepareTheta( 8, A, E) \
|
29
|
-
thetaRhoPiChiIotaPrepareTheta( 9, E, A) \
|
30
|
-
thetaRhoPiChiIotaPrepareTheta(10, A, E) \
|
31
|
-
thetaRhoPiChiIotaPrepareTheta(11, E, A) \
|
32
|
-
thetaRhoPiChiIotaPrepareTheta(12, A, E) \
|
33
|
-
thetaRhoPiChiIotaPrepareTheta(13, E, A) \
|
34
|
-
thetaRhoPiChiIotaPrepareTheta(14, A, E) \
|
35
|
-
thetaRhoPiChiIotaPrepareTheta(15, E, A) \
|
36
|
-
thetaRhoPiChiIotaPrepareTheta(16, A, E) \
|
37
|
-
thetaRhoPiChiIotaPrepareTheta(17, E, A) \
|
38
|
-
thetaRhoPiChiIotaPrepareTheta(18, A, E) \
|
39
|
-
thetaRhoPiChiIotaPrepareTheta(19, E, A) \
|
40
|
-
thetaRhoPiChiIotaPrepareTheta(20, A, E) \
|
41
|
-
thetaRhoPiChiIota(21, E, A) \
|
42
|
-
|
43
|
-
#define rounds12 \
|
44
|
-
prepareTheta \
|
45
|
-
thetaRhoPiChiIotaPrepareTheta(10, A, E) \
|
46
|
-
thetaRhoPiChiIotaPrepareTheta(11, E, A) \
|
47
|
-
thetaRhoPiChiIotaPrepareTheta(12, A, E) \
|
48
|
-
thetaRhoPiChiIotaPrepareTheta(13, E, A) \
|
49
|
-
thetaRhoPiChiIotaPrepareTheta(14, A, E) \
|
50
|
-
thetaRhoPiChiIotaPrepareTheta(15, E, A) \
|
51
|
-
thetaRhoPiChiIotaPrepareTheta(16, A, E) \
|
52
|
-
thetaRhoPiChiIotaPrepareTheta(17, E, A) \
|
53
|
-
thetaRhoPiChiIotaPrepareTheta(18, A, E) \
|
54
|
-
thetaRhoPiChiIotaPrepareTheta(19, E, A) \
|
55
|
-
thetaRhoPiChiIotaPrepareTheta(20, A, E) \
|
56
|
-
thetaRhoPiChiIota(21, E, A) \
|
57
|
-
|
58
|
-
#elif (KeccakP800_unrolling == 2)
|
59
|
-
#define rounds22 \
|
60
|
-
prepareTheta \
|
61
|
-
for(i=0; i<22; i+=2) { \
|
62
|
-
thetaRhoPiChiIotaPrepareTheta(i , A, E) \
|
63
|
-
thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
|
64
|
-
} \
|
65
|
-
|
66
|
-
#define rounds12 \
|
67
|
-
prepareTheta \
|
68
|
-
for(i=10; i<22; i+=2) { \
|
69
|
-
thetaRhoPiChiIotaPrepareTheta(i , A, E) \
|
70
|
-
thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
|
71
|
-
} \
|
72
|
-
|
73
|
-
#else
|
74
|
-
#error "KeccakP800_unrolling is not correctly specified!"
|
75
|
-
#endif
|
76
|
-
|
77
|
-
#define roundsN(A,E,__nrounds) \
|
78
|
-
prepareTheta \
|
79
|
-
i = 22 - (__nrounds); \
|
80
|
-
if ((i&1) != 0) { \
|
81
|
-
memcpy( (void*)Estate, (void*)Astate, 25*4); \
|
82
|
-
thetaRhoPiChiIotaPrepareTheta(i, E, A) \
|
83
|
-
++i; \
|
84
|
-
} \
|
85
|
-
for( /* empty */; i<22; i+=2) { \
|
86
|
-
thetaRhoPiChiIotaPrepareTheta(i , A, E) \
|
87
|
-
thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
|
88
|
-
}
|