digest-kangarootwelve 0.2.0 → 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 +114 -21
- data/Rakefile +59 -5
- data/digest-kangarootwelve.gemspec +19 -33
- data/ext/digest/kangarootwelve/{align.h → XKCP/lib/common/align.h} +6 -7
- data/ext/digest/kangarootwelve/{brg_endian.h → XKCP/lib/common/brg_endian.h} +8 -7
- data/ext/digest/kangarootwelve/{KangarooTwelve.c → XKCP/lib/high/KangarooTwelve/KangarooTwelve.c} +44 -18
- data/ext/digest/kangarootwelve/{KangarooTwelve.h → XKCP/lib/high/KangarooTwelve/KangarooTwelve.h} +13 -9
- 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/{KeccakSponge.inc → XKCP/lib/high/Keccak/KeccakSponge.inc} +9 -8
- data/ext/digest/kangarootwelve/{Phases.h → XKCP/lib/high/common/Phases.h} +6 -7
- 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/XKCP/lib/low/KeccakP-1600/AVX512/C/u12/KeccakP-1600-AVX512-config.h +6 -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/XKCP/lib/low/KeccakP-1600/XOP/ua/KeccakP-1600-XOP-config.h +6 -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/{KeccakP-1600-SnP.h → XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h} +12 -10
- data/ext/digest/kangarootwelve/{KeccakP-1600-compact64.c → XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c} +37 -29
- 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/XKCP/lib/low/KeccakP-1600/plain-64bits/lcua/KeccakP-1600-opt64-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/lcua-shld/KeccakP-1600-opt64-config.h +8 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/ua/KeccakP-1600-opt64-config.h +6 -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/XKCP/lib/low/KeccakP-1600-times2/AVX512/AVX512u12/SIMD512-2-config.h +7 -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/XKCP/lib/low/KeccakP-1600-times2/SIMD128/XOP-ua/SIMD128-config.h +9 -0
- data/ext/digest/kangarootwelve/{KeccakP-1600-times2-SnP.h → XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h} +10 -10
- data/ext/digest/kangarootwelve/{KeccakP-1600-times2-on1.c → XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c} +13 -7
- 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/XKCP/lib/low/KeccakP-1600-times4/AVX2/u12/SIMD256-config.h +7 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/AVX512u12/SIMD512-4-config.h +7 -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/{KeccakP-1600-times4-SnP.h → XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h} +10 -10
- data/ext/digest/kangarootwelve/{KeccakP-1600-times4-on1.c → XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c} +13 -7
- 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/XKCP/lib/low/KeccakP-1600-times8/AVX512/u12/SIMD512-config.h +7 -0
- data/ext/digest/kangarootwelve/{KeccakP-1600-times8-SnP.h → XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h} +10 -10
- data/ext/digest/kangarootwelve/{KeccakP-1600-times8-on1.c → XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c} +13 -7
- 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/{PlSnP-Fallback.inc → XKCP/lib/low/common/PlSnP-Fallback.inc} +14 -7
- data/ext/digest/kangarootwelve/{SnP-Relaned.h → XKCP/lib/low/common/SnP-Relaned.h} +14 -7
- 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 +74 -51
- data/ext/digest/kangarootwelve/extconf.rb +12 -1
- 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/targets/armv6/ext.c +1 -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/targets/armv6m/ext.c +1 -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/targets/armv7a/ext.c +1 -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/targets/armv7m/ext.c +1 -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/targets/armv8a/ext.c +1 -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/targets/avr8/ext.c +1 -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/targets/avx/ext.c +1 -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/targets/avx2/ext.c +1 -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/targets/avx2noasm/ext.c +1 -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/targets/avx512/ext.c +1 -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/targets/avx512noasm/ext.c +1 -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/targets/compact/ext.c +1 -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/targets/generic32/ext.c +1 -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/targets/generic32lc/ext.c +1 -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/targets/generic64/ext.c +1 -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/targets/generic64lc/ext.c +1 -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/targets/reference/ext.c +1 -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/targets/reference32bits/ext.c +1 -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/targets/ssse3/ext.c +1 -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/ext/digest/kangarootwelve/utils.h +5 -3
- data/lib/digest/kangarootwelve/version.rb +1 -1
- data/rakelib/alt-install-task.rake +58 -0
- data/test/test.rb +47 -45
- metadata +817 -26
- data/ext/digest/kangarootwelve/KeccakSponge-common.h +0 -37
- data/ext/digest/kangarootwelve/KeccakSpongeWidth1600.c +0 -56
- data/ext/digest/kangarootwelve/KeccakSpongeWidth1600.h +0 -33
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'singleton'
|
2
|
+
|
3
|
+
# Provides an alternate implementation of 'install' and 'install:local'.
|
4
|
+
#
|
5
|
+
# This mainly allows options to be forwarded to `gem install`.
|
6
|
+
#
|
7
|
+
class AltInstallTask < Rake::TaskLib
|
8
|
+
module GemName
|
9
|
+
def gem_name
|
10
|
+
gemspec = Bundler::GemHelper.gemspec
|
11
|
+
"#{gemspec.name}-#{gemspec.version}.gem"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module TaskComment
|
16
|
+
include GemName
|
17
|
+
|
18
|
+
def comment
|
19
|
+
comment = "Build and install #{gem_name} into system gems"
|
20
|
+
comment += " without network access" if name.to_s == "install:local"
|
21
|
+
comment
|
22
|
+
end
|
23
|
+
|
24
|
+
def full_comment
|
25
|
+
comment + "."
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
include Singleton
|
30
|
+
include GemName
|
31
|
+
|
32
|
+
def initialize
|
33
|
+
define
|
34
|
+
end
|
35
|
+
|
36
|
+
def define
|
37
|
+
[:install, :"install:local"].each do |name|
|
38
|
+
task(name).clear.enhance([:build]){ |task| execute_task(task) }
|
39
|
+
.singleton_class.prepend(TaskComment)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
private
|
44
|
+
def pkg_dir
|
45
|
+
@pkg_dir ||= File.join(Bundler::GemHelper.instance.base, "pkg")
|
46
|
+
end
|
47
|
+
|
48
|
+
def execute_task(task)
|
49
|
+
built_gem = File.join(pkg_dir, gem_name)
|
50
|
+
raise "Gem '#{built_gem}' unexpectedly doesn't exist." unless File.exist? built_gem
|
51
|
+
gem_command = (ENV["GEM_COMMAND"].shellsplit rescue nil) || ["gem"]
|
52
|
+
opts = ARGV.select{ |e| e =~ /\A--?/ }
|
53
|
+
opts.unshift "--local" if task.name.to_s == "install:local"
|
54
|
+
Process.wait spawn(*gem_command, "install", built_gem, *opts)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
AltInstallTask.instance
|
data/test/test.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
require 'minitest/autorun'
|
2
|
-
|
3
|
-
TEST_DIR = File.dirname(__FILE__)
|
4
|
-
require File.join(TEST_DIR, %w{ .. lib digest kangarootwelve })
|
2
|
+
require File.expand_path('../../lib/digest/kangarootwelve', __FILE__)
|
5
3
|
|
6
4
|
def get_repeated_0x00_to_0xfa(length)
|
7
5
|
hex = (0..0xfa).to_a.map{ |e| sprintf "%2x", e }.join
|
@@ -22,48 +20,48 @@ end
|
|
22
20
|
|
23
21
|
describe Digest::KangarooTwelve do
|
24
22
|
it "produces implementation classes" do
|
25
|
-
Digest::KangarooTwelve[32].superclass.must_equal Digest::KangarooTwelve::Impl
|
26
|
-
Digest::KangarooTwelve[32].digest_length.must_equal 32
|
27
|
-
Digest::KangarooTwelve[32].must_equal Digest::KangarooTwelve_32
|
28
|
-
Digest::KangarooTwelve.implement(digest_length: 64).superclass.must_equal Digest::KangarooTwelve::Impl
|
29
|
-
Digest::KangarooTwelve.implement(digest_length: 64).digest_length.must_equal 64
|
30
|
-
Digest::KangarooTwelve.implement(digest_length: 64).must_equal Digest::KangarooTwelve_64
|
23
|
+
_(Digest::KangarooTwelve[32].superclass).must_equal Digest::KangarooTwelve::Impl
|
24
|
+
_(Digest::KangarooTwelve[32].digest_length).must_equal 32
|
25
|
+
_(Digest::KangarooTwelve[32]).must_equal Digest::KangarooTwelve_32
|
26
|
+
_(Digest::KangarooTwelve.implement(digest_length: 64).superclass).must_equal Digest::KangarooTwelve::Impl
|
27
|
+
_(Digest::KangarooTwelve.implement(digest_length: 64).digest_length).must_equal 64
|
28
|
+
_(Digest::KangarooTwelve.implement(digest_length: 64)).must_equal Digest::KangarooTwelve_64
|
31
29
|
end
|
32
30
|
|
33
31
|
it "produces a default implemention with a digest length of 64" do
|
34
|
-
Digest::KangarooTwelve.implement.must_equal Digest::KangarooTwelve_64
|
35
|
-
Digest::KangarooTwelve_64.digest_length.must_equal 64
|
32
|
+
_(Digest::KangarooTwelve.implement).must_equal Digest::KangarooTwelve_64
|
33
|
+
_(Digest::KangarooTwelve_64.digest_length).must_equal 64
|
36
34
|
end
|
37
35
|
|
38
36
|
it "produces instances that are consistent with produced implementation classes" do
|
39
|
-
Digest::KangarooTwelve[32].new.class.must_equal Digest::KangarooTwelve_32
|
40
|
-
Digest::KangarooTwelve.implement(digest_length: 48).must_equal Digest::KangarooTwelve_48
|
37
|
+
_(Digest::KangarooTwelve[32].new.class).must_equal Digest::KangarooTwelve_32
|
38
|
+
_(Digest::KangarooTwelve.implement(digest_length: 48)).must_equal Digest::KangarooTwelve_48
|
41
39
|
end
|
42
40
|
|
43
41
|
it "produces classes with equal digest length as its instances" do
|
44
|
-
Digest::KangarooTwelve[32].new.digest_length.must_equal Digest::KangarooTwelve_32.digest_length
|
45
|
-
Digest::KangarooTwelve.implement(digest_length: 48).new.digest_length.must_equal Digest::KangarooTwelve_48.digest_length
|
42
|
+
_(Digest::KangarooTwelve[32].new.digest_length).must_equal Digest::KangarooTwelve_32.digest_length
|
43
|
+
_(Digest::KangarooTwelve.implement(digest_length: 48).new.digest_length).must_equal Digest::KangarooTwelve_48.digest_length
|
46
44
|
end
|
47
45
|
|
48
46
|
it "produces hashes" do
|
49
|
-
Digest::KangarooTwelve.default.digest("").class.must_equal String
|
50
|
-
Digest::KangarooTwelve.default.hexdigest("").class.must_equal String
|
51
|
-
Digest::KangarooTwelve.default.new.digest("").class.must_equal String
|
52
|
-
Digest::KangarooTwelve.default.new.hexdigest("").class.must_equal String
|
47
|
+
_(Digest::KangarooTwelve.default.digest("").class).must_equal String
|
48
|
+
_(Digest::KangarooTwelve.default.hexdigest("").class).must_equal String
|
49
|
+
_(Digest::KangarooTwelve.default.new.digest("").class).must_equal String
|
50
|
+
_(Digest::KangarooTwelve.default.new.hexdigest("").class).must_equal String
|
53
51
|
end
|
54
52
|
|
55
53
|
it "produces similar output with its digest and hexdigest methods" do
|
56
54
|
digest_a = Digest::KangarooTwelve[32].digest("abcd")
|
57
|
-
digest_a.class.must_equal String
|
55
|
+
_(digest_a.class).must_equal String
|
58
56
|
digest_b = Digest::KangarooTwelve[32].new.digest("abcd")
|
59
|
-
digest_b.class.must_equal String
|
60
|
-
digest_a.must_equal digest_b
|
57
|
+
_(digest_b.class).must_equal String
|
58
|
+
_(digest_a).must_equal digest_b
|
61
59
|
hex_digest_a = Digest::KangarooTwelve[32].hexdigest("abcd")
|
62
|
-
hex_digest_a.class.must_equal String
|
60
|
+
_(hex_digest_a.class).must_equal String
|
63
61
|
hex_digest_b = Digest::KangarooTwelve[32].new.hexdigest("abcd")
|
64
|
-
hex_digest_b.class.must_equal String
|
65
|
-
hex_digest_a.must_equal hex_digest_b
|
66
|
-
hex_digest_a.must_equal hex_encode(digest_a)
|
62
|
+
_(hex_digest_b.class).must_equal String
|
63
|
+
_(hex_digest_a).must_equal hex_digest_b
|
64
|
+
_(hex_digest_a).must_equal hex_encode(digest_a)
|
67
65
|
end
|
68
66
|
|
69
67
|
it "works with customization strings" do
|
@@ -75,38 +73,38 @@ describe Digest::KangarooTwelve do
|
|
75
73
|
b = Digest::KangarooTwelve.implement(name: "KangarooTwelveTestB", digest_length: 48, customization: "abcd")
|
76
74
|
c = Digest::KangarooTwelve.implement(name: "KangarooTwelveTestC", digest_length: 48, customization_hex: "61626364")
|
77
75
|
d = Digest::KangarooTwelve.implement(name: "KangarooTwelveTestD", digest_length: 48, ch: "61626364")
|
78
|
-
a.name.must_equal "Digest::KangarooTwelveTestA"
|
79
|
-
b.name.must_equal "Digest::KangarooTwelveTestB"
|
80
|
-
a.digest_length.must_equal 48
|
81
|
-
b.digest_length.must_equal a.digest_length
|
82
|
-
a.customization.must_equal "abcd"
|
83
|
-
b.customization.must_equal a.customization
|
84
|
-
c.customization.must_equal a.customization
|
85
|
-
d.customization.must_equal a.customization
|
76
|
+
_(a.name).must_equal "Digest::KangarooTwelveTestA"
|
77
|
+
_(b.name).must_equal "Digest::KangarooTwelveTestB"
|
78
|
+
_(a.digest_length).must_equal 48
|
79
|
+
_(b.digest_length).must_equal a.digest_length
|
80
|
+
_(a.customization).must_equal "abcd"
|
81
|
+
_(b.customization).must_equal a.customization
|
82
|
+
_(c.customization).must_equal a.customization
|
83
|
+
_(d.customization).must_equal a.customization
|
86
84
|
end
|
87
85
|
|
88
86
|
it "has a customization method that returns nil when customization string is undefined" do
|
89
|
-
Digest::KangarooTwelve.implement.customization.must_be_nil
|
87
|
+
_(Digest::KangarooTwelve.implement.customization).must_be_nil
|
90
88
|
end
|
91
89
|
|
92
90
|
it "has a customization_hex method that returns hex of customization string, or nil" do
|
93
|
-
Digest::KangarooTwelve.implement(c: "abcd").customization_hex.must_equal "61626364"
|
94
|
-
Digest::KangarooTwelve.implement.customization_hex.must_be_nil
|
91
|
+
_(Digest::KangarooTwelve.implement(c: "abcd").customization_hex).must_equal "61626364"
|
92
|
+
_(Digest::KangarooTwelve.implement.customization_hex).must_be_nil
|
95
93
|
end
|
96
94
|
|
97
95
|
it "has a declared block length of 8192 bytes" do
|
98
|
-
Digest::KangarooTwelve::BLOCK_LENGTH.must_equal 8192
|
99
|
-
Digest::KangarooTwelve.default.block_length.must_equal 8192
|
100
|
-
Digest::KangarooTwelve.default.new.block_length.must_equal 8192
|
96
|
+
_(Digest::KangarooTwelve::BLOCK_LENGTH).must_equal 8192
|
97
|
+
_(Digest::KangarooTwelve.default.block_length).must_equal 8192
|
98
|
+
_(Digest::KangarooTwelve.default.new.block_length).must_equal 8192
|
101
99
|
end
|
102
100
|
|
103
101
|
it "produces valid hashes" do
|
104
102
|
# KangarooTwelve(M=empty, C=empty, 32 bytes):
|
105
|
-
Digest::KangarooTwelve[32].new.hexdigest("").must_equal "1ac2d450fc3b4205d19da7bfca1b37513c0803577ac7167f06fe2ce1f0ef39e5"
|
103
|
+
_(Digest::KangarooTwelve[32].new.hexdigest("")).must_equal "1ac2d450fc3b4205d19da7bfca1b37513c0803577ac7167f06fe2ce1f0ef39e5"
|
106
104
|
# KangarooTwelve(M=empty, C=empty, 64 bytes):
|
107
|
-
Digest::KangarooTwelve[64].new.hexdigest("").must_equal "1ac2d450fc3b4205d19da7bfca1b37513c0803577ac7167f06fe2ce1f0ef39e54269c056b8c82e48276038b6d292966cc07a3d4645272e31ff38508139eb0a71"
|
105
|
+
_(Digest::KangarooTwelve[64].new.hexdigest("")).must_equal "1ac2d450fc3b4205d19da7bfca1b37513c0803577ac7167f06fe2ce1f0ef39e54269c056b8c82e48276038b6d292966cc07a3d4645272e31ff38508139eb0a71"
|
108
106
|
# KangarooTwelve(M=empty, C=empty, 10032 bytes), last 32 bytes:
|
109
|
-
Digest::KangarooTwelve[10032].new.hexdigest("")[-64..-1].must_equal "e8dc563642f7228c84684c898405d3a834799158c079b12880277a1d28e2ff6d"
|
107
|
+
_(Digest::KangarooTwelve[10032].new.hexdigest("")[-64..-1]).must_equal "e8dc563642f7228c84684c898405d3a834799158c079b12880277a1d28e2ff6d"
|
110
108
|
|
111
109
|
# KangarooTwelve(M=pattern 0x00 to 0xFA for 17^i bytes, C=empty, 32 bytes):
|
112
110
|
[
|
@@ -119,7 +117,7 @@ describe Digest::KangarooTwelve do
|
|
119
117
|
[6, "3c390782a8a4e89fa6367f72feaaf13255c8d95878481d3cd8ce85f58e880af8"]
|
120
118
|
].each do |i, hash|
|
121
119
|
m = get_repeated_0x00_to_0xfa(17 ** i)
|
122
|
-
Digest::KangarooTwelve[32].new.hexdigest(m).must_equal hash
|
120
|
+
_(Digest::KangarooTwelve[32].new.hexdigest(m)).must_equal hash
|
123
121
|
end
|
124
122
|
end
|
125
123
|
|
@@ -133,7 +131,11 @@ describe Digest::KangarooTwelve do
|
|
133
131
|
].each do |i, j, hash|
|
134
132
|
m = get_repeated_0xff(i)
|
135
133
|
c = get_repeated_0x00_to_0xfa(41 ** j)
|
136
|
-
Digest::KangarooTwelve.implement(digest_length: 32, customization: c).new.hexdigest(m).must_equal hash
|
134
|
+
_(Digest::KangarooTwelve.implement(digest_length: 32, customization: c).new.hexdigest(m)).must_equal hash
|
137
135
|
end
|
138
136
|
end
|
137
|
+
|
138
|
+
it "must have VERSION constant" do
|
139
|
+
_(Digest::KangarooTwelve.constants).must_include :VERSION
|
140
|
+
end
|
139
141
|
end
|