Commit Graph

  • e51c88a986 Rename PartialModulus to Modulus, Modulus to OwnedModulusWithOne. Brian Smith 2023-11-02 16:49:28 -07:00
  • 69d1dd34e6 NFC RsaKeyPair: Add notes about wastefulness of qq and q_mod_n. Brian Smith 2023-11-06 11:09:12 -08:00
  • 1659f14295 bigint elem_exp_consttime: Make implementations more consistent. Brian Smith 2023-11-01 10:09:45 -07:00
  • 3044ee705d bigint elem_exp_consttime: Avoid one slice copy. Brian Smith 2023-11-01 09:56:26 -07:00
  • 4658c27d52 NFC bigint: Remove Width. Brian Smith 2023-11-02 17:15:22 -07:00
  • 8ed48604d0 RSA signature verification: Avoid wasteful key re-serialization. Brian Smith 2023-11-01 16:04:32 -07:00
  • 6920c4fc40 Digest/Polyfill: Remove SHA-1 use of ChunksFixed and delete it. Brian Smith 2023-10-12 22:24:07 -07:00
  • 6c1d378d8d Chacha20-Poly1305-OpenSSH: Remove use of ChunksFixed. Brian Smith 2023-10-12 22:28:07 -07:00
  • a9b88826e7 third_party/fiat: replace memcpy with OPENSSL_memcpy Jiaqi Gao 2023-10-30 13:46:20 +08:00
  • 1432533ce9 Enforce clippy::cast_possible_truncation. Brian Smith 2023-10-30 18:28:27 -07:00
  • 2b1194c845 NFC: Use pointer::cast instead of as for pointer casts. Brian Smith 2023-10-30 18:11:56 -07:00
  • 1fa6d09eef Have Clippy block most use of as conversions. Brian Smith 2023-10-30 18:00:13 -07:00
  • ad356c99ac Limit libc dependency to ARM and AArch64 targets. Brian Smith 2023-10-30 17:42:08 -07:00
  • fce7153096 Include arm_arch.h in crypto/internal.h. Brian Smith 2023-10-30 14:02:06 -07:00
  • acf9f0df2d Generalize agreement benchmarks to support all algorithms. Brian Smith 2023-10-26 12:17:04 -07:00
  • 0223beea17 Benchmarks: add ECDSA benchmarks Vlad Krasnov 2023-10-27 10:01:35 -04:00
  • 19a93d2b10 Curve25519: Add missing static assertion. Brian Smith 2023-10-30 12:45:14 -07:00
  • b6c35d54e3 Enable getrandom for AIX Qiu Chaofan 2023-10-30 19:59:53 +08:00
  • 711d9fc062 AEAD benchmarks: Rewrite to avoid macros. Brian Smith 2023-10-26 14:07:50 -07:00
  • e7cf02f403 Agreement docs: Eliminate redundant nested peer_public_key in example. Brian Smith 2023-10-26 12:50:18 -07:00
  • 61ad435f09 EC: Add scalar base point multiplication test case generator. Brian Smith 2023-10-24 13:42:22 -07:00
  • 4f2adbd947 Cherry-pick BoringSSL 50418af: Add some EC base point multiplication test vectors. David Benjamin 2018-03-23 16:24:43 -04:00
  • 6613481632 Add P-521 to mk/generate_curves.py. Brian Smith 2023-10-17 00:39:29 -07:00
  • e83cf0c0bb Add simplified elliptic curve code generator. Brian Smith 2023-10-16 21:36:17 -07:00
  • 3565fe830f EC Suite B: Remove reudndant "point_mul" tests. Brian Smith 2023-10-24 16:42:07 -07:00
  • be27e8e259 RSA signature verification: Save one multiplication. Brian Smith 2023-10-20 10:47:37 -07:00
  • 9dd6141f91 NFC EC: Reduce scope of constant ONE. Brian Smith 2023-10-18 17:13:33 -07:00
  • c3fda8b4dd 0.17.5. Brian Smith 2023-10-18 12:15:04 -07:00
  • a86b7fabb9 0.17.5-alpha.1. Brian Smith 2023-10-18 12:10:58 -07:00
  • 27aa5386a0 EC P-384: Use array types for crossing Rust<->C boundary. Brian Smith 2023-10-17 16:28:14 -07:00
  • 327831e6b3 P-256 nistz: Use arrays instead of P256_POINT in boundary functions. Brian Smith 2023-10-17 14:25:41 -07:00
  • 159f52c769 Eliminate gathering during table construction. Brian Smith 2023-10-12 17:25:24 -07:00
  • 19fe19124b bigint elem_exp_consttime: Get rid of entry/entry_mut indexing. Brian Smith 2023-10-12 14:34:53 -07:00
  • d4bf41eb00 bigint elem_exp_consttime: Add some clarifying comments. Brian Smith 2023-10-12 20:54:50 -07:00
  • 9a49f379e3 P-256 ECDSA verification: Clarify multiplication. Brian Smith 2023-10-17 11:12:20 -07:00
  • 6283ca087f P-256 ECDSA verification: Use optimized nistz256 verification. Brian Smith 2023-10-17 10:30:49 -07:00
  • dbfbba4f1a Import ecp_nistz256_points_mul_public from BoringSSL. Brian Smith 2023-10-17 10:44:17 -07:00
  • 30665a9759 NFC P-256: Add twin_mul method to PublicScalarOps. Brian Smith 2023-10-17 09:34:43 -07:00
  • 2a0e495903 NFC EC: DRY oneRR_mod_n. Brian Smith 2023-10-16 21:08:46 -07:00
  • 20672b2b09 Replace limbs initializer with const from_hex Vlad Krasnov 2023-10-06 10:30:27 -04:00
  • 057de0ff98 0.17.4. Brian Smith 2023-10-15 20:12:01 -07:00
  • e0bc21f51a 0.17.4-alpha.1. Brian Smith 2023-10-15 09:22:11 -07:00
  • ae376cb94e rand: Sort target_os list. Brian Smith 2023-10-15 09:03:15 -07:00
  • f56cc4190d rand: Remove redundant target_os = "wasi". Brian Smith 2023-10-15 09:01:28 -07:00
  • 4aa1b14dcf use default rand impl for hermit since getrand has it for 8 month tema2 2023-10-15 15:28:00 +02:00
  • 9d4bb22ef8 build.rs: Sort non-MSVC C compiler flags alphabetically. Brian Smith 2023-10-14 21:04:41 -07:00
  • 8909e6eddf build.rs: Don't enable MSVC SDL warnings. Brian Smith 2023-10-14 21:03:28 -07:00
  • 65941d014f build.rs: Don't override Windows exception/RTTI/C++ compiler flags. Brian Smith 2023-10-14 20:59:09 -07:00
  • 2201721cd3 build.rs: Let cc-rs choose the hardening flags, if any. Brian Smith 2023-10-14 20:58:06 -07:00
  • 89172b4ff6 rand: Clarify wasm32-logic logic. Brian Smith 2023-10-14 17:39:05 -07:00
  • c32f7a23d8 Digest tests: Don't disable tests for wasm32 targets. Brian Smith 2023-10-14 17:36:58 -07:00
  • 65aa65d49a NFC: Don't treat wasm32 differently w.r.t. dead-code warnings. Brian Smith 2023-10-14 16:55:50 -07:00
  • 1c476cd20c AEAD tests: Address wasm32-wasi build warning & clarify use. Brian Smith 2023-10-14 14:07:09 -07:00
  • 2986d15484 Use -nostdlibinc for wasm32-wasi like wasm32-unknown-unknown. Brian Smith 2023-10-14 13:49:09 -07:00
  • 8348897d92 CI: Add wasm32-wasi to CI. Brian Smith 2023-10-14 11:06:15 -07:00
  • 2019d8482f Add support for wasm32-wasi. JanKaul 2022-12-15 12:05:28 +01:00
  • da23dc037e Use small Curve25519 for wasm32 & other non-{aarch64,x86_64}. Brian Smith 2023-10-14 14:06:27 -07:00
  • 0f8386dce2 CI: Don't test benchmarks in test and test-features jobs. Brian Smith 2023-10-14 11:20:47 -07:00
  • 06e5d3b9e1 CI: Run tests for armv7-unknown-linux-musleabihf. Brian Smith 2023-10-13 17:02:45 -07:00
  • 99ab6db360 Add arm-unknown-linux-gnueabi testing to CI. Brian Smith 2023-10-01 15:03:08 -07:00
  • 08413016bf Don't manually specify optimization flags for MSVC (cc-rs takes care) andoalon 2023-03-07 17:35:10 +01:00
  • e7aedb26c6 Change documentation & unnecessary qualification warnings. Brian Smith 2023-10-13 14:28:23 -07:00
  • ce184528d1 NFC: Remove outdated comment about old behavior of derive(...). Brian Smith 2023-10-13 14:55:34 -07:00
  • f78a8418fa Remove some superfluous warning allow(...) overrides. Brian Smith 2023-10-13 14:26:26 -07:00
  • bafde9dba7 Clippy: Move lint configuration to lib.rs. Brian Smith 2023-10-13 14:22:08 -07:00
  • ff2cc71e94 Require wasm-bindgen-test 0.3.37. Brian Smith 2023-10-13 13:39:40 -07:00
  • aa01858787 Require getrandom 0.2.10. Brian Smith 2023-10-13 13:38:17 -07:00
  • 90879811aa Require spin 0.9.8. Brian Smith 2023-10-13 13:37:16 -07:00
  • 801ebce7e2 Require cc-rs 1.0.83. Brian Smith 2023-10-13 13:36:11 -07:00
  • dac669b648 Require at least libc 0.2.148. Brian Smith 2023-10-13 13:35:51 -07:00
  • 8edeead004 Minimize scope of clippy::upper_case_acronyms. Brian Smith 2023-10-13 14:02:12 -07:00
  • 691a4dbb31 mk/clippy.sh: Remove --allow entries for lints that aren't triggered. Brian Smith 2023-10-13 13:52:07 -07:00
  • 3eb07737f1 build.rs: Address clippy::ptr_arg. Brian Smith 2023-10-13 13:55:15 -07:00
  • 64cd0b997e Remove target-dir workaround for Clippy cache issues. Brian Smith 2023-10-13 13:45:54 -07:00
  • 83719c4c0f AEAD/Polyfill: Use ArraySplitMap instead of ChunksFixed. Brian Smith 2023-10-13 09:17:26 -07:00
  • 32f209e0fd ChaCha20: Use ArraySplitMap to construct Iv. Brian Smith 2023-10-11 16:47:38 -07:00
  • ff3febd530 AEAD/Polyfill: Implement ArraySplitMap and construct nonces with it. Brian Smith 2023-10-11 16:34:13 -07:00
  • 75c620a5f1 ChaCha20 Polyfill: Remove ChunksFixedMut. Brian Smith 2023-10-12 22:53:31 -07:00
  • f8cad224b5 AES: Remove use of ArrayEncoding. Brian Smith 2023-10-11 11:06:05 -07:00
  • b1147381c9 Generalize array_flatten into an ArrayFlatten trait. Brian Smith 2023-10-11 11:04:32 -07:00
  • faf347a24c AES-GCM: DRY Iv -> Block conversion. Brian Smith 2023-10-11 10:56:01 -07:00
  • e6085e717f AEAD: Remove all use of ring::endian and u64 from Block. Brian Smith 2023-10-10 20:58:49 -07:00
  • 797a6eece9 remove From<[u64; 2]> for Block Brian Smith 2023-10-10 20:54:23 -07:00
  • e0eb70d848 Remove From<Block> for [u64; 2]. Brian Smith 2023-10-10 20:41:39 -07:00
  • 8a6d6f4dbe GCM: Remove use of Into<[BigEndian<u64>; 2]>. Brian Smith 2023-10-10 18:36:19 -07:00
  • d30dda0745 Remove LittleEndian usage from Poly1305 and delete LittleEndian. Brian Smith 2023-10-10 17:25:01 -07:00
  • 7cc44151d5 Remove use of ring::endian from aead::chacha20_poly1305_openssh. Brian Smith 2023-10-10 21:06:31 -07:00
  • 19c0d1e527 NFC: Safety: Remove endian::FromByteArray. Brian Smith 2023-10-10 20:32:12 -07:00
  • 2e8363b433 0.17.3. Brian Smith 2023-10-09 21:15:28 -07:00
  • a076d28b82 0.17.3-alpha.1. Brian Smith 2023-10-09 21:04:26 -07:00
  • d1e42e30fd Remove #pragma GCC diagnostic ignored "-Wunused-but-set-parameter" Brian Smith 2023-10-09 20:37:44 -07:00
  • 5cd7ecc579 Use OPENSSL_STATIC_ASSERT instead of static_assert. Brian Smith 2023-10-09 20:37:13 -07:00
  • 639ab71e64 Use CRYPTO_memcmp name the same as BoringSSL. Brian Smith 2023-10-09 14:43:41 -07:00
  • 9c7b114272 build.rs: Remove -fno-strict-aliasing from the C compiler configuration. Brian Smith 2023-10-08 20:08:28 -07:00
  • 3181d96968 Curve25519: Conservatively force noinline on ADX code paths. Brian Smith 2023-10-09 10:07:33 -07:00
  • bbfb0cdba9 build.rs: Remove -pedantic-errors from compiler configuration. Brian Smith 2023-10-08 20:02:45 -07:00
  • 29fb82717c Arithmetic Tests: Remove superfluous use of libstd/alloc. Brian Smith 2023-10-08 19:28:33 -07:00
  • 667768269c AEAD benchmark: Remove superfluous use of libstd. Brian Smith 2023-10-08 19:24:35 -07:00
  • 8f042cef71 CI: Improve feature testing. Brian Smith 2023-10-08 17:04:01 -07:00
  • 42936aa198 Bench: Use criterion.rs 0.5.1. Brian Smith 2023-10-06 20:52:16 -07:00