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,728 +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[400] in a SnP-compatible way.
|
19
|
-
; Please refer to SnP-documentation.h for more details.
|
20
|
-
;
|
21
|
-
; This implementation comes with KeccakP-400-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 zero 1
|
29
|
-
#define rpState 24
|
30
|
-
#define rX 26
|
31
|
-
#define rY 28
|
32
|
-
#define rZ 30
|
33
|
-
#define sp 0x3D
|
34
|
-
|
35
|
-
;----------------------------------------------------------------------------
|
36
|
-
;
|
37
|
-
; void KeccakP400_StaticInitialize( void )
|
38
|
-
;
|
39
|
-
.global KeccakP400_StaticInitialize
|
40
|
-
|
41
|
-
;----------------------------------------------------------------------------
|
42
|
-
;
|
43
|
-
; void KeccakP400_Initialize(void *state)
|
44
|
-
;
|
45
|
-
; argument state is passed in r24:r25
|
46
|
-
;
|
47
|
-
.global KeccakP400_Initialize
|
48
|
-
KeccakP400_Initialize:
|
49
|
-
movw rZ, r24
|
50
|
-
ldi r23, 2*5 ; clear state (5 bytes/2.5 lanes per iteration)
|
51
|
-
KeccakP400_Initialize_Loop:
|
52
|
-
st z+, zero
|
53
|
-
st z+, zero
|
54
|
-
st z+, zero
|
55
|
-
st z+, zero
|
56
|
-
st z+, zero
|
57
|
-
dec r23
|
58
|
-
brne KeccakP400_Initialize_Loop
|
59
|
-
KeccakP400_StaticInitialize:
|
60
|
-
ret
|
61
|
-
|
62
|
-
;----------------------------------------------------------------------------
|
63
|
-
;
|
64
|
-
; void KeccakP400_AddByte(void *state, unsigned char data, unsigned int offset)
|
65
|
-
;
|
66
|
-
; argument state is passed in r24:r25
|
67
|
-
; argument data is passed in r22:r23, only LSB (r22) is used
|
68
|
-
; argument offset is passed in r20:r21, only LSB (r20) is used
|
69
|
-
;
|
70
|
-
.global KeccakP400_AddByte
|
71
|
-
KeccakP400_AddByte:
|
72
|
-
movw rZ, r24
|
73
|
-
add rZ, r20
|
74
|
-
adc rZ+1, zero
|
75
|
-
ld r0, Z
|
76
|
-
eor r0, r22
|
77
|
-
st Z, r0
|
78
|
-
ret
|
79
|
-
|
80
|
-
;----------------------------------------------------------------------------
|
81
|
-
;
|
82
|
-
; void KeccakP400_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
83
|
-
;
|
84
|
-
; argument state is passed in r24:r25
|
85
|
-
; argument data is passed in r22:r23
|
86
|
-
; argument offset is passed in r20:r21, only LSB (r20) is used
|
87
|
-
; argument length is passed in r18:r19, only LSB (r18) is used
|
88
|
-
;
|
89
|
-
.global KeccakP400_AddBytes
|
90
|
-
KeccakP400_AddBytes:
|
91
|
-
tst r18
|
92
|
-
breq KeccakP400_AddBytes_End
|
93
|
-
movw rZ, r24
|
94
|
-
add rZ, r20
|
95
|
-
adc rZ+1, zero
|
96
|
-
movw rX, r22
|
97
|
-
KeccakP400_AddBytes_Loop:
|
98
|
-
ld r21, X+
|
99
|
-
ld r0, Z
|
100
|
-
eor r0, r21
|
101
|
-
st Z+, r0
|
102
|
-
dec r18
|
103
|
-
brne KeccakP400_AddBytes_Loop
|
104
|
-
KeccakP400_AddBytes_End:
|
105
|
-
ret
|
106
|
-
|
107
|
-
;----------------------------------------------------------------------------
|
108
|
-
;
|
109
|
-
; void KeccakP400_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
110
|
-
;
|
111
|
-
; argument state is passed in r24:r25
|
112
|
-
; argument data is passed in r22:r23
|
113
|
-
; argument offset is passed in r20:r21, only LSB (r20) is used
|
114
|
-
; argument length is passed in r18:r19, only LSB (r18) is used
|
115
|
-
;
|
116
|
-
.global KeccakP400_OverwriteBytes
|
117
|
-
KeccakP400_OverwriteBytes:
|
118
|
-
tst r18
|
119
|
-
breq KeccakP400_OverwriteBytes_End
|
120
|
-
movw rZ, r24
|
121
|
-
add rZ, r20
|
122
|
-
adc rZ+1, zero
|
123
|
-
movw rX, r22
|
124
|
-
KeccakP400_OverwriteBytes_Loop:
|
125
|
-
ld r0, X+
|
126
|
-
st Z+, r0
|
127
|
-
dec r18
|
128
|
-
brne KeccakP400_OverwriteBytes_Loop
|
129
|
-
KeccakP400_OverwriteBytes_End:
|
130
|
-
ret
|
131
|
-
|
132
|
-
;----------------------------------------------------------------------------
|
133
|
-
;
|
134
|
-
; void KeccakP400_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
135
|
-
;
|
136
|
-
; argument state is passed in r24:r25
|
137
|
-
; argument byteCount is passed in r22:r23, only LSB (r22) is used
|
138
|
-
;
|
139
|
-
.global KeccakP400_OverwriteWithZeroes
|
140
|
-
KeccakP400_OverwriteWithZeroes:
|
141
|
-
movw rZ, r24 ; rZ = state
|
142
|
-
mov r23, r22
|
143
|
-
lsr r23
|
144
|
-
lsr r23
|
145
|
-
breq KeccakP400_OverwriteWithZeroes_Bytes
|
146
|
-
KeccakP400_OverwriteWithZeroes_Loop2Lanes:
|
147
|
-
st Z+, r1
|
148
|
-
st Z+, r1
|
149
|
-
st Z+, r1
|
150
|
-
st Z+, r1
|
151
|
-
dec r23
|
152
|
-
brne KeccakP400_OverwriteWithZeroes_Loop2Lanes
|
153
|
-
KeccakP400_OverwriteWithZeroes_Bytes:
|
154
|
-
andi r22, 3
|
155
|
-
breq KeccakP400_OverwriteWithZeroes_End
|
156
|
-
KeccakP400_OverwriteWithZeroes_LoopBytes:
|
157
|
-
st Z+, r1
|
158
|
-
dec r22
|
159
|
-
brne KeccakP400_OverwriteWithZeroes_LoopBytes
|
160
|
-
KeccakP400_OverwriteWithZeroes_End:
|
161
|
-
ret
|
162
|
-
|
163
|
-
;----------------------------------------------------------------------------
|
164
|
-
;
|
165
|
-
; void KeccakP400_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
166
|
-
;
|
167
|
-
; argument state is passed in r24:r25
|
168
|
-
; argument data is passed in r22:r23
|
169
|
-
; argument offset is passed in r20:r21, only LSB (r20) is used
|
170
|
-
; argument length is passed in r18:r19, only LSB (r18) is used
|
171
|
-
;
|
172
|
-
.global KeccakP400_ExtractBytes
|
173
|
-
KeccakP400_ExtractBytes:
|
174
|
-
tst r18
|
175
|
-
breq KeccakP400_ExtractBytes_End
|
176
|
-
movw rZ, r24
|
177
|
-
add rZ, r20
|
178
|
-
adc rZ+1, zero
|
179
|
-
movw rX, r22
|
180
|
-
KeccakP400_ExtractBytes_Loop:
|
181
|
-
ld r0, Z+
|
182
|
-
st X+, r0
|
183
|
-
dec r18
|
184
|
-
brne KeccakP400_ExtractBytes_Loop
|
185
|
-
KeccakP400_ExtractBytes_End:
|
186
|
-
ret
|
187
|
-
|
188
|
-
;----------------------------------------------------------------------------
|
189
|
-
;
|
190
|
-
; void KeccakP400_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
191
|
-
;
|
192
|
-
; argument state is passed in r24:r25
|
193
|
-
; argument input is passed in r22:r23
|
194
|
-
; argument output is passed in r20:r21
|
195
|
-
; argument offset is passed in r18:r19, only LSB (r18) is used
|
196
|
-
; argument length is passed in r16:r17, only LSB (r16) is used
|
197
|
-
;
|
198
|
-
.global KeccakP400_ExtractAndAddBytes
|
199
|
-
KeccakP400_ExtractAndAddBytes:
|
200
|
-
tst r16
|
201
|
-
breq KeccakP400_ExtractAndAddBytes_End
|
202
|
-
push r16
|
203
|
-
push r28
|
204
|
-
push r29
|
205
|
-
movw rZ, r24
|
206
|
-
add rZ, r18
|
207
|
-
adc rZ+1, zero
|
208
|
-
movw rX, r22
|
209
|
-
movw rY, r20
|
210
|
-
subi r16, 2
|
211
|
-
brcs KeccakP400_ExtractAndAddBytes_Byte
|
212
|
-
KeccakP400_ExtractAndAddBytes_LoopLane:
|
213
|
-
ld r21, Z+
|
214
|
-
ld r0, X+
|
215
|
-
eor r0, r21
|
216
|
-
st Y+, r0
|
217
|
-
ld r21, Z+
|
218
|
-
ld r0, X+
|
219
|
-
eor r0, r21
|
220
|
-
st Y+, r0
|
221
|
-
subi r16, 2
|
222
|
-
brcc KeccakP400_ExtractAndAddBytes_LoopLane
|
223
|
-
KeccakP400_ExtractAndAddBytes_Byte:
|
224
|
-
ldi r19, 2
|
225
|
-
add r16, r19
|
226
|
-
breq KeccakP400_ExtractAndAddBytes_Done
|
227
|
-
KeccakP400_ExtractAndAddBytes_Loop1:
|
228
|
-
ld r21, Z+
|
229
|
-
ld r0, X+
|
230
|
-
eor r0, r21
|
231
|
-
st Y+, r0
|
232
|
-
dec r16
|
233
|
-
brne KeccakP400_ExtractAndAddBytes_Loop1
|
234
|
-
KeccakP400_ExtractAndAddBytes_Done:
|
235
|
-
pop r29
|
236
|
-
pop r28
|
237
|
-
pop r16
|
238
|
-
KeccakP400_ExtractAndAddBytes_End:
|
239
|
-
ret
|
240
|
-
|
241
|
-
|
242
|
-
#define ROT_BIT(a) ((a) & 7)
|
243
|
-
#define ROT_BYTE(a) (((a)/8 + !!(((a)%8) > 4)) & 1)
|
244
|
-
|
245
|
-
KeccakP400_RhoPiConstants:
|
246
|
-
.BYTE ROT_BIT( 1), ROT_BYTE( 3), 10 * 2
|
247
|
-
.BYTE ROT_BIT( 3), ROT_BYTE( 6), 7 * 2
|
248
|
-
.BYTE ROT_BIT( 6), ROT_BYTE(10), 11 * 2
|
249
|
-
.BYTE ROT_BIT(10), ROT_BYTE(15), 17 * 2
|
250
|
-
.BYTE ROT_BIT(15), ROT_BYTE(21), 18 * 2
|
251
|
-
.BYTE ROT_BIT(21), ROT_BYTE(28), 3 * 2
|
252
|
-
.BYTE ROT_BIT(28), ROT_BYTE(36), 5 * 2
|
253
|
-
.BYTE ROT_BIT(36), ROT_BYTE(45), 16 * 2
|
254
|
-
.BYTE ROT_BIT(45), ROT_BYTE(55), 8 * 2
|
255
|
-
.BYTE ROT_BIT(55), ROT_BYTE( 2), 21 * 2
|
256
|
-
.BYTE ROT_BIT( 2), ROT_BYTE(14), 24 * 2
|
257
|
-
.BYTE ROT_BIT(14), ROT_BYTE(27), 4 * 2
|
258
|
-
.BYTE ROT_BIT(27), ROT_BYTE(41), 15 * 2
|
259
|
-
.BYTE ROT_BIT(41), ROT_BYTE(56), 23 * 2
|
260
|
-
.BYTE ROT_BIT(56), ROT_BYTE( 8), 19 * 2
|
261
|
-
.BYTE ROT_BIT( 8), ROT_BYTE(25), 13 * 2
|
262
|
-
.BYTE ROT_BIT(25), ROT_BYTE(43), 12 * 2
|
263
|
-
.BYTE ROT_BIT(43), ROT_BYTE(62), 2 * 2
|
264
|
-
.BYTE ROT_BIT(62), ROT_BYTE(18), 20 * 2
|
265
|
-
.BYTE ROT_BIT(18), ROT_BYTE(39), 14 * 2
|
266
|
-
.BYTE ROT_BIT(39), ROT_BYTE(61), 22 * 2
|
267
|
-
.BYTE ROT_BIT(61), ROT_BYTE(20), 9 * 2
|
268
|
-
.BYTE ROT_BIT(20), ROT_BYTE(44), 6 * 2
|
269
|
-
.BYTE ROT_BIT(44), ROT_BYTE( 1), 1 * 2
|
270
|
-
|
271
|
-
KeccakP400_RoundConstants_20:
|
272
|
-
.BYTE 0x01, 0x00
|
273
|
-
.BYTE 0x82, 0x80
|
274
|
-
.BYTE 0x8a, 0x80
|
275
|
-
.BYTE 0x00, 0x80
|
276
|
-
.BYTE 0x8b, 0x80
|
277
|
-
.BYTE 0x01, 0x00
|
278
|
-
.BYTE 0x81, 0x80
|
279
|
-
.BYTE 0x09, 0x80
|
280
|
-
.BYTE 0x8a, 0x00
|
281
|
-
.BYTE 0x88, 0x00
|
282
|
-
.BYTE 0x09, 0x80
|
283
|
-
.BYTE 0x0a, 0x00
|
284
|
-
.BYTE 0x8b, 0x80
|
285
|
-
.BYTE 0x8b, 0x00
|
286
|
-
.BYTE 0x89, 0x80
|
287
|
-
.BYTE 0x03, 0x80
|
288
|
-
.BYTE 0x02, 0x80
|
289
|
-
.BYTE 0x80, 0x00
|
290
|
-
.BYTE 0x0a, 0x80
|
291
|
-
.BYTE 0x0a, 0x00
|
292
|
-
KeccakP400_RoundConstants_N:
|
293
|
-
.BYTE 0xFF, 0 ; terminator
|
294
|
-
|
295
|
-
.text
|
296
|
-
|
297
|
-
#define pRound 22 //; 2 regs (22-23)
|
298
|
-
#define pRound1 23
|
299
|
-
|
300
|
-
;----------------------------------------------------------------------------
|
301
|
-
;
|
302
|
-
; void KeccakP400_Permute_20rounds( void *state )
|
303
|
-
;
|
304
|
-
.global KeccakP400_Permute_20rounds
|
305
|
-
KeccakP400_Permute_20rounds:
|
306
|
-
ldi pRound, lo8(KeccakP400_RoundConstants_20)
|
307
|
-
ldi pRound+1, hi8(KeccakP400_RoundConstants_20)
|
308
|
-
rjmp KeccakP400_Permute
|
309
|
-
|
310
|
-
;----------------------------------------------------------------------------
|
311
|
-
;
|
312
|
-
; void KeccakP400_Permute_Nrounds( void *state, unsigned int nr )
|
313
|
-
;
|
314
|
-
; argument state is passed in r24:r25
|
315
|
-
; argument nr is passed in r22:r23
|
316
|
-
;
|
317
|
-
.global KeccakP400_Permute_Nrounds
|
318
|
-
KeccakP400_Permute_Nrounds:
|
319
|
-
mov r0, r22
|
320
|
-
lsl r0
|
321
|
-
ldi pRound, lo8(KeccakP400_RoundConstants_N)
|
322
|
-
ldi pRound+1, hi8(KeccakP400_RoundConstants_N)
|
323
|
-
sub pRound, r0
|
324
|
-
sbc pRound+1, r1
|
325
|
-
KeccakP400_Permute:
|
326
|
-
push r2
|
327
|
-
push r3
|
328
|
-
push r4
|
329
|
-
push r5
|
330
|
-
push r6
|
331
|
-
push r7
|
332
|
-
push r8
|
333
|
-
push r9
|
334
|
-
push r10
|
335
|
-
push r11
|
336
|
-
push r12
|
337
|
-
push r13
|
338
|
-
push r14
|
339
|
-
push r15
|
340
|
-
push r16
|
341
|
-
push r17
|
342
|
-
push r28
|
343
|
-
push r29
|
344
|
-
|
345
|
-
; Allocate C variables (5*2)
|
346
|
-
in rZ, sp
|
347
|
-
in rZ+1, sp+1
|
348
|
-
sbiw rZ, 5*2
|
349
|
-
in r0, 0x3F
|
350
|
-
cli
|
351
|
-
out sp+1, rZ+1
|
352
|
-
out sp, rZ ; Z points to 5 C lanes
|
353
|
-
out 0x3F, r0
|
354
|
-
|
355
|
-
; Variables used in multiple operations
|
356
|
-
#define rTemp 2 //; 8 regs (2-9)
|
357
|
-
#define rTemp0 2
|
358
|
-
#define rTemp1 3
|
359
|
-
#define rTemp2 4
|
360
|
-
#define rTemp3 5
|
361
|
-
#define rTemp4 6
|
362
|
-
#define rTemp5 7
|
363
|
-
#define rTemp6 8
|
364
|
-
#define rTemp7 9
|
365
|
-
#define rTempBis 10 //; 8 regs (10-17)
|
366
|
-
#define rTempBis0 10
|
367
|
-
#define rTempBis1 11
|
368
|
-
#define rTempBis2 12
|
369
|
-
#define rTempBis3 13
|
370
|
-
#define rTempBis4 14
|
371
|
-
#define rTempBis5 15
|
372
|
-
#define rTempBis6 16
|
373
|
-
#define rTempBis7 17
|
374
|
-
#define rTempTer 18 //; 4 regs (18-21)
|
375
|
-
#define rTempTer0 18
|
376
|
-
#define rTempTer1 19
|
377
|
-
|
378
|
-
; Initial Prepare Theta
|
379
|
-
#define TCIPx rTempTer
|
380
|
-
|
381
|
-
clr zero
|
382
|
-
movw rY, rpState
|
383
|
-
ldi TCIPx, 5*2
|
384
|
-
KeccakP_InitialPrepTheta_Loop:
|
385
|
-
ld r0, Y
|
386
|
-
adiw rY, 10
|
387
|
-
ld rTemp, Y
|
388
|
-
adiw rY, 10
|
389
|
-
eor r0, rTemp
|
390
|
-
ld rTemp, Y
|
391
|
-
adiw rY, 10
|
392
|
-
eor r0, rTemp
|
393
|
-
ld rTemp, Y
|
394
|
-
eor r0, rTemp
|
395
|
-
ldd rTemp, Y+10
|
396
|
-
eor r0, rTemp
|
397
|
-
st Z+, r0
|
398
|
-
sbiw rY, 29
|
399
|
-
dec TCIPx
|
400
|
-
brne KeccakP_InitialPrepTheta_Loop
|
401
|
-
#undef TCIPx
|
402
|
-
|
403
|
-
KeccakP_RoundLoop:
|
404
|
-
|
405
|
-
; Theta
|
406
|
-
#define TCplus rX
|
407
|
-
#define TCplus1 rX1
|
408
|
-
#define TCminus rZ
|
409
|
-
#define TCminus1 rZ1
|
410
|
-
#define TCcoordX rTempTer
|
411
|
-
#define TCcoordY rTempTer1
|
412
|
-
|
413
|
-
in TCminus, sp
|
414
|
-
in TCminus+1, sp+1
|
415
|
-
movw TCplus, TCminus
|
416
|
-
adiw TCminus, 4*2
|
417
|
-
adiw TCplus, 1*2
|
418
|
-
movw rY, rpState
|
419
|
-
ldi TCcoordX, 0x16
|
420
|
-
KeccakTheta_Loop1:
|
421
|
-
ld rTemp0, X+
|
422
|
-
ld rTemp1, X+
|
423
|
-
|
424
|
-
lsl rTemp0
|
425
|
-
rol rTemp1
|
426
|
-
adc rTemp0, zero
|
427
|
-
|
428
|
-
ld r0, Z+
|
429
|
-
eor rTemp0, r0
|
430
|
-
ld r0, Z+
|
431
|
-
eor rTemp1, r0
|
432
|
-
|
433
|
-
ldi TCcoordY, 5
|
434
|
-
KeccakTheta_Loop2:
|
435
|
-
ld r0, Y
|
436
|
-
eor r0, rTemp0
|
437
|
-
st Y+, r0
|
438
|
-
ld r0, Y
|
439
|
-
eor r0, rTemp1
|
440
|
-
st Y+, r0
|
441
|
-
adiw rY, 8
|
442
|
-
|
443
|
-
dec TCcoordY
|
444
|
-
brne KeccakTheta_Loop2
|
445
|
-
|
446
|
-
sbiw rY, 50-2
|
447
|
-
|
448
|
-
lsr TCcoordX
|
449
|
-
brcc local1
|
450
|
-
brne KeccakTheta_Loop1
|
451
|
-
rjmp KeccakTheta_End
|
452
|
-
local1:
|
453
|
-
cpi TCcoordX, 0x0B
|
454
|
-
brne local2
|
455
|
-
sbiw TCminus, 10
|
456
|
-
rjmp KeccakTheta_Loop1
|
457
|
-
local2:
|
458
|
-
sbiw TCplus, 10
|
459
|
-
rjmp KeccakTheta_Loop1
|
460
|
-
|
461
|
-
KeccakTheta_End:
|
462
|
-
#undef TCplus
|
463
|
-
#undef TCminus
|
464
|
-
#undef TCcoordX
|
465
|
-
#undef TCcoordY
|
466
|
-
|
467
|
-
; Rho Pi
|
468
|
-
#define RPpConst rTempTer //; 2 regs
|
469
|
-
#define RPindex rTempTer+2
|
470
|
-
#define RPByteRot rTempTer+3
|
471
|
-
#define RPpBitRot rX
|
472
|
-
|
473
|
-
sbiw rY, 8
|
474
|
-
ld rTemp0, Y+
|
475
|
-
ld rTemp1, Y+
|
476
|
-
ldi RPpConst, lo8(KeccakP400_RhoPiConstants)
|
477
|
-
ldi RPpConst+1, hi8(KeccakP400_RhoPiConstants)
|
478
|
-
ldi RPpBitRot, pm_lo8(bit_rot_jmp_table)
|
479
|
-
ldi RPpBitRot+1, pm_hi8(bit_rot_jmp_table)
|
480
|
-
|
481
|
-
KeccakRhoPi_Loop:
|
482
|
-
; get rotation codes
|
483
|
-
movw rZ, RPpConst
|
484
|
-
lpm r0, Z+ ; get number of bits to rotate
|
485
|
-
lpm RPByteRot, Z+ ; get number of bytes to rotate
|
486
|
-
lpm RPindex, Z+ ; get index in state
|
487
|
-
movw RPpConst, rZ
|
488
|
-
|
489
|
-
; do bit rotation
|
490
|
-
movw rZ, RPpBitRot
|
491
|
-
add rZ, r0
|
492
|
-
adc rZ+1, zero
|
493
|
-
ijmp
|
494
|
-
|
495
|
-
KeccakRhoPi_RhoBitRotateDone:
|
496
|
-
movw rY, rpState
|
497
|
-
add rY, RPindex
|
498
|
-
adc rY+1, zero
|
499
|
-
|
500
|
-
tst RPByteRot
|
501
|
-
brne KeccakRhoPi_LoadSwapped
|
502
|
-
ld rTempBis0, Y
|
503
|
-
ldd rTempBis1, Y+1
|
504
|
-
st Y+, rTemp0
|
505
|
-
st Y+, rTemp1
|
506
|
-
movw rTemp0, rTempBis0
|
507
|
-
subi RPindex, 2
|
508
|
-
brne KeccakRhoPi_Loop
|
509
|
-
rjmp KeccakRhoPi_Done
|
510
|
-
KeccakRhoPi_LoadSwapped:
|
511
|
-
ld rTempBis1, Y
|
512
|
-
ldd rTempBis0, Y+1
|
513
|
-
st Y+, rTemp0
|
514
|
-
st Y+, rTemp1
|
515
|
-
movw rTemp0, rTempBis0
|
516
|
-
subi RPindex, 2
|
517
|
-
brne KeccakRhoPi_Loop
|
518
|
-
KeccakRhoPi_Done:
|
519
|
-
|
520
|
-
#undef RPindex
|
521
|
-
#undef RPTemp
|
522
|
-
|
523
|
-
; Chi, Iota, prepare Theta
|
524
|
-
#define CIPTa0 rTemp
|
525
|
-
#define CIPTa1 rTemp1
|
526
|
-
#define CIPTa2 rTemp2
|
527
|
-
#define CIPTa3 rTemp3
|
528
|
-
#define CIPTa4 rTemp4
|
529
|
-
#define CIPTc0 rTempBis
|
530
|
-
#define CIPTc1 rTempBis1
|
531
|
-
#define CIPTc2 rTempBis2
|
532
|
-
#define CIPTc3 rTempBis3
|
533
|
-
#define CIPTc4 rTempBis4
|
534
|
-
#define CIPTz rTempBis6
|
535
|
-
#define CIPTy rTempBis7
|
536
|
-
|
537
|
-
movw rY, rpState
|
538
|
-
in rX, sp
|
539
|
-
in rX+1, sp+1
|
540
|
-
|
541
|
-
movw rZ, pRound
|
542
|
-
|
543
|
-
ldi CIPTz, 2
|
544
|
-
KeccakChiIotaPrepareTheta_zLoop:
|
545
|
-
mov CIPTc0, zero
|
546
|
-
mov CIPTc1, zero
|
547
|
-
movw CIPTc2, CIPTc0
|
548
|
-
mov CIPTc4, zero
|
549
|
-
|
550
|
-
ldi CIPTy, 5
|
551
|
-
KeccakChiIotaPrepareTheta_yLoop:
|
552
|
-
ld CIPTa0, Y
|
553
|
-
ldd CIPTa1, Y+2
|
554
|
-
ldd CIPTa2, Y+4
|
555
|
-
ldd CIPTa3, Y+6
|
556
|
-
ldd CIPTa4, Y+8
|
557
|
-
|
558
|
-
;*p = t = a0 ^ ((~a1) & a2); c0 ^= t;
|
559
|
-
mov r0, CIPTa1
|
560
|
-
com r0
|
561
|
-
and r0, CIPTa2
|
562
|
-
eor r0, CIPTa0
|
563
|
-
eor CIPTc0, r0
|
564
|
-
st Y, r0
|
565
|
-
|
566
|
-
;*(p+2) = t = a1 ^ ((~a2) & a3); c1 ^= t;
|
567
|
-
mov r0, CIPTa2
|
568
|
-
com r0
|
569
|
-
and r0, CIPTa3
|
570
|
-
eor r0, CIPTa1
|
571
|
-
eor CIPTc1, r0
|
572
|
-
std Y+2, r0
|
573
|
-
|
574
|
-
;*(p+4) = a2 ^= ((~a3) & a4); c2 ^= a2;
|
575
|
-
mov r0, CIPTa3
|
576
|
-
com r0
|
577
|
-
and r0, CIPTa4
|
578
|
-
eor r0, CIPTa2
|
579
|
-
eor CIPTc2, r0
|
580
|
-
std Y+4, r0
|
581
|
-
|
582
|
-
;*(p+6) = a3 ^= ((~a4) & a0); c3 ^= a3;
|
583
|
-
mov r0, CIPTa4
|
584
|
-
com r0
|
585
|
-
and r0, CIPTa0
|
586
|
-
eor r0, CIPTa3
|
587
|
-
eor CIPTc3, r0
|
588
|
-
std Y+6, r0
|
589
|
-
|
590
|
-
;*(p+8) = a4 ^= ((~a0) & a1); c4 ^= a4;
|
591
|
-
com CIPTa0
|
592
|
-
and CIPTa0, CIPTa1
|
593
|
-
eor CIPTa0, CIPTa4
|
594
|
-
eor CIPTc4, CIPTa0
|
595
|
-
std Y+8, CIPTa0
|
596
|
-
|
597
|
-
adiw rY, 10
|
598
|
-
dec CIPTy
|
599
|
-
brne KeccakChiIotaPrepareTheta_yLoop
|
600
|
-
|
601
|
-
sbiw rY, 50
|
602
|
-
|
603
|
-
lpm r0, Z+ ; Round Constant
|
604
|
-
ld CIPTa0, Y
|
605
|
-
eor CIPTa0, r0
|
606
|
-
st Y+, CIPTa0
|
607
|
-
|
608
|
-
movw pRound, rZ
|
609
|
-
movw rZ, rX
|
610
|
-
eor CIPTc0, r0
|
611
|
-
st Z+, CIPTc0
|
612
|
-
std Z+1, CIPTc1
|
613
|
-
std Z+3, CIPTc2
|
614
|
-
std Z+5, CIPTc3
|
615
|
-
std Z+7, CIPTc4
|
616
|
-
movw rX, rZ
|
617
|
-
movw rZ, pRound
|
618
|
-
|
619
|
-
dec CIPTz
|
620
|
-
brne KeccakChiIotaPrepareTheta_zLoop
|
621
|
-
|
622
|
-
#undef CIPTa0
|
623
|
-
#undef CIPTa1
|
624
|
-
#undef CIPTa2
|
625
|
-
#undef CIPTa3
|
626
|
-
#undef CIPTa4
|
627
|
-
#undef CIPTc0
|
628
|
-
#undef CIPTc1
|
629
|
-
#undef CIPTc2
|
630
|
-
#undef CIPTc3
|
631
|
-
#undef CIPTc4
|
632
|
-
#undef CIPTz
|
633
|
-
#undef CIPTy
|
634
|
-
|
635
|
-
|
636
|
-
;Check for terminator
|
637
|
-
lpm r0, Z
|
638
|
-
inc r0
|
639
|
-
breq KeccakP_Done
|
640
|
-
rjmp KeccakP_RoundLoop
|
641
|
-
KeccakP_Done:
|
642
|
-
|
643
|
-
; Free C(on stack) and registers
|
644
|
-
in rX, sp ; free 5 C lanes
|
645
|
-
in rX+1, sp+1
|
646
|
-
adiw rX, 5*2
|
647
|
-
in r0, 0x3F
|
648
|
-
cli
|
649
|
-
out sp+1, rX+1
|
650
|
-
out sp, rX
|
651
|
-
out 0x3F, r0
|
652
|
-
|
653
|
-
pop r29
|
654
|
-
pop r28
|
655
|
-
pop r17
|
656
|
-
pop r16
|
657
|
-
pop r15
|
658
|
-
pop r14
|
659
|
-
pop r13
|
660
|
-
pop r12
|
661
|
-
pop r11
|
662
|
-
pop r10
|
663
|
-
pop r9
|
664
|
-
pop r8
|
665
|
-
pop r7
|
666
|
-
pop r6
|
667
|
-
pop r5
|
668
|
-
pop r4
|
669
|
-
pop r3
|
670
|
-
pop r2
|
671
|
-
ret
|
672
|
-
|
673
|
-
bit_rot_jmp_table:
|
674
|
-
rjmp KeccakRhoPi_RhoBitRotateDone
|
675
|
-
rjmp rotate16_1bit_left
|
676
|
-
rjmp rotate16_2bit_left
|
677
|
-
rjmp rotate16_3bit_left
|
678
|
-
rjmp rotate16_4bit_left
|
679
|
-
rjmp rotate16_3bit_right
|
680
|
-
rjmp rotate16_2bit_right
|
681
|
-
rjmp rotate16_1bit_right
|
682
|
-
|
683
|
-
rotate16_4bit_left:
|
684
|
-
lsl rTemp
|
685
|
-
rol rTemp+1
|
686
|
-
adc rTemp, r1
|
687
|
-
rotate16_3bit_left:
|
688
|
-
lsl rTemp
|
689
|
-
rol rTemp+1
|
690
|
-
adc rTemp, r1
|
691
|
-
rotate16_2bit_left:
|
692
|
-
lsl rTemp
|
693
|
-
rol rTemp+1
|
694
|
-
adc rTemp, r1
|
695
|
-
rotate16_1bit_left:
|
696
|
-
lsl rTemp
|
697
|
-
rol rTemp+1
|
698
|
-
adc rTemp, r1
|
699
|
-
rjmp KeccakRhoPi_RhoBitRotateDone
|
700
|
-
|
701
|
-
rotate16_3bit_right:
|
702
|
-
bst rTemp, 0
|
703
|
-
ror rTemp+1
|
704
|
-
ror rTemp
|
705
|
-
bld rTemp+1, 7
|
706
|
-
rotate16_2bit_right:
|
707
|
-
bst rTemp, 0
|
708
|
-
ror rTemp+1
|
709
|
-
ror rTemp
|
710
|
-
bld rTemp+1, 7
|
711
|
-
rotate16_1bit_right:
|
712
|
-
bst rTemp, 0
|
713
|
-
ror rTemp+1
|
714
|
-
ror rTemp
|
715
|
-
bld rTemp+1, 7
|
716
|
-
rjmp KeccakRhoPi_RhoBitRotateDone
|
717
|
-
|
718
|
-
#undef rTemp
|
719
|
-
#undef rTempBis
|
720
|
-
#undef rTempTer
|
721
|
-
#undef pRound
|
722
|
-
|
723
|
-
#undef rpState
|
724
|
-
#undef zero
|
725
|
-
#undef rX
|
726
|
-
#undef rY
|
727
|
-
#undef rZ
|
728
|
-
#undef sp
|