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,534 +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[800] in a SnP-compatible way.
|
19
|
-
@ Please refer to SnP-documentation.h for more details.
|
20
|
-
@
|
21
|
-
@ This implementation comes with KeccakP-800-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
|
-
@ WARNING: This implementation assumes a little endian CPU with ARMv6M architecture (e.g., Cortex-M0) and the GCC compiler.
|
26
|
-
|
27
|
-
|
28
|
-
.thumb
|
29
|
-
.syntax unified
|
30
|
-
.text
|
31
|
-
|
32
|
-
@ ----------------------------------------------------------------------------
|
33
|
-
|
34
|
-
.equ _ba , 0*4
|
35
|
-
.equ _be , 1*4
|
36
|
-
.equ _bi , 2*4
|
37
|
-
.equ _bo , 3*4
|
38
|
-
.equ _bu , 4*4
|
39
|
-
.equ _ga , 5*4
|
40
|
-
.equ _ge , 6*4
|
41
|
-
.equ _gi , 7*4
|
42
|
-
.equ _go , 8*4
|
43
|
-
.equ _gu , 9*4
|
44
|
-
.equ _ka , 10*4
|
45
|
-
.equ _ke , 11*4
|
46
|
-
.equ _ki , 12*4
|
47
|
-
.equ _ko , 13*4
|
48
|
-
.equ _ku , 14*4
|
49
|
-
.equ _ma , 15*4
|
50
|
-
.equ _me , 16*4
|
51
|
-
.equ _mi , 17*4
|
52
|
-
.equ _mo , 18*4
|
53
|
-
.equ _mu , 19*4
|
54
|
-
.equ _sa , 20*4
|
55
|
-
.equ _se , 21*4
|
56
|
-
.equ _si , 22*4
|
57
|
-
.equ _so , 23*4
|
58
|
-
.equ _su , 24*4
|
59
|
-
|
60
|
-
.macro xor5 result,ptr,b,g,k,m,s
|
61
|
-
ldr \result, [\ptr, #\b]
|
62
|
-
ldr r6, [\ptr, #\g]
|
63
|
-
eors \result, \result, r6
|
64
|
-
ldr r6, [\ptr, #\k]
|
65
|
-
eors \result, \result, r6
|
66
|
-
ldr r6, [\ptr, #\m]
|
67
|
-
eors \result, \result, r6
|
68
|
-
ldr r6, [\ptr, #\s]
|
69
|
-
eors \result, \result, r6
|
70
|
-
.endm
|
71
|
-
|
72
|
-
.macro te d, a, b
|
73
|
-
rors \b, \b, r4
|
74
|
-
eors \b, \b, \a
|
75
|
-
mov \d, \b
|
76
|
-
.endm
|
77
|
-
|
78
|
-
.macro trp rBx, sIn, oIn, rD, rot
|
79
|
-
ldr \rBx, [\sIn, #\oIn]
|
80
|
-
mov r6, \rD
|
81
|
-
eors \rBx, \rBx, r6
|
82
|
-
.if \rot != 0
|
83
|
-
movs r6, #32-\rot
|
84
|
-
rors \rBx, \rBx, r6
|
85
|
-
.endif
|
86
|
-
.endm
|
87
|
-
|
88
|
-
.macro ci sOut, oOut, ax0, ax1, ax2, iota, useax2, temp, earlyT
|
89
|
-
.if \useax2 != 0
|
90
|
-
bics \ax2, \ax2, \ax1
|
91
|
-
eors \ax2, \ax2, \ax0
|
92
|
-
.if \iota != 0
|
93
|
-
mov \temp, r8
|
94
|
-
ldm \temp!, { \ax1 }
|
95
|
-
mov r8, \temp
|
96
|
-
eors \ax2, \ax2, \ax1
|
97
|
-
.endif
|
98
|
-
str \ax2, [\sOut, #\oOut]
|
99
|
-
.else
|
100
|
-
movs \temp, \ax2
|
101
|
-
bics \temp, \temp, \ax1
|
102
|
-
eors \temp, \temp, \ax0
|
103
|
-
str \temp, [\sOut, #\oOut]
|
104
|
-
.if \earlyT != 0
|
105
|
-
eors r7, \temp
|
106
|
-
.endif
|
107
|
-
.endif
|
108
|
-
.endm
|
109
|
-
|
110
|
-
.macro KeccakRound sOut, sIn
|
111
|
-
|
112
|
-
@ Prepare Theta effect (U column already done by earlyTheta
|
113
|
-
movs r4, #31
|
114
|
-
xor5 r1, \sIn, _be, _ge, _ke, _me, _se
|
115
|
-
mov r6, r1
|
116
|
-
te r9, r7, r6
|
117
|
-
xor5 r2, \sIn, _bi, _gi, _ki, _mi, _si
|
118
|
-
te r12, r2, r7
|
119
|
-
xor5 r3, \sIn, _ba, _ga, _ka, _ma, _sa
|
120
|
-
te r10, r3, r2
|
121
|
-
xor5 r2, \sIn, _bo, _go, _ko, _mo, _so
|
122
|
-
te lr, r2, r3
|
123
|
-
te r11, r1, r2
|
124
|
-
|
125
|
-
@ ThetaRhoPi ChiIota
|
126
|
-
trp r1, \sIn, _bo, r12, 28
|
127
|
-
trp r2, \sIn, _gu, lr, 20
|
128
|
-
trp r3, \sIn, _ka, r9, 3
|
129
|
-
trp r4, \sIn, _me, r10, 13
|
130
|
-
trp r5, \sIn, _si, r11, 29
|
131
|
-
ci \sOut, _gu, r5, r1, r2, 0, 0, r7, 0
|
132
|
-
ci \sOut, _go, r4, r5, r1, 0, 0, r6, 0
|
133
|
-
ci \sOut, _gi, r3, r4, r5, 0, 1, r6, 0
|
134
|
-
ci \sOut, _ge, r2, r3, r4, 0, 1, r6, 0
|
135
|
-
ci \sOut, _ga, r1, r2, r3, 0, 1, r6, 0
|
136
|
-
|
137
|
-
trp r1, \sIn, _be, r10, 1
|
138
|
-
trp r2, \sIn, _gi, r11, 6
|
139
|
-
trp r3, \sIn, _ko, r12, 25
|
140
|
-
trp r4, \sIn, _mu, lr, 8
|
141
|
-
trp r5, \sIn, _sa, r9, 18
|
142
|
-
ci \sOut, _ku, r5, r1, r2, 0, 0, r6, 1
|
143
|
-
ci \sOut, _ko, r4, r5, r1, 0, 0, r6, 0
|
144
|
-
ci \sOut, _ki, r3, r4, r5, 0, 1, r6, 0
|
145
|
-
ci \sOut, _ke, r2, r3, r4, 0, 1, r6, 0
|
146
|
-
ci \sOut, _ka, r1, r2, r3, 0, 1, r6, 0
|
147
|
-
|
148
|
-
trp r1, \sIn, _bu, lr, 27
|
149
|
-
trp r2, \sIn, _ga, r9, 4
|
150
|
-
trp r3, \sIn, _ke, r10, 10
|
151
|
-
trp r4, \sIn, _mi, r11, 15
|
152
|
-
trp r5, \sIn, _so, r12, 24
|
153
|
-
ci \sOut, _mu, r5, r1, r2, 0, 0, r6, 1
|
154
|
-
ci \sOut, _mo, r4, r5, r1, 0, 0, r6, 0
|
155
|
-
ci \sOut, _mi, r3, r4, r5, 0, 1, r6, 0
|
156
|
-
ci \sOut, _me, r2, r3, r4, 0, 1, r6, 0
|
157
|
-
ci \sOut, _ma, r1, r2, r3, 0, 1, r6, 0
|
158
|
-
|
159
|
-
trp r1, \sIn, _bi, r11, 30
|
160
|
-
trp r2, \sIn, _go, r12, 23
|
161
|
-
trp r3, \sIn, _ku, lr, 7
|
162
|
-
trp r4, \sIn, _ma, r9, 9
|
163
|
-
trp r5, \sIn, _se, r10, 2
|
164
|
-
ci \sOut, _su, r5, r1, r2, 0, 0, r6, 1
|
165
|
-
ci \sOut, _so, r4, r5, r1, 0, 0, r6, 0
|
166
|
-
ci \sOut, _si, r3, r4, r5, 0, 1, r6, 0
|
167
|
-
ci \sOut, _se, r2, r3, r4, 0, 1, r6, 0
|
168
|
-
ci \sOut, _sa, r1, r2, r3, 0, 1, r6, 0
|
169
|
-
|
170
|
-
trp r1, \sIn, _ba, r9, 0
|
171
|
-
trp r2, \sIn, _ge, r10, 12
|
172
|
-
trp r3, \sIn, _ki, r11, 11
|
173
|
-
trp r4, \sIn, _mo, r12, 21
|
174
|
-
trp r5, \sIn, _su, lr, 14
|
175
|
-
ci \sOut, _bu, r5, r1, r2, 0, 0, r6, 1
|
176
|
-
ci \sOut, _bo, r4, r5, r1, 0, 0, r6, 0
|
177
|
-
ci \sOut, _bi, r3, r4, r5, 0, 1, r6, 0
|
178
|
-
ci \sOut, _be, r2, r3, r4, 0, 1, r6, 0
|
179
|
-
ci \sOut, _ba, r1, r2, r3, 1, 1, r6, 0
|
180
|
-
.endm
|
181
|
-
|
182
|
-
@ ----------------------------------------------------------------------------
|
183
|
-
@
|
184
|
-
@ void KeccakP800_StaticInitialize( void )
|
185
|
-
@
|
186
|
-
.align 8
|
187
|
-
.global KeccakP800_StaticInitialize
|
188
|
-
.type KeccakP800_StaticInitialize, %function;
|
189
|
-
KeccakP800_StaticInitialize:
|
190
|
-
bx lr
|
191
|
-
|
192
|
-
|
193
|
-
@ ----------------------------------------------------------------------------
|
194
|
-
@
|
195
|
-
@ void KeccakP800_Initialize(void *state)
|
196
|
-
@
|
197
|
-
.align 8
|
198
|
-
.global KeccakP800_Initialize
|
199
|
-
.type KeccakP800_Initialize, %function;
|
200
|
-
KeccakP800_Initialize:
|
201
|
-
push {r4 - r5}
|
202
|
-
movs r1, #0
|
203
|
-
movs r2, #0
|
204
|
-
movs r3, #0
|
205
|
-
movs r4, #0
|
206
|
-
movs r5, #0
|
207
|
-
stmia r0!, { r1 - r5 }
|
208
|
-
stmia r0!, { r1 - r5 }
|
209
|
-
stmia r0!, { r1 - r5 }
|
210
|
-
stmia r0!, { r1 - r5 }
|
211
|
-
stmia r0!, { r1 - r5 }
|
212
|
-
pop {r4 - r5}
|
213
|
-
bx lr
|
214
|
-
|
215
|
-
|
216
|
-
@ ----------------------------------------------------------------------------
|
217
|
-
@
|
218
|
-
@ void KeccakP800_AddByte(void *state, unsigned char byte, unsigned int offset)
|
219
|
-
@
|
220
|
-
.align 8
|
221
|
-
.global KeccakP800_AddByte
|
222
|
-
.type KeccakP800_AddByte, %function;
|
223
|
-
KeccakP800_AddByte:
|
224
|
-
adds r0, r0, r2 @ state += offset
|
225
|
-
ldrb r2, [r0]
|
226
|
-
eors r2, r2, r1
|
227
|
-
strb r2, [r0]
|
228
|
-
bx lr
|
229
|
-
|
230
|
-
|
231
|
-
@ ----------------------------------------------------------------------------
|
232
|
-
@
|
233
|
-
@ void KeccakP800_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
234
|
-
@
|
235
|
-
.align 8
|
236
|
-
.global KeccakP800_AddBytes
|
237
|
-
.type KeccakP800_AddBytes, %function;
|
238
|
-
KeccakP800_AddBytes:
|
239
|
-
push {r4,lr}
|
240
|
-
adds r0, r0, r2 @ state += offset
|
241
|
-
subs r3, r3, #4 @ .if length >= 4
|
242
|
-
bcc KeccakP800_AddBytes_Bytes
|
243
|
-
movs r2, r0 @ and data pointer and offset both 32-bit aligned
|
244
|
-
orrs r2, r2, r1
|
245
|
-
lsls r2, #30
|
246
|
-
bne KeccakP800_AddBytes_Bytes
|
247
|
-
KeccakP800_AddBytes_LanesLoop: @ then, perform on words
|
248
|
-
ldr r2, [r0]
|
249
|
-
ldmia r1!, {r4}
|
250
|
-
eors r2, r2, r4
|
251
|
-
stmia r0!, {r2}
|
252
|
-
subs r3, r3, #4
|
253
|
-
bcs KeccakP800_AddBytes_LanesLoop
|
254
|
-
KeccakP800_AddBytes_Bytes:
|
255
|
-
adds r3, r3, #4
|
256
|
-
beq KeccakP800_AddBytes_Exit
|
257
|
-
subs r3, r3, #1
|
258
|
-
KeccakP800_AddBytes_BytesLoop:
|
259
|
-
ldrb r2, [r0, r3]
|
260
|
-
ldrb r4, [r1, r3]
|
261
|
-
eors r2, r2, r4
|
262
|
-
strb r2, [r0, r3]
|
263
|
-
subs r3, r3, #1
|
264
|
-
bcs KeccakP800_AddBytes_BytesLoop
|
265
|
-
KeccakP800_AddBytes_Exit:
|
266
|
-
pop {r4,pc}
|
267
|
-
|
268
|
-
|
269
|
-
@ ----------------------------------------------------------------------------
|
270
|
-
@
|
271
|
-
@ void KeccakP800_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
272
|
-
@
|
273
|
-
.align 8
|
274
|
-
.global KeccakP800_OverwriteBytes
|
275
|
-
.type KeccakP800_OverwriteBytes, %function;
|
276
|
-
KeccakP800_OverwriteBytes:
|
277
|
-
adds r0, r0, r2 @ state += offset
|
278
|
-
subs r3, r3, #4 @ .if length >= 4
|
279
|
-
bcc KeccakP800_OverwriteBytes_Bytes
|
280
|
-
movs r2, r0 @ and data pointer and offset both 32-bit aligned
|
281
|
-
orrs r2, r2, r1
|
282
|
-
lsls r2, #30
|
283
|
-
bne KeccakP800_OverwriteBytes_Bytes
|
284
|
-
KeccakP800_OverwriteBytes_LanesLoop: @ then, perform on words
|
285
|
-
ldmia r1!, {r2}
|
286
|
-
stmia r0!, {r2}
|
287
|
-
subs r3, r3, #4
|
288
|
-
bcs KeccakP800_OverwriteBytes_LanesLoop
|
289
|
-
KeccakP800_OverwriteBytes_Bytes:
|
290
|
-
adds r3, r3, #4
|
291
|
-
beq KeccakP800_OverwriteBytes_Exit
|
292
|
-
subs r3, r3, #1
|
293
|
-
KeccakP800_OverwriteBytes_BytesLoop:
|
294
|
-
ldrb r2, [r1, r3]
|
295
|
-
strb r2, [r0, r3]
|
296
|
-
subs r3, r3, #1
|
297
|
-
bcs KeccakP800_OverwriteBytes_BytesLoop
|
298
|
-
KeccakP800_OverwriteBytes_Exit:
|
299
|
-
bx lr
|
300
|
-
|
301
|
-
|
302
|
-
@ ----------------------------------------------------------------------------
|
303
|
-
@
|
304
|
-
@ void KeccakP800_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
305
|
-
@
|
306
|
-
.align 8
|
307
|
-
.global KeccakP800_OverwriteWithZeroes
|
308
|
-
.type KeccakP800_OverwriteWithZeroes, %function;
|
309
|
-
KeccakP800_OverwriteWithZeroes:
|
310
|
-
movs r3, #0
|
311
|
-
lsrs r2, r1, #2
|
312
|
-
beq KeccakP800_OverwriteWithZeroes_Bytes
|
313
|
-
KeccakP800_OverwriteWithZeroes_LoopLanes:
|
314
|
-
stm r0!, { r3 }
|
315
|
-
subs r2, r2, #1
|
316
|
-
bne KeccakP800_OverwriteWithZeroes_LoopLanes
|
317
|
-
KeccakP800_OverwriteWithZeroes_Bytes:
|
318
|
-
lsls r1, r1, #32-2
|
319
|
-
beq KeccakP800_OverwriteWithZeroes_Exit
|
320
|
-
lsrs r1, r1, #32-2
|
321
|
-
KeccakP800_OverwriteWithZeroes_LoopBytes:
|
322
|
-
subs r1, r1, #1
|
323
|
-
strb r3, [r0, r1]
|
324
|
-
bne KeccakP800_OverwriteWithZeroes_LoopBytes
|
325
|
-
KeccakP800_OverwriteWithZeroes_Exit:
|
326
|
-
bx lr
|
327
|
-
|
328
|
-
|
329
|
-
@ ----------------------------------------------------------------------------
|
330
|
-
@
|
331
|
-
@ void KeccakP800_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
332
|
-
@
|
333
|
-
.align 8
|
334
|
-
.global KeccakP800_ExtractBytes
|
335
|
-
.type KeccakP800_ExtractBytes, %function;
|
336
|
-
KeccakP800_ExtractBytes:
|
337
|
-
adds r0, r0, r2 @ state += offset
|
338
|
-
subs r3, r3, #4 @ .if length >= 4
|
339
|
-
bcc KeccakP800_ExtractBytes_Bytes
|
340
|
-
movs r2, r0 @ and data pointer and offset both 32-bit aligned
|
341
|
-
orrs r2, r2, r1
|
342
|
-
lsls r2, #30
|
343
|
-
bne KeccakP800_ExtractBytes_Bytes
|
344
|
-
KeccakP800_ExtractBytes_LanesLoop: @ then, perform on words
|
345
|
-
ldmia r0!, {r2}
|
346
|
-
stmia r1!, {r2}
|
347
|
-
subs r3, r3, #4
|
348
|
-
bcs KeccakP800_ExtractBytes_LanesLoop
|
349
|
-
KeccakP800_ExtractBytes_Bytes:
|
350
|
-
adds r3, r3, #4
|
351
|
-
beq KeccakP800_ExtractBytes_Exit
|
352
|
-
subs r3, r3, #1
|
353
|
-
KeccakP800_ExtractBytes_BytesLoop:
|
354
|
-
ldrb r2, [r0, r3]
|
355
|
-
strb r2, [r1, r3]
|
356
|
-
subs r3, r3, #1
|
357
|
-
bcs KeccakP800_ExtractBytes_BytesLoop
|
358
|
-
KeccakP800_ExtractBytes_Exit:
|
359
|
-
bx lr
|
360
|
-
|
361
|
-
|
362
|
-
@ ----------------------------------------------------------------------------
|
363
|
-
@
|
364
|
-
@ void KeccakP800_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
365
|
-
@
|
366
|
-
.align 8
|
367
|
-
.global KeccakP800_ExtractAndAddBytes
|
368
|
-
.type KeccakP800_ExtractAndAddBytes, %function;
|
369
|
-
KeccakP800_ExtractAndAddBytes:
|
370
|
-
push {r4,r5}
|
371
|
-
adds r0, r0, r3 @ state += offset (offset register no longer needed, reuse for length)
|
372
|
-
ldr r3, [sp, #8] @ get length argument from stack
|
373
|
-
subs r3, r3, #4 @ .if length >= 4
|
374
|
-
bcc KeccakP800_ExtractAndAddBytes_Bytes
|
375
|
-
movs r5, r0 @ and input/output/state pointer all 32-bit aligned
|
376
|
-
orrs r5, r5, r1
|
377
|
-
orrs r5, r5, r2
|
378
|
-
lsls r5, #30
|
379
|
-
bne KeccakP800_ExtractAndAddBytes_Bytes
|
380
|
-
KeccakP800_ExtractAndAddBytes_LanesLoop: @ then, perform on words
|
381
|
-
ldmia r0!, {r5}
|
382
|
-
ldmia r1!, {r4}
|
383
|
-
eors r5, r5, r4
|
384
|
-
stmia r2!, {r5}
|
385
|
-
subs r3, r3, #4
|
386
|
-
bcs KeccakP800_ExtractAndAddBytes_LanesLoop
|
387
|
-
KeccakP800_ExtractAndAddBytes_Bytes:
|
388
|
-
adds r3, r3, #4
|
389
|
-
beq KeccakP800_ExtractAndAddBytes_Exit
|
390
|
-
subs r3, r3, #1
|
391
|
-
KeccakP800_ExtractAndAddBytes_BytesLoop:
|
392
|
-
ldrb r5, [r0, r3]
|
393
|
-
ldrb r4, [r1, r3]
|
394
|
-
eors r5, r5, r4
|
395
|
-
strb r5, [r2, r3]
|
396
|
-
subs r3, r3, #1
|
397
|
-
bcs KeccakP800_ExtractAndAddBytes_BytesLoop
|
398
|
-
KeccakP800_ExtractAndAddBytes_Exit:
|
399
|
-
pop {r4,r5}
|
400
|
-
bx lr
|
401
|
-
|
402
|
-
|
403
|
-
@ ----------------------------------------------------------------------------
|
404
|
-
@
|
405
|
-
@ void KeccakP800_Permute_Nrounds(void *state, unsigned int nrounds)
|
406
|
-
@
|
407
|
-
.align 8
|
408
|
-
.global KeccakP800_Permute_Nrounds
|
409
|
-
.type KeccakP800_Permute_Nrounds, %function;
|
410
|
-
KeccakP800_Permute_Nrounds:
|
411
|
-
lsls r2, r1, #2
|
412
|
-
lsls r1, r1, #31
|
413
|
-
bne KeccakP800_Permute_NroundsOdd
|
414
|
-
adr r1, KeccakP800_Permute_RoundConstants0
|
415
|
-
subs r1, r1, r2
|
416
|
-
b KeccakP800_Permute
|
417
|
-
KeccakP800_Permute_NroundsOdd:
|
418
|
-
adr r1, KeccakP800_Permute_RoundConstants0
|
419
|
-
subs r1, r1, r2
|
420
|
-
push { r4 - r6, lr }
|
421
|
-
mov r2, r8
|
422
|
-
mov r3, r9
|
423
|
-
mov r4, r10
|
424
|
-
mov r5, r11
|
425
|
-
mov r6, r12
|
426
|
-
push { r2 - r7 }
|
427
|
-
sub sp, sp, #25*4+4
|
428
|
-
mov r8, r1
|
429
|
-
mov r6, sp @ copy state to stack and use stack state as input
|
430
|
-
ldmia r0!, {r1-r4,r7}
|
431
|
-
stmia r6!, {r1-r4,r7}
|
432
|
-
ldmia r0!, {r1-r5}
|
433
|
-
stmia r6!, {r1-r5}
|
434
|
-
eors r7, r7, r5
|
435
|
-
ldmia r0!, {r1-r5}
|
436
|
-
stmia r6!, {r1-r5}
|
437
|
-
eors r7, r7, r5
|
438
|
-
ldmia r0!, {r1-r5}
|
439
|
-
stmia r6!, {r1-r5}
|
440
|
-
eors r7, r7, r5
|
441
|
-
ldmia r0!, {r1-r5}
|
442
|
-
stmia r6!, {r1-r5}
|
443
|
-
eors r7, r7, r5
|
444
|
-
subs r0, r0, #100
|
445
|
-
b KeccakP800_Permute_RoundOdd
|
446
|
-
|
447
|
-
|
448
|
-
@ ----------------------------------------------------------------------------
|
449
|
-
@
|
450
|
-
@ void KeccakP800_Permute_12rounds( void *state )
|
451
|
-
@
|
452
|
-
.align 8
|
453
|
-
.global KeccakP800_Permute_12rounds
|
454
|
-
.type KeccakP800_Permute_12rounds, %function;
|
455
|
-
KeccakP800_Permute_12rounds:
|
456
|
-
adr r1, KeccakP800_Permute_RoundConstants12
|
457
|
-
b KeccakP800_Permute
|
458
|
-
|
459
|
-
|
460
|
-
@ ----------------------------------------------------------------------------
|
461
|
-
@
|
462
|
-
@ void KeccakP800_Permute_22rounds( void *state )
|
463
|
-
@
|
464
|
-
.align 8
|
465
|
-
.global KeccakP800_Permute_22rounds
|
466
|
-
.type KeccakP800_Permute_22rounds, %function;
|
467
|
-
KeccakP800_Permute_22rounds:
|
468
|
-
adr r1, KeccakP800_Permute_RoundConstants22
|
469
|
-
b KeccakP800_Permute
|
470
|
-
|
471
|
-
|
472
|
-
.align 8
|
473
|
-
KeccakP800_Permute_RoundConstants22:
|
474
|
-
.long 0x00000001
|
475
|
-
.long 0x00008082
|
476
|
-
.long 0x0000808a
|
477
|
-
.long 0x80008000
|
478
|
-
.long 0x0000808b
|
479
|
-
.long 0x80000001
|
480
|
-
.long 0x80008081
|
481
|
-
.long 0x00008009
|
482
|
-
.long 0x0000008a
|
483
|
-
.long 0x00000088
|
484
|
-
KeccakP800_Permute_RoundConstants12:
|
485
|
-
.long 0x80008009
|
486
|
-
.long 0x8000000a
|
487
|
-
.long 0x8000808b
|
488
|
-
.long 0x0000008b
|
489
|
-
.long 0x00008089
|
490
|
-
.long 0x00008003
|
491
|
-
.long 0x00008002
|
492
|
-
.long 0x00000080
|
493
|
-
.long 0x0000800a
|
494
|
-
.long 0x8000000a
|
495
|
-
.long 0x80008081
|
496
|
-
.long 0x00008080
|
497
|
-
KeccakP800_Permute_RoundConstants0:
|
498
|
-
.long 0xFF @ terminator
|
499
|
-
|
500
|
-
@ ----------------------------------------------------------------------------
|
501
|
-
@
|
502
|
-
@ void KeccakP800_Permute( void *state, void *rc )
|
503
|
-
@
|
504
|
-
.align 8
|
505
|
-
KeccakP800_Permute:
|
506
|
-
push { r4 - r6, lr }
|
507
|
-
mov r2, r8
|
508
|
-
mov r3, r9
|
509
|
-
mov r4, r10
|
510
|
-
mov r5, r11
|
511
|
-
mov r6, r12
|
512
|
-
push { r2 - r7 }
|
513
|
-
sub sp, sp, #25*4+4
|
514
|
-
mov r8, r1
|
515
|
-
xor5 r7, r0, _bu, _gu, _ku, _mu, _su
|
516
|
-
KeccakP800_Permute_RoundLoop:
|
517
|
-
KeccakRound sp, r0
|
518
|
-
KeccakP800_Permute_RoundOdd:
|
519
|
-
KeccakRound r0, sp
|
520
|
-
ldr r6, [r6]
|
521
|
-
cmp r6, #0xFF
|
522
|
-
beq KeccakP800_Permute_Done
|
523
|
-
b KeccakP800_Permute_RoundLoop
|
524
|
-
KeccakP800_Permute_Done:
|
525
|
-
add sp,sp,#25*4+4
|
526
|
-
pop { r2 - r7 }
|
527
|
-
mov r8, r2
|
528
|
-
mov r9, r3
|
529
|
-
mov r10, r4
|
530
|
-
mov r11, r5
|
531
|
-
mov r12, r6
|
532
|
-
pop { r4 - r6, pc }
|
533
|
-
|
534
|
-
|