digest-kangarootwelve 0.4.7 → 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 +3 -3
- 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/ext.c +2 -0
- 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 -422
- 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,458 +0,0 @@
|
|
1
|
-
@
|
2
|
-
@ The eXtended Keccak Code Package (XKCP)
|
3
|
-
@ https://github.com/XKCP/XKCP
|
4
|
-
@
|
5
|
-
@ The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
|
6
|
-
@
|
7
|
-
@ Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
8
|
-
@
|
9
|
-
@ For more information, feedback or questions, please refer to the Keccak Team website:
|
10
|
-
@ https://keccak.team/
|
11
|
-
@
|
12
|
-
@ To the extent possible under law, the implementer has waived all copyright
|
13
|
-
@ and related or neighboring rights to the source code in this file.
|
14
|
-
@ http://creativecommons.org/publicdomain/zero/1.0/
|
15
|
-
@
|
16
|
-
@ ---
|
17
|
-
@
|
18
|
-
@ This file implements Keccak-p[400] in a SnP-compatible way.
|
19
|
-
@ Please refer to SnP-documentation.h for more details.
|
20
|
-
@
|
21
|
-
@ This implementation comes with KeccakP-400-SnP.h in the same folder.
|
22
|
-
@ Please refer to LowLevel.build for the exact list of other files it must be combined with.
|
23
|
-
@
|
24
|
-
|
25
|
-
@ WARNING: This implementation assumes a little endian CPU with ARMv7M architecture (e.g., Cortex-M3) and the GCC compiler.
|
26
|
-
|
27
|
-
|
28
|
-
.thumb
|
29
|
-
.syntax unified
|
30
|
-
.text
|
31
|
-
|
32
|
-
@----------------------------------------------------------------------------
|
33
|
-
|
34
|
-
.equ _ba , 0*2
|
35
|
-
.equ _be , 1*2
|
36
|
-
.equ _bi , 2*2
|
37
|
-
.equ _bo , 3*2
|
38
|
-
.equ _bu , 4*2
|
39
|
-
.equ _ga , 5*2
|
40
|
-
.equ _ge , 6*2
|
41
|
-
.equ _gi , 7*2
|
42
|
-
.equ _go , 8*2
|
43
|
-
.equ _gu , 9*2
|
44
|
-
.equ _ka , 10*2
|
45
|
-
.equ _ke , 11*2
|
46
|
-
.equ _ki , 12*2
|
47
|
-
.equ _ko , 13*2
|
48
|
-
.equ _ku , 14*2
|
49
|
-
.equ _ma , 15*2
|
50
|
-
.equ _me , 16*2
|
51
|
-
.equ _mi , 17*2
|
52
|
-
.equ _mo , 18*2
|
53
|
-
.equ _mu , 19*2
|
54
|
-
.equ _sa , 20*2
|
55
|
-
.equ _se , 21*2
|
56
|
-
.equ _si , 22*2
|
57
|
-
.equ _so , 23*2
|
58
|
-
.equ _su , 24*2
|
59
|
-
|
60
|
-
.macro xor5 result,ptr,b,g,k,m,rs
|
61
|
-
ldrh \result, [\ptr, #\b]
|
62
|
-
ldrh r6, [\ptr, #\g]
|
63
|
-
eor \result, \result, \rs
|
64
|
-
ldrh \rs, [\ptr, #\k]
|
65
|
-
eor \result, \result, r6
|
66
|
-
ldrh r6, [\ptr, #\m]
|
67
|
-
eor \result, \result, \rs
|
68
|
-
eor \result, \result, r6
|
69
|
-
.endm
|
70
|
-
|
71
|
-
.macro xor5D resultL,resultH,ptr,b,g,k,m,rsL,rsH
|
72
|
-
bfi \rsL, \rsH, #16, #16
|
73
|
-
ldr \resultL, [\ptr, #\b]
|
74
|
-
ldr r6, [\ptr, #\g]
|
75
|
-
eor \resultL, \resultL, \rsL
|
76
|
-
ldr \rsL, [\ptr, #\k]
|
77
|
-
eor \resultL, \resultL, r6
|
78
|
-
ldr r6, [\ptr, #\m]
|
79
|
-
eor \resultL, \resultL, \rsL
|
80
|
-
eor \resultL, \resultL, r6
|
81
|
-
lsr \resultH, \resultL, #16
|
82
|
-
uxth \resultL, \resultL
|
83
|
-
.endm
|
84
|
-
|
85
|
-
.macro xorrol b, yy, rr
|
86
|
-
eor \b, \b, \yy
|
87
|
-
.if \rr != 8
|
88
|
-
lsl \b, \b, #\rr
|
89
|
-
orr \b, \b, \b, LSR #16
|
90
|
-
.else
|
91
|
-
rev16 \b, \b
|
92
|
-
.endif
|
93
|
-
.endm
|
94
|
-
|
95
|
-
.macro rolxor d, a, b
|
96
|
-
eor \d, \a, \b, LSL #1
|
97
|
-
eor \d, \d, \b, LSR #15
|
98
|
-
uxth \d, \d
|
99
|
-
.endm
|
100
|
-
|
101
|
-
.macro xandnot resptr, resofs, aa, bb, cc, temp
|
102
|
-
bic \temp, \cc, \bb
|
103
|
-
eor \temp, \temp, \aa
|
104
|
-
strh \temp, [\resptr, #\resofs]
|
105
|
-
.endm
|
106
|
-
|
107
|
-
.macro xandnotRC resptr, resofs, aa, bb, cc
|
108
|
-
ldrh r6, [r8], #2
|
109
|
-
bic \cc, \cc, \bb
|
110
|
-
eor \cc, \cc, r6
|
111
|
-
eor \cc, \cc, \aa
|
112
|
-
strh \cc, [\resptr, #\resofs]
|
113
|
-
.endm
|
114
|
-
|
115
|
-
.macro KeccakRound sOut, sIn
|
116
|
-
@prepTheta
|
117
|
-
xor5D r1, r2, \sIn, _ba, _ga, _ka, _ma, r9, r10
|
118
|
-
xor5D r3, r4, \sIn, _bi, _gi, _ki, _mi, r11, r12
|
119
|
-
rolxor r9, r7, r2
|
120
|
-
rolxor r10, r1, r3
|
121
|
-
rolxor r11, r2, r4
|
122
|
-
rolxor r12, r3, r7
|
123
|
-
rolxor lr, r4, r1
|
124
|
-
|
125
|
-
@thetaRhoPiChiIota
|
126
|
-
ldrh r1, [\sIn, #_ba]
|
127
|
-
ldrh r2, [\sIn, #_ge]
|
128
|
-
ldrh r3, [\sIn, #_ki]
|
129
|
-
ldrh r4, [\sIn, #_mo]
|
130
|
-
eor r1, r1, r9
|
131
|
-
xorrol r2, r10, 12
|
132
|
-
xorrol r3, r11, 11
|
133
|
-
xorrol r4, r12, 5
|
134
|
-
xorrol r5, lr, 14
|
135
|
-
xandnot \sOut, _be, r2, r3, r4, r6
|
136
|
-
xandnot \sOut, _bi, r3, r4, r5, r6
|
137
|
-
xandnot \sOut, _bo, r4, r5, r1, r6
|
138
|
-
xandnot \sOut, _bu, r5, r1, r2, r7
|
139
|
-
xandnotRC \sOut, _ba, r1, r2, r3
|
140
|
-
|
141
|
-
ldrh r1, [\sIn, #_bo]
|
142
|
-
ldrh r2, [\sIn, #_gu]
|
143
|
-
ldrh r3, [\sIn, #_ka]
|
144
|
-
ldrh r4, [\sIn, #_me]
|
145
|
-
ldrh r5, [\sIn, #_si]
|
146
|
-
xorrol r1, r12, 12
|
147
|
-
xorrol r2, lr, 4
|
148
|
-
xorrol r3, r9, 3
|
149
|
-
xorrol r4, r10, 13
|
150
|
-
xorrol r5, r11, 13
|
151
|
-
xandnot \sOut, _ga, r1, r2, r3, r6
|
152
|
-
xandnot \sOut, _ge, r2, r3, r4, r6
|
153
|
-
xandnot \sOut, _gi, r3, r4, r5, r6
|
154
|
-
xandnot \sOut, _go, r4, r5, r1, r6
|
155
|
-
xandnot \sOut, _gu, r5, r1, r2, r6
|
156
|
-
eor r7, r7, r6
|
157
|
-
|
158
|
-
ldrh r1, [\sIn, #_be]
|
159
|
-
ldrh r2, [\sIn, #_gi]
|
160
|
-
ldrh r3, [\sIn, #_ko]
|
161
|
-
ldrh r4, [\sIn, #_mu]
|
162
|
-
ldrh r5, [\sIn, #_sa]
|
163
|
-
xorrol r1, r10, 1
|
164
|
-
xorrol r2, r11, 6
|
165
|
-
xorrol r3, r12, 9
|
166
|
-
xorrol r4, lr, 8
|
167
|
-
xorrol r5, r9, 2
|
168
|
-
xandnot \sOut, _ka, r1, r2, r3, r6
|
169
|
-
xandnot \sOut, _ke, r2, r3, r4, r6
|
170
|
-
xandnot \sOut, _ki, r3, r4, r5, r6
|
171
|
-
xandnot \sOut, _ko, r4, r5, r1, r6
|
172
|
-
xandnot \sOut, _ku, r5, r1, r2, r6
|
173
|
-
eor r7, r7, r6
|
174
|
-
|
175
|
-
ldrh r1, [\sIn, #_bu]
|
176
|
-
ldrh r2, [\sIn, #_ga]
|
177
|
-
ldrh r3, [\sIn, #_ke]
|
178
|
-
ldrh r4, [\sIn, #_mi]
|
179
|
-
ldrh r5, [\sIn, #_so]
|
180
|
-
xorrol r1, lr, 11
|
181
|
-
xorrol r2, r9, 4
|
182
|
-
xorrol r3, r10, 10
|
183
|
-
xorrol r4, r11, 15
|
184
|
-
xorrol r5, r12, 8
|
185
|
-
xandnot \sOut, _ma, r1, r2, r3, r6
|
186
|
-
xandnot \sOut, _me, r2, r3, r4, r6
|
187
|
-
xandnot \sOut, _mi, r3, r4, r5, r6
|
188
|
-
xandnot \sOut, _mo, r4, r5, r1, r6
|
189
|
-
xandnot \sOut, _mu, r5, r1, r2, r6
|
190
|
-
eor r7, r7, r6
|
191
|
-
|
192
|
-
ldrh r1, [\sIn, #_bi]
|
193
|
-
ldrh r2, [\sIn, #_go]
|
194
|
-
ldrh r3, [\sIn, #_ku]
|
195
|
-
ldrh r4, [\sIn, #_ma]
|
196
|
-
ldrh r5, [\sIn, #_se]
|
197
|
-
xorrol r1, r11, 14
|
198
|
-
xorrol r2, r12, 7
|
199
|
-
xorrol r3, lr, 7
|
200
|
-
xorrol r4, r9, 9
|
201
|
-
xorrol r5, r10, 2
|
202
|
-
xandnot \sOut, _sa, r1, r2, r3, r9
|
203
|
-
xandnot \sOut, _se, r2, r3, r4, r10
|
204
|
-
xandnot \sOut, _si, r3, r4, r5, r11
|
205
|
-
xandnot \sOut, _so, r4, r5, r1, r12
|
206
|
-
bic r1, r2, r1
|
207
|
-
eor r5, r5, r1
|
208
|
-
eor r7, r7, r5
|
209
|
-
uxth r7, r7
|
210
|
-
strh r5, [\sOut, #_su]
|
211
|
-
uxth r5, r5
|
212
|
-
.endm
|
213
|
-
|
214
|
-
@----------------------------------------------------------------------------
|
215
|
-
@
|
216
|
-
@ void KeccakP400_StaticInitialize( void )
|
217
|
-
@
|
218
|
-
.align 8
|
219
|
-
.global KeccakP400_StaticInitialize
|
220
|
-
.type KeccakP400_StaticInitialize, %function;
|
221
|
-
KeccakP400_StaticInitialize:
|
222
|
-
bx lr
|
223
|
-
|
224
|
-
|
225
|
-
@----------------------------------------------------------------------------
|
226
|
-
@
|
227
|
-
@ void KeccakP400_Initialize(void *state)
|
228
|
-
@
|
229
|
-
.align 8
|
230
|
-
.global KeccakP400_Initialize
|
231
|
-
.type KeccakP400_Initialize, %function;
|
232
|
-
KeccakP400_Initialize:
|
233
|
-
movs r1, #0
|
234
|
-
movs r2, #0
|
235
|
-
movs r3, #0
|
236
|
-
stmia r0!, { r1 - r3 }
|
237
|
-
stmia r0!, { r1 - r3 }
|
238
|
-
stmia r0!, { r1 - r3 }
|
239
|
-
stmia r0!, { r1 - r3 }
|
240
|
-
strh r1, [r0]
|
241
|
-
bx lr
|
242
|
-
|
243
|
-
|
244
|
-
@ ----------------------------------------------------------------------------
|
245
|
-
@
|
246
|
-
@ void KeccakP400_AddByte(void *state, unsigned char byte, unsigned int offset)
|
247
|
-
@
|
248
|
-
.align 8
|
249
|
-
.global KeccakP400_AddByte
|
250
|
-
.type KeccakP400_AddByte, %function;
|
251
|
-
KeccakP400_AddByte:
|
252
|
-
ldrb r3, [r0, r2]
|
253
|
-
eors r3, r3, r1
|
254
|
-
strb r3, [r0, r2]
|
255
|
-
bx lr
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
@----------------------------------------------------------------------------
|
260
|
-
@
|
261
|
-
@ void KeccakP400_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
262
|
-
@
|
263
|
-
.align 8
|
264
|
-
.global KeccakP400_AddBytes
|
265
|
-
.type KeccakP400_AddBytes, %function;
|
266
|
-
KeccakP400_AddBytes:
|
267
|
-
subs r3, r3, #1
|
268
|
-
bcc KeccakP400_AddBytes_Exit
|
269
|
-
adds r0, r0, r2
|
270
|
-
push {r4,lr}
|
271
|
-
KeccakP400_AddBytes_Loop:
|
272
|
-
ldrb r2, [r1, r3]
|
273
|
-
ldrb r4, [r0, r3]
|
274
|
-
eors r2, r2, r4
|
275
|
-
strb r2, [r0, r3]
|
276
|
-
subs r3, r3, #1
|
277
|
-
bcs KeccakP400_AddBytes_Loop
|
278
|
-
pop {r4,pc}
|
279
|
-
KeccakP400_AddBytes_Exit:
|
280
|
-
bx lr
|
281
|
-
|
282
|
-
|
283
|
-
@ ----------------------------------------------------------------------------
|
284
|
-
@
|
285
|
-
@ void KeccakP400_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
286
|
-
@
|
287
|
-
.align 8
|
288
|
-
.global KeccakP400_OverwriteBytes
|
289
|
-
.type KeccakP400_OverwriteBytes, %function;
|
290
|
-
KeccakP400_OverwriteBytes:
|
291
|
-
subs r3, r3, #1
|
292
|
-
bcc KeccakP400_OverwriteBytes_Exit
|
293
|
-
adds r0, r0, r2
|
294
|
-
KeccakP400_OverwriteBytes_Loop:
|
295
|
-
ldrb r2, [r1, r3]
|
296
|
-
strb r2, [r0, r3]
|
297
|
-
subs r3, r3, #1
|
298
|
-
bcs KeccakP400_OverwriteBytes_Loop
|
299
|
-
KeccakP400_OverwriteBytes_Exit:
|
300
|
-
bx lr
|
301
|
-
|
302
|
-
|
303
|
-
@----------------------------------------------------------------------------
|
304
|
-
@
|
305
|
-
@ void KeccakP400_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
306
|
-
@
|
307
|
-
.align 8
|
308
|
-
.global KeccakP400_OverwriteWithZeroes
|
309
|
-
.type KeccakP400_OverwriteWithZeroes, %function;
|
310
|
-
KeccakP400_OverwriteWithZeroes:
|
311
|
-
movs r3, #0
|
312
|
-
lsrs r2, r1, #2
|
313
|
-
beq KeccakP400_OverwriteWithZeroes_Bytes
|
314
|
-
KeccakP400_OverwriteWithZeroes_Loop2Lanes:
|
315
|
-
str r3, [r0], #4
|
316
|
-
subs r2, r2, #1
|
317
|
-
bne KeccakP400_OverwriteWithZeroes_Loop2Lanes
|
318
|
-
KeccakP400_OverwriteWithZeroes_Bytes:
|
319
|
-
ands r1, #3
|
320
|
-
beq KeccakP400_OverwriteWithZeroes_Exit
|
321
|
-
KeccakP400_OverwriteWithZeroes_LoopBytes:
|
322
|
-
strb r3, [r0], #1
|
323
|
-
subs r1, r1, #1
|
324
|
-
bne KeccakP400_OverwriteWithZeroes_LoopBytes
|
325
|
-
KeccakP400_OverwriteWithZeroes_Exit:
|
326
|
-
bx lr
|
327
|
-
|
328
|
-
|
329
|
-
@ ----------------------------------------------------------------------------
|
330
|
-
@
|
331
|
-
@ void KeccakP400_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
332
|
-
@
|
333
|
-
.align 8
|
334
|
-
.global KeccakP400_ExtractBytes
|
335
|
-
.type KeccakP400_ExtractBytes, %function;
|
336
|
-
KeccakP400_ExtractBytes:
|
337
|
-
subs r3, r3, #1
|
338
|
-
bcc KeccakP400_ExtractBytes_Exit
|
339
|
-
adds r0, r0, r2
|
340
|
-
KeccakP400_ExtractBytes_Loop:
|
341
|
-
ldrb r2, [r0, r3]
|
342
|
-
strb r2, [r1, r3]
|
343
|
-
subs r3, r3, #1
|
344
|
-
bcs KeccakP400_ExtractBytes_Loop
|
345
|
-
KeccakP400_ExtractBytes_Exit:
|
346
|
-
bx lr
|
347
|
-
|
348
|
-
|
349
|
-
@ ----------------------------------------------------------------------------
|
350
|
-
@
|
351
|
-
@ void KeccakP400_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
352
|
-
@
|
353
|
-
.align 8
|
354
|
-
.global KeccakP400_ExtractAndAddBytes
|
355
|
-
.type KeccakP400_ExtractAndAddBytes, %function;
|
356
|
-
KeccakP400_ExtractAndAddBytes:
|
357
|
-
push {r4,r5}
|
358
|
-
adds r0, r0, r3 @ state += offset (offset register no longer needed, reuse for length)
|
359
|
-
ldr r3, [sp, #8] @ get length argument from stack
|
360
|
-
subs r3, r3, #1 @ .if length != 0
|
361
|
-
bcc KeccakP400_ExtractAndAddBytes_Exit
|
362
|
-
KeccakP400_ExtractAndAddBytes_Loop:
|
363
|
-
ldrb r5, [r0, r3]
|
364
|
-
ldrb r4, [r1, r3]
|
365
|
-
eors r5, r5, r4
|
366
|
-
strb r5, [r2, r3]
|
367
|
-
subs r3, r3, #1
|
368
|
-
bcs KeccakP400_ExtractAndAddBytes_Loop
|
369
|
-
KeccakP400_ExtractAndAddBytes_Exit:
|
370
|
-
pop {r4,r5}
|
371
|
-
bx lr
|
372
|
-
|
373
|
-
|
374
|
-
@----------------------------------------------------------------------------
|
375
|
-
@
|
376
|
-
@ void KeccakP400_Permute_Nrounds( void *state, unsigned int nr )
|
377
|
-
@
|
378
|
-
.align 8
|
379
|
-
.global KeccakP400_Permute_Nrounds
|
380
|
-
.type KeccakP400_Permute_Nrounds, %function;
|
381
|
-
KeccakP400_Permute_Nrounds:
|
382
|
-
push {r4-r12,lr}
|
383
|
-
sub sp, sp, #2*25+6
|
384
|
-
adr r8, KeccakP400_Permute_RoundConstants
|
385
|
-
sub r8, r8, r1, LSL #1
|
386
|
-
lsls r1, r1, #31
|
387
|
-
beq KeccakP400_PermuteIntern
|
388
|
-
mov r1, sp @ odd number of rounds
|
389
|
-
ldm r0!, { r2, r3, r4, r5, r11, r12 } @ copy state to stack
|
390
|
-
stm r1!, { r2, r3, r4, r5, r11, r12 }
|
391
|
-
ldm r0!, { r2, r3, r4, r5, r11, r12 }
|
392
|
-
stm r1!, { r2, r3, r4, r5, r11, r12 }
|
393
|
-
sub r0, r0, #2*24
|
394
|
-
ldrh lr, [r0, #_su]
|
395
|
-
strh lr, [sp, #_su]
|
396
|
-
uxth r9, r11
|
397
|
-
uxth r10, r11, ROR #16
|
398
|
-
uxth r11, r12
|
399
|
-
lsr r12, r12, #16
|
400
|
-
mov r5, lr
|
401
|
-
xor5 r7, r0, _bu, _gu, _ku, _mu, lr
|
402
|
-
b KeccakP400_Permute_RoundOdd
|
403
|
-
|
404
|
-
|
405
|
-
@----------------------------------------------------------------------------
|
406
|
-
@
|
407
|
-
@ void KeccakP400_Permute_20rounds( void *state )
|
408
|
-
@
|
409
|
-
.align 8
|
410
|
-
.global KeccakP400_Permute_20rounds
|
411
|
-
.type KeccakP400_Permute_20rounds, %function;
|
412
|
-
KeccakP400_Permute_20rounds:
|
413
|
-
push {r4-r12,lr}
|
414
|
-
sub sp, sp, #2*25+6
|
415
|
-
adr r8, KeccakP400_Permute_RoundConstants20
|
416
|
-
KeccakP400_PermuteIntern:
|
417
|
-
ldrh r9, [r0, #_sa]
|
418
|
-
ldrh r10, [r0, #_se]
|
419
|
-
ldrh r11, [r0, #_si]
|
420
|
-
ldrh lr, [r0, #_su]
|
421
|
-
ldrh r12, [r0, #_so]
|
422
|
-
mov r5, lr
|
423
|
-
xor5 r7, r0, _bu, _gu, _ku, _mu, lr
|
424
|
-
KeccakP400_Permute_RoundLoop:
|
425
|
-
KeccakRound sp, r0
|
426
|
-
KeccakP400_Permute_RoundOdd:
|
427
|
-
KeccakRound r0, sp
|
428
|
-
ldrh r3, [r8]
|
429
|
-
cmp r3, #0
|
430
|
-
bne KeccakP400_Permute_RoundLoop
|
431
|
-
add sp,sp,#2*25+6
|
432
|
-
pop {r4-r12,pc}
|
433
|
-
.align 8
|
434
|
-
KeccakP400_Permute_RoundConstants20:
|
435
|
-
.short 0x0001
|
436
|
-
.short 0x8082
|
437
|
-
.short 0x808a
|
438
|
-
.short 0x8000
|
439
|
-
.short 0x808b
|
440
|
-
.short 0x0001
|
441
|
-
.short 0x8081
|
442
|
-
.short 0x8009
|
443
|
-
.short 0x008a
|
444
|
-
.short 0x0088
|
445
|
-
.short 0x8009
|
446
|
-
.short 0x000a
|
447
|
-
.short 0x808b
|
448
|
-
.short 0x008b
|
449
|
-
.short 0x8089
|
450
|
-
.short 0x8003
|
451
|
-
.short 0x8002
|
452
|
-
.short 0x0080
|
453
|
-
.short 0x800a
|
454
|
-
.short 0x000a
|
455
|
-
KeccakP400_Permute_RoundConstants:
|
456
|
-
.short 0 @ terminator
|
457
|
-
|
458
|
-
|
@@ -1,41 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
The eXtended Keccak Code Package (XKCP)
|
3
|
-
https://github.com/XKCP/XKCP
|
4
|
-
|
5
|
-
The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
|
6
|
-
|
7
|
-
Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
8
|
-
|
9
|
-
For more information, feedback or questions, please refer to the Keccak Team website:
|
10
|
-
https://keccak.team/
|
11
|
-
|
12
|
-
To the extent possible under law, the implementer has waived all copyright
|
13
|
-
and related or neighboring rights to the source code in this file.
|
14
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
15
|
-
|
16
|
-
---
|
17
|
-
|
18
|
-
Please refer to SnP-documentation.h for more details.
|
19
|
-
*/
|
20
|
-
|
21
|
-
#ifndef _KeccakP_400_SnP_h_
|
22
|
-
#define _KeccakP_400_SnP_h_
|
23
|
-
|
24
|
-
#define KeccakP400_implementation "8-bit optimized AVR assembler implementation"
|
25
|
-
#define KeccakP400_stateSizeInBytes 50
|
26
|
-
#define KeccakP400_stateAlignment 8
|
27
|
-
|
28
|
-
void KeccakP400_StaticInitialize( void );
|
29
|
-
/* #define KeccakP400_StaticInitialize() */
|
30
|
-
void KeccakP400_Initialize(void *state);
|
31
|
-
void KeccakP400_AddByte(void *state, unsigned char data, unsigned int offset);
|
32
|
-
/* #define KeccakP400_AddByte(argS, argData, argOffset) ((unsigned char*)argS)[argOffset] ^= (argData) */
|
33
|
-
void KeccakP400_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
34
|
-
void KeccakP400_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
35
|
-
void KeccakP400_OverwriteWithZeroes(void *state, unsigned int byteCount);
|
36
|
-
void KeccakP400_Permute_Nrounds(void *state, unsigned int nrounds);
|
37
|
-
void KeccakP400_Permute_20rounds(void *state);
|
38
|
-
void KeccakP400_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
|
39
|
-
void KeccakP400_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
40
|
-
|
41
|
-
#endif
|