digest-kangarootwelve 0.4.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.XKCP +0 -20
- data/README.md +2 -2
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +20 -20
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +4 -4
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +27 -31
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.h +1 -1
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +19 -11
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +10 -10
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +3 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +24 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +23 -22
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +18 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +12 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +18 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +19 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +36 -36
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +19 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +31 -31
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +21 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +64 -64
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +16 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +37 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +25 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +32 -34
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +39 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +26 -20
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +38 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +25 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +33 -35
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +26 -21
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +25 -21
- data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx512/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/config.h +0 -6
- data/ext/digest/kangarootwelve/targets/list +0 -2
- data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
- data/lib/digest/kangarootwelve/version.rb +1 -1
- metadata +2 -423
- data/ext/digest/kangarootwelve/.sitearchdir.-.digest.time +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +0 -625
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +0 -444
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +0 -446
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +0 -427
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +0 -647
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +0 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +0 -190
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +0 -416
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +0 -728
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +0 -418
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +0 -534
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +0 -527
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +0 -523
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +0 -929
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +0 -40
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +0 -244
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +0 -46
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +0 -184
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +0 -454
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +0 -459
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +0 -83
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +0 -88
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +0 -441
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +0 -291
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +0 -177
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +0 -30
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/defs +0 -2
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +0 -1
| @@ -1,647 +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 | 
            -
            ;
         | 
| 18 | 
            -
            ; This file implements Keccak-p[200] in a SnP-compatible way.
         | 
| 19 | 
            -
            ; Please refer to SnP-documentation.h for more details.
         | 
| 20 | 
            -
            ;
         | 
| 21 | 
            -
            ; This implementation comes with KeccakP-200-SnP.h in the same folder.
         | 
| 22 | 
            -
            ; Please refer to LowLevel.build for the exact list of other files it must be combined with.
         | 
| 23 | 
            -
            ;
         | 
| 24 | 
            -
             | 
| 25 | 
            -
            ; INFO: Tested on ATmega1280 simulator
         | 
| 26 | 
            -
             | 
| 27 | 
            -
            ; Registers used in all routines
         | 
| 28 | 
            -
            #define rpState 24
         | 
| 29 | 
            -
            #define rX      26
         | 
| 30 | 
            -
            #define rX1     r27
         | 
| 31 | 
            -
            #define rY      28
         | 
| 32 | 
            -
            #define rY1     r29
         | 
| 33 | 
            -
            #define rZ      30
         | 
| 34 | 
            -
            #define rZ1     r31
         | 
| 35 | 
            -
             | 
| 36 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 37 | 
            -
            ;
         | 
| 38 | 
            -
            ; void KeccakP200_StaticInitialize( void )
         | 
| 39 | 
            -
            ;
         | 
| 40 | 
            -
            .global KeccakP200_StaticInitialize
         | 
| 41 | 
            -
             | 
| 42 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 43 | 
            -
            ;
         | 
| 44 | 
            -
            ; void KeccakP200_Initialize(void *state)
         | 
| 45 | 
            -
            ;
         | 
| 46 | 
            -
            ; argument state   is passed in r24:r25
         | 
| 47 | 
            -
            ;
         | 
| 48 | 
            -
            .global KeccakP200_Initialize
         | 
| 49 | 
            -
            KeccakP200_Initialize:
         | 
| 50 | 
            -
                movw    rZ, r24
         | 
| 51 | 
            -
                ldi     r23, 5          ; clear state (5 bytes/5 lanes per iteration)
         | 
| 52 | 
            -
            KeccakP200_Initialize_Loop:
         | 
| 53 | 
            -
                st      z+, r1
         | 
| 54 | 
            -
                st      z+, r1
         | 
| 55 | 
            -
                st      z+, r1
         | 
| 56 | 
            -
                st      z+, r1
         | 
| 57 | 
            -
                st      z+, r1
         | 
| 58 | 
            -
                dec     r23
         | 
| 59 | 
            -
                brne    KeccakP200_Initialize_Loop
         | 
| 60 | 
            -
            KeccakP200_StaticInitialize:
         | 
| 61 | 
            -
                ret
         | 
| 62 | 
            -
             | 
| 63 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 64 | 
            -
            ;
         | 
| 65 | 
            -
            ; void KeccakP200_AddByte(void *state, unsigned char data, unsigned int offset)
         | 
| 66 | 
            -
            ;
         | 
| 67 | 
            -
            ; argument state     is passed in r24:r25
         | 
| 68 | 
            -
            ; argument data      is passed in r22:r23, only LSB (r22) is used
         | 
| 69 | 
            -
            ; argument offset    is passed in r20:r21, only LSB (r20) is used
         | 
| 70 | 
            -
            ;
         | 
| 71 | 
            -
            .global KeccakP200_AddByte
         | 
| 72 | 
            -
            KeccakP200_AddByte:
         | 
| 73 | 
            -
                movw    rZ, r24
         | 
| 74 | 
            -
                add     rZ, r20
         | 
| 75 | 
            -
                adc     rZ+1, r1
         | 
| 76 | 
            -
                ld      r0, Z
         | 
| 77 | 
            -
                eor     r0, r22
         | 
| 78 | 
            -
                st      Z, r0
         | 
| 79 | 
            -
                ret
         | 
| 80 | 
            -
             | 
| 81 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 82 | 
            -
            ;
         | 
| 83 | 
            -
            ; void KeccakP200_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 84 | 
            -
            ;
         | 
| 85 | 
            -
            ; argument state     is passed in r24:r25
         | 
| 86 | 
            -
            ; argument data      is passed in r22:r23
         | 
| 87 | 
            -
            ; argument offset    is passed in r20:r21, only LSB (r20) is used
         | 
| 88 | 
            -
            ; argument length    is passed in r18:r19, only LSB (r18) is used
         | 
| 89 | 
            -
            ;
         | 
| 90 | 
            -
            .global KeccakP200_AddBytes
         | 
| 91 | 
            -
            KeccakP200_AddBytes:
         | 
| 92 | 
            -
                tst      r18
         | 
| 93 | 
            -
                breq    KeccakP200_AddBytes_End
         | 
| 94 | 
            -
                movw    rZ, r24
         | 
| 95 | 
            -
                add     rZ, r20
         | 
| 96 | 
            -
                adc     rZ+1, r1
         | 
| 97 | 
            -
                movw    rX, r22
         | 
| 98 | 
            -
            KeccakP200_AddBytes_Loop:
         | 
| 99 | 
            -
                ld      r21, X+
         | 
| 100 | 
            -
                ld      r0, Z
         | 
| 101 | 
            -
                eor     r0, r21
         | 
| 102 | 
            -
                st      Z+, r0
         | 
| 103 | 
            -
                dec     r18
         | 
| 104 | 
            -
                brne    KeccakP200_AddBytes_Loop
         | 
| 105 | 
            -
            KeccakP200_AddBytes_End:
         | 
| 106 | 
            -
                ret
         | 
| 107 | 
            -
             | 
| 108 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 109 | 
            -
            ;
         | 
| 110 | 
            -
            ; void KeccakP200_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 111 | 
            -
            ;
         | 
| 112 | 
            -
            ; argument state     is passed in r24:r25
         | 
| 113 | 
            -
            ; argument data      is passed in r22:r23
         | 
| 114 | 
            -
            ; argument offset    is passed in r20:r21, only LSB (r20) is used
         | 
| 115 | 
            -
            ; argument length    is passed in r18:r19, only LSB (r18) is used
         | 
| 116 | 
            -
            ;
         | 
| 117 | 
            -
            .global KeccakP200_OverwriteBytes
         | 
| 118 | 
            -
            KeccakP200_OverwriteBytes:
         | 
| 119 | 
            -
                tst      r18
         | 
| 120 | 
            -
                breq    KeccakP200_OverwriteBytes_End
         | 
| 121 | 
            -
                movw    rZ, r24
         | 
| 122 | 
            -
                add     rZ, r20
         | 
| 123 | 
            -
                adc     rZ+1, r1
         | 
| 124 | 
            -
                movw    rX, r22
         | 
| 125 | 
            -
            KeccakP200_OverwriteBytes_Loop:
         | 
| 126 | 
            -
                ld      r0, X+
         | 
| 127 | 
            -
                st      Z+, r0
         | 
| 128 | 
            -
                dec     r18
         | 
| 129 | 
            -
                brne    KeccakP200_OverwriteBytes_Loop
         | 
| 130 | 
            -
            KeccakP200_OverwriteBytes_End:
         | 
| 131 | 
            -
                ret
         | 
| 132 | 
            -
             | 
| 133 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 134 | 
            -
            ;
         | 
| 135 | 
            -
            ; void KeccakP200_OverwriteWithZeroes(void *state, unsigned int byteCount)
         | 
| 136 | 
            -
            ;
         | 
| 137 | 
            -
            ; argument state        is passed in r24:r25
         | 
| 138 | 
            -
            ; argument byteCount    is passed in r22:r23, only LSB (r22) is used
         | 
| 139 | 
            -
            ;
         | 
| 140 | 
            -
            .global KeccakP200_OverwriteWithZeroes
         | 
| 141 | 
            -
            KeccakP200_OverwriteWithZeroes:
         | 
| 142 | 
            -
                movw    rZ, r24         ; rZ = state
         | 
| 143 | 
            -
                mov     r23, r22
         | 
| 144 | 
            -
                lsr     r23
         | 
| 145 | 
            -
                lsr     r23
         | 
| 146 | 
            -
                breq    KeccakP200_OverwriteWithZeroes_Bytes
         | 
| 147 | 
            -
            KeccakP200_OverwriteWithZeroes_Loop4Lanes:
         | 
| 148 | 
            -
                st      Z+, r1
         | 
| 149 | 
            -
                st      Z+, r1
         | 
| 150 | 
            -
                st      Z+, r1
         | 
| 151 | 
            -
                st      Z+, r1
         | 
| 152 | 
            -
                dec     r23
         | 
| 153 | 
            -
                brne    KeccakP200_OverwriteWithZeroes_Loop4Lanes
         | 
| 154 | 
            -
            KeccakP200_OverwriteWithZeroes_Bytes:
         | 
| 155 | 
            -
                andi    r22, 3
         | 
| 156 | 
            -
                breq    KeccakP200_OverwriteWithZeroes_End
         | 
| 157 | 
            -
            KeccakP200_OverwriteWithZeroes_LoopBytes:
         | 
| 158 | 
            -
                st      Z+, r1
         | 
| 159 | 
            -
                dec     r22
         | 
| 160 | 
            -
                brne    KeccakP200_OverwriteWithZeroes_LoopBytes
         | 
| 161 | 
            -
            KeccakP200_OverwriteWithZeroes_End:
         | 
| 162 | 
            -
                ret
         | 
| 163 | 
            -
             | 
| 164 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 165 | 
            -
            ;
         | 
| 166 | 
            -
            ; void KeccakP200_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 167 | 
            -
            ;
         | 
| 168 | 
            -
            ; argument state     is passed in r24:r25
         | 
| 169 | 
            -
            ; argument data      is passed in r22:r23
         | 
| 170 | 
            -
            ; argument offset    is passed in r20:r21, only LSB (r20) is used
         | 
| 171 | 
            -
            ; argument length    is passed in r18:r19, only LSB (r18) is used
         | 
| 172 | 
            -
            ;
         | 
| 173 | 
            -
            .global KeccakP200_ExtractBytes
         | 
| 174 | 
            -
            KeccakP200_ExtractBytes:
         | 
| 175 | 
            -
                tst      r18
         | 
| 176 | 
            -
                breq    KeccakP200_ExtractBytes_End
         | 
| 177 | 
            -
                movw    rZ, r24
         | 
| 178 | 
            -
                add     rZ, r20
         | 
| 179 | 
            -
                adc     rZ+1, r1
         | 
| 180 | 
            -
                movw    rX, r22
         | 
| 181 | 
            -
            KeccakP200_ExtractBytes_Loop:
         | 
| 182 | 
            -
                ld      r0, Z+
         | 
| 183 | 
            -
                st      X+, r0
         | 
| 184 | 
            -
                dec     r18
         | 
| 185 | 
            -
                brne    KeccakP200_ExtractBytes_Loop
         | 
| 186 | 
            -
            KeccakP200_ExtractBytes_End:
         | 
| 187 | 
            -
                ret
         | 
| 188 | 
            -
             | 
| 189 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 190 | 
            -
            ;
         | 
| 191 | 
            -
            ; void KeccakP200_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
         | 
| 192 | 
            -
            ;
         | 
| 193 | 
            -
            ; argument state     is passed in r24:r25
         | 
| 194 | 
            -
            ; argument input     is passed in r22:r23
         | 
| 195 | 
            -
            ; argument output    is passed in r20:r21
         | 
| 196 | 
            -
            ; argument offset    is passed in r18:r19, only LSB (r18) is used
         | 
| 197 | 
            -
            ; argument length    is passed in r16:r17, only LSB (r16) is used
         | 
| 198 | 
            -
            ;
         | 
| 199 | 
            -
            .global KeccakP200_ExtractAndAddBytes
         | 
| 200 | 
            -
            KeccakP200_ExtractAndAddBytes:
         | 
| 201 | 
            -
                tst     r16
         | 
| 202 | 
            -
                breq    KeccakP200_ExtractAndAddBytes_End
         | 
| 203 | 
            -
                push    r16
         | 
| 204 | 
            -
                push    r28
         | 
| 205 | 
            -
                push    r29
         | 
| 206 | 
            -
                movw    rZ, r24
         | 
| 207 | 
            -
                add     rZ, r18
         | 
| 208 | 
            -
                adc     rZ+1, r1
         | 
| 209 | 
            -
                movw    rX, r22
         | 
| 210 | 
            -
                movw    rY, r20
         | 
| 211 | 
            -
            KeccakP200_ExtractAndAddBytes_Loop:
         | 
| 212 | 
            -
                ld      r21, Z+
         | 
| 213 | 
            -
                ld      r0, X+
         | 
| 214 | 
            -
                eor     r0, r21
         | 
| 215 | 
            -
                st      Y+, r0
         | 
| 216 | 
            -
                dec     r16
         | 
| 217 | 
            -
                brne    KeccakP200_ExtractAndAddBytes_Loop
         | 
| 218 | 
            -
                pop     r29
         | 
| 219 | 
            -
                pop     r28
         | 
| 220 | 
            -
                pop     r16
         | 
| 221 | 
            -
            KeccakP200_ExtractAndAddBytes_End:
         | 
| 222 | 
            -
                ret
         | 
| 223 | 
            -
             | 
| 224 | 
            -
             | 
| 225 | 
            -
            #define _ba      0
         | 
| 226 | 
            -
            #define _be      1
         | 
| 227 | 
            -
            #define _bi      2
         | 
| 228 | 
            -
            #define _bo      3
         | 
| 229 | 
            -
            #define _bu      4
         | 
| 230 | 
            -
            #define _ga      5
         | 
| 231 | 
            -
            #define _ge      6
         | 
| 232 | 
            -
            #define _gi      7
         | 
| 233 | 
            -
            #define _go      8
         | 
| 234 | 
            -
            #define _gu      9
         | 
| 235 | 
            -
            #define _ka     10
         | 
| 236 | 
            -
            #define _ke     11
         | 
| 237 | 
            -
            #define _ki     12
         | 
| 238 | 
            -
            #define _ko     13
         | 
| 239 | 
            -
            #define _ku     14
         | 
| 240 | 
            -
            #define _ma     15
         | 
| 241 | 
            -
            #define _me     16
         | 
| 242 | 
            -
            #define _mi     17
         | 
| 243 | 
            -
            #define _mo     18
         | 
| 244 | 
            -
            #define _mu     19
         | 
| 245 | 
            -
            #define _sa     20
         | 
| 246 | 
            -
            #define _se     21
         | 
| 247 | 
            -
            #define _si     22
         | 
| 248 | 
            -
            #define _so     23
         | 
| 249 | 
            -
            #define _su     24
         | 
| 250 | 
            -
             | 
| 251 | 
            -
            #define zero    r25
         | 
| 252 | 
            -
            #define c0      r26
         | 
| 253 | 
            -
            #define c1      r27
         | 
| 254 | 
            -
            #define c2      r28
         | 
| 255 | 
            -
            #define c3      r29
         | 
| 256 | 
            -
            #define c4      r30
         | 
| 257 | 
            -
            #define a0      r31
         | 
| 258 | 
            -
             | 
| 259 | 
            -
            .MACRO RhoPi rot, val, prev
         | 
| 260 | 
            -
                mov     \val, \prev
         | 
| 261 | 
            -
            .IF         \rot==1
         | 
| 262 | 
            -
                lsl     \val
         | 
| 263 | 
            -
                adc     \val, zero
         | 
| 264 | 
            -
            .ENDIF
         | 
| 265 | 
            -
            .IF         \rot==2
         | 
| 266 | 
            -
                lsl     \val
         | 
| 267 | 
            -
                adc     \val, zero
         | 
| 268 | 
            -
                lsl     \val
         | 
| 269 | 
            -
                adc     \val, zero
         | 
| 270 | 
            -
            .ENDIF
         | 
| 271 | 
            -
            .IF         \rot==3
         | 
| 272 | 
            -
                swap    \val
         | 
| 273 | 
            -
                bst      \val, 0
         | 
| 274 | 
            -
                lsr     \val
         | 
| 275 | 
            -
                bld      \val, 7
         | 
| 276 | 
            -
            .ENDIF
         | 
| 277 | 
            -
            .IF         \rot==4
         | 
| 278 | 
            -
                swap    \val
         | 
| 279 | 
            -
            .ENDIF
         | 
| 280 | 
            -
            .IF         \rot==5
         | 
| 281 | 
            -
                lsl     \val
         | 
| 282 | 
            -
                adc     \val, zero
         | 
| 283 | 
            -
                swap    \val
         | 
| 284 | 
            -
            .ENDIF
         | 
| 285 | 
            -
            .IF         \rot==6
         | 
| 286 | 
            -
                lsl     \val
         | 
| 287 | 
            -
                adc     \val, zero
         | 
| 288 | 
            -
                lsl     \val
         | 
| 289 | 
            -
                adc     \val, zero
         | 
| 290 | 
            -
                swap    \val
         | 
| 291 | 
            -
            .ENDIF
         | 
| 292 | 
            -
            .IF         \rot==7
         | 
| 293 | 
            -
                bst     \val, 0
         | 
| 294 | 
            -
                lsr     \val
         | 
| 295 | 
            -
                bld     \val, 7
         | 
| 296 | 
            -
            .ENDIF
         | 
| 297 | 
            -
            .ENDM
         | 
| 298 | 
            -
             | 
| 299 | 
            -
            .MACRO      Chi a0, cc, a2
         | 
| 300 | 
            -
                com     \cc
         | 
| 301 | 
            -
                and     \cc, \a2
         | 
| 302 | 
            -
                eor     \cc, \a0
         | 
| 303 | 
            -
            .ENDM
         | 
| 304 | 
            -
             | 
| 305 | 
            -
            .MACRO      ChiS a0, a1, a2
         | 
| 306 | 
            -
                com     \a1
         | 
| 307 | 
            -
                and     \a1, \a2
         | 
| 308 | 
            -
                eor     \a0, \a1
         | 
| 309 | 
            -
            .ENDM
         | 
| 310 | 
            -
             | 
| 311 | 
            -
            KeccakP200_RoundConstants_18:
         | 
| 312 | 
            -
                .BYTE   0x01
         | 
| 313 | 
            -
                .BYTE   0x82
         | 
| 314 | 
            -
                .BYTE   0x8a
         | 
| 315 | 
            -
                .BYTE   0x00
         | 
| 316 | 
            -
                .BYTE   0x8b
         | 
| 317 | 
            -
                .BYTE   0x01
         | 
| 318 | 
            -
                .BYTE   0x81
         | 
| 319 | 
            -
                .BYTE   0x09
         | 
| 320 | 
            -
                .BYTE   0x8a
         | 
| 321 | 
            -
                .BYTE   0x88
         | 
| 322 | 
            -
                .BYTE   0x09
         | 
| 323 | 
            -
                .BYTE   0x0a
         | 
| 324 | 
            -
                .BYTE   0x8b
         | 
| 325 | 
            -
                .BYTE   0x8b
         | 
| 326 | 
            -
                .BYTE   0x89
         | 
| 327 | 
            -
                .BYTE   0x03
         | 
| 328 | 
            -
                .BYTE   0x02
         | 
| 329 | 
            -
                .BYTE   0x80
         | 
| 330 | 
            -
            KeccakP200_RoundConstants_N:
         | 
| 331 | 
            -
             | 
| 332 | 
            -
                .text
         | 
| 333 | 
            -
             | 
| 334 | 
            -
            #define pRound          22  //; 2 regs (22-23)
         | 
| 335 | 
            -
            #define pRound1         23
         | 
| 336 | 
            -
             | 
| 337 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 338 | 
            -
            ;
         | 
| 339 | 
            -
            ; void KeccakP200_Permute_18rounds( void *state )
         | 
| 340 | 
            -
            ;
         | 
| 341 | 
            -
            .global KeccakP200_Permute_18rounds
         | 
| 342 | 
            -
            KeccakP200_Permute_18rounds:
         | 
| 343 | 
            -
                ldi     pRound,   lo8(KeccakP200_RoundConstants_18)
         | 
| 344 | 
            -
                ldi     pRound+1, hi8(KeccakP200_RoundConstants_18)
         | 
| 345 | 
            -
                rjmp    KeccakP200_Permute
         | 
| 346 | 
            -
             | 
| 347 | 
            -
            ;----------------------------------------------------------------------------
         | 
| 348 | 
            -
            ;
         | 
| 349 | 
            -
            ; void KeccakP200_Permute_Nrounds( void *state, unsigned int nr )
         | 
| 350 | 
            -
            ;
         | 
| 351 | 
            -
            ; argument state   is passed in r24:r25
         | 
| 352 | 
            -
            ; argument nr      is passed in r22:r23
         | 
| 353 | 
            -
            ;
         | 
| 354 | 
            -
            .global KeccakP200_Permute_Nrounds
         | 
| 355 | 
            -
            KeccakP200_Permute_Nrounds:
         | 
| 356 | 
            -
                mov     r0, r22
         | 
| 357 | 
            -
                ldi     pRound,   lo8(KeccakP200_RoundConstants_N)
         | 
| 358 | 
            -
                ldi     pRound+1, hi8(KeccakP200_RoundConstants_N)
         | 
| 359 | 
            -
                sub     pRound,   r0
         | 
| 360 | 
            -
                sbc     pRound+1, r1
         | 
| 361 | 
            -
            KeccakP200_Permute:
         | 
| 362 | 
            -
                push    r2
         | 
| 363 | 
            -
                push    r3
         | 
| 364 | 
            -
                push    r4
         | 
| 365 | 
            -
                push    r5
         | 
| 366 | 
            -
                push    r6
         | 
| 367 | 
            -
                push    r7
         | 
| 368 | 
            -
                push    r8
         | 
| 369 | 
            -
                push    r9
         | 
| 370 | 
            -
                push    r10
         | 
| 371 | 
            -
                push    r11
         | 
| 372 | 
            -
                push    r12
         | 
| 373 | 
            -
                push    r13
         | 
| 374 | 
            -
                push    r14
         | 
| 375 | 
            -
                push    r15
         | 
| 376 | 
            -
                push    r16
         | 
| 377 | 
            -
                push    r17
         | 
| 378 | 
            -
                push    r28
         | 
| 379 | 
            -
                push    r29
         | 
| 380 | 
            -
             | 
| 381 | 
            -
                ; load state in registers
         | 
| 382 | 
            -
                movw    rY, rpState
         | 
| 383 | 
            -
                push    rY
         | 
| 384 | 
            -
                push    rY1
         | 
| 385 | 
            -
             | 
| 386 | 
            -
                movw    rZ, pRound        ; RoundConstants
         | 
| 387 | 
            -
             | 
| 388 | 
            -
                ld      _ba, Y+
         | 
| 389 | 
            -
                ld      _be, Y+
         | 
| 390 | 
            -
                ld      _bi, Y+
         | 
| 391 | 
            -
                ld      _bo, Y+
         | 
| 392 | 
            -
                ld      _bu, Y+
         | 
| 393 | 
            -
                ld      _ga, Y+
         | 
| 394 | 
            -
                ld      _ge, Y+
         | 
| 395 | 
            -
                ld      _gi, Y+
         | 
| 396 | 
            -
                ld      _go, Y+
         | 
| 397 | 
            -
                ld      _gu, Y+
         | 
| 398 | 
            -
                ld      _ka, Y+
         | 
| 399 | 
            -
                ld      _ke, Y+
         | 
| 400 | 
            -
                ld      _ki, Y+
         | 
| 401 | 
            -
                ld      _ko, Y+
         | 
| 402 | 
            -
                ld      _ku, Y+
         | 
| 403 | 
            -
                ld      _ma, Y+
         | 
| 404 | 
            -
                ld      _me, Y+
         | 
| 405 | 
            -
                ld      _mi, Y+
         | 
| 406 | 
            -
                ld      _mo, Y+
         | 
| 407 | 
            -
                ld      _mu, Y+
         | 
| 408 | 
            -
                ld      _sa, Y+
         | 
| 409 | 
            -
                ld      _se, Y+
         | 
| 410 | 
            -
                ld      _si, Y+
         | 
| 411 | 
            -
                ld      _so, Y+
         | 
| 412 | 
            -
                ld      _su, Y
         | 
| 413 | 
            -
             | 
| 414 | 
            -
                ldi     zero, 0
         | 
| 415 | 
            -
            KeccakP200_Permute_RoundLoop:
         | 
| 416 | 
            -
                push    rZ
         | 
| 417 | 
            -
                push    rZ1
         | 
| 418 | 
            -
             | 
| 419 | 
            -
                ; Prepare Theta
         | 
| 420 | 
            -
                movw    c0, _ba
         | 
| 421 | 
            -
                movw    c2, _bi
         | 
| 422 | 
            -
                mov     c4, _bu
         | 
| 423 | 
            -
             | 
| 424 | 
            -
                eor     c0, _ga
         | 
| 425 | 
            -
                eor     c0, _ka
         | 
| 426 | 
            -
                eor     c0, _ma
         | 
| 427 | 
            -
                eor     c0, _sa
         | 
| 428 | 
            -
             | 
| 429 | 
            -
                eor     c1, _ge
         | 
| 430 | 
            -
                eor     c1, _ke
         | 
| 431 | 
            -
                eor     c1, _me
         | 
| 432 | 
            -
                eor     c1, _se
         | 
| 433 | 
            -
             | 
| 434 | 
            -
                eor     c2, _gi
         | 
| 435 | 
            -
                eor     c2, _ki
         | 
| 436 | 
            -
                eor     c2, _mi
         | 
| 437 | 
            -
                eor     c2, _si
         | 
| 438 | 
            -
             | 
| 439 | 
            -
                eor     c3, _go
         | 
| 440 | 
            -
                eor     c3, _ko
         | 
| 441 | 
            -
                eor     c3, _mo
         | 
| 442 | 
            -
                eor     c3, _so
         | 
| 443 | 
            -
             | 
| 444 | 
            -
                eor     c4, _gu
         | 
| 445 | 
            -
                eor     c4, _ku
         | 
| 446 | 
            -
                eor     c4, _mu
         | 
| 447 | 
            -
                eor     c4, _su
         | 
| 448 | 
            -
             | 
| 449 | 
            -
                ; Theta
         | 
| 450 | 
            -
                mov     a0, c1
         | 
| 451 | 
            -
                lsl     a0
         | 
| 452 | 
            -
                adc     a0, zero
         | 
| 453 | 
            -
                eor     a0, c4
         | 
| 454 | 
            -
                eor     _ba, a0
         | 
| 455 | 
            -
                eor     _ga, a0
         | 
| 456 | 
            -
                eor     _ka, a0
         | 
| 457 | 
            -
                eor     _ma, a0
         | 
| 458 | 
            -
                eor     _sa, a0
         | 
| 459 | 
            -
             | 
| 460 | 
            -
                mov     a0, c2
         | 
| 461 | 
            -
                lsl     a0
         | 
| 462 | 
            -
                adc     a0, zero
         | 
| 463 | 
            -
                eor     a0, c0
         | 
| 464 | 
            -
                eor     _be, a0
         | 
| 465 | 
            -
                eor     _ge, a0
         | 
| 466 | 
            -
                eor     _ke, a0
         | 
| 467 | 
            -
                eor     _me, a0
         | 
| 468 | 
            -
                eor     _se, a0
         | 
| 469 | 
            -
             | 
| 470 | 
            -
                mov     a0, c3
         | 
| 471 | 
            -
                lsl     a0
         | 
| 472 | 
            -
                adc     a0, zero
         | 
| 473 | 
            -
                eor     a0, c1
         | 
| 474 | 
            -
                eor     _bi, a0
         | 
| 475 | 
            -
                eor     _gi, a0
         | 
| 476 | 
            -
                eor     _ki, a0
         | 
| 477 | 
            -
                eor     _mi, a0
         | 
| 478 | 
            -
                eor     _si, a0
         | 
| 479 | 
            -
             | 
| 480 | 
            -
                lsl     c4
         | 
| 481 | 
            -
                adc     c4, zero
         | 
| 482 | 
            -
                eor     c4, c2
         | 
| 483 | 
            -
                eor     _bo, c4
         | 
| 484 | 
            -
                eor     _go, c4
         | 
| 485 | 
            -
                eor     _ko, c4
         | 
| 486 | 
            -
                eor     _mo, c4
         | 
| 487 | 
            -
                eor     _so, c4
         | 
| 488 | 
            -
             | 
| 489 | 
            -
                lsl     c0
         | 
| 490 | 
            -
                adc     c0, zero
         | 
| 491 | 
            -
                eor     c0, c3
         | 
| 492 | 
            -
                eor     _bu, c0
         | 
| 493 | 
            -
                eor     _gu, c0
         | 
| 494 | 
            -
                eor     _ku, c0
         | 
| 495 | 
            -
                eor     _mu, c0
         | 
| 496 | 
            -
                eor     _su, c0
         | 
| 497 | 
            -
             | 
| 498 | 
            -
                ; Rho Pi
         | 
| 499 | 
            -
                mov     c0, _be
         | 
| 500 | 
            -
                RhoPi   4, _be, _ge     ;  1 <  6
         | 
| 501 | 
            -
                RhoPi   4, _ge, _gu     ;  6 <  9
         | 
| 502 | 
            -
                RhoPi   5, _gu, _si     ;  9 < 22
         | 
| 503 | 
            -
                RhoPi   7, _si, _ku     ; 22 < 14
         | 
| 504 | 
            -
                RhoPi   2, _ku, _sa     ; 14 < 20
         | 
| 505 | 
            -
                RhoPi   6, _sa, _bi     ; 20 <  2
         | 
| 506 | 
            -
                RhoPi   3, _bi, _ki     ;  2 < 12
         | 
| 507 | 
            -
                RhoPi   1, _ki, _ko     ; 12 < 13
         | 
| 508 | 
            -
                RhoPi   0, _ko, _mu     ; 13 < 19
         | 
| 509 | 
            -
                RhoPi   0, _mu, _so     ; 19 < 23
         | 
| 510 | 
            -
                RhoPi   1, _so, _ma     ; 23 < 15
         | 
| 511 | 
            -
                RhoPi   3, _ma, _bu     ; 15 <  4
         | 
| 512 | 
            -
                RhoPi   6, _bu, _su     ;  4 < 24
         | 
| 513 | 
            -
                RhoPi   2, _su, _se     ; 24 < 21
         | 
| 514 | 
            -
                RhoPi   7, _se, _go     ; 21 <  8
         | 
| 515 | 
            -
                RhoPi   5, _go, _me     ;  8 < 16
         | 
| 516 | 
            -
                RhoPi   4, _me, _ga     ; 16 <  5
         | 
| 517 | 
            -
                RhoPi   4, _ga, _bo     ;  5 <  3
         | 
| 518 | 
            -
                RhoPi   5, _bo, _mo     ;  3 < 18
         | 
| 519 | 
            -
                RhoPi   7, _mo, _mi     ; 18 < 17
         | 
| 520 | 
            -
                RhoPi   2, _mi, _ke     ; 17 < 11
         | 
| 521 | 
            -
                RhoPi   6, _ke, _gi     ; 11 <  7
         | 
| 522 | 
            -
                RhoPi   3, _gi, _ka     ;  7 < 10
         | 
| 523 | 
            -
                RhoPi   1, _ka, c0      ; 10 <  1
         | 
| 524 | 
            -
             | 
| 525 | 
            -
                ; Chi
         | 
| 526 | 
            -
                mov     c0, _be
         | 
| 527 | 
            -
                mov     c1, _bi
         | 
| 528 | 
            -
                mov     c2, _bu
         | 
| 529 | 
            -
                Chi     _ba,  c0, _bi
         | 
| 530 | 
            -
                Chi     _be,  c1, _bo
         | 
| 531 | 
            -
                Chi     _bo,  c2, _ba
         | 
| 532 | 
            -
                ChiS    _bi, _bo, _bu
         | 
| 533 | 
            -
                ChiS    _bu, _ba, _be
         | 
| 534 | 
            -
                movw    _ba, c0
         | 
| 535 | 
            -
                mov     _bo, c2
         | 
| 536 | 
            -
             | 
| 537 | 
            -
                movw    c0, _ge
         | 
| 538 | 
            -
                mov     c2, _gu
         | 
| 539 | 
            -
                Chi     _ga,  c0, _gi
         | 
| 540 | 
            -
                Chi     _ge,  c1, _go
         | 
| 541 | 
            -
                Chi     _go,  c2, _ga
         | 
| 542 | 
            -
                ChiS    _gi, _go, _gu
         | 
| 543 | 
            -
                ChiS    _gu, _ga, _ge
         | 
| 544 | 
            -
                mov     _ga, c0
         | 
| 545 | 
            -
                mov     _ge, c1
         | 
| 546 | 
            -
                mov     _go, c2
         | 
| 547 | 
            -
             | 
| 548 | 
            -
                mov     c0, _ke
         | 
| 549 | 
            -
                mov     c1, _ki
         | 
| 550 | 
            -
                mov     c2, _ku
         | 
| 551 | 
            -
                Chi     _ka,  c0, _ki
         | 
| 552 | 
            -
                Chi     _ke,  c1, _ko
         | 
| 553 | 
            -
                Chi     _ko,  c2, _ka
         | 
| 554 | 
            -
                ChiS    _ki, _ko, _ku
         | 
| 555 | 
            -
                ChiS    _ku, _ka, _ke
         | 
| 556 | 
            -
                movw    _ka, c0
         | 
| 557 | 
            -
                mov     _ko, c2
         | 
| 558 | 
            -
             | 
| 559 | 
            -
                movw    c0, _me
         | 
| 560 | 
            -
                mov     c2, _mu
         | 
| 561 | 
            -
                Chi     _ma,  c0, _mi
         | 
| 562 | 
            -
                Chi     _me,  c1, _mo
         | 
| 563 | 
            -
                Chi     _mo,  c2, _ma
         | 
| 564 | 
            -
                ChiS    _mi, _mo, _mu
         | 
| 565 | 
            -
                ChiS    _mu, _ma, _me
         | 
| 566 | 
            -
                mov     _ma, c0
         | 
| 567 | 
            -
                mov     _me, c1
         | 
| 568 | 
            -
                mov     _mo, c2
         | 
| 569 | 
            -
             | 
| 570 | 
            -
                mov     c0, _se
         | 
| 571 | 
            -
                mov     c1, _si
         | 
| 572 | 
            -
                mov     c2, _su
         | 
| 573 | 
            -
                Chi     _sa,  c0, _si
         | 
| 574 | 
            -
                Chi     _se,  c1, _so
         | 
| 575 | 
            -
                Chi     _so,  c2, _sa
         | 
| 576 | 
            -
                ChiS    _si, _so, _su
         | 
| 577 | 
            -
                ChiS    _su, _sa, _se
         | 
| 578 | 
            -
                movw    _sa, c0
         | 
| 579 | 
            -
                mov     _so, c2
         | 
| 580 | 
            -
             | 
| 581 | 
            -
                ; Iota
         | 
| 582 | 
            -
                pop     rZ1
         | 
| 583 | 
            -
                pop     rZ
         | 
| 584 | 
            -
                lpm     c0, Z+          ; Round Constant
         | 
| 585 | 
            -
                eor     _ba, c0
         | 
| 586 | 
            -
             | 
| 587 | 
            -
                ; Check for last round constant
         | 
| 588 | 
            -
                cpi     c0, 0x80
         | 
| 589 | 
            -
                breq    KeccakP200_Permute_Done
         | 
| 590 | 
            -
                rjmp    KeccakP200_Permute_RoundLoop
         | 
| 591 | 
            -
            KeccakP200_Permute_Done:
         | 
| 592 | 
            -
             | 
| 593 | 
            -
                ; store registers to RAM state
         | 
| 594 | 
            -
                pop     rY1
         | 
| 595 | 
            -
                pop     rY
         | 
| 596 | 
            -
                st      Y+, _ba
         | 
| 597 | 
            -
                st      Y+, _be
         | 
| 598 | 
            -
                st      Y+, _bi
         | 
| 599 | 
            -
                st      Y+, _bo
         | 
| 600 | 
            -
                st      Y+, _bu
         | 
| 601 | 
            -
                st      Y+, _ga
         | 
| 602 | 
            -
                st      Y+, _ge
         | 
| 603 | 
            -
                st      Y+, _gi
         | 
| 604 | 
            -
                st      Y+, _go
         | 
| 605 | 
            -
                st      Y+, _gu
         | 
| 606 | 
            -
                st      Y+, _ka
         | 
| 607 | 
            -
                st      Y+, _ke
         | 
| 608 | 
            -
                st      Y+, _ki
         | 
| 609 | 
            -
                st      Y+, _ko
         | 
| 610 | 
            -
                st      Y+, _ku
         | 
| 611 | 
            -
                st      Y+, _ma
         | 
| 612 | 
            -
                st      Y+, _me
         | 
| 613 | 
            -
                st      Y+, _mi
         | 
| 614 | 
            -
                st      Y+, _mo
         | 
| 615 | 
            -
                st      Y+, _mu
         | 
| 616 | 
            -
                st      Y+, _sa
         | 
| 617 | 
            -
                st      Y+, _se
         | 
| 618 | 
            -
                st      Y+, _si
         | 
| 619 | 
            -
                st      Y+, _so
         | 
| 620 | 
            -
                st      Y , _su
         | 
| 621 | 
            -
             | 
| 622 | 
            -
                pop     r29
         | 
| 623 | 
            -
                pop     r28
         | 
| 624 | 
            -
                pop     r17
         | 
| 625 | 
            -
                pop     r16
         | 
| 626 | 
            -
                pop     r15
         | 
| 627 | 
            -
                pop     r14
         | 
| 628 | 
            -
                pop     r13
         | 
| 629 | 
            -
                pop     r12
         | 
| 630 | 
            -
                pop     r11
         | 
| 631 | 
            -
                pop     r10
         | 
| 632 | 
            -
                pop     r9
         | 
| 633 | 
            -
                pop     r8
         | 
| 634 | 
            -
                pop     r7
         | 
| 635 | 
            -
                pop     r6
         | 
| 636 | 
            -
                pop     r5
         | 
| 637 | 
            -
                pop     r4
         | 
| 638 | 
            -
                pop     r3
         | 
| 639 | 
            -
                pop     r2
         | 
| 640 | 
            -
                eor     r1, r1
         | 
| 641 | 
            -
                ret
         | 
| 642 | 
            -
             | 
| 643 | 
            -
                #undef  rpState
         | 
| 644 | 
            -
                #undef  zero
         | 
| 645 | 
            -
                #undef  rX
         | 
| 646 | 
            -
                #undef  rY
         | 
| 647 | 
            -
                #undef  rZ
         | 
| @@ -1,39 +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 | 
            -
             | 
| 18 | 
            -
            Please refer to SnP-documentation.h for more details.
         | 
| 19 | 
            -
            */
         | 
| 20 | 
            -
             | 
| 21 | 
            -
            #ifndef _KeccakP_200_SnP_h_
         | 
| 22 | 
            -
            #define _KeccakP_200_SnP_h_
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            #define KeccakP200_implementation      "8-bit compact implementation"
         | 
| 25 | 
            -
            #define KeccakP200_stateSizeInBytes    25
         | 
| 26 | 
            -
            #define KeccakP200_stateAlignment      1
         | 
| 27 | 
            -
             | 
| 28 | 
            -
            #define KeccakP200_StaticInitialize()
         | 
| 29 | 
            -
            void KeccakP200_Initialize(void *state);
         | 
| 30 | 
            -
            void KeccakP200_AddByte(void *state, unsigned char data, unsigned int offset);
         | 
| 31 | 
            -
            void KeccakP200_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 32 | 
            -
            void KeccakP200_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 33 | 
            -
            void KeccakP200_OverwriteWithZeroes(void *state, unsigned int byteCount);
         | 
| 34 | 
            -
            void KeccakP200_Permute_Nrounds(void *state, unsigned int nrounds);
         | 
| 35 | 
            -
            void KeccakP200_Permute_18rounds(void *state);
         | 
| 36 | 
            -
            void KeccakP200_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 37 | 
            -
            void KeccakP200_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 38 | 
            -
             | 
| 39 | 
            -
            #endif
         |