pq_crypto 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/GET_STARTED.md +21 -16
- data/README.md +26 -0
- data/SECURITY.md +22 -16
- data/ext/pqcrypto/extconf.rb +148 -99
- data/ext/pqcrypto/mldsa_api.h +1 -118
- data/ext/pqcrypto/mlkem_api.h +1 -42
- data/ext/pqcrypto/pq_externalmu.c +88 -216
- data/ext/pqcrypto/pqcrypto_native_api.h +129 -0
- data/ext/pqcrypto/pqcrypto_ruby_secure.c +0 -3
- data/ext/pqcrypto/pqcrypto_secure.c +135 -117
- data/ext/pqcrypto/pqcrypto_secure.h +1 -42
- data/ext/pqcrypto/pqcrypto_version.h +1 -1
- data/ext/pqcrypto/randombytes.h +9 -0
- data/ext/pqcrypto/vendor/.vendored +10 -5
- data/ext/pqcrypto/vendor/mldsa-native/BUILDING.md +105 -0
- data/ext/pqcrypto/vendor/mldsa-native/LICENSE +286 -0
- data/ext/pqcrypto/vendor/mldsa-native/META.yml +24 -0
- data/ext/pqcrypto/vendor/mldsa-native/README.md +221 -0
- data/ext/pqcrypto/vendor/mldsa-native/SECURITY.md +8 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native.c +721 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native.h +975 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native_asm.S +724 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native_config.h +723 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/cbmc.h +166 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/common.h +321 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/ct.c +21 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/ct.h +385 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/debug.c +73 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/debug.h +130 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202.c +277 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202.h +244 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202x4.c +182 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202x4.h +117 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/keccakf1600.c +438 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/keccakf1600.h +105 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/auto.h +71 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/fips202_native_aarch64.h +62 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x1_scalar_asm.S +376 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x1_v84a_asm.S +204 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x2_v84a_asm.S +259 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_scalar_hybrid_asm.S +1077 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_v84a_scalar_hybrid_asm.S +987 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccakf1600_round_constants.c +41 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x1_scalar.h +26 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x1_v84a.h +35 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x2_v84a.h +37 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x4_v8a_scalar.h +27 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x4_v8a_v84a_scalar.h +36 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/api.h +69 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/README.md +10 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/mve.h +32 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/fips202_native_armv81m.h +20 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.S +638 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.c +136 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccakf1600_round_constants.c +52 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/auto.h +29 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/src/KeccakP_1600_times4_SIMD256.c +488 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/src/KeccakP_1600_times4_SIMD256.h +16 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/xkcp.h +31 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/meta.h +247 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/aarch64_zetas.c +231 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/arith_native_aarch64.h +150 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/intt.S +753 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l4.S +129 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l5.S +145 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l7.S +177 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/ntt.S +653 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/pointwise_montgomery.S +79 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_caddq_asm.S +53 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_chknorm_asm.S +55 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_decompose_32_asm.S +85 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_decompose_88_asm.S +85 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_use_hint_32_asm.S +102 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_use_hint_88_asm.S +110 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_17_asm.S +72 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_19_asm.S +69 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_table.c +40 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_asm.S +189 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta2_asm.S +135 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta4_asm.S +128 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta_table.c +543 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_table.c +62 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/api.h +649 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/meta.h +23 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/meta.h +315 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/arith_native_x86_64.h +124 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/consts.c +157 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/consts.h +27 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/intt.S +2311 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/ntt.S +2383 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/nttunpack.S +239 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise.S +131 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l4.S +139 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l5.S +155 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l7.S +187 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_caddq_avx2.c +61 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_chknorm_avx2.c +52 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_decompose_32_avx2.c +155 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_decompose_88_avx2.c +155 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_use_hint_32_avx2.c +102 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_use_hint_88_avx2.c +104 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/polyz_unpack_17_avx2.c +91 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/polyz_unpack_19_avx2.c +93 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_avx2.c +126 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_eta2_avx2.c +155 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_eta4_avx2.c +139 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_table.c +160 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/packing.c +293 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/packing.h +224 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/params.h +77 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly.c +991 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly.h +393 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly_kl.c +946 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly_kl.h +360 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/polyvec.c +877 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/polyvec.h +725 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/randombytes.h +26 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/reduce.h +139 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/rounding.h +249 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/sign.c +1511 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/sign.h +806 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/symmetric.h +68 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/sys.h +268 -0
- data/ext/pqcrypto/vendor/mldsa-native/mldsa/src/zetas.inc +55 -0
- data/ext/pqcrypto/vendor/mlkem-native/BUILDING.md +104 -0
- data/ext/pqcrypto/vendor/mlkem-native/LICENSE +294 -0
- data/ext/pqcrypto/vendor/mlkem-native/META.yml +30 -0
- data/ext/pqcrypto/vendor/mlkem-native/README.md +223 -0
- data/ext/pqcrypto/vendor/mlkem-native/RELEASE.md +86 -0
- data/ext/pqcrypto/vendor/mlkem-native/SECURITY.md +8 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/README.md +23 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native.c +660 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native.h +538 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native_asm.S +681 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native_config.h +709 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/cbmc.h +174 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/common.h +274 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/compress.c +717 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/compress.h +688 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/debug.c +64 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/debug.h +128 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202.c +251 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202.h +158 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202x4.c +208 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202x4.h +80 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/keccakf1600.c +463 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/keccakf1600.h +98 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/auto.h +70 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/fips202_native_aarch64.h +69 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x1_scalar_asm.S +375 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x1_v84a_asm.S +203 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x2_v84a_asm.S +258 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_scalar_hybrid_asm.S +1076 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_v84a_scalar_hybrid_asm.S +986 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccakf1600_round_constants.c +46 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x1_scalar.h +25 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x1_v84a.h +34 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x2_v84a.h +35 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x4_v8a_scalar.h +26 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x4_v8a_v84a_scalar.h +35 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/api.h +117 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/README.md +10 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/mve.h +79 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/fips202_native_armv81m.h +35 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.S +667 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.c +40 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccakf1600_round_constants.c +51 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/state_extract_bytes_x4_mve.S +290 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/state_xor_bytes_x4_mve.S +314 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/auto.h +28 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/keccak_f1600_x4_avx2.h +33 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/fips202_native_x86_64.h +41 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/keccak_f1600_x4_avx2.S +451 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/keccakf1600_constants.c +51 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/indcpa.c +622 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/indcpa.h +156 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/kem.c +446 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/kem.h +326 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/README.md +16 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/meta.h +122 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/aarch64_zetas.c +174 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/arith_native_aarch64.h +177 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/intt.S +628 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/ntt.S +562 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_mulcache_compute_asm.S +127 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_reduce_asm.S +150 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_tobytes_asm.S +117 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_tomont_asm.S +98 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k2.S +261 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k3.S +314 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k4.S +368 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/rej_uniform_asm.S +226 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/rej_uniform_table.c +542 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/api.h +637 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/meta.h +25 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/README.md +11 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/meta.h +128 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/arith_native_riscv64.h +45 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_debug.c +81 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_debug.h +145 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_izetas.inc +27 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_poly.c +805 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_zetas.inc +27 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_zetas_basemul.inc +39 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/README.md +4 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/meta.h +304 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/arith_native_x86_64.h +309 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/compress_consts.c +94 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/compress_consts.h +45 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/consts.c +102 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/consts.h +25 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/intt.S +719 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/mulcache_compute.S +90 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/ntt.S +639 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/nttfrombytes.S +193 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/ntttobytes.S +181 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/nttunpack.S +174 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d10.S +382 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d11.S +448 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d4.S +163 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d5.S +220 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d10.S +228 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d11.S +277 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d4.S +180 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d5.S +192 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k2.S +502 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k3.S +750 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k4.S +998 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/reduce.S +218 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/rej_uniform_asm.S +103 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/rej_uniform_table.c +544 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/tomont.S +155 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/params.h +76 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly.c +572 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly.h +317 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly_k.c +502 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly_k.h +668 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/randombytes.h +60 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/sampling.c +362 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/sampling.h +118 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/symmetric.h +70 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/sys.h +260 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/verify.c +20 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/verify.h +464 -0
- data/ext/pqcrypto/vendor/mlkem-native/mlkem/src/zetas.inc +30 -0
- data/lib/pq_crypto/version.rb +1 -1
- data/lib/pq_crypto.rb +1 -1
- data/script/vendor_libs.rb +88 -159
- metadata +236 -160
- data/ext/pqcrypto/vendor/pqclean/common/aes.c +0 -639
- data/ext/pqcrypto/vendor/pqclean/common/aes.h +0 -64
- data/ext/pqcrypto/vendor/pqclean/common/compat.h +0 -73
- data/ext/pqcrypto/vendor/pqclean/common/crypto_declassify.h +0 -7
- data/ext/pqcrypto/vendor/pqclean/common/fips202.c +0 -928
- data/ext/pqcrypto/vendor/pqclean/common/fips202.h +0 -166
- data/ext/pqcrypto/vendor/pqclean/common/keccak2x/feat.S +0 -168
- data/ext/pqcrypto/vendor/pqclean/common/keccak2x/fips202x2.c +0 -684
- data/ext/pqcrypto/vendor/pqclean/common/keccak2x/fips202x2.h +0 -60
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/KeccakP-1600-times4-SIMD256.c +0 -1028
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/KeccakP-1600-times4-SnP.h +0 -50
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/KeccakP-1600-unrolling.macros +0 -198
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/Makefile +0 -8
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/Makefile.Microsoft_nmake +0 -8
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/SIMD256-config.h +0 -3
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/align.h +0 -34
- data/ext/pqcrypto/vendor/pqclean/common/keccak4x/brg_endian.h +0 -142
- data/ext/pqcrypto/vendor/pqclean/common/nistseedexpander.c +0 -101
- data/ext/pqcrypto/vendor/pqclean/common/nistseedexpander.h +0 -39
- data/ext/pqcrypto/vendor/pqclean/common/randombytes.c +0 -355
- data/ext/pqcrypto/vendor/pqclean/common/randombytes.h +0 -27
- data/ext/pqcrypto/vendor/pqclean/common/sha2.c +0 -769
- data/ext/pqcrypto/vendor/pqclean/common/sha2.h +0 -173
- data/ext/pqcrypto/vendor/pqclean/common/sp800-185.c +0 -156
- data/ext/pqcrypto/vendor/pqclean/common/sp800-185.h +0 -27
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/api.h +0 -18
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/cbd.c +0 -83
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/cbd.h +0 -11
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/indcpa.c +0 -327
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/indcpa.h +0 -22
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/kem.c +0 -164
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/kem.h +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/ntt.c +0 -146
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/ntt.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/params.h +0 -36
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/poly.c +0 -311
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/poly.h +0 -37
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/polyvec.c +0 -198
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/polyvec.h +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/reduce.c +0 -41
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/reduce.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/symmetric-shake.c +0 -71
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/symmetric.h +0 -30
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/verify.c +0 -67
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-1024/clean/verify.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/api.h +0 -18
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/cbd.c +0 -108
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/cbd.h +0 -11
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/indcpa.c +0 -327
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/indcpa.h +0 -22
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/kem.c +0 -164
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/kem.h +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/ntt.c +0 -146
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/ntt.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/params.h +0 -36
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/poly.c +0 -299
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/poly.h +0 -37
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/polyvec.c +0 -188
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/polyvec.h +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/reduce.c +0 -41
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/reduce.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/symmetric-shake.c +0 -71
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/symmetric.h +0 -30
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/verify.c +0 -67
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-512/clean/verify.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/api.h +0 -18
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/cbd.c +0 -83
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/cbd.h +0 -11
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/indcpa.c +0 -327
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/indcpa.h +0 -22
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/kem.c +0 -164
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/kem.h +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/ntt.c +0 -146
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/ntt.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/params.h +0 -36
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/poly.c +0 -299
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/poly.h +0 -37
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/polyvec.c +0 -188
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/polyvec.h +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/reduce.c +0 -41
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/reduce.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/symmetric-shake.c +0 -71
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/symmetric.h +0 -30
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/verify.c +0 -67
- data/ext/pqcrypto/vendor/pqclean/crypto_kem/ml-kem-768/clean/verify.h +0 -13
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/api.h +0 -50
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/ntt.c +0 -98
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/ntt.h +0 -10
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/packing.c +0 -261
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/packing.h +0 -31
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/params.h +0 -44
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/poly.c +0 -848
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/poly.h +0 -52
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/polyvec.c +0 -415
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/polyvec.h +0 -65
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/reduce.c +0 -69
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/reduce.h +0 -17
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/rounding.c +0 -98
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/rounding.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/sign.c +0 -407
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/sign.h +0 -47
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/symmetric-shake.c +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-44/clean/symmetric.h +0 -34
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/api.h +0 -50
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/ntt.c +0 -98
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/ntt.h +0 -10
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/packing.c +0 -261
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/packing.h +0 -31
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/params.h +0 -44
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/poly.c +0 -799
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/poly.h +0 -52
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/polyvec.c +0 -415
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/polyvec.h +0 -65
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/reduce.c +0 -69
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/reduce.h +0 -17
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/rounding.c +0 -92
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/rounding.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/sign.c +0 -407
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/sign.h +0 -47
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/symmetric-shake.c +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-65/clean/symmetric.h +0 -34
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/LICENSE +0 -5
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/Makefile +0 -19
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/Makefile.Microsoft_nmake +0 -23
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/api.h +0 -50
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/ntt.c +0 -98
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/ntt.h +0 -10
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/packing.c +0 -261
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/packing.h +0 -31
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/params.h +0 -44
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/poly.c +0 -823
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/poly.h +0 -52
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/polyvec.c +0 -415
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/polyvec.h +0 -65
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/reduce.c +0 -69
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/reduce.h +0 -17
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/rounding.c +0 -92
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/rounding.h +0 -14
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/sign.c +0 -407
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/sign.h +0 -47
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/symmetric-shake.c +0 -26
- data/ext/pqcrypto/vendor/pqclean/crypto_sign/ml-dsa-87/clean/symmetric.h +0 -34
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pq_crypto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roman Haydarov
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '5.0'
|
|
54
54
|
description: Native Ruby wrapper around ML-KEM, ML-DSA, and an optional hybrid ML-KEM-768+X25519
|
|
55
|
-
KEM, backed by
|
|
55
|
+
KEM, backed by PQ Code Package native sources and OpenSSL.
|
|
56
56
|
email:
|
|
57
57
|
- romanhajdarov@gmail.com
|
|
58
58
|
executables: []
|
|
@@ -71,168 +71,244 @@ files:
|
|
|
71
71
|
- ext/pqcrypto/mlkem_api.h
|
|
72
72
|
- ext/pqcrypto/pq_externalmu.c
|
|
73
73
|
- ext/pqcrypto/pq_randombytes.c
|
|
74
|
+
- ext/pqcrypto/pqcrypto_native_api.h
|
|
74
75
|
- ext/pqcrypto/pqcrypto_ruby_secure.c
|
|
75
76
|
- ext/pqcrypto/pqcrypto_secure.c
|
|
76
77
|
- ext/pqcrypto/pqcrypto_secure.h
|
|
77
78
|
- ext/pqcrypto/pqcrypto_version.h
|
|
79
|
+
- ext/pqcrypto/randombytes.h
|
|
78
80
|
- ext/pqcrypto/vendor/.vendored
|
|
79
|
-
- ext/pqcrypto/vendor/
|
|
80
|
-
- ext/pqcrypto/vendor/
|
|
81
|
-
- ext/pqcrypto/vendor/
|
|
82
|
-
- ext/pqcrypto/vendor/
|
|
83
|
-
- ext/pqcrypto/vendor/
|
|
84
|
-
- ext/pqcrypto/vendor/
|
|
85
|
-
- ext/pqcrypto/vendor/
|
|
86
|
-
- ext/pqcrypto/vendor/
|
|
87
|
-
- ext/pqcrypto/vendor/
|
|
88
|
-
- ext/pqcrypto/vendor/
|
|
89
|
-
- ext/pqcrypto/vendor/
|
|
90
|
-
- ext/pqcrypto/vendor/
|
|
91
|
-
- ext/pqcrypto/vendor/
|
|
92
|
-
- ext/pqcrypto/vendor/
|
|
93
|
-
- ext/pqcrypto/vendor/
|
|
94
|
-
- ext/pqcrypto/vendor/
|
|
95
|
-
- ext/pqcrypto/vendor/
|
|
96
|
-
- ext/pqcrypto/vendor/
|
|
97
|
-
- ext/pqcrypto/vendor/
|
|
98
|
-
- ext/pqcrypto/vendor/
|
|
99
|
-
- ext/pqcrypto/vendor/
|
|
100
|
-
- ext/pqcrypto/vendor/
|
|
101
|
-
- ext/pqcrypto/vendor/
|
|
102
|
-
- ext/pqcrypto/vendor/
|
|
103
|
-
- ext/pqcrypto/vendor/
|
|
104
|
-
- ext/pqcrypto/vendor/
|
|
105
|
-
- ext/pqcrypto/vendor/
|
|
106
|
-
- ext/pqcrypto/vendor/
|
|
107
|
-
- ext/pqcrypto/vendor/
|
|
108
|
-
- ext/pqcrypto/vendor/
|
|
109
|
-
- ext/pqcrypto/vendor/
|
|
110
|
-
- ext/pqcrypto/vendor/
|
|
111
|
-
- ext/pqcrypto/vendor/
|
|
112
|
-
- ext/pqcrypto/vendor/
|
|
113
|
-
- ext/pqcrypto/vendor/
|
|
114
|
-
- ext/pqcrypto/vendor/
|
|
115
|
-
- ext/pqcrypto/vendor/
|
|
116
|
-
- ext/pqcrypto/vendor/
|
|
117
|
-
- ext/pqcrypto/vendor/
|
|
118
|
-
- ext/pqcrypto/vendor/
|
|
119
|
-
- ext/pqcrypto/vendor/
|
|
120
|
-
- ext/pqcrypto/vendor/
|
|
121
|
-
- ext/pqcrypto/vendor/
|
|
122
|
-
- ext/pqcrypto/vendor/
|
|
123
|
-
- ext/pqcrypto/vendor/
|
|
124
|
-
- ext/pqcrypto/vendor/
|
|
125
|
-
- ext/pqcrypto/vendor/
|
|
126
|
-
- ext/pqcrypto/vendor/
|
|
127
|
-
- ext/pqcrypto/vendor/
|
|
128
|
-
- ext/pqcrypto/vendor/
|
|
129
|
-
- ext/pqcrypto/vendor/
|
|
130
|
-
- ext/pqcrypto/vendor/
|
|
131
|
-
- ext/pqcrypto/vendor/
|
|
132
|
-
- ext/pqcrypto/vendor/
|
|
133
|
-
- ext/pqcrypto/vendor/
|
|
134
|
-
- ext/pqcrypto/vendor/
|
|
135
|
-
- ext/pqcrypto/vendor/
|
|
136
|
-
- ext/pqcrypto/vendor/
|
|
137
|
-
- ext/pqcrypto/vendor/
|
|
138
|
-
- ext/pqcrypto/vendor/
|
|
139
|
-
- ext/pqcrypto/vendor/
|
|
140
|
-
- ext/pqcrypto/vendor/
|
|
141
|
-
- ext/pqcrypto/vendor/
|
|
142
|
-
- ext/pqcrypto/vendor/
|
|
143
|
-
- ext/pqcrypto/vendor/
|
|
144
|
-
- ext/pqcrypto/vendor/
|
|
145
|
-
- ext/pqcrypto/vendor/
|
|
146
|
-
- ext/pqcrypto/vendor/
|
|
147
|
-
- ext/pqcrypto/vendor/
|
|
148
|
-
- ext/pqcrypto/vendor/
|
|
149
|
-
- ext/pqcrypto/vendor/
|
|
150
|
-
- ext/pqcrypto/vendor/
|
|
151
|
-
- ext/pqcrypto/vendor/
|
|
152
|
-
- ext/pqcrypto/vendor/
|
|
153
|
-
- ext/pqcrypto/vendor/
|
|
154
|
-
- ext/pqcrypto/vendor/
|
|
155
|
-
- ext/pqcrypto/vendor/
|
|
156
|
-
- ext/pqcrypto/vendor/
|
|
157
|
-
- ext/pqcrypto/vendor/
|
|
158
|
-
- ext/pqcrypto/vendor/
|
|
159
|
-
- ext/pqcrypto/vendor/
|
|
160
|
-
- ext/pqcrypto/vendor/
|
|
161
|
-
- ext/pqcrypto/vendor/
|
|
162
|
-
- ext/pqcrypto/vendor/
|
|
163
|
-
- ext/pqcrypto/vendor/
|
|
164
|
-
- ext/pqcrypto/vendor/
|
|
165
|
-
- ext/pqcrypto/vendor/
|
|
166
|
-
- ext/pqcrypto/vendor/
|
|
167
|
-
- ext/pqcrypto/vendor/
|
|
168
|
-
- ext/pqcrypto/vendor/
|
|
169
|
-
- ext/pqcrypto/vendor/
|
|
170
|
-
- ext/pqcrypto/vendor/
|
|
171
|
-
- ext/pqcrypto/vendor/
|
|
172
|
-
- ext/pqcrypto/vendor/
|
|
173
|
-
- ext/pqcrypto/vendor/
|
|
174
|
-
- ext/pqcrypto/vendor/
|
|
175
|
-
- ext/pqcrypto/vendor/
|
|
176
|
-
- ext/pqcrypto/vendor/
|
|
177
|
-
- ext/pqcrypto/vendor/
|
|
178
|
-
- ext/pqcrypto/vendor/
|
|
179
|
-
- ext/pqcrypto/vendor/
|
|
180
|
-
- ext/pqcrypto/vendor/
|
|
181
|
-
- ext/pqcrypto/vendor/
|
|
182
|
-
- ext/pqcrypto/vendor/
|
|
183
|
-
- ext/pqcrypto/vendor/
|
|
184
|
-
- ext/pqcrypto/vendor/
|
|
185
|
-
- ext/pqcrypto/vendor/
|
|
186
|
-
- ext/pqcrypto/vendor/
|
|
187
|
-
- ext/pqcrypto/vendor/
|
|
188
|
-
- ext/pqcrypto/vendor/
|
|
189
|
-
- ext/pqcrypto/vendor/
|
|
190
|
-
- ext/pqcrypto/vendor/
|
|
191
|
-
- ext/pqcrypto/vendor/
|
|
192
|
-
- ext/pqcrypto/vendor/
|
|
193
|
-
- ext/pqcrypto/vendor/
|
|
194
|
-
- ext/pqcrypto/vendor/
|
|
195
|
-
- ext/pqcrypto/vendor/
|
|
196
|
-
- ext/pqcrypto/vendor/
|
|
197
|
-
- ext/pqcrypto/vendor/
|
|
198
|
-
- ext/pqcrypto/vendor/
|
|
199
|
-
- ext/pqcrypto/vendor/
|
|
200
|
-
- ext/pqcrypto/vendor/
|
|
201
|
-
- ext/pqcrypto/vendor/
|
|
202
|
-
- ext/pqcrypto/vendor/
|
|
203
|
-
- ext/pqcrypto/vendor/
|
|
204
|
-
- ext/pqcrypto/vendor/
|
|
205
|
-
- ext/pqcrypto/vendor/
|
|
206
|
-
- ext/pqcrypto/vendor/
|
|
207
|
-
- ext/pqcrypto/vendor/
|
|
208
|
-
- ext/pqcrypto/vendor/
|
|
209
|
-
- ext/pqcrypto/vendor/
|
|
210
|
-
- ext/pqcrypto/vendor/
|
|
211
|
-
- ext/pqcrypto/vendor/
|
|
212
|
-
- ext/pqcrypto/vendor/
|
|
213
|
-
- ext/pqcrypto/vendor/
|
|
214
|
-
- ext/pqcrypto/vendor/
|
|
215
|
-
- ext/pqcrypto/vendor/
|
|
216
|
-
- ext/pqcrypto/vendor/
|
|
217
|
-
- ext/pqcrypto/vendor/
|
|
218
|
-
- ext/pqcrypto/vendor/
|
|
219
|
-
- ext/pqcrypto/vendor/
|
|
220
|
-
- ext/pqcrypto/vendor/
|
|
221
|
-
- ext/pqcrypto/vendor/
|
|
222
|
-
- ext/pqcrypto/vendor/
|
|
223
|
-
- ext/pqcrypto/vendor/
|
|
224
|
-
- ext/pqcrypto/vendor/
|
|
225
|
-
- ext/pqcrypto/vendor/
|
|
226
|
-
- ext/pqcrypto/vendor/
|
|
227
|
-
- ext/pqcrypto/vendor/
|
|
228
|
-
- ext/pqcrypto/vendor/
|
|
229
|
-
- ext/pqcrypto/vendor/
|
|
230
|
-
- ext/pqcrypto/vendor/
|
|
231
|
-
- ext/pqcrypto/vendor/
|
|
232
|
-
- ext/pqcrypto/vendor/
|
|
233
|
-
- ext/pqcrypto/vendor/
|
|
234
|
-
- ext/pqcrypto/vendor/
|
|
235
|
-
- ext/pqcrypto/vendor/
|
|
81
|
+
- ext/pqcrypto/vendor/mldsa-native/BUILDING.md
|
|
82
|
+
- ext/pqcrypto/vendor/mldsa-native/LICENSE
|
|
83
|
+
- ext/pqcrypto/vendor/mldsa-native/META.yml
|
|
84
|
+
- ext/pqcrypto/vendor/mldsa-native/README.md
|
|
85
|
+
- ext/pqcrypto/vendor/mldsa-native/SECURITY.md
|
|
86
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native.c
|
|
87
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native.h
|
|
88
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native_asm.S
|
|
89
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/mldsa_native_config.h
|
|
90
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/cbmc.h
|
|
91
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/common.h
|
|
92
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/ct.c
|
|
93
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/ct.h
|
|
94
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/debug.c
|
|
95
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/debug.h
|
|
96
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202.c
|
|
97
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202.h
|
|
98
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202x4.c
|
|
99
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/fips202x4.h
|
|
100
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/keccakf1600.c
|
|
101
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/keccakf1600.h
|
|
102
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/auto.h
|
|
103
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/fips202_native_aarch64.h
|
|
104
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x1_scalar_asm.S
|
|
105
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x1_v84a_asm.S
|
|
106
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x2_v84a_asm.S
|
|
107
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_scalar_hybrid_asm.S
|
|
108
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_v84a_scalar_hybrid_asm.S
|
|
109
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/src/keccakf1600_round_constants.c
|
|
110
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x1_scalar.h
|
|
111
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x1_v84a.h
|
|
112
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x2_v84a.h
|
|
113
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x4_v8a_scalar.h
|
|
114
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/aarch64/x4_v8a_v84a_scalar.h
|
|
115
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/api.h
|
|
116
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/README.md
|
|
117
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/mve.h
|
|
118
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/fips202_native_armv81m.h
|
|
119
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.S
|
|
120
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.c
|
|
121
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/armv81m/src/keccakf1600_round_constants.c
|
|
122
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/auto.h
|
|
123
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/src/KeccakP_1600_times4_SIMD256.c
|
|
124
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/src/KeccakP_1600_times4_SIMD256.h
|
|
125
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/fips202/native/x86_64/xkcp.h
|
|
126
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/meta.h
|
|
127
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/aarch64_zetas.c
|
|
128
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/arith_native_aarch64.h
|
|
129
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/intt.S
|
|
130
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l4.S
|
|
131
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l5.S
|
|
132
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/mld_polyvecl_pointwise_acc_montgomery_l7.S
|
|
133
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/ntt.S
|
|
134
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/pointwise_montgomery.S
|
|
135
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_caddq_asm.S
|
|
136
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_chknorm_asm.S
|
|
137
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_decompose_32_asm.S
|
|
138
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_decompose_88_asm.S
|
|
139
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_use_hint_32_asm.S
|
|
140
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/poly_use_hint_88_asm.S
|
|
141
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_17_asm.S
|
|
142
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_19_asm.S
|
|
143
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/polyz_unpack_table.c
|
|
144
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_asm.S
|
|
145
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta2_asm.S
|
|
146
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta4_asm.S
|
|
147
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_eta_table.c
|
|
148
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/aarch64/src/rej_uniform_table.c
|
|
149
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/api.h
|
|
150
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/meta.h
|
|
151
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/meta.h
|
|
152
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/arith_native_x86_64.h
|
|
153
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/consts.c
|
|
154
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/consts.h
|
|
155
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/intt.S
|
|
156
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/ntt.S
|
|
157
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/nttunpack.S
|
|
158
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise.S
|
|
159
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l4.S
|
|
160
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l5.S
|
|
161
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/pointwise_acc_l7.S
|
|
162
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_caddq_avx2.c
|
|
163
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_chknorm_avx2.c
|
|
164
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_decompose_32_avx2.c
|
|
165
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_decompose_88_avx2.c
|
|
166
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_use_hint_32_avx2.c
|
|
167
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/poly_use_hint_88_avx2.c
|
|
168
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/polyz_unpack_17_avx2.c
|
|
169
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/polyz_unpack_19_avx2.c
|
|
170
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_avx2.c
|
|
171
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_eta2_avx2.c
|
|
172
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_eta4_avx2.c
|
|
173
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/native/x86_64/src/rej_uniform_table.c
|
|
174
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/packing.c
|
|
175
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/packing.h
|
|
176
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/params.h
|
|
177
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly.c
|
|
178
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly.h
|
|
179
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly_kl.c
|
|
180
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/poly_kl.h
|
|
181
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/polyvec.c
|
|
182
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/polyvec.h
|
|
183
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/randombytes.h
|
|
184
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/reduce.h
|
|
185
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/rounding.h
|
|
186
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/sign.c
|
|
187
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/sign.h
|
|
188
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/symmetric.h
|
|
189
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/sys.h
|
|
190
|
+
- ext/pqcrypto/vendor/mldsa-native/mldsa/src/zetas.inc
|
|
191
|
+
- ext/pqcrypto/vendor/mlkem-native/BUILDING.md
|
|
192
|
+
- ext/pqcrypto/vendor/mlkem-native/LICENSE
|
|
193
|
+
- ext/pqcrypto/vendor/mlkem-native/META.yml
|
|
194
|
+
- ext/pqcrypto/vendor/mlkem-native/README.md
|
|
195
|
+
- ext/pqcrypto/vendor/mlkem-native/RELEASE.md
|
|
196
|
+
- ext/pqcrypto/vendor/mlkem-native/SECURITY.md
|
|
197
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/README.md
|
|
198
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native.c
|
|
199
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native.h
|
|
200
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native_asm.S
|
|
201
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/mlkem_native_config.h
|
|
202
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/cbmc.h
|
|
203
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/common.h
|
|
204
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/compress.c
|
|
205
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/compress.h
|
|
206
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/debug.c
|
|
207
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/debug.h
|
|
208
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202.c
|
|
209
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202.h
|
|
210
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202x4.c
|
|
211
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/fips202x4.h
|
|
212
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/keccakf1600.c
|
|
213
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/keccakf1600.h
|
|
214
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/auto.h
|
|
215
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/fips202_native_aarch64.h
|
|
216
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x1_scalar_asm.S
|
|
217
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x1_v84a_asm.S
|
|
218
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x2_v84a_asm.S
|
|
219
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_scalar_hybrid_asm.S
|
|
220
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccak_f1600_x4_v8a_v84a_scalar_hybrid_asm.S
|
|
221
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/src/keccakf1600_round_constants.c
|
|
222
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x1_scalar.h
|
|
223
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x1_v84a.h
|
|
224
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x2_v84a.h
|
|
225
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x4_v8a_scalar.h
|
|
226
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/aarch64/x4_v8a_v84a_scalar.h
|
|
227
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/api.h
|
|
228
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/README.md
|
|
229
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/mve.h
|
|
230
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/fips202_native_armv81m.h
|
|
231
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.S
|
|
232
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccak_f1600_x4_mve.c
|
|
233
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/keccakf1600_round_constants.c
|
|
234
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/state_extract_bytes_x4_mve.S
|
|
235
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/armv81m/src/state_xor_bytes_x4_mve.S
|
|
236
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/auto.h
|
|
237
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/keccak_f1600_x4_avx2.h
|
|
238
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/fips202_native_x86_64.h
|
|
239
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/keccak_f1600_x4_avx2.S
|
|
240
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/fips202/native/x86_64/src/keccakf1600_constants.c
|
|
241
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/indcpa.c
|
|
242
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/indcpa.h
|
|
243
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/kem.c
|
|
244
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/kem.h
|
|
245
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/README.md
|
|
246
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/meta.h
|
|
247
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/aarch64_zetas.c
|
|
248
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/arith_native_aarch64.h
|
|
249
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/intt.S
|
|
250
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/ntt.S
|
|
251
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_mulcache_compute_asm.S
|
|
252
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_reduce_asm.S
|
|
253
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_tobytes_asm.S
|
|
254
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/poly_tomont_asm.S
|
|
255
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k2.S
|
|
256
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k3.S
|
|
257
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/polyvec_basemul_acc_montgomery_cached_asm_k4.S
|
|
258
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/rej_uniform_asm.S
|
|
259
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/aarch64/src/rej_uniform_table.c
|
|
260
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/api.h
|
|
261
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/meta.h
|
|
262
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/README.md
|
|
263
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/meta.h
|
|
264
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/arith_native_riscv64.h
|
|
265
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_debug.c
|
|
266
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_debug.h
|
|
267
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_izetas.inc
|
|
268
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_poly.c
|
|
269
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_zetas.inc
|
|
270
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/riscv64/src/rv64v_zetas_basemul.inc
|
|
271
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/README.md
|
|
272
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/meta.h
|
|
273
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/arith_native_x86_64.h
|
|
274
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/compress_consts.c
|
|
275
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/compress_consts.h
|
|
276
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/consts.c
|
|
277
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/consts.h
|
|
278
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/intt.S
|
|
279
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/mulcache_compute.S
|
|
280
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/ntt.S
|
|
281
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/nttfrombytes.S
|
|
282
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/ntttobytes.S
|
|
283
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/nttunpack.S
|
|
284
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d10.S
|
|
285
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d11.S
|
|
286
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d4.S
|
|
287
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_compress_d5.S
|
|
288
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d10.S
|
|
289
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d11.S
|
|
290
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d4.S
|
|
291
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/poly_decompress_d5.S
|
|
292
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k2.S
|
|
293
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k3.S
|
|
294
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/polyvec_basemul_acc_montgomery_cached_asm_k4.S
|
|
295
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/reduce.S
|
|
296
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/rej_uniform_asm.S
|
|
297
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/rej_uniform_table.c
|
|
298
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/native/x86_64/src/tomont.S
|
|
299
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/params.h
|
|
300
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly.c
|
|
301
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly.h
|
|
302
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly_k.c
|
|
303
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/poly_k.h
|
|
304
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/randombytes.h
|
|
305
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/sampling.c
|
|
306
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/sampling.h
|
|
307
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/symmetric.h
|
|
308
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/sys.h
|
|
309
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/verify.c
|
|
310
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/verify.h
|
|
311
|
+
- ext/pqcrypto/vendor/mlkem-native/mlkem/src/zetas.inc
|
|
236
312
|
- lib/pq_crypto.rb
|
|
237
313
|
- lib/pq_crypto/algorithm_registry.rb
|
|
238
314
|
- lib/pq_crypto/errors.rb
|
|
@@ -250,7 +326,7 @@ licenses:
|
|
|
250
326
|
- MIT
|
|
251
327
|
metadata:
|
|
252
328
|
homepage_uri: https://github.com/roman-haidarov/pq_crypto
|
|
253
|
-
source_code_uri: https://github.com/roman-haidarov/pq_crypto
|
|
329
|
+
source_code_uri: https://github.com/roman-haidarov/pq_crypto/tree/main
|
|
254
330
|
changelog_uri: https://github.com/roman-haidarov/pq_crypto/blob/main/CHANGELOG.md
|
|
255
331
|
rdoc_options: []
|
|
256
332
|
require_paths:
|