digest-kangarootwelve 0.3.2 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/LICENSE.XKCP +9 -0
- data/README.md +85 -33
- data/Rakefile +58 -4
- data/digest-kangarootwelve.gemspec +22 -316
- data/ext/digest/kangarootwelve/XKCP/lib/common/align.h +33 -0
- data/ext/digest/kangarootwelve/XKCP/lib/common/brg_endian.h +143 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +301 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.h +97 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +111 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +76 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +314 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/common/Phases.h +25 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +41 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-inplace-32bi-armv7m-le-gcc.s +1175 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-u2-32bi-armv6m-le-gcc.s +1339 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +42 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-armv7a-le-neon-gcc.s +831 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +42 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +1121 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +1100 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +52 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +623 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +47 -0
- data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600/AVX512/C/u12}/KeccakP-1600-AVX512-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +1031 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +53 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +44 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +476 -0
- data/ext/digest/kangarootwelve/{keccak/bulldozer → XKCP/lib/low/KeccakP-1600/XOP/ua}/KeccakP-1600-XOP-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/common/KeccakP-1600-64.macros +748 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/common/KeccakP-1600-unrolling.macros +305 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +40 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +420 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +43 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +1163 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +54 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +565 -0
- data/ext/digest/kangarootwelve/{keccak/generic64lc → XKCP/lib/low/KeccakP-1600/plain-64bits/lcua}/KeccakP-1600-opt64-config.h +0 -0
- data/ext/digest/kangarootwelve/{keccak/sandybridge → XKCP/lib/low/KeccakP-1600/plain-64bits/lcua-shld}/KeccakP-1600-opt64-config.h +0 -0
- data/ext/digest/kangarootwelve/{keccak/generic64 → XKCP/lib/low/KeccakP-1600/plain-64bits/ua}/KeccakP-1600-opt64-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +44 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +23 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +625 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +44 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +440 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +23 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +1394 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +42 -0
- data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times2/AVX512/AVX512u12}/SIMD512-2-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +850 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +51 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +957 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +49 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/SSSE3-u2/SIMD128-config.h +8 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/SSSE3-ua/SIMD128-config.h +8 -0
- data/ext/digest/kangarootwelve/{keccak/bulldozer → XKCP/lib/low/KeccakP-1600-times2/SIMD128/XOP-ua}/SIMD128-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +37 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +1321 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +55 -0
- data/ext/digest/kangarootwelve/{keccak/haswell → XKCP/lib/low/KeccakP-1600-times4/AVX2/u12}/SIMD256-config.h +0 -0
- data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times4/AVX512/AVX512u12}/SIMD512-4-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +881 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +51 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +37 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +38 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +1615 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +57 -0
- data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times8/AVX512/u12}/SIMD512-config.h +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +37 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +38 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +45 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +38 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +41 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +446 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +427 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +41 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +647 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +39 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +190 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +43 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +412 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +23 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +41 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +458 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +458 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +41 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +728 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +43 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +414 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +23 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +42 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +534 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +527 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +523 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +42 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +929 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +40 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +244 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +46 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +184 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +454 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +459 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +83 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +88 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +44 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +437 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +23 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +290 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +141 -0
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +177 -0
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +30 -0
- data/ext/digest/kangarootwelve/ext.c +30 -22
- data/ext/digest/kangarootwelve/extconf.rb +8 -11
- data/ext/digest/kangarootwelve/targets/armv6/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-u2-32bi-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/armv6m/ext.link.c → targets/armv6/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/armv6/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-u2-32bi-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv6m/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/armv7a/ext.link.c → targets/armv6m/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/armv6m/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-armv7a-le-neon-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/armv7m/ext.link.c → targets/armv7a/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/armv7a/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-inplace-32bi-armv7m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv7m/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/armv8a/ext.link.c → targets/armv7m/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/armv7m/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/armv8a/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/asmx86-64/ext.link.c → targets/armv8a/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/armv8a/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-avr8-fast.S +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avr8/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/asmx86-64shld/ext.link.c → targets/avr8/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avr8/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times2-SIMD128.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx/SIMD128-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/avr8/ext.link.c → targets/avx/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avx/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-AVX2.S +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times2-SIMD128.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times4-SIMD256.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/SIMD128-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/SIMD256-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/bulldozer/ext.link.c → targets/avx2/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avx2/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times2-SIMD128.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times4-SIMD256.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/SIMD128-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/SIMD256-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/compact/ext.link.c → targets/avx2noasm/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-AVX512.S +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times2-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times4-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times8-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/SIMD512-2-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/SIMD512-4-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/SIMD512-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/generic32/ext.link.c → targets/avx512/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avx512/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-AVX512-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-AVX512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times2-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times4-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times8-SIMD512.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-2-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-4-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/generic32lc/ext.link.c → targets/avx512noasm/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-compact64.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/compact/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/compact/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/compact/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/generic64/ext.link.c → targets/compact/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/compact/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/config.h +9 -0
- data/ext/digest/kangarootwelve/targets/defs +2 -0
- data/ext/digest/kangarootwelve/targets/generic32/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-inplace32BI.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/generic64lc/ext.link.c → targets/generic32/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/generic32/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-inplace32BI.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/haswell/ext.link.c → targets/generic32lc/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/generic32lc/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/nehalem/ext.link.c → targets/generic64/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/generic64/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/reference/ext.link.c → targets/generic64lc/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/generic64lc/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/list +20 -0
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/reference/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/reference/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/reference32bits/ext.link.c → targets/reference/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/reference/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +1 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/sandybridge/ext.link.c → targets/reference32bits/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-64.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-opt64-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-opt64.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times2-SIMD128.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/SIMD128-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
- data/ext/digest/kangarootwelve/{keccak/skylakex/ext.link.c → targets/ssse3/ext.c} +0 -0
- data/ext/digest/kangarootwelve/targets/ssse3/utils.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KangarooTwelve.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KangarooTwelve.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-XOP-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-XOP.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times2-SIMD128.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times2-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.inc +1 -0
- data/ext/digest/kangarootwelve/targets/xop/Phases.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +1 -0
- data/ext/digest/kangarootwelve/targets/xop/SIMD128-config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/SnP-Relaned.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/align.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/brg_endian.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/ext.c +1 -0
- data/ext/digest/kangarootwelve/targets/xop/utils.h +1 -0
- data/lib/digest/kangarootwelve/version.rb +1 -1
- data/rakelib/alt-install-task.rake +58 -0
- data/test/test.rb +5 -3
- metadata +814 -300
- data/ext/digest/kangarootwelve/keccak/armv6m/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-SnP.h +0 -36
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-u2-32bi-armv6m-le-gcc.s +0 -1334
- data/ext/digest/kangarootwelve/keccak/armv6m/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv6m/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/armv7a/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-SnP.h +0 -37
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-armv7a-le-neon-gcc.s +0 -826
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +0 -1245
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times2-SnP.h +0 -38
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/armv7a/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7a/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/armv7m/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-SnP.h +0 -36
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-inplace-32bi-armv7m-le-gcc.s +0 -1170
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv7m/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv7m/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/armv8a/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-SnP.h +0 -28
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-armv8a-neon.s +0 -537
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/armv8a/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/armv8a/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-SnP.h +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-x86-64-gas.s +0 -1190
- data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-SnP.h +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-x86-64-shld-gas.s +0 -1190
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/asmx86-64shld/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/avr8/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-SnP.h +0 -37
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-avr8-fast.s +0 -1116
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/avr8/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/avr8/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/bulldozer/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-SnP.h +0 -39
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-XOP.c +0 -473
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times2-SIMD128.c +0 -954
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times2-SnP.h +0 -47
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/bulldozer/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/bulldozer/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/common/KangarooTwelve.c +0 -271
- data/ext/digest/kangarootwelve/keccak/common/KangarooTwelve.h +0 -89
- data/ext/digest/kangarootwelve/keccak/common/KeccakDuplex-common.h +0 -37
- data/ext/digest/kangarootwelve/keccak/common/KeccakDuplex.inc +0 -192
- data/ext/digest/kangarootwelve/keccak/common/KeccakDuplexWidth1600.c +0 -34
- data/ext/digest/kangarootwelve/keccak/common/KeccakDuplexWidth1600.h +0 -25
- data/ext/digest/kangarootwelve/keccak/common/KeccakSponge-common.h +0 -35
- data/ext/digest/kangarootwelve/keccak/common/KeccakSponge.inc +0 -311
- data/ext/digest/kangarootwelve/keccak/common/KeccakSpongeWidth1600.c +0 -54
- data/ext/digest/kangarootwelve/keccak/common/KeccakSpongeWidth1600.h +0 -31
- data/ext/digest/kangarootwelve/keccak/common/Phases.h +0 -22
- data/ext/digest/kangarootwelve/keccak/common/align.h +0 -32
- data/ext/digest/kangarootwelve/keccak/common/brg_endian.h +0 -142
- data/ext/digest/kangarootwelve/keccak/compact/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/compact/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-SnP.h +0 -35
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-compact64.c +0 -416
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/compact/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/compact/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/compact/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/generic32/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-SnP.h +0 -38
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-inplace32BI.c +0 -1162
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/generic32/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/generic32lc/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-SnP.h +0 -38
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-inplace32BI.c +0 -1162
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic32lc/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/generic32lc/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/generic64/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-64.macros +0 -2195
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-opt64.c +0 -541
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/generic64/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/generic64/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/generic64lc/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-64.macros +0 -2195
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-opt64.c +0 -541
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/generic64lc/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/generic64lc/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/haswell/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-AVX2.s +0 -993
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-SnP.h +0 -41
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times2-SIMD128.c +0 -954
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times2-SnP.h +0 -47
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times4-SIMD256.c +0 -1303
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times4-SnP.h +0 -53
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times8-on4.c +0 -38
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/haswell/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/haswell/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/haswell/SIMD128-config.h +0 -8
- data/ext/digest/kangarootwelve/keccak/nehalem/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-64.macros +0 -2195
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-opt64-config.h +0 -7
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-opt64.c +0 -541
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times2-SIMD128.c +0 -954
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times2-SnP.h +0 -47
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/nehalem/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/nehalem/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/nehalem/SIMD128-config.h +0 -8
- data/ext/digest/kangarootwelve/keccak/nehalem/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/reference/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-SnP.h +0 -41
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-reference.c +0 -424
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-reference.h +0 -20
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/reference/displayIntermediateValues.c +0 -176
- data/ext/digest/kangarootwelve/keccak/reference/displayIntermediateValues.h +0 -29
- data/ext/digest/kangarootwelve/keccak/reference32bits/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-SnP.h +0 -41
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-reference.h +0 -20
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-reference32BI.c +0 -612
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/reference32bits/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/reference32bits/displayIntermediateValues.c +0 -176
- data/ext/digest/kangarootwelve/keccak/reference32bits/displayIntermediateValues.h +0 -29
- data/ext/digest/kangarootwelve/keccak/sandybridge/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-64.macros +0 -2195
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-opt64.c +0 -541
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times2-SIMD128.c +0 -954
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times2-SnP.h +0 -47
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-unrolling.macros +0 -302
- data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakSpongeWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/sandybridge/PlSnP-Fallback.inc +0 -287
- data/ext/digest/kangarootwelve/keccak/sandybridge/SIMD128-config.h +0 -8
- data/ext/digest/kangarootwelve/keccak/sandybridge/SnP-Relaned.h +0 -140
- data/ext/digest/kangarootwelve/keccak/skylakex/KangarooTwelve.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakDuplexWidth1600.link.c +0 -1
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-AVX512.c +0 -621
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-SnP.h +0 -42
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times2-SIMD512.c +0 -852
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times2-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times4-SIMD512.c +0 -883
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times4-SnP.h +0 -49
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times8-SIMD512.c +0 -1473
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times8-SnP.h +0 -53
- data/ext/digest/kangarootwelve/keccak/skylakex/KeccakSpongeWidth1600.link.c +0 -1
@@ -1,416 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by Ronny Van Keer, hereby denoted as "the implementer".
|
3
|
-
|
4
|
-
For more information, feedback or questions, please refer to our website:
|
5
|
-
https://keccak.team/
|
6
|
-
|
7
|
-
To the extent possible under law, the implementer has waived all copyright
|
8
|
-
and related or neighboring rights to the source code in this file.
|
9
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
10
|
-
|
11
|
-
---
|
12
|
-
|
13
|
-
This file implements Keccak-p[1600] in a SnP-compatible way.
|
14
|
-
Please refer to SnP-documentation.h for more details.
|
15
|
-
|
16
|
-
This implementation comes with KeccakP-1600-SnP.h in the same folder.
|
17
|
-
Please refer to LowLevel.build for the exact list of other files it must be combined with.
|
18
|
-
*/
|
19
|
-
|
20
|
-
#include <string.h>
|
21
|
-
#include <stdlib.h>
|
22
|
-
#include "brg_endian.h"
|
23
|
-
#include "KeccakP-1600-SnP.h"
|
24
|
-
#include "SnP-Relaned.h"
|
25
|
-
|
26
|
-
#define USE_MEMSET
|
27
|
-
/* #define DIVISION_INSTRUCTION */ /* comment if no division instruction or more compact when not using division */
|
28
|
-
#define UNROLL_CHILOOP /* comment more compact using for loop */
|
29
|
-
|
30
|
-
typedef unsigned char UINT8;
|
31
|
-
typedef unsigned long long int UINT64;
|
32
|
-
typedef unsigned int tSmallUInt; /*INFO It could be more optimized to use "unsigned char" on an 8-bit CPU */
|
33
|
-
typedef UINT64 tKeccakLane;
|
34
|
-
|
35
|
-
#if defined(_MSC_VER)
|
36
|
-
#define ROL64(a, offset) _rotl64(a, offset)
|
37
|
-
#elif defined(UseSHLD)
|
38
|
-
#define ROL64(x,N) ({ \
|
39
|
-
register UINT64 __out; \
|
40
|
-
register UINT64 __in = x; \
|
41
|
-
__asm__ ("shld %2,%0,%0" : "=r"(__out) : "0"(__in), "i"(N)); \
|
42
|
-
__out; \
|
43
|
-
})
|
44
|
-
#else
|
45
|
-
#define ROL64(a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset)))
|
46
|
-
#endif
|
47
|
-
|
48
|
-
#define cKeccakNumberOfRounds 24
|
49
|
-
|
50
|
-
const UINT8 KeccakP1600_RotationConstants[25] =
|
51
|
-
{
|
52
|
-
1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 2, 14, 27, 41, 56, 8, 25, 43, 62, 18, 39, 61, 20, 44
|
53
|
-
};
|
54
|
-
|
55
|
-
const UINT8 KeccakP1600_PiLane[25] =
|
56
|
-
{
|
57
|
-
10, 7, 11, 17, 18, 3, 5, 16, 8, 21, 24, 4, 15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1
|
58
|
-
};
|
59
|
-
|
60
|
-
#if defined(DIVISION_INSTRUCTION)
|
61
|
-
#define MOD5(argValue) ((argValue) % 5)
|
62
|
-
#else
|
63
|
-
const UINT8 KeccakP1600_Mod5[10] =
|
64
|
-
{
|
65
|
-
0, 1, 2, 3, 4, 0, 1, 2, 3, 4
|
66
|
-
};
|
67
|
-
#define MOD5(argValue) KeccakP1600_Mod5[argValue]
|
68
|
-
#endif
|
69
|
-
|
70
|
-
/* ---------------------------------------------------------------- */
|
71
|
-
|
72
|
-
static tKeccakLane KeccakF1600_GetNextRoundConstant( UINT8 *LFSR );
|
73
|
-
static tKeccakLane KeccakF1600_GetNextRoundConstant( UINT8 *LFSR )
|
74
|
-
{
|
75
|
-
tSmallUInt i;
|
76
|
-
tKeccakLane roundConstant;
|
77
|
-
tSmallUInt doXOR;
|
78
|
-
tSmallUInt tempLSFR;
|
79
|
-
|
80
|
-
roundConstant = 0;
|
81
|
-
tempLSFR = *LFSR;
|
82
|
-
for(i=1; i<128; i <<= 1)
|
83
|
-
{
|
84
|
-
doXOR = tempLSFR & 1;
|
85
|
-
if ((tempLSFR & 0x80) != 0)
|
86
|
-
/* Primitive polynomial over GF(2): x^8+x^6+x^5+x^4+1 */
|
87
|
-
tempLSFR = (tempLSFR << 1) ^ 0x71;
|
88
|
-
else
|
89
|
-
tempLSFR <<= 1;
|
90
|
-
|
91
|
-
if ( doXOR != 0 )
|
92
|
-
roundConstant ^= (tKeccakLane)1ULL << (i - 1);
|
93
|
-
}
|
94
|
-
*LFSR = (UINT8)tempLSFR;
|
95
|
-
return ( roundConstant );
|
96
|
-
}
|
97
|
-
|
98
|
-
/* ---------------------------------------------------------------- */
|
99
|
-
|
100
|
-
void KeccakP1600_Initialize(void *argState)
|
101
|
-
{
|
102
|
-
#if defined(USE_MEMSET)
|
103
|
-
memset( argState, 0, 25 * 8 );
|
104
|
-
#else
|
105
|
-
tSmallUInt i;
|
106
|
-
tKeccakLane *state;
|
107
|
-
|
108
|
-
state = argState;
|
109
|
-
i = 25;
|
110
|
-
do
|
111
|
-
{
|
112
|
-
*(state++) = 0;
|
113
|
-
}
|
114
|
-
while ( --i != 0 );
|
115
|
-
#endif
|
116
|
-
}
|
117
|
-
|
118
|
-
/* ---------------------------------------------------------------- */
|
119
|
-
|
120
|
-
void KeccakP1600_AddBytesInLane(void *argState, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
121
|
-
{
|
122
|
-
unsigned int i;
|
123
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
124
|
-
unsigned char * state = (unsigned char*)argState + lanePosition * sizeof(tKeccakLane) + offset;
|
125
|
-
for(i=0; i<length; i++)
|
126
|
-
((unsigned char *)state)[i] ^= data[i];
|
127
|
-
#else
|
128
|
-
tKeccakLane lane = 0;
|
129
|
-
for(i=0; i<length; i++)
|
130
|
-
lane |= ((tKeccakLane)data[i]) << ((i+offset)*8);
|
131
|
-
((tKeccakLane*)argState)[lanePosition] ^= lane;
|
132
|
-
#endif
|
133
|
-
}
|
134
|
-
|
135
|
-
/* ---------------------------------------------------------------- */
|
136
|
-
|
137
|
-
void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int laneCount)
|
138
|
-
{
|
139
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
140
|
-
tSmallUInt i;
|
141
|
-
laneCount *= sizeof(tKeccakLane);
|
142
|
-
for( i = 0; i < laneCount; ++i) {
|
143
|
-
((unsigned char*)state)[i] ^= data[i];
|
144
|
-
}
|
145
|
-
#else
|
146
|
-
tSmallUInt i;
|
147
|
-
const UINT8 *curData = data;
|
148
|
-
for(i=0; i<laneCount; i++, curData+=8) {
|
149
|
-
tKeccakLane lane = (tKeccakLane)curData[0]
|
150
|
-
| ((tKeccakLane)curData[1] << 8)
|
151
|
-
| ((tKeccakLane)curData[2] << 16)
|
152
|
-
| ((tKeccakLane)curData[3] << 24)
|
153
|
-
| ((tKeccakLane)curData[4] << 32)
|
154
|
-
| ((tKeccakLane)curData[5] << 40)
|
155
|
-
| ((tKeccakLane)curData[6] << 48)
|
156
|
-
| ((tKeccakLane)curData[7] << 56);
|
157
|
-
((tKeccakLane*)state)[i] ^= lane;
|
158
|
-
}
|
159
|
-
#endif
|
160
|
-
}
|
161
|
-
|
162
|
-
/* ---------------------------------------------------------------- */
|
163
|
-
|
164
|
-
void KeccakP1600_AddByte(void *state, unsigned char byte, unsigned int offset)
|
165
|
-
{
|
166
|
-
UINT64 lane = byte;
|
167
|
-
lane <<= (offset%8)*8;
|
168
|
-
((UINT64*)state)[offset/8] ^= lane;
|
169
|
-
}
|
170
|
-
|
171
|
-
/* ---------------------------------------------------------------- */
|
172
|
-
|
173
|
-
void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
174
|
-
{
|
175
|
-
SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8);
|
176
|
-
}
|
177
|
-
|
178
|
-
/* ---------------------------------------------------------------- */
|
179
|
-
|
180
|
-
void KeccakP1600_OverwriteBytesInLane(void *argState, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
181
|
-
{
|
182
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
183
|
-
memcpy((unsigned char*)argState+lanePosition*8+offset, data, length);
|
184
|
-
#else
|
185
|
-
unsigned int i;
|
186
|
-
tKeccakLane *state = (tKeccakLane*)argState;
|
187
|
-
tKeccakLane lane = state[lanePosition];
|
188
|
-
for(i=0; i<length; i++) {
|
189
|
-
lane &= ~(((tKeccakLane)0xFF) << ((i+offset)*8));
|
190
|
-
lane |= ((tKeccakLane)data[i]) << ((i+offset)*8);
|
191
|
-
}
|
192
|
-
state[lanePosition] = lane;
|
193
|
-
#endif
|
194
|
-
}
|
195
|
-
|
196
|
-
/* ---------------------------------------------------------------- */
|
197
|
-
|
198
|
-
void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned int laneCount)
|
199
|
-
{
|
200
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
201
|
-
memcpy((unsigned char*)state, data, laneCount*8);
|
202
|
-
#else
|
203
|
-
tSmallUInt i;
|
204
|
-
const UINT8 *curData = data;
|
205
|
-
for(i=0; i<laneCount; i++, curData+=8) {
|
206
|
-
tKeccakLane lane = (tKeccakLane)curData[0]
|
207
|
-
| ((tKeccakLane)curData[1] << 8)
|
208
|
-
| ((tKeccakLane)curData[2] << 16)
|
209
|
-
| ((tKeccakLane)curData[3] << 24)
|
210
|
-
| ((tKeccakLane)curData[4] << 32)
|
211
|
-
| ((tKeccakLane)curData[5] << 40)
|
212
|
-
| ((tKeccakLane)curData[6] << 48)
|
213
|
-
| ((tKeccakLane)curData[7] << 56);
|
214
|
-
((tKeccakLane*)state)[i] = lane;
|
215
|
-
}
|
216
|
-
#endif
|
217
|
-
}
|
218
|
-
|
219
|
-
/* ---------------------------------------------------------------- */
|
220
|
-
|
221
|
-
void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
222
|
-
{
|
223
|
-
SnP_OverwriteBytes(state, data, offset, length, KeccakP1600_OverwriteLanes, KeccakP1600_OverwriteBytesInLane, 8);
|
224
|
-
}
|
225
|
-
|
226
|
-
/* ---------------------------------------------------------------- */
|
227
|
-
|
228
|
-
void KeccakP1600_OverwriteWithZeroes(void *argState, unsigned int byteCount)
|
229
|
-
{
|
230
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
231
|
-
memset((unsigned char*)argState, 0, byteCount);
|
232
|
-
#else
|
233
|
-
tKeccakLane *state = (tKeccakLane*)argState;
|
234
|
-
unsigned int i, j;
|
235
|
-
for(i=0; i<byteCount/8; i++)
|
236
|
-
state[i] = 0;
|
237
|
-
for(j=0; j<byteCount%8; j++)
|
238
|
-
state[i] &= ~(((tKeccakLane)0xFF) << (j*8));
|
239
|
-
#endif
|
240
|
-
}
|
241
|
-
|
242
|
-
/* ---------------------------------------------------------------- */
|
243
|
-
|
244
|
-
static void KeccakP1600_Permute_NroundsLFSR(void *argState, UINT8 rounds, UINT8 LFSRinitialState)
|
245
|
-
{
|
246
|
-
tSmallUInt x, y, round;
|
247
|
-
tKeccakLane temp;
|
248
|
-
tKeccakLane BC[5];
|
249
|
-
tKeccakLane *state;
|
250
|
-
UINT8 LFSRstate;
|
251
|
-
|
252
|
-
state = (tKeccakLane*)argState;
|
253
|
-
LFSRstate = LFSRinitialState;
|
254
|
-
round = rounds;
|
255
|
-
do
|
256
|
-
{
|
257
|
-
/* Theta */
|
258
|
-
for ( x = 0; x < 5; ++x )
|
259
|
-
{
|
260
|
-
BC[x] = state[x] ^ state[5 + x] ^ state[10 + x] ^ state[15 + x] ^ state[20 + x];
|
261
|
-
}
|
262
|
-
for ( x = 0; x < 5; ++x )
|
263
|
-
{
|
264
|
-
temp = BC[MOD5(x+4)] ^ ROL64(BC[MOD5(x+1)], 1);
|
265
|
-
for ( y = 0; y < 25; y += 5 )
|
266
|
-
{
|
267
|
-
state[y + x] ^= temp;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
|
271
|
-
/* Rho Pi */
|
272
|
-
temp = state[1];
|
273
|
-
for ( x = 0; x < 24; ++x )
|
274
|
-
{
|
275
|
-
BC[0] = state[KeccakP1600_PiLane[x]];
|
276
|
-
state[KeccakP1600_PiLane[x]] = ROL64( temp, KeccakP1600_RotationConstants[x] );
|
277
|
-
temp = BC[0];
|
278
|
-
}
|
279
|
-
|
280
|
-
/* Chi */
|
281
|
-
for ( y = 0; y < 25; y += 5 )
|
282
|
-
{
|
283
|
-
#if defined(UNROLL_CHILOOP)
|
284
|
-
BC[0] = state[y + 0];
|
285
|
-
BC[1] = state[y + 1];
|
286
|
-
BC[2] = state[y + 2];
|
287
|
-
BC[3] = state[y + 3];
|
288
|
-
BC[4] = state[y + 4];
|
289
|
-
#else
|
290
|
-
for ( x = 0; x < 5; ++x )
|
291
|
-
{
|
292
|
-
BC[x] = state[y + x];
|
293
|
-
}
|
294
|
-
#endif
|
295
|
-
for ( x = 0; x < 5; ++x )
|
296
|
-
{
|
297
|
-
state[y + x] = BC[x] ^((~BC[MOD5(x+1)]) & BC[MOD5(x+2)]);
|
298
|
-
}
|
299
|
-
}
|
300
|
-
|
301
|
-
/* Iota */
|
302
|
-
state[0] ^= KeccakF1600_GetNextRoundConstant(&LFSRstate);
|
303
|
-
}
|
304
|
-
while( --round != 0 );
|
305
|
-
}
|
306
|
-
|
307
|
-
/* ---------------------------------------------------------------- */
|
308
|
-
|
309
|
-
void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds)
|
310
|
-
{
|
311
|
-
UINT8 LFSRstate;
|
312
|
-
UINT8 nr;
|
313
|
-
|
314
|
-
LFSRstate = 0x01;
|
315
|
-
for ( nr = 24 - nrounds; nr != 0; --nr )
|
316
|
-
KeccakF1600_GetNextRoundConstant(&LFSRstate);
|
317
|
-
KeccakP1600_Permute_NroundsLFSR(state, nrounds, LFSRstate);
|
318
|
-
}
|
319
|
-
|
320
|
-
/* ---------------------------------------------------------------- */
|
321
|
-
|
322
|
-
void KeccakP1600_Permute_12rounds(void *state)
|
323
|
-
{
|
324
|
-
KeccakP1600_Permute_NroundsLFSR(state, 12, 0xD5);
|
325
|
-
}
|
326
|
-
|
327
|
-
/* ---------------------------------------------------------------- */
|
328
|
-
|
329
|
-
void KeccakP1600_Permute_24rounds(void *state)
|
330
|
-
{
|
331
|
-
KeccakP1600_Permute_NroundsLFSR(state, 24, 0x01);
|
332
|
-
}
|
333
|
-
|
334
|
-
/* ---------------------------------------------------------------- */
|
335
|
-
|
336
|
-
void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length)
|
337
|
-
{
|
338
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
339
|
-
memcpy(data, ((UINT8*)&((tKeccakLane*)state)[lanePosition])+offset, length);
|
340
|
-
#else
|
341
|
-
tSmallUInt i;
|
342
|
-
tKeccakLane lane = ((tKeccakLane*)state)[lanePosition];
|
343
|
-
lane >>= offset*8;
|
344
|
-
for(i=0; i<length; i++) {
|
345
|
-
data[i] = lane & 0xFF;
|
346
|
-
lane >>= 8;
|
347
|
-
}
|
348
|
-
#endif
|
349
|
-
}
|
350
|
-
|
351
|
-
/* ---------------------------------------------------------------- */
|
352
|
-
|
353
|
-
void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned int laneCount)
|
354
|
-
{
|
355
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
356
|
-
memcpy(data, state, laneCount*8);
|
357
|
-
#else
|
358
|
-
tSmallUInt i, j;
|
359
|
-
for(i=0; i<laneCount; i++)
|
360
|
-
{
|
361
|
-
for(j=0; j<(64/8); j++)
|
362
|
-
{
|
363
|
-
data[(i*8)+j] = (((const tKeccakLane*)state)[i] >> (8*j)) & 0xFF;
|
364
|
-
}
|
365
|
-
}
|
366
|
-
#endif
|
367
|
-
}
|
368
|
-
|
369
|
-
/* ---------------------------------------------------------------- */
|
370
|
-
|
371
|
-
void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length)
|
372
|
-
{
|
373
|
-
SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesInLane, 8);
|
374
|
-
}
|
375
|
-
|
376
|
-
/* ---------------------------------------------------------------- */
|
377
|
-
|
378
|
-
void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePosition, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
379
|
-
{
|
380
|
-
tSmallUInt i;
|
381
|
-
tKeccakLane lane = ((tKeccakLane*)state)[lanePosition];
|
382
|
-
lane >>= offset*8;
|
383
|
-
for(i=0; i<length; i++) {
|
384
|
-
output[i] = input[i] ^ (lane & 0xFF);
|
385
|
-
lane >>= 8;
|
386
|
-
}
|
387
|
-
}
|
388
|
-
|
389
|
-
/* ---------------------------------------------------------------- */
|
390
|
-
|
391
|
-
void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *input, unsigned char *output, unsigned int laneCount)
|
392
|
-
{
|
393
|
-
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
394
|
-
tSmallUInt i;
|
395
|
-
for(i=0; i<laneCount; i++)
|
396
|
-
((tKeccakLane*)output)[i] = ((tKeccakLane*)input)[i] ^ ((const tKeccakLane*)state)[i];
|
397
|
-
#else
|
398
|
-
tSmallUInt i, j;
|
399
|
-
for(i=0; i<laneCount; i++)
|
400
|
-
{
|
401
|
-
for(j=0; j<(64/8); j++)
|
402
|
-
{
|
403
|
-
output[(i*8)+j] = input[(i*8)+j] ^ ((((const tKeccakLane*)state)[i] >> (8*j)) & 0xFF);
|
404
|
-
}
|
405
|
-
}
|
406
|
-
#endif
|
407
|
-
}
|
408
|
-
|
409
|
-
/* ---------------------------------------------------------------- */
|
410
|
-
|
411
|
-
void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
412
|
-
{
|
413
|
-
SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, KeccakP1600_ExtractAndAddBytesInLane, 8);
|
414
|
-
}
|
415
|
-
|
416
|
-
/* ---------------------------------------------------------------- */
|
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
Please refer to PlSnP-documentation.h for more details.
|
16
|
-
*/
|
17
|
-
|
18
|
-
#ifndef _KeccakP_1600_times2_SnP_h_
|
19
|
-
#define _KeccakP_1600_times2_SnP_h_
|
20
|
-
|
21
|
-
#include "KeccakP-1600-SnP.h"
|
22
|
-
|
23
|
-
#define KeccakP1600times2_implementation "fallback on serial implementation (" KeccakP1600_implementation ")"
|
24
|
-
#define KeccakP1600times2_statesSizeInBytes (((KeccakP1600_stateSizeInBytes+(KeccakP1600_stateAlignment-1))/KeccakP1600_stateAlignment)*KeccakP1600_stateAlignment*2)
|
25
|
-
#define KeccakP1600times2_statesAlignment KeccakP1600_stateAlignment
|
26
|
-
#define KeccakP1600times2_isFallback
|
27
|
-
|
28
|
-
void KeccakP1600times2_StaticInitialize( void );
|
29
|
-
void KeccakP1600times2_InitializeAll(void *states);
|
30
|
-
void KeccakP1600times2_AddByte(void *states, unsigned int instanceIndex, unsigned char data, unsigned int offset);
|
31
|
-
void KeccakP1600times2_AddBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
32
|
-
void KeccakP1600times2_AddLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
33
|
-
void KeccakP1600times2_OverwriteBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
34
|
-
void KeccakP1600times2_OverwriteLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
35
|
-
void KeccakP1600times2_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount);
|
36
|
-
void KeccakP1600times2_PermuteAll_4rounds(void *states);
|
37
|
-
void KeccakP1600times2_PermuteAll_6rounds(void *states);
|
38
|
-
void KeccakP1600times2_PermuteAll_12rounds(void *states);
|
39
|
-
void KeccakP1600times2_PermuteAll_24rounds(void *states);
|
40
|
-
void KeccakP1600times2_ExtractBytes(const void *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
|
41
|
-
void KeccakP1600times2_ExtractLanesAll(const void *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
42
|
-
void KeccakP1600times2_ExtractAndAddBytes(const void *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
43
|
-
void KeccakP1600times2_ExtractAndAddLanesAll(const void *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
|
44
|
-
|
45
|
-
#endif
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
This file implements Keccak-p[1600]×2 in a PlSnP-compatible way.
|
16
|
-
Please refer to PlSnP-documentation.h for more details.
|
17
|
-
|
18
|
-
This implementation comes with KeccakP-1600-times2-SnP.h in the same folder.
|
19
|
-
Please refer to LowLevel.build for the exact list of other files it must be combined with.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#include "KeccakP-1600-SnP.h"
|
23
|
-
|
24
|
-
#define prefix KeccakP1600times2
|
25
|
-
#define PlSnP_baseParallelism 1
|
26
|
-
#define PlSnP_targetParallelism 2
|
27
|
-
#define SnP_laneLengthInBytes 8
|
28
|
-
#define SnP KeccakP1600
|
29
|
-
#define SnP_Permute KeccakP1600_Permute_24rounds
|
30
|
-
#define SnP_Permute_12rounds KeccakP1600_Permute_12rounds
|
31
|
-
#define SnP_Permute_Nrounds KeccakP1600_Permute_Nrounds
|
32
|
-
#define PlSnP_PermuteAll KeccakP1600times2_PermuteAll_24rounds
|
33
|
-
#define PlSnP_PermuteAll_12rounds KeccakP1600times2_PermuteAll_12rounds
|
34
|
-
#define PlSnP_PermuteAll_6rounds KeccakP1600times2_PermuteAll_6rounds
|
35
|
-
#define PlSnP_PermuteAll_4rounds KeccakP1600times2_PermuteAll_4rounds
|
36
|
-
|
37
|
-
#include "PlSnP-Fallback.inc"
|
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
Please refer to PlSnP-documentation.h for more details.
|
16
|
-
*/
|
17
|
-
|
18
|
-
#ifndef _KeccakP_1600_times4_SnP_h_
|
19
|
-
#define _KeccakP_1600_times4_SnP_h_
|
20
|
-
|
21
|
-
#include "KeccakP-1600-SnP.h"
|
22
|
-
|
23
|
-
#define KeccakP1600times4_implementation "fallback on serial implementation (" KeccakP1600_implementation ")"
|
24
|
-
#define KeccakP1600times4_statesSizeInBytes (((KeccakP1600_stateSizeInBytes+(KeccakP1600_stateAlignment-1))/KeccakP1600_stateAlignment)*KeccakP1600_stateAlignment*4)
|
25
|
-
#define KeccakP1600times4_statesAlignment KeccakP1600_stateAlignment
|
26
|
-
#define KeccakP1600times4_isFallback
|
27
|
-
|
28
|
-
void KeccakP1600times4_StaticInitialize( void );
|
29
|
-
void KeccakP1600times4_InitializeAll(void *states);
|
30
|
-
void KeccakP1600times4_AddByte(void *states, unsigned int instanceIndex, unsigned char data, unsigned int offset);
|
31
|
-
void KeccakP1600times4_AddBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
32
|
-
void KeccakP1600times4_AddLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
33
|
-
void KeccakP1600times4_OverwriteBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
34
|
-
void KeccakP1600times4_OverwriteLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
35
|
-
void KeccakP1600times4_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount);
|
36
|
-
void KeccakP1600times4_PermuteAll_4rounds(void *states);
|
37
|
-
void KeccakP1600times4_PermuteAll_6rounds(void *states);
|
38
|
-
void KeccakP1600times4_PermuteAll_12rounds(void *states);
|
39
|
-
void KeccakP1600times4_PermuteAll_24rounds(void *states);
|
40
|
-
void KeccakP1600times4_ExtractBytes(const void *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
|
41
|
-
void KeccakP1600times4_ExtractLanesAll(const void *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
42
|
-
void KeccakP1600times4_ExtractAndAddBytes(const void *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
43
|
-
void KeccakP1600times4_ExtractAndAddLanesAll(const void *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
|
44
|
-
|
45
|
-
#endif
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
This file implements Keccak-p[1600]×4 in a PlSnP-compatible way.
|
16
|
-
Please refer to PlSnP-documentation.h for more details.
|
17
|
-
|
18
|
-
This implementation comes with KeccakP-1600-times4-SnP.h in the same folder.
|
19
|
-
Please refer to LowLevel.build for the exact list of other files it must be combined with.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#include "KeccakP-1600-SnP.h"
|
23
|
-
|
24
|
-
#define prefix KeccakP1600times4
|
25
|
-
#define PlSnP_baseParallelism 1
|
26
|
-
#define PlSnP_targetParallelism 4
|
27
|
-
#define SnP_laneLengthInBytes 8
|
28
|
-
#define SnP KeccakP1600
|
29
|
-
#define SnP_Permute KeccakP1600_Permute_24rounds
|
30
|
-
#define SnP_Permute_12rounds KeccakP1600_Permute_12rounds
|
31
|
-
#define SnP_Permute_Nrounds KeccakP1600_Permute_Nrounds
|
32
|
-
#define PlSnP_PermuteAll KeccakP1600times4_PermuteAll_24rounds
|
33
|
-
#define PlSnP_PermuteAll_12rounds KeccakP1600times4_PermuteAll_12rounds
|
34
|
-
#define PlSnP_PermuteAll_6rounds KeccakP1600times4_PermuteAll_6rounds
|
35
|
-
#define PlSnP_PermuteAll_4rounds KeccakP1600times4_PermuteAll_4rounds
|
36
|
-
|
37
|
-
#include "PlSnP-Fallback.inc"
|
@@ -1,45 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
Please refer to PlSnP-documentation.h for more details.
|
16
|
-
*/
|
17
|
-
|
18
|
-
#ifndef _KeccakP_1600_times8_SnP_h_
|
19
|
-
#define _KeccakP_1600_times8_SnP_h_
|
20
|
-
|
21
|
-
#include "KeccakP-1600-SnP.h"
|
22
|
-
|
23
|
-
#define KeccakP1600times8_implementation "fallback on serial implementation (" KeccakP1600_implementation ")"
|
24
|
-
#define KeccakP1600times8_statesSizeInBytes (((KeccakP1600_stateSizeInBytes+(KeccakP1600_stateAlignment-1))/KeccakP1600_stateAlignment)*KeccakP1600_stateAlignment*8)
|
25
|
-
#define KeccakP1600times8_statesAlignment KeccakP1600_stateAlignment
|
26
|
-
#define KeccakP1600times8_isFallback
|
27
|
-
|
28
|
-
void KeccakP1600times8_StaticInitialize( void );
|
29
|
-
void KeccakP1600times8_InitializeAll(void *states);
|
30
|
-
void KeccakP1600times8_AddByte(void *states, unsigned int instanceIndex, unsigned char data, unsigned int offset);
|
31
|
-
void KeccakP1600times8_AddBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
32
|
-
void KeccakP1600times8_AddLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
33
|
-
void KeccakP1600times8_OverwriteBytes(void *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
34
|
-
void KeccakP1600times8_OverwriteLanesAll(void *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
35
|
-
void KeccakP1600times8_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount);
|
36
|
-
void KeccakP1600times8_PermuteAll_4rounds(void *states);
|
37
|
-
void KeccakP1600times8_PermuteAll_6rounds(void *states);
|
38
|
-
void KeccakP1600times8_PermuteAll_12rounds(void *states);
|
39
|
-
void KeccakP1600times8_PermuteAll_24rounds(void *states);
|
40
|
-
void KeccakP1600times8_ExtractBytes(const void *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
|
41
|
-
void KeccakP1600times8_ExtractLanesAll(const void *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
42
|
-
void KeccakP1600times8_ExtractAndAddBytes(const void *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
43
|
-
void KeccakP1600times8_ExtractAndAddLanesAll(const void *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
|
44
|
-
|
45
|
-
#endif
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Implementation by the Keccak Team, namely, Guido Bertoni, Joan Daemen,
|
3
|
-
Michaël Peeters, Gilles Van Assche and Ronny Van Keer,
|
4
|
-
hereby denoted as "the implementer".
|
5
|
-
|
6
|
-
For more information, feedback or questions, please refer to our website:
|
7
|
-
https://keccak.team/
|
8
|
-
|
9
|
-
To the extent possible under law, the implementer has waived all copyright
|
10
|
-
and related or neighboring rights to the source code in this file.
|
11
|
-
http://creativecommons.org/publicdomain/zero/1.0/
|
12
|
-
|
13
|
-
---
|
14
|
-
|
15
|
-
This file implements Keccak-p[1600]×8 in a PlSnP-compatible way.
|
16
|
-
Please refer to PlSnP-documentation.h for more details.
|
17
|
-
|
18
|
-
This implementation comes with KeccakP-1600-times8-SnP.h in the same folder.
|
19
|
-
Please refer to LowLevel.build for the exact list of other files it must be combined with.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#include "KeccakP-1600-SnP.h"
|
23
|
-
|
24
|
-
#define prefix KeccakP1600times8
|
25
|
-
#define PlSnP_baseParallelism 1
|
26
|
-
#define PlSnP_targetParallelism 8
|
27
|
-
#define SnP_laneLengthInBytes 8
|
28
|
-
#define SnP KeccakP1600
|
29
|
-
#define SnP_Permute KeccakP1600_Permute_24rounds
|
30
|
-
#define SnP_Permute_12rounds KeccakP1600_Permute_12rounds
|
31
|
-
#define SnP_Permute_Nrounds KeccakP1600_Permute_Nrounds
|
32
|
-
#define PlSnP_PermuteAll KeccakP1600times8_PermuteAll_24rounds
|
33
|
-
#define PlSnP_PermuteAll_12rounds KeccakP1600times8_PermuteAll_12rounds
|
34
|
-
#define PlSnP_PermuteAll_6rounds KeccakP1600times8_PermuteAll_6rounds
|
35
|
-
#define PlSnP_PermuteAll_4rounds KeccakP1600times8_PermuteAll_4rounds
|
36
|
-
|
37
|
-
#include "PlSnP-Fallback.inc"
|
@@ -1 +0,0 @@
|
|
1
|
-
#include "../common/KeccakSpongeWidth1600.c"
|