Commit Graph

  • 487ee1292b alnyan/yggdrasil: add Yggdrasil support alnyan/yggdrasil Mark Poliakov 2024-01-28 19:02:29 +02:00
  • 2b1689fdc4 Update README.md main elardus-erasmus 2024-01-21 22:26:41 -05:00
  • c1e31b8943 bench: Report throughput in AEAD benchmarks Vlad Krasnov 2024-01-24 14:36:22 -05:00
  • ee5db43617 tests: properly format a limb on 32-bit arch Vlad Krasnov 2024-01-23 12:40:50 -05:00
  • 14c6e3d54b ec: go run crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go Brian Smith 2024-01-19 15:54:28 -08:00
  • e217869a51 ec: use unencoded elements for point mul base tests Vlad Krasnov 2024-01-04 13:52:24 -05:00
  • 5644cb94d6 ec: Allow test vectors to be decoded as unencoded elements Vlad Krasnov 2024-01-04 12:26:57 -05:00
  • e8a5d1138c build.rs: More consistently use named constants for OS names. Brian Smith 2024-01-17 09:57:54 -08:00
  • 4e37622614 build.rs: Consistently use named constants for architecture names. Brian Smith 2024-01-17 09:56:08 -08:00
  • 728eeb33c1 aes-gcm: Don't assume NEON is available on AArch64. Brian Smith 2024-01-12 15:41:10 -08:00
  • 57f58c98f1 build.rs: don't use -pedantic flag Travis Finkenauer 2024-01-17 14:27:34 -08:00
  • 73fb637078 Build: Add compile-time checks regarding ABI assumptions. Brian Smith 2024-01-15 18:13:09 -08:00
  • c5a9c81bc1 Build: Don't mention invalid_reference_casting lint. Brian Smith 2024-01-15 20:15:31 -08:00
  • c5eb21e7c9 CI: Add mips64el- to test matrix. Brian Smith 2024-01-13 19:34:33 -08:00
  • f40ac2d840 CI: Add powerpc-, powerpc64le-, and S/390x to test matrix. Brian Smith 2024-01-13 18:47:05 -08:00
  • e966cad608 PowerPC: Only support big-endian 32-bit PowerPC. Brian Smith 2024-01-13 18:50:49 -08:00
  • 0042789cfe CI: Add mips-unknown-linux-gnu and mipsel-unknown-linux-gnu to test matrix. Brian Smith 2024-01-13 16:01:42 -08:00
  • 2f7471d05f Added MIPS 32-bit big-endian David Horton 2024-01-11 17:22:13 +00:00
  • d8e55e2542 CI: Check symbol prefixes for Apple targets too. Brian Smith 2024-01-13 16:42:49 -08:00
  • 183ce8066b CI: mk/check-symbol-prefixes.sh: Use llvm-tools-preview llvm-nm. Brian Smith 2023-12-19 10:00:22 -08:00
  • a94849dc26 mk/check-symbol-prefixes.sh: Make target argument mandatory. Brian Smith 2024-01-13 15:11:26 -08:00
  • 3e50503763 target.h: Only define OPENSSL_<arch> when we have code specific to that arch. Brian Smith 2024-01-13 14:41:29 -08:00
  • accca784ef CI: Use macos-13 instead of macos-13-xlarge for most aarch64-apple-darwin jobs. Brian Smith 2024-01-12 18:14:34 -08:00
  • a0ce2d3c22 internal: Add generalized "noinline" attribute support. Brian Smith 2024-01-11 15:15:22 -08:00
  • c72a5aa710 Require __BYTE_ORDER__ to be defined for bi-endian target architectures. Brian Smith 2024-01-09 09:42:05 -08:00
  • c4742e0cae NFC: Address Clippy unused import warning. Brian Smith 2024-01-09 10:52:37 -08:00
  • 7f8fb38e22 CI: Move rustdoc tests to a separate matrix. Brian Smith 2024-01-02 12:46:32 -08:00
  • a206284f83 CI: add powerpc64-linux to CI Qiu Chaofan 2023-12-29 18:34:04 +08:00
  • a3d034dc90 Remove redundant block nesting. Brian Smith 2023-12-13 18:33:13 -08:00
  • 0395743dc1 cpu: Always use #[cfg] for target-arch-specific tests. Brian Smith 2023-12-11 09:44:48 -08:00
  • 2d974347e0 cpu: Hide dead code warning on 32-bit x86. Brian Smith 2023-12-11 10:38:01 -08:00
  • 89d22e23fa digest: Remove CPU features from the digest context. Brian Smith 2023-12-11 08:39:10 -08:00
  • 5b437d514f digest internals: Call block_data_order from one point. Brian Smith 2023-12-06 11:10:45 -08:00
  • 6347be9634 bigint: Remove cpu::Features from OwnedModulus. Brian Smith 2023-12-06 08:42:32 -08:00
  • 71a7271209 biging tests: DRY m.modulus() calls. Brian Smith 2023-12-06 08:53:10 -08:00
  • bf966622c9 AEAD: Don't store cpu::Features in the key. Brian Smith 2023-12-05 21:48:14 -08:00
  • a4127d0a3c CI: Update versions of cargo-audit and cargo-deny. Brian Smith 2023-12-05 18:18:33 -08:00
  • ae3b83042f CI: Remove unnecessary RUSTFLAGS for aarch64-pc-windows-msvc. Brian Smith 2023-12-05 18:22:00 -08:00
  • 0006e3d64a CI: Run rustup --version as the first step in package job. Brian Smith 2023-12-05 18:21:28 -08:00
  • 2be687bebd 0.17.7. Brian Smith 2023-12-05 13:51:21 -08:00
  • 317a062bf4 ec suite_b: De-duplicate to_mont. Brian Smith 2023-12-04 12:04:39 -08:00
  • c89b5c6e28 ec suite_b: Split scalar inversion API into variable- and constant- time. Brian Smith 2023-12-04 11:32:56 -08:00
  • ed2b1d7054 ec suite_b: Make oneRR_mod_n private. Brian Smith 2023-12-03 12:46:18 -08:00
  • f55712e909 ec suite_b: Make CommonOps::num_limbs and ops::elem::Elem::* private. Brian Smith 2023-12-03 12:22:44 -08:00
  • e952c64eba ec suite_b: Hide COMMON_OPS.n and reduce direct use of .num_limbs. Brian Smith 2023-12-04 12:26:20 -08:00
  • 2926ebb500 ec suite_b: Calculate elem/scalar byte length in one place. Brian Smith 2023-12-03 11:18:25 -08:00
  • 16c3e19f71 montgomery: Encapsulate Rust uses of bn_mul_mont. Brian Smith 2023-12-02 14:15:42 -08:00
  • 40e147dfe8 arithmetic: Move bn_mul_mont declaration to montgomery. Brian Smith 2023-12-01 18:49:03 -08:00
  • af471c9351 arithmetic: Allow use of N0 from outside of arithmetic. Brian Smith 2023-12-01 18:36:22 -08:00
  • ad1204ec11 CI: Update comment about not running aarch64-apple-ios tests. Brian Smith 2023-12-01 17:51:09 -08:00
  • b2cb243a7c CI: Run tests on aarch64-apple-darwin in GitHub Actions. Brian Smith 2023-12-01 17:50:44 -08:00
  • 0227a0614c CI: Use macOS 13 in GitHub Actions. Brian Smith 2023-12-01 17:48:16 -08:00
  • febe76dc77 cpu arm: Fix static feature detection initialization. Brian Smith 2023-12-01 14:44:51 -08:00
  • ff1050e161 Silent unused macro warning on Aarch64. Brian Smith 2023-12-01 15:45:30 -08:00
  • e530025acd CI: Use briansmith/actions-cache@v3. Brian Smith 2023-11-30 15:14:53 -08:00
  • 83979189b3 CI: Use briansmith/actions-checkout@v4. Brian Smith 2023-11-30 14:47:43 -08:00
  • 6bd1a210e3 CI: Use rustup directly to install toolchains. Brian Smith 2023-11-30 13:13:42 -08:00
  • b349cecd06 CI: Avoid actions-rs/toolchain when we only need to use stable Rust. Brian Smith 2023-11-30 12:43:37 -08:00
  • dc035d9fc3 bench aead: Do Cartesian product, not zip Adolfo Ochagavía 2023-11-30 16:33:42 +01:00
  • 464d367252 0.17.6. Brian Smith 2023-11-28 10:07:59 -08:00
  • f932b941bd Stop exporting unmangled symbols on ARM/AArch64. Brian Smith 2023-11-24 19:25:24 -08:00
  • b3d0b6f4b3 AES-GCM: Clarify that we need AVX (AVX1), not AVX2. Brian Smith 2023-11-26 12:57:49 -08:00
  • 6c29bf61cd bigint: Remove Nonnegative. Brian Smith 2023-11-24 10:46:56 -08:00
  • fbb8cf62f5 bigint: Fold Modulus constructors together. Brian Smith 2023-11-24 18:01:37 -08:00
  • dc99f6681b RSA: Stop deriving Clone and Copy for P, Q, and N. Brian Smith 2023-11-24 10:34:21 -08:00
  • 76ce919997 rsa: Stop using Nonnegative in RsaKeyPair to check d. Brian Smith 2023-11-22 19:01:26 -08:00
  • 2ad2fcb912 rsa: Use dynamic checks for widening conversions. Brian Smith 2023-11-22 19:26:55 -08:00
  • 1855573098 rsa: Replace use of SmallerModulus with dynamic checks. Brian Smith 2023-11-22 19:00:14 -08:00
  • ae02e961cf Docs: Add clang path for Windows ARM64 hosts [skip ci] Jose Quintana 2023-11-24 01:56:36 +01:00
  • 3145a7928a RSA: Precompute R**3 and store it instead of R**2. Brian Smith 2023-11-22 17:14:28 -08:00
  • 9b8d4d7b14 rsa: Split PrivatePrime construction. Brian Smith 2023-11-22 16:56:20 -08:00
  • ca043567e6 bigint: Stop implementing Debug for OwnedModulus. Brian Smith 2023-11-22 17:43:46 -08:00
  • 6de27244ff bigint: NFC: Take oneRR out of OwnedModulus. Brian Smith 2023-11-22 15:59:21 -08:00
  • 986fe1f5ff rsa: NFC: Eliminate unnecessary Nonnegative -> Modulus conversion. Brian Smith 2023-11-22 15:08:20 -08:00
  • bc00f7e58c ec: NFC: Refactor scalar_sum to eliminate LIMBS_add_mod use. Brian Smith 2023-11-22 13:05:44 -08:00
  • 3afbcc5dc5 Refactor away parse_big_endian_in_range_partially_reduced_and_pad_consttime. Brian Smith 2023-11-22 11:39:28 -08:00
  • 57fc4860d0 Remove ArrayEncoding usage from Digest and delete ArrayEncoding. Brian Smith 2023-10-11 14:26:40 -07:00
  • ff0ed4ca9d Digest: Remove repr(c) from Output union. Brian Smith 2023-10-11 14:06:33 -07:00
  • 1598583c82 bench: Add digest overhead benchmarks. Brian Smith 2023-11-21 11:13:42 -08:00
  • a5dbb01f63 bench aead: Do Cartesian product, not zip. Brian Smith 2023-11-21 11:17:03 -08:00
  • 4f825b77eb bigint: Use a better Montgomery RR doubling-vs-squaring trade-off. Brian Smith 2023-11-15 19:55:33 -08:00
  • 90dd9218cd RSA: Add benchmarks for signature verification. Brian Smith 2023-11-20 14:17:21 -08:00
  • 25112e9546 bigint: Calculate 1*R mod m without multiplication by 1*RR. Brian Smith 2023-11-11 16:33:13 -08:00
  • 81e17e4b10 bigint: Save one modular doubling in Montgomery RR setup. Brian Smith 2023-11-11 16:30:25 -08:00
  • 0349d2a332 bigint: NFC: Write "doubling" instead of "shift" or "mul_by_2". Brian Smith 2023-11-11 17:08:37 -08:00
  • af28001bf3 NFC: Use the correct variable name m instead of n in comments. Brian Smith 2023-11-12 20:04:31 -08:00
  • 445de2fb9c getauxval isn't defined on uclibc, so disable dynamic feature detection Jonah Petri 2023-11-13 09:29:17 -05:00
  • 7fa58cc7f7 rename feature Jorge Aparicio 2023-11-03 14:02:10 +01:00
  • 9195b4a33f add an opt-in less-safe-getrandom-custom feature Jorge Aparicio 2023-10-16 13:27:58 +02:00
  • 07aff69462 EC: Fix support for curves like P-521 in the code generator. Brian Smith 2023-10-27 19:52:31 -07:00
  • d87972edc9 EC: Add C code generation to mk/generate_curves.py. Brian Smith 2023-10-27 10:34:02 -07:00
  • 75cbe475ff NFC: Address a Clippy lint in limbs_mul. Brian Smith 2023-11-06 21:37:36 -08:00
  • 61d1da61ea NFC bigint: Implement Copy for N0. Brian Smith 2023-11-06 15:26:14 -08:00
  • cfa3737947 RSA: Support RSA key pairs where q < p without converting to p > q. Brian Smith 2023-11-03 12:03:07 -07:00
  • 23975ff236 RSA: Remove q_mod_n from RsaKeyPair. Brian Smith 2023-11-07 18:21:26 -08:00
  • 946ce877d2 RSA: Remove QQ from RsaKeyPair. Brian Smith 2023-11-07 12:53:18 -08:00
  • cbcac26d00 bigint: Add modulus bit length to Modulus. Brian Smith 2023-11-07 14:32:27 -08:00
  • 5ed0a45c65 RSA: Rearrange private prime validity checks. Brian Smith 2023-11-07 12:53:18 -08:00
  • 2f01ebfe32 bigint: Store bit length of modulus in OwnedModulusWithOne. Brian Smith 2023-11-07 10:44:31 -08:00
  • d8e9a9172c RSA: Eliminate a redundant clone. Brian Smith 2023-11-04 12:05:56 -07:00