digest-kangarootwelve 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.XKCP +0 -20
- data/README.md +2 -2
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +20 -20
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +4 -4
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +27 -31
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.h +1 -1
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +19 -11
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +10 -10
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +3 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +24 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +23 -22
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +18 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +12 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +18 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +19 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +36 -36
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +19 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +31 -31
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +21 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +64 -64
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +16 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +37 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +25 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +32 -34
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +39 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +26 -20
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +38 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +25 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +33 -35
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +26 -21
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +25 -21
- data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx512/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/config.h +0 -6
- data/ext/digest/kangarootwelve/targets/list +0 -2
- data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
- data/lib/digest/kangarootwelve/version.rb +1 -1
- metadata +2 -423
- data/ext/digest/kangarootwelve/.sitearchdir.-.digest.time +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +0 -625
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +0 -444
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +0 -446
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +0 -427
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +0 -647
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +0 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +0 -190
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +0 -416
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +0 -728
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +0 -418
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +0 -534
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +0 -527
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +0 -523
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +0 -929
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +0 -40
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +0 -244
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +0 -46
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +0 -184
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +0 -454
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +0 -459
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +0 -83
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +0 -88
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +0 -441
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +0 -291
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +0 -177
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +0 -30
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/defs +0 -2
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +0 -1
@@ -1,527 +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 ARMv7A architecture and the GCC compiler.
|
26
|
-
|
27
|
-
|
28
|
-
.text
|
29
|
-
|
30
|
-
.equ _ba, 0*4
|
31
|
-
.equ _be, 1*4
|
32
|
-
.equ _bi, 2*4
|
33
|
-
.equ _bo, 3*4
|
34
|
-
.equ _bu, 4*4
|
35
|
-
.equ _ga, 5*4
|
36
|
-
.equ _ge, 6*4
|
37
|
-
.equ _gi, 7*4
|
38
|
-
.equ _go, 8*4
|
39
|
-
.equ _gu, 9*4
|
40
|
-
.equ _ka, 10*4
|
41
|
-
.equ _ke, 11*4
|
42
|
-
.equ _ki, 12*4
|
43
|
-
.equ _ko, 13*4
|
44
|
-
.equ _ku, 14*4
|
45
|
-
.equ _ma, 15*4
|
46
|
-
.equ _me, 16*4
|
47
|
-
.equ _mi, 17*4
|
48
|
-
.equ _mo, 18*4
|
49
|
-
.equ _mu, 19*4
|
50
|
-
.equ _sa, 20*4
|
51
|
-
.equ _se, 21*4
|
52
|
-
.equ _si, 22*4
|
53
|
-
.equ _so, 23*4
|
54
|
-
.equ _su, 24*4
|
55
|
-
.equ _SAS, 4*25+4 @ keep stack aligned on 8 bytes
|
56
|
-
|
57
|
-
|
58
|
-
.macro ThetaRhoPiChiIota stateOut, stateIn, ofsOut, ofs1, ofs2, ofs3, ofs4, dd1, dd2, dd3, dd4, dd5, rr2, rr3, rr4, rr5
|
59
|
-
ldr r2, [\stateIn, #\ofs1]
|
60
|
-
ldr r3, [\stateIn, #\ofs2]
|
61
|
-
ldr r4, [\stateIn, #\ofs3]
|
62
|
-
eor r2, r2, \dd1
|
63
|
-
ldr r5, [\stateIn, #\ofs4]
|
64
|
-
eor r3, r3, \dd2
|
65
|
-
eor r4, r4, \dd3
|
66
|
-
eor r5, r5, \dd4
|
67
|
-
eor r6, r6, \dd5
|
68
|
-
ror r3, r3, #32-\rr2
|
69
|
-
ror r4, r4, #32-\rr3
|
70
|
-
ror r5, r5, #32-\rr4
|
71
|
-
ror r6, r6, #32-\rr5
|
72
|
-
|
73
|
-
bic r1, r5, r4
|
74
|
-
eor r1, r1, r3
|
75
|
-
str r1, [\stateOut, #\ofsOut+4]
|
76
|
-
bic r1, r6, r5
|
77
|
-
eor r1, r1, r4
|
78
|
-
str r1, [\stateOut, #\ofsOut+8]
|
79
|
-
bic r1, r2, r6
|
80
|
-
eor r1, r1, r5
|
81
|
-
str r1, [\stateOut, #\ofsOut+12]
|
82
|
-
bic r7, r3, r2
|
83
|
-
eor r7, r7, r6
|
84
|
-
str r7, [\stateOut, #\ofsOut+16]
|
85
|
-
ldr r1, [lr], #4
|
86
|
-
bic r4, r4, r3
|
87
|
-
eor r4, r4, r1
|
88
|
-
eor r4, r4, r2
|
89
|
-
str r4, [\stateOut, #\ofsOut+0]
|
90
|
-
.endm
|
91
|
-
|
92
|
-
.macro ThetaRhoPiChi stateOut, stateIn, ofsOut, ofs1, ofs2, ofs3, ofs4, ofs5, dd1, dd2, dd3, dd4, dd5, rr1, rr2, rr3, rr4, rr5
|
93
|
-
ldr r2, [\stateIn, #\ofs1]
|
94
|
-
ldr r3, [\stateIn, #\ofs2]
|
95
|
-
ldr r4, [\stateIn, #\ofs3]
|
96
|
-
eor r2, r2, \dd1
|
97
|
-
ldr r5, [\stateIn, #\ofs4]
|
98
|
-
eor r3, r3, \dd2
|
99
|
-
ldr r6, [\stateIn, #\ofs5]
|
100
|
-
eor r4, r4, \dd3
|
101
|
-
eor r5, r5, \dd4
|
102
|
-
ror r2, r2, #32-\rr1
|
103
|
-
eor r6, r6, \dd5
|
104
|
-
ror r3, r3, #32-\rr2
|
105
|
-
ror r4, r4, #32-\rr3
|
106
|
-
ror r5, r5, #32-\rr4
|
107
|
-
ror r6, r6, #32-\rr5
|
108
|
-
|
109
|
-
bic r1, r4, r3
|
110
|
-
eor r1, r1, r2
|
111
|
-
str r1, [\stateOut, #\ofsOut+0]
|
112
|
-
bic r1, r5, r4
|
113
|
-
eor r1, r1, r3
|
114
|
-
str r1, [\stateOut, #\ofsOut+4]
|
115
|
-
bic r1, r6, r5
|
116
|
-
eor r1, r1, r4
|
117
|
-
str r1, [\stateOut, #\ofsOut+8]
|
118
|
-
bic r1, r2, r6
|
119
|
-
bic r2, r3, r2
|
120
|
-
eor r1, r1, r5
|
121
|
-
eor r2, r2, r6
|
122
|
-
str r1, [\stateOut, #\ofsOut+12]
|
123
|
-
eor r7, r7, r2
|
124
|
-
str r2, [\stateOut, #\ofsOut+16]
|
125
|
-
.endm
|
126
|
-
|
127
|
-
.macro ThetaRhoPiChiLast stateOut, stateIn, ofsOut, ofs1, ofs2, ofs3, ofs4, ofs5, dd1, dd2, dd3, dd4, dd5, rr1, rr2, rr3, rr4, rr5
|
128
|
-
ldr r2, [\stateIn, #\ofs1]
|
129
|
-
ldr r3, [\stateIn, #\ofs2]
|
130
|
-
ldr r4, [\stateIn, #\ofs3]
|
131
|
-
eor r2, r2, \dd1
|
132
|
-
ldr r5, [\stateIn, #\ofs4]
|
133
|
-
eor r3, r3, \dd2
|
134
|
-
ldr r6, [\stateIn, #\ofs5]
|
135
|
-
eor r4, r4, \dd3
|
136
|
-
eor r5, r5, \dd4
|
137
|
-
ror r2, r2, #32-\rr1
|
138
|
-
eor r6, r6, \dd5
|
139
|
-
ror r3, r3, #32-\rr2
|
140
|
-
ror r4, r4, #32-\rr3
|
141
|
-
ror r5, r5, #32-\rr4
|
142
|
-
ror r6, r6, #32-\rr5
|
143
|
-
|
144
|
-
bic r8, r4, r3
|
145
|
-
bic r9, r5, r4
|
146
|
-
bic r10, r6, r5
|
147
|
-
bic r11, r2, r6
|
148
|
-
bic r1, r3, r2
|
149
|
-
eor r8, r8, r2
|
150
|
-
eor r9, r9, r3
|
151
|
-
eor r10, r10, r4
|
152
|
-
str r8, [\stateOut, #\ofsOut+0]
|
153
|
-
eor r11, r11, r5
|
154
|
-
str r9, [\stateOut, #\ofsOut+4]
|
155
|
-
eor r6, r6, r1
|
156
|
-
str r10, [\stateOut, #\ofsOut+8]
|
157
|
-
str r11, [\stateOut, #\ofsOut+12]
|
158
|
-
eor r7, r7, r6
|
159
|
-
str r6, [\stateOut, #\ofsOut+16]
|
160
|
-
.endm
|
161
|
-
|
162
|
-
.macro KeccakRound stateOut, stateIn
|
163
|
-
@ prepare Theta
|
164
|
-
ldr r2, [\stateIn, #_ba]
|
165
|
-
ldr r3, [\stateIn, #_be]
|
166
|
-
ldr r4, [\stateIn, #_bi]
|
167
|
-
ldr r5, [\stateIn, #_bo]
|
168
|
-
eor r2, r2, r8
|
169
|
-
eor r3, r3, r9
|
170
|
-
eor r4, r4, r10
|
171
|
-
eor r5, r5, r11
|
172
|
-
ldr r8, [\stateIn, #_ga]
|
173
|
-
ldr r9, [\stateIn, #_ge]
|
174
|
-
ldr r10, [\stateIn, #_gi]
|
175
|
-
ldr r11, [\stateIn, #_go]
|
176
|
-
eor r2, r2, r8
|
177
|
-
eor r3, r3, r9
|
178
|
-
eor r4, r4, r10
|
179
|
-
eor r5, r5, r11
|
180
|
-
ldr r8, [\stateIn, #_ka]
|
181
|
-
ldr r9, [\stateIn, #_ke]
|
182
|
-
ldr r10, [\stateIn, #_ki]
|
183
|
-
ldr r11, [\stateIn, #_ko]
|
184
|
-
eor r2, r2, r8
|
185
|
-
eor r3, r3, r9
|
186
|
-
eor r4, r4, r10
|
187
|
-
eor r5, r5, r11
|
188
|
-
ldr r8, [\stateIn, #_ma]
|
189
|
-
ldr r9, [\stateIn, #_me]
|
190
|
-
ldr r10, [\stateIn, #_mi]
|
191
|
-
ldr r11, [\stateIn, #_mo]
|
192
|
-
eor r2, r2, r8
|
193
|
-
eor r3, r3, r9
|
194
|
-
eor r4, r4, r10
|
195
|
-
eor r5, r5, r11
|
196
|
-
eor r8, r7, r3, ROR #31
|
197
|
-
eor r9, r2, r4, ROR #31
|
198
|
-
eor r10, r3, r5, ROR #31
|
199
|
-
eor r11, r4, r7, ROR #31
|
200
|
-
eor r12, r5, r2, ROR #31
|
201
|
-
|
202
|
-
ThetaRhoPiChiIota \stateOut, \stateIn, _ba, _ba, _ge, _ki, _mo, r8, r9, r10, r11, r12, 12, 11, 21, 14
|
203
|
-
ThetaRhoPiChi \stateOut, \stateIn, _ga, _bo, _gu, _ka, _me, _si, r11, r12, r8, r9, r10, 28, 20, 3, 13, 29
|
204
|
-
ThetaRhoPiChi \stateOut, \stateIn, _ka, _be, _gi, _ko, _mu, _sa, r9, r10, r11, r12, r8, 1, 6, 25, 8, 18
|
205
|
-
ThetaRhoPiChi \stateOut, \stateIn, _ma, _bu, _ga, _ke, _mi, _so, r12, r8, r9, r10, r11, 27, 4, 10, 15, 24
|
206
|
-
ThetaRhoPiChiLast \stateOut, \stateIn, _sa, _bi, _go, _ku, _ma, _se, r10, r11, r12, r8, r9, 30, 23, 7, 9, 2
|
207
|
-
.endm
|
208
|
-
|
209
|
-
|
210
|
-
@ ----------------------------------------------------------------------------
|
211
|
-
@
|
212
|
-
@ void KeccakP800_StaticInitialize( void )
|
213
|
-
@
|
214
|
-
.align 8
|
215
|
-
.global KeccakP800_StaticInitialize
|
216
|
-
.type KeccakP800_StaticInitialize, %function;
|
217
|
-
KeccakP800_StaticInitialize:
|
218
|
-
bx lr
|
219
|
-
|
220
|
-
|
221
|
-
@ ----------------------------------------------------------------------------
|
222
|
-
@
|
223
|
-
@ void KeccakP800_Initialize(void *state)
|
224
|
-
@
|
225
|
-
.align 8
|
226
|
-
.global KeccakP800_Initialize
|
227
|
-
.type KeccakP800_Initialize, %function;
|
228
|
-
KeccakP800_Initialize:
|
229
|
-
push {r4 - r5}
|
230
|
-
movs r1, #0
|
231
|
-
movs r2, #0
|
232
|
-
movs r3, #0
|
233
|
-
movs r4, #0
|
234
|
-
movs r5, #0
|
235
|
-
stmia r0!, { r1 - r5 }
|
236
|
-
stmia r0!, { r1 - r5 }
|
237
|
-
stmia r0!, { r1 - r5 }
|
238
|
-
stmia r0!, { r1 - r5 }
|
239
|
-
stmia r0!, { r1 - r5 }
|
240
|
-
pop {r4 - r5}
|
241
|
-
bx lr
|
242
|
-
|
243
|
-
|
244
|
-
@ ----------------------------------------------------------------------------
|
245
|
-
@
|
246
|
-
@ void KeccakP800_AddByte(void *state, unsigned char byte, unsigned int offset)
|
247
|
-
@
|
248
|
-
.align 8
|
249
|
-
.global KeccakP800_AddByte
|
250
|
-
.type KeccakP800_AddByte, %function;
|
251
|
-
KeccakP800_AddByte:
|
252
|
-
ldrb r3, [r0, r2]
|
253
|
-
eors r3, r3, r1
|
254
|
-
strb r3, [r0, r2]
|
255
|
-
bx lr
|
256
|
-
|
257
|
-
|
258
|
-
@ ----------------------------------------------------------------------------
|
259
|
-
@
|
260
|
-
@ void KeccakP800_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
261
|
-
@
|
262
|
-
.align 8
|
263
|
-
.global KeccakP800_AddBytes
|
264
|
-
.type KeccakP800_AddBytes, %function;
|
265
|
-
KeccakP800_AddBytes:
|
266
|
-
push {r4,lr}
|
267
|
-
adds r0, r0, r2 @ state += offset
|
268
|
-
subs r3, r3, #4 @ .if length >= 4
|
269
|
-
bcc KeccakP800_AddBytes_Bytes
|
270
|
-
KeccakP800_AddBytes_LanesLoop: @ then, perform on words
|
271
|
-
ldr r2, [r0]
|
272
|
-
ldr r4, [r1], #4
|
273
|
-
eors r2, r2, r4
|
274
|
-
str r2, [r0], #4
|
275
|
-
subs r3, r3, #4
|
276
|
-
bcs KeccakP800_AddBytes_LanesLoop
|
277
|
-
KeccakP800_AddBytes_Bytes:
|
278
|
-
adds r3, r3, #3
|
279
|
-
bcc KeccakP800_AddBytes_Exit
|
280
|
-
KeccakP800_AddBytes_BytesLoop:
|
281
|
-
ldrb r2, [r0]
|
282
|
-
ldrb r4, [r1], #1
|
283
|
-
eors r2, r2, r4
|
284
|
-
strb r2, [r0], #1
|
285
|
-
subs r3, r3, #1
|
286
|
-
bcs KeccakP800_AddBytes_BytesLoop
|
287
|
-
KeccakP800_AddBytes_Exit:
|
288
|
-
pop {r4,pc}
|
289
|
-
|
290
|
-
|
291
|
-
@ ----------------------------------------------------------------------------
|
292
|
-
@
|
293
|
-
@ void KeccakP800_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
294
|
-
@
|
295
|
-
.align 8
|
296
|
-
.global KeccakP800_OverwriteBytes
|
297
|
-
.type KeccakP800_OverwriteBytes, %function;
|
298
|
-
KeccakP800_OverwriteBytes:
|
299
|
-
adds r0, r0, r2 @ state += offset
|
300
|
-
subs r3, r3, #4 @ .if length >= 4
|
301
|
-
bcc KeccakP800_OverwriteBytes_Bytes
|
302
|
-
KeccakP800_OverwriteBytes_LanesLoop: @ then, perform on words
|
303
|
-
ldr r2, [r1], #4
|
304
|
-
str r2, [r0], #4
|
305
|
-
subs r3, r3, #4
|
306
|
-
bcs KeccakP800_OverwriteBytes_LanesLoop
|
307
|
-
KeccakP800_OverwriteBytes_Bytes:
|
308
|
-
adds r3, r3, #3
|
309
|
-
bcc KeccakP800_OverwriteBytes_Exit
|
310
|
-
KeccakP800_OverwriteBytes_BytesLoop:
|
311
|
-
ldrb r2, [r1], #1
|
312
|
-
strb r2, [r0], #1
|
313
|
-
subs r3, r3, #1
|
314
|
-
bcs KeccakP800_OverwriteBytes_BytesLoop
|
315
|
-
KeccakP800_OverwriteBytes_Exit:
|
316
|
-
bx lr
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
@ ----------------------------------------------------------------------------
|
321
|
-
@
|
322
|
-
@ void KeccakP800_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
323
|
-
@
|
324
|
-
.align 8
|
325
|
-
.global KeccakP800_OverwriteWithZeroes
|
326
|
-
.type KeccakP800_OverwriteWithZeroes, %function;
|
327
|
-
KeccakP800_OverwriteWithZeroes:
|
328
|
-
movs r3, #0
|
329
|
-
lsrs r2, r1, #2
|
330
|
-
beq KeccakP800_OverwriteWithZeroes_Bytes
|
331
|
-
KeccakP800_OverwriteWithZeroes_LoopLanes:
|
332
|
-
str r3, [r0], #4
|
333
|
-
subs r2, r2, #1
|
334
|
-
bne KeccakP800_OverwriteWithZeroes_LoopLanes
|
335
|
-
KeccakP800_OverwriteWithZeroes_Bytes:
|
336
|
-
ands r1, #3
|
337
|
-
beq KeccakP800_OverwriteWithZeroes_Exit
|
338
|
-
KeccakP800_OverwriteWithZeroes_LoopBytes:
|
339
|
-
strb r3, [r0], #1
|
340
|
-
subs r1, r1, #1
|
341
|
-
bne KeccakP800_OverwriteWithZeroes_LoopBytes
|
342
|
-
KeccakP800_OverwriteWithZeroes_Exit:
|
343
|
-
bx lr
|
344
|
-
|
345
|
-
|
346
|
-
@ ----------------------------------------------------------------------------
|
347
|
-
@
|
348
|
-
@ void KeccakP800_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
349
|
-
@
|
350
|
-
.align 8
|
351
|
-
.global KeccakP800_ExtractBytes
|
352
|
-
.type KeccakP800_ExtractBytes, %function;
|
353
|
-
KeccakP800_ExtractBytes:
|
354
|
-
adds r0, r0, r2 @ state += offset
|
355
|
-
subs r3, r3, #4 @ .if length >= 4
|
356
|
-
bcc KeccakP800_ExtractBytes_Bytes
|
357
|
-
KeccakP800_ExtractBytes_LanesLoop: @ then, handle words
|
358
|
-
ldr r2, [r0], #4
|
359
|
-
str r2, [r1], #4
|
360
|
-
subs r3, r3, #4
|
361
|
-
bcs KeccakP800_ExtractBytes_LanesLoop
|
362
|
-
KeccakP800_ExtractBytes_Bytes:
|
363
|
-
adds r3, r3, #3
|
364
|
-
bcc KeccakP800_ExtractBytes_Exit
|
365
|
-
KeccakP800_ExtractBytes_BytesLoop:
|
366
|
-
ldrb r2, [r0], #1
|
367
|
-
strb r2, [r1], #1
|
368
|
-
subs r3, r3, #1
|
369
|
-
bcs KeccakP800_ExtractBytes_BytesLoop
|
370
|
-
KeccakP800_ExtractBytes_Exit:
|
371
|
-
bx lr
|
372
|
-
|
373
|
-
|
374
|
-
@ ----------------------------------------------------------------------------
|
375
|
-
@
|
376
|
-
@ void KeccakP800_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
377
|
-
@
|
378
|
-
.align 8
|
379
|
-
.global KeccakP800_ExtractAndAddBytes
|
380
|
-
.type KeccakP800_ExtractAndAddBytes, %function;
|
381
|
-
KeccakP800_ExtractAndAddBytes:
|
382
|
-
push {r4,r5}
|
383
|
-
adds r0, r0, r3 @ state += offset (offset register no longer needed, reuse for length)
|
384
|
-
ldr r3, [sp, #8] @ get length argument from stack
|
385
|
-
subs r3, r3, #4 @ .if length >= 4
|
386
|
-
bcc KeccakP800_ExtractAndAddBytes_Bytes
|
387
|
-
KeccakP800_ExtractAndAddBytes_LanesLoop: @ then, handle words
|
388
|
-
ldr r5, [r0], #4
|
389
|
-
ldr r4, [r1], #4
|
390
|
-
eors r5, r5, r4
|
391
|
-
str r5, [r2], #4
|
392
|
-
subs r3, r3, #4
|
393
|
-
bcs KeccakP800_ExtractAndAddBytes_LanesLoop
|
394
|
-
KeccakP800_ExtractAndAddBytes_Bytes:
|
395
|
-
adds r3, r3, #3
|
396
|
-
bcc KeccakP800_ExtractAndAddBytes_Exit
|
397
|
-
KeccakP800_ExtractAndAddBytes_BytesLoop:
|
398
|
-
ldrb r5, [r0], #1
|
399
|
-
ldrb r4, [r1], #1
|
400
|
-
eors r5, r5, r4
|
401
|
-
strb r5, [r2], #1
|
402
|
-
subs r3, r3, #1
|
403
|
-
bcs KeccakP800_ExtractAndAddBytes_BytesLoop
|
404
|
-
KeccakP800_ExtractAndAddBytes_Exit:
|
405
|
-
pop {r4,r5}
|
406
|
-
bx lr
|
407
|
-
|
408
|
-
|
409
|
-
@ ----------------------------------------------------------------------------
|
410
|
-
@
|
411
|
-
@ void KeccakP800_Permute_Nrounds(void *state, unsigned int nrounds)
|
412
|
-
@
|
413
|
-
.align 8
|
414
|
-
.global KeccakP800_Permute_Nrounds
|
415
|
-
.type KeccakP800_Permute_Nrounds, %function;
|
416
|
-
KeccakP800_Permute_Nrounds:
|
417
|
-
mov r2, r1
|
418
|
-
adr r1, KeccakP800_Permute_RoundConstants0
|
419
|
-
sub r1, r1, r2, LSL #2
|
420
|
-
tst r2, #1
|
421
|
-
beq KeccakP800_Permute
|
422
|
-
push {r4-r12,lr} @ odd number of rounds
|
423
|
-
sub sp, sp, #_SAS
|
424
|
-
mov lr, r1
|
425
|
-
mov r1, sp
|
426
|
-
ldm r0!, {r2,r3,r4,r5,r7} @ copy state to stack and prepare theta
|
427
|
-
stm r1!, {r2,r3,r4,r5,r7}
|
428
|
-
ldm r0!, {r2,r3,r4,r5,r6}
|
429
|
-
stm r1!, {r2,r3,r4,r5,r6}
|
430
|
-
eor r7, r7, r6
|
431
|
-
ldm r0!, {r2,r3,r4,r5,r6}
|
432
|
-
stm r1!, {r2,r3,r4,r5,r6}
|
433
|
-
eor r7, r7, r6
|
434
|
-
ldm r0!, {r2,r3,r4,r5,r6}
|
435
|
-
stm r1!, {r2,r3,r4,r5,r6}
|
436
|
-
eor r7, r7, r6
|
437
|
-
ldm r0!, {r8,r9,r10,r11,r12}
|
438
|
-
stm r1!, {r8,r9,r10,r11,r12}
|
439
|
-
eor r7, r7, r12
|
440
|
-
mov r6, r12
|
441
|
-
sub r0, r0, #100
|
442
|
-
b KeccakP800_Permute_OddRoundEntry
|
443
|
-
|
444
|
-
|
445
|
-
@ ----------------------------------------------------------------------------
|
446
|
-
@
|
447
|
-
@ void KeccakP800_Permute_12rounds( void *state )
|
448
|
-
@
|
449
|
-
.align 8
|
450
|
-
.global KeccakP800_Permute_12rounds
|
451
|
-
.type KeccakP800_Permute_12rounds, %function;
|
452
|
-
KeccakP800_Permute_12rounds:
|
453
|
-
adr r1, KeccakP800_Permute_RoundConstants12
|
454
|
-
b KeccakP800_Permute
|
455
|
-
|
456
|
-
|
457
|
-
@ ----------------------------------------------------------------------------
|
458
|
-
@
|
459
|
-
@ void KeccakP800_Permute_22rounds( void *state )
|
460
|
-
@
|
461
|
-
.align 8
|
462
|
-
.global KeccakP800_Permute_22rounds
|
463
|
-
.type KeccakP800_Permute_22rounds, %function;
|
464
|
-
KeccakP800_Permute_22rounds:
|
465
|
-
adr r1, KeccakP800_Permute_RoundConstants22
|
466
|
-
b KeccakP800_Permute
|
467
|
-
|
468
|
-
|
469
|
-
.align 8
|
470
|
-
KeccakP800_Permute_RoundConstants22:
|
471
|
-
.long 0x00000001
|
472
|
-
.long 0x00008082
|
473
|
-
.long 0x0000808a
|
474
|
-
.long 0x80008000
|
475
|
-
.long 0x0000808b
|
476
|
-
.long 0x80000001
|
477
|
-
.long 0x80008081
|
478
|
-
.long 0x00008009
|
479
|
-
.long 0x0000008a
|
480
|
-
.long 0x00000088
|
481
|
-
KeccakP800_Permute_RoundConstants12:
|
482
|
-
.long 0x80008009
|
483
|
-
.long 0x8000000a
|
484
|
-
.long 0x8000808b
|
485
|
-
.long 0x0000008b
|
486
|
-
.long 0x00008089
|
487
|
-
.long 0x00008003
|
488
|
-
.long 0x00008002
|
489
|
-
.long 0x00000080
|
490
|
-
.long 0x0000800a
|
491
|
-
.long 0x8000000a
|
492
|
-
.long 0x80008081
|
493
|
-
.long 0x00008080
|
494
|
-
KeccakP800_Permute_RoundConstants0:
|
495
|
-
.long 0 @ terminator
|
496
|
-
|
497
|
-
@ ----------------------------------------------------------------------------
|
498
|
-
@
|
499
|
-
@ void KeccakP800_Permute( void *state, void *rc )
|
500
|
-
@
|
501
|
-
.align 8
|
502
|
-
KeccakP800_Permute:
|
503
|
-
push {r4-r12,lr}
|
504
|
-
mov lr, r1
|
505
|
-
add r2, r0, #_sa
|
506
|
-
sub sp, sp, #_SAS
|
507
|
-
ldmia r2, { r8 - r12 }
|
508
|
-
ldr r7, [r0, #_bu]
|
509
|
-
ldr r1, [r0, #_gu]
|
510
|
-
mov r6, r12
|
511
|
-
eor r7, r7, r12
|
512
|
-
ldr r12, [r0, #_ku]
|
513
|
-
eor r7, r7, r1
|
514
|
-
ldr r1, [r0, #_mu]
|
515
|
-
eor r7, r7, r12
|
516
|
-
eor r7, r7, r1
|
517
|
-
KeccakP800_Permute_RoundLoop:
|
518
|
-
KeccakRound sp, r0
|
519
|
-
KeccakP800_Permute_OddRoundEntry:
|
520
|
-
KeccakRound r0, sp
|
521
|
-
ldr r4, [lr]
|
522
|
-
cmp r4, #0
|
523
|
-
bne KeccakP800_Permute_RoundLoop
|
524
|
-
add sp,sp,#_SAS
|
525
|
-
pop {r4-r12,pc}
|
526
|
-
|
527
|
-
|