commit_hash stringlengths 40 40 | author stringlengths 1 57 | date timestamp[s]date 2010-07-26 04:45:09 2026-04-14 18:21:10 | message stringlengths 8 1.39M | diff stringlengths 68 51.2k | files_changed int64 1 136 | insertions int64 0 2.35k | deletions int64 0 1.9k |
|---|---|---|---|---|---|---|---|
e8c4823bc8b1068bf27d57525666765fd81aa53b | Tony Arcieri | 2024-07-26T03:02:01 | crypto-common v0.2.0-rc.0 (#1615) | diff --git a/Cargo.lock b/Cargo.lock
index 3a5050a..fe71ed4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-common 0.2.0-pre.5",
"heapless",
]
@@ -130,7 ... | 2 | 10 | 10 |
0a3687b58e59d5d2e196f59ca883a2d46eb76abb | Tony Arcieri | 2024-06-24T18:05:37 | elliptic-curve: leverage `CtOption::into_option` (#1595)
This was added in `subtle` v2.6.0. | diff --git a/Cargo.lock b/Cargo.lock
index 8180bd5..079009e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1269,9 +1269,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "subtle"
-version = "2.5.0"
+version = "2.6.1"
source = "registry+https://github.com/rust-lang/... | 8 | 22 | 16 |
b1f6b1d37ac332b881b41e44f293f6662c98f25f | Luca Bruno | 2024-06-10T16:28:14 | cargo: point `repository` metadata to clonable URLs (#1588)
This tweaks the `repository` fields in Cargo metadata in order to use the correct (i.e. git clonable) URL.
The existing GitHub webUI URLs for each package have been retained and moved to `homepage` fields. | diff --git a/async-signature/Cargo.toml b/async-signature/Cargo.toml
index dfd133e..b5f5bb9 100644
--- a/async-signature/Cargo.toml
+++ b/async-signature/Cargo.toml
@@ -5,7 +5,8 @@ version = "0.6.0-pre.1"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://doc... | 6 | 12 | 6 |
51b19776a6da583957affa84cb9cb789a327a153 | Luca Bruno | 2024-06-10T12:35:34 | elliptic-curve: fix build failure on nightly (#1589)
This tweaks the import of `core::mem::size_of` in order to fix a build
failure due to `unused_qualifications` lint, as the function has now
been moved to Rust prelude. | diff --git a/elliptic-curve/src/hash2curve/hash2field/expand_msg/xmd.rs b/elliptic-curve/src/hash2curve/hash2field/expand_msg/xmd.rs
index e34133a..745e054 100644
--- a/elliptic-curve/src/hash2curve/hash2field/expand_msg/xmd.rs
+++ b/elliptic-curve/src/hash2curve/hash2field/expand_msg/xmd.rs
@@ -151,7 +151,7 @@ where
... | 2 | 7 | 7 |
f3301d6926ad07ec804cf1e838c3c39341bfde4a | Artyom Pavlov | 2024-06-05T22:57:25 | cipher: fix documentation for decrypt traits (#1587) | diff --git a/cipher/src/block.rs b/cipher/src/block.rs
index bc0ac18..fd69bf5 100644
--- a/cipher/src/block.rs
+++ b/cipher/src/block.rs
@@ -240,7 +240,7 @@ pub trait BlockCipherDecrypt: BlockSizeUser {
.map(|blocks| self.decrypt_with_backend(BlocksCtx { blocks }))
}
- /// Decrypt input and unpad... | 1 | 8 | 8 |
d15d165017c3b95c3c0263e9093948196863a1a5 | Arthur Gautier | 2024-06-05T14:58:18 | async-signature: forward `std` feature (#1582)
`std` gates the From<std::error::Error> implementation from signature.
This allows to enable the feature without importing signature directly. | diff --git a/async-signature/Cargo.toml b/async-signature/Cargo.toml
index 41308f4..dfd133e 100644
--- a/async-signature/Cargo.toml
+++ b/async-signature/Cargo.toml
@@ -17,6 +17,7 @@ signature = "=2.3.0-pre.3"
[features]
digest = ["signature/digest"]
+std = ["signature/std"]
rand_core = ["signature/rand_core"]
... | 1 | 1 | 0 |
e5da021629c69f94886fa8dddd758ef566d38a24 | Arthur Gautier | 2024-06-03T17:21:52 | async-signature: remove `AsyncDigestSigner` blanket implementation (#1584)
This introduces a basic check to make sure our blanket implementation
would not block manual implementation of the traits in this crate.
Before this commit `AsyncDigestSigner` was causing a conflict:
```
--> async-signature/tests/mock_i... | diff --git a/async-signature/src/lib.rs b/async-signature/src/lib.rs
index cef50e8..20ebd06 100644
--- a/async-signature/src/lib.rs
+++ b/async-signature/src/lib.rs
@@ -58,17 +58,6 @@ where
async fn sign_digest_async(&self, digest: D) -> Result<S, Error>;
}
-#[cfg(feature = "digest")]
-impl<D, S, T> AsyncDigest... | 2 | 38 | 11 |
88c23182866cf4c20275b72f5b47fa49b4134c20 | Arthur Gautier | 2024-06-02T19:25:45 | digest: add missing `Debug` impl for `HashReader` and `HashWriter` (#1583) | diff --git a/digest/src/hashreader.rs b/digest/src/hashreader.rs
index 8c303af..eaca370 100644
--- a/digest/src/hashreader.rs
+++ b/digest/src/hashreader.rs
@@ -3,6 +3,7 @@ use super::{Digest, FixedOutputReset, Output, Reset};
use std::io;
/// Abstraction over a reader which hashes the data being read
+#[derive(Deb... | 2 | 2 | 0 |
9136636f4508f76d7a92169d05d29ce18caca24a | joe | 2024-05-31T12:21:01 | digest: add HashWriter and HashReader structs (#1159) | diff --git a/digest/src/hashreader.rs b/digest/src/hashreader.rs
new file mode 100644
index 0000000..8c303af
--- /dev/null
+++ b/digest/src/hashreader.rs
@@ -0,0 +1,135 @@
+//! Adds hashing to any reader
+use super::{Digest, FixedOutputReset, Output, Reset};
+use std::io;
+
+/// Abstraction over a reader which hashes t... | 3 | 264 | 0 |
b9d49af5016b95406bae33df6e7808536cadaf44 | Tony Arcieri | 2024-05-28T21:56:41 | Cargo.lock: bump dependencies (#1580)
Updates the following dependencies:
$ cargo update
Updating crates.io index
Updating autocfg v1.2.0 -> v1.3.0
Updating cc v1.0.92 -> v1.0.98
Updating getrandom v0.2.14 -> v0.2.15
Updating jobserver v0.1.29 -> v0.1.31
Updating libc v0.2.153 -> v... | diff --git a/Cargo.lock b/Cargo.lock
index 1cf9a41..6c3cf73 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -63,9 +63,9 @@ dependencies = [
[[package]]
name = "autocfg"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1fdabc7756949593fe60f30ec81974b61... | 1 | 33 | 26 |
f79f286a8536816c240c50810509cbb2fc733341 | Sylvain Pelissier | 2024-05-05T17:16:25 | Remove CustomizedExtArg (#1564) | diff --git a/digest/src/core_api/wrapper.rs b/digest/src/core_api/wrapper.rs
index 48f7f99..d366249 100644
--- a/digest/src/core_api/wrapper.rs
+++ b/digest/src/core_api/wrapper.rs
@@ -165,17 +165,10 @@ impl<T> CustomizedInit for CoreWrapper<T>
where
T: BufferKindUser + CustomizedInit,
{
- type CustomizedExtA... | 2 | 0 | 16 |
5acf43b0ca10cfd6d1a6dec02e8af92345049c77 | Sylvain Pelissier | 2024-04-30T02:12:10 | Add liftime to CustomizedExtArg (#1561) | diff --git a/digest/src/core_api/wrapper.rs b/digest/src/core_api/wrapper.rs
index 9b72e22..48f7f99 100644
--- a/digest/src/core_api/wrapper.rs
+++ b/digest/src/core_api/wrapper.rs
@@ -165,7 +165,7 @@ impl<T> CustomizedInit for CoreWrapper<T>
where
T: BufferKindUser + CustomizedInit,
{
- type CustomizedExtArg... | 2 | 4 | 4 |
25e5654bb0775d255abd937e3b3320b982f13da1 | Tony Arcieri | 2024-04-17T15:01:36 | kem v0.3.0-pre.0 (#1555) | diff --git a/Cargo.lock b/Cargo.lock
index f37ff69..1cf9a41 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -832,7 +832,7 @@ dependencies = [
[[package]]
name = "kem"
-version = "0.3.0-pre"
+version = "0.3.0-pre.0"
dependencies = [
"hpke",
"p256 0.9.0",
diff --git a/kem/Cargo.toml b/kem/Cargo.toml
index d306ea4..d... | 2 | 2 | 2 |
b5a420e6b47eab72704ba9bf8afab68a5842b43b | Artyom Pavlov | 2024-04-12T15:54:40 | Update Cargo.lock (#1551) | diff --git a/Cargo.lock b/Cargo.lock
index 8f09919..f37ff69 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -25,9 +25,9 @@ dependencies = [
[[package]]
name = "aes"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac1f845298e95f983ff1944b728ae08b8cebab... | 1 | 37 | 37 |
c2ff5eecd20691c586295c37ac2b7dd20081f085 | Arthur Gautier | 2024-03-17T18:47:32 | digest: fixup imports for `hash_serialization_test` macro (#1537)
This fixes #1487 | diff --git a/digest/src/dev.rs b/digest/src/dev.rs
index 7018e85..00b9385 100644
--- a/digest/src/dev.rs
+++ b/digest/src/dev.rs
@@ -44,7 +44,7 @@ macro_rules! hash_serialization_test {
#[test]
fn $name() {
use digest::{
- crypto_common::{BlockSizeUser, SerializableState},
... | 1 | 2 | 2 |
6c5f56e206ff0bbf6ac8b51a6cf4730d278d7c8b | Arthur Gautier | 2024-03-13T20:56:27 | crypto-common: adds an `OutputSize` type alias (#1533) | diff --git a/crypto-common/src/lib.rs b/crypto-common/src/lib.rs
index 45ee055..712fcf4 100644
--- a/crypto-common/src/lib.rs
+++ b/crypto-common/src/lib.rs
@@ -39,7 +39,10 @@ pub type Block<B> = Array<u8, <B as BlockSizeUser>::BlockSize>;
pub type ParBlocks<T> = Array<Block<T>, <T as ParBlocksSizeUser>::ParBlocksSize... | 1 | 4 | 1 |
ceaa93fa4f7b0183c953260b008b39b41382a7f1 | Tony Arcieri | 2024-03-06T00:20:30 | elliptic-curve: fix unknown qualifications (#1532)
Recent nightlies started picking up on these | diff --git a/elliptic-curve/src/jwk.rs b/elliptic-curve/src/jwk.rs
index 58a9e38..6e59d9f 100644
--- a/elliptic-curve/src/jwk.rs
+++ b/elliptic-curve/src/jwk.rs
@@ -552,7 +552,7 @@ impl Serialize for JwkEcKey {
state.serialize_field("d", d)?;
}
- ser::SerializeStruct::end(state)
+ ... | 1 | 1 | 1 |
ea334c2f9927fcd94f7307fdd2b19b019f116af2 | Arthur Gautier | 2024-03-04T14:50:01 | aead: fixup `hybrid-array` migration (#1531)
This macro is pulled from `AEADs.git` crates. | diff --git a/aead/src/dev.rs b/aead/src/dev.rs
index 3768826..b7edf89 100644
--- a/aead/src/dev.rs
+++ b/aead/src/dev.rs
@@ -8,8 +8,8 @@ macro_rules! new_test {
#[test]
fn $name() {
use aead::{
+ array::{typenum::Unsigned, Array},
dev::blobby::Blob6Iterator... | 1 | 1 | 1 |
b2e31d8df293026390b6315c10844eed8b54a185 | Tony Arcieri | 2024-03-04T02:37:23 | cipher v0.5.0-pre.4 (#1530) | diff --git a/Cargo.lock b/Cargo.lock
index ba326ca..e808460 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -223,7 +223,7 @@ dependencies = [
[[package]]
name = "cipher"
-version = "0.5.0-pre.3"
+version = "0.5.0-pre.4"
dependencies = [
"blobby",
"crypto-common 0.2.0-pre.5 (registry+https://github.com/rust-lang/cr... | 2 | 2 | 2 |
60297e6f799d040415c96d85152d3affad255738 | Tony Arcieri | 2024-02-25T16:36:58 | Remove redundant imports (#1522)
Recent nightlies warn for items which are imported redundantly, of which
there were a few in the `elliptic-curve` and `password-hash` crates | diff --git a/elliptic-curve/src/dev.rs b/elliptic-curve/src/dev.rs
index 9b105ea..5a5c38e 100644
--- a/elliptic-curve/src/dev.rs
+++ b/elliptic-curve/src/dev.rs
@@ -8,7 +8,6 @@ use crate::{
bigint::{Limb, U256},
error::{Error, Result},
ops::{Invert, LinearCombination, MulByGenerator, Reduce, ShrAssign},
... | 7 | 5 | 20 |
cce3b05861fe851b3ab2c57d8c14cfa27fee814e | Arthur Gautier | 2024-02-21T16:57:01 | cipher: fixup `block_{encryptor,decryptor}_bench` (#1512)
Those benchmark macros are reused for both `block-ciphers` and
`block-modes`. We need to import both `BlockMode` and `BlockCipher` for
them to work. | diff --git a/cipher/src/dev/block.rs b/cipher/src/dev/block.rs
index 7cbfb04..81b1118 100644
--- a/cipher/src/dev/block.rs
+++ b/cipher/src/dev/block.rs
@@ -289,7 +289,8 @@ macro_rules! block_encryptor_bench {
($init:block, $cipher:ty, $block_name:ident, $blocks_name:ident $(,)? ) => {
#[bench]
p... | 1 | 8 | 4 |
e2ef02fb84f3e10127360657a7f7e429514c43c9 | Arthur Gautier | 2024-02-20T14:42:58 | cipher: fixup macro `block_mode_{dec,enc}_test` (#1511) | diff --git a/cipher/src/dev/block.rs b/cipher/src/dev/block.rs
index a05886d..7cbfb04 100644
--- a/cipher/src/dev/block.rs
+++ b/cipher/src/dev/block.rs
@@ -102,7 +102,7 @@ macro_rules! block_mode_enc_test {
fn $name() {
use cipher::{
array::Array, blobby::Blob4Iterator, inout::In... | 1 | 6 | 6 |
16f091dd13a2d7133010c28ff3ddcb4227da83a2 | Tony Arcieri | 2024-02-09T00:46:30 | password-hash v0.6.0-pre.0 (#1504) | diff --git a/Cargo.lock b/Cargo.lock
index 906aa57..7b77d7b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -899,7 +899,7 @@ dependencies = [
[[package]]
name = "password-hash"
-version = "0.6.0-pre"
+version = "0.6.0-pre.0"
dependencies = [
"base64ct",
"rand_core 0.6.4",
diff --git a/password-hash/Cargo.toml b/pa... | 2 | 2 | 2 |
4620e89bd34fb840b457a051c0d1a52bfb17012a | Tony Arcieri | 2024-02-06T21:12:21 | Cargo.lock: update dependencies (#1503)
Updates the following dependencies:
$ cargo update
Updating crates.io index
Updating hybrid-array v0.2.0-rc.4 -> v0.2.0-rc.5
Updating libc v0.2.152 -> v0.2.153
Updating proc-macro2 v1.0.76 -> v1.0.78
Updating serde v1.0.195 -> v1.0.196
Updati... | diff --git a/Cargo.lock b/Cargo.lock
index a2d22bc..906aa57 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -778,9 +778,9 @@ dependencies = [
[[package]]
name = "hybrid-array"
-version = "0.2.0-rc.4"
+version = "0.2.0-rc.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18e63b66aee2df559... | 1 | 12 | 12 |
13144ff78ea304fb6bd3ed59adb15db94d7505de | Tony Arcieri | 2024-02-02T01:48:47 | elliptic-curve v0.14.0-pre.5 (#1502) | diff --git a/Cargo.lock b/Cargo.lock
index 386d7c6..a2d22bc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -541,7 +541,7 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.14.0-pre.4"
+version = "0.14.0-pre.5"
dependencies = [
"base16ct 0.2.0",
"base64ct",
diff --git a/elliptic-curve/Cargo.toml... | 2 | 2 | 2 |
784e0d22ce7f72b548ef5d6dbe8beae82f928caf | Tony Arcieri | 2024-02-02T00:37:19 | elliptic-curve: `LinearCombinationExt` => `LinearCombination` (#1501)
Replaces the old, significantly less flexible `LinearCombination` trait
with the newer `LinearCombinationExt` trait, removing the old trait
completely and renaming the new one.
The bounds for `CurveArithmetic::ProjectivePoint` have also been up... | diff --git a/elliptic-curve/src/arithmetic.rs b/elliptic-curve/src/arithmetic.rs
index 7ef7fc5..150d8a9 100644
--- a/elliptic-curve/src/arithmetic.rs
+++ b/elliptic-curve/src/arithmetic.rs
@@ -44,7 +44,8 @@ pub trait CurveArithmetic: Curve {
+ DefaultIsZeroes
+ From<Self::AffinePoint>
+ Into<... | 3 | 9 | 27 |
e71c4fa44cb52a0edaec7b081c2d51bcfacf5755 | Tony Arcieri | 2024-02-01T22:20:35 | elliptic-curve v0.14.0-pre.4 (#1499) | diff --git a/Cargo.lock b/Cargo.lock
index 8f2926a..1fa16f7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -541,7 +541,7 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.14.0-pre.3"
+version = "0.14.0-pre.4"
dependencies = [
"base16ct 0.2.0",
"base64ct",
diff --git a/elliptic-curve/Cargo.toml... | 2 | 2 | 2 |
d627c598e5ac1ec3232c38198d1ab25c39a4c799 | Tony Arcieri | 2024-02-01T22:01:26 | digest v0.11.0-pre.8 (#1498) | diff --git a/Cargo.lock b/Cargo.lock
index 33bb351..8f2926a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -445,7 +445,7 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-pre.7"
+version = "0.11.0-pre.8"
dependencies = [
"blobby",
"block-buffer 0.11.0-pre.5",
@@ -455,6 +455,18 @@ dependencies = [... | 5 | 38 | 27 |
59d12275849f63301df965050c1907836ae12f5a | Tony Arcieri | 2024-02-01T18:16:38 | cipher v0.5.0-pre.3 (#1497) | diff --git a/Cargo.lock b/Cargo.lock
index 7037e18..33bb351 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -223,7 +223,7 @@ dependencies = [
[[package]]
name = "cipher"
-version = "0.5.0-pre.2"
+version = "0.5.0-pre.3"
dependencies = [
"blobby",
"crypto-common 0.2.0-pre.5 (registry+https://github.com/rust-lang/cr... | 2 | 2 | 2 |
4646f4559be8c7e0f95e815ddd9f9fa998749299 | Tony Arcieri | 2024-02-01T17:59:45 | crypto-common v0.2.0-pre.5 (#1496) | diff --git a/Cargo.lock b/Cargo.lock
index 3d895f0..7037e18 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.4",
+ "crypto-common 0.2.0-pre.5 (registry+https://github.com/rust-lang/crates.io-index)",
"heapless",
]
@@ -132,11... | 7 | 26 | 16 |
39a78209b3a4b180df1d0f6c994ce5cac7f16dcc | Tony Arcieri | 2024-01-31T16:54:23 | Bump `hybrid-array` to v0.2.0-rc.4 (#1493) | diff --git a/Cargo.lock b/Cargo.lock
index 0368ee6..3d895f0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -755,9 +755,9 @@ dependencies = [
[[package]]
name = "hybrid-array"
-version = "0.2.0-rc.3"
+version = "0.2.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8856b3db5eb76328... | 4 | 7 | 11 |
8ff7c6fdf0774326f6e06fc01f5173def9e17ea5 | Tony Arcieri | 2024-01-29T02:00:12 | Bump `hybrid-array` to v0.2.0-rc.3 (#1491) | diff --git a/Cargo.lock b/Cargo.lock
index 9bfc7a4..0368ee6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -755,9 +755,9 @@ dependencies = [
[[package]]
name = "hybrid-array"
-version = "0.2.0-rc.2"
+version = "0.2.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "662b1e7b4a15dc889... | 2 | 4 | 4 |
02c85e1b9ad36a193af120869bc5e9012ac50d69 | Tony Arcieri | 2024-01-27T15:35:31 | Bump `hybrid-array` to v0.2.0-rc.2 (#1490)
Mostly to spot regressions. Seems like this should be compatible. | diff --git a/Cargo.lock b/Cargo.lock
index 2ecedf2..9bfc7a4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -755,9 +755,9 @@ dependencies = [
[[package]]
name = "hybrid-array"
-version = "0.2.0-rc.1"
+version = "0.2.0-rc.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b700a69c9d992339... | 1 | 2 | 2 |
d622f977922546fa8a80f315b8766cfa4d0452a2 | Tony Arcieri | 2024-01-27T02:04:26 | crypto-common: rename `serializable_state` module to `hazmat` (#1487)
Also removes the toplevel re-exports for the traits, forcing users to go
through the now `pub hazmat` module.
There's a lot of misuse potential with these traits, which are intended
to make it possible to serialize/deserialize the internal stat... | diff --git a/Cargo.lock b/Cargo.lock
index 79faf45..2ecedf2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-common 0.2.0-pre.4",
"heapless",
]
@@ -136,7 ... | 7 | 21 | 45 |
3e13141067d149b92535e5a8654f1f07119b7f42 | Krysztal112233 | 2024-01-23T17:40:57 | Fix typo in `password-hash/src/errors.rs` (#1486)
Expecrted -> Expected | diff --git a/password-hash/src/errors.rs b/password-hash/src/errors.rs
index e433506..c48a28d 100644
--- a/password-hash/src/errors.rs
+++ b/password-hash/src/errors.rs
@@ -32,7 +32,7 @@ pub enum Error {
/// Expected output size in relation to `provided`.
///
/// - [`Ordering::Less`]: Minimum... | 1 | 1 | 1 |
4459f6012afda093816e6a592828a57a8fc366ed | Tony Arcieri | 2024-01-22T00:06:13 | cipher: followups to #1482 (#1483)
The branch was never tested against the block ciphers repo located at
https://github.com/rustcrypto/block-ciphers
There were various errors and missed changes in macros which were
required to get everything to compile.
This includes fixes and has been tested against the downs... | diff --git a/cipher/src/block.rs b/cipher/src/block.rs
index 7a691b0..bc0ac18 100644
--- a/cipher/src/block.rs
+++ b/cipher/src/block.rs
@@ -626,7 +626,7 @@ macro_rules! impl_simple_block_encdec {
type BlockSize = $block_size;
}
- impl<$($N$(:$b0$(+$b)*)?),*> $crate:BlockEncryptt for $cip... | 2 | 22 | 22 |
7ae1519e7dfcb5557e16f4a5e8c91a08b9db1eb1 | Tony Arcieri | 2024-01-21T23:30:42 | cipher: rename `BlockCipher*`/`BlockMode*` (#1482)
Renames the following traits:
- `BlockEncrypt` => `BlockCipherEncrypt`
- `BlockDecrypt` => `BlockCipherDecrypt`
- `BlockEncryptMut` => `BlockModeEncrypt`
- `BlockDecryptMut` => `BlockModeDecrypt`
As originally suggested in this comment:
https://github.com/... | diff --git a/cipher/src/block.rs b/cipher/src/block.rs
index f6925ee..7a691b0 100644
--- a/cipher/src/block.rs
+++ b/cipher/src/block.rs
@@ -78,7 +78,7 @@ pub trait BlockClosure: BlockSizeUser {
}
/// Encrypt-only functionality for block ciphers.
-pub trait BlockEncrypt: BlockSizeUser + Sized {
+pub trait BlockCiph... | 2 | 62 | 74 |
e5f09700e4ed098182ef28b264ba52951ca33625 | Tony Arcieri | 2024-01-21T21:34:45 | elliptic-curve: `SecretKey::from_slice` timing note (#1480)
Adds a note to the documentation that `SecretKey::from_slice` is
variable-time with respect to the input size. | diff --git a/elliptic-curve/src/secret_key.rs b/elliptic-curve/src/secret_key.rs
index 722f019..02ba9d0 100644
--- a/elliptic-curve/src/secret_key.rs
+++ b/elliptic-curve/src/secret_key.rs
@@ -158,6 +158,9 @@ where
/// `C::FieldBytesSize` bytes in length.
///
/// Byte slices shorter than the field size a... | 1 | 3 | 0 |
07bf35a6c3f276b5f746284032f7604d5c216c91 | Arthur Gautier | 2024-01-20T15:14:16 | async-signature: bump `signature` to v2.3.0-pre.2 (#1479) | diff --git a/Cargo.lock b/Cargo.lock
index 1e745bd..79faf45 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -56,9 +56,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "async-signature"
-version = "0.5.0"
+version = "0.6.0-pre.0"
dependencies = [
- "signature 2.2.0",... | 3 | 7 | 5 |
2b442524a2fd6968cb737a64275a7da4ee57db38 | Tony Arcieri | 2024-01-17T15:03:34 | digest v0.11.0-pre.7 (#1477) | diff --git a/Cargo.lock b/Cargo.lock
index 235fda4..042b069 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -457,7 +457,7 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-pre.6"
+version = "0.11.0-pre.7"
dependencies = [
"blobby",
"block-buffer 0.11.0-pre.4",
diff --git a/digest/Cargo.toml b/dige... | 2 | 2 | 2 |
c9781332c4dd1b6fcfe6c2a74f56c1f1b3635777 | Tony Arcieri | 2024-01-17T14:48:49 | elliptic-curve: bump `crypto-bigint` to v0.6.0-pre.12 (#1476)
Notably this also includes a bump to `hybrid-array` v0.2.0-rc.1 | diff --git a/Cargo.lock b/Cargo.lock
index 6783e0d..235fda4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -310,9 +310,9 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.6.0-pre.11"
+version = "0.6.0-pre.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "066d29f71af8... | 3 | 7 | 7 |
d94278d4b331f02f25dcdc80cb861ba5f033ce71 | Tony Arcieri | 2024-01-16T23:56:51 | elliptic-curve: bump `crypto-bigint` to v0.6.0-pre.11 (#1475) | diff --git a/Cargo.lock b/Cargo.lock
index 5a75560..6783e0d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -310,9 +310,9 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.6.0-pre.10"
+version = "0.6.0-pre.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12979c1e0771... | 2 | 4 | 4 |
b4ec63b0e6b94fad7c311b6b77ae0b59d3c3b18e | Artyom Pavlov | 2024-01-11T15:33:48 | digest: re-export zeroize (#1474) | diff --git a/digest/Cargo.toml b/digest/Cargo.toml
index 286df8b..257d097 100644
--- a/digest/Cargo.toml
+++ b/digest/Cargo.toml
@@ -20,7 +20,7 @@ block-buffer = { version = "=0.11.0-pre.4", optional = true }
subtle = { version = "2.4", default-features = false, optional = true }
blobby = { version = "0.3", optional ... | 2 | 4 | 1 |
6a999bea747bee5aa68525ff78624e0949697b70 | Artyom Pavlov | 2024-01-11T12:01:21 | digest: return CtOutput::into_bytes method (#1473) | diff --git a/Cargo.lock b/Cargo.lock
index e742ad6..5a75560 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -457,7 +457,7 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-pre.5"
+version = "0.11.0-pre.6"
dependencies = [
"blobby",
"block-buffer 0.11.0-pre.4",
diff --git a/digest/Cargo.toml b/dige... | 3 | 9 | 3 |
49d2620075a300481087552c67319a69fb0db00e | Artyom Pavlov | 2024-01-11T01:38:42 | digest: add zeroize support (#1472) | diff --git a/Cargo.lock b/Cargo.lock
index 1aef763..e742ad6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -137,6 +137,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0edadbde8e0243b49d434f9a23ec0590af201f400a34d7d51049284e4a77c568"
dependencies = [
"crypto-common 0.2.0-pre.4 (registr... | 7 | 139 | 146 |
b49ccf5061e4b31244d7b53f77eff6f580e83e8d | Tony Arcieri | 2024-01-11T00:38:58 | elliptic-curve: bump `crypto-bigint` to v0.6.0-pre.10 (#1471)
Also cuts a v0.14.0-pre.2 release of `elliptic-curve` | diff --git a/Cargo.lock b/Cargo.lock
index b288e22..1aef763 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -309,9 +309,9 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.6.0-pre.9"
+version = "0.6.0-pre.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ccdf8183c222... | 2 | 7 | 7 |
f96b7d2937323ddfe09cef39a4466702946196b7 | Tony Arcieri | 2024-01-10T20:17:33 | elliptic-curve,signature: bump deps; add back to workspace (#1470)
Also cuts v0.14.0-pre.1 and v2.3.0-pre.1 releases respectively | diff --git a/Cargo.lock b/Cargo.lock
index 075f275..b288e22 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -61,6 +61,12 @@ dependencies = [
"signature 2.2.0",
]
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d468802bab17cbc0cc575e9b053f... | 5 | 275 | 16 |
eb25268083b222fda13de24b03f44f3e3e5ffc58 | Tony Arcieri | 2024-01-10T17:42:02 | Bump `crypto-common` and `hybrid-array` (#1469)
Bumps the following dependencies:
- `block-buffer` => v0.11.0-pre.4
- `block-padding` => v0.4.0-pre.4
- `crypto-common` => v0.2.0-pre.4
- `hybrid-array` => v0.2.0-rc.0
- `inout` => v0.2.0-pre.4
Also prepares the following releases:
- `cipher` v0.5.0-pre.2
-... | diff --git a/Cargo.lock b/Cargo.lock
index ae66c6a..075f275 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.3",
+ "crypto-common 0.2.0-pre.4 (registry+https://github.com/rust-lang/crates.io-index)",
"heapless",
]
@@ -61,12 ... | 7 | 42 | 293 |
c501254368a080c0da607763192c4f390d80754b | Tony Arcieri | 2024-01-10T16:57:16 | crypto-common: bump `hybrid-array` to v0.2.0-rc.0 (#1468)
Relaxes the `hybrid-array` requirement so we can release additional
compatible versions without having to upgrade `crypto-common` each time.
Also bumps `crypto-common` to v0.2.0-pre.4 (for release) | diff --git a/Cargo.lock b/Cargo.lock
index 1cf6f95..ae66c6a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-common 0.2.0-pre.3",
"heapless",
]
@@ -136,7 ... | 4 | 13 | 20 |
4f4ca9dac72d1b1eccbe6a5fd0440925008d74e8 | Tony Arcieri | 2024-01-09T18:11:24 | signature v2.3.0-pre.0 (#1466) | diff --git a/Cargo.lock b/Cargo.lock
index 73e4caf..1cf6f95 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1249,7 +1249,7 @@ dependencies = [
[[package]]
name = "signature"
-version = "2.3.0"
+version = "2.3.0-pre.0"
dependencies = [
"digest 0.11.0-pre.3 (registry+https://github.com/rust-lang/crates.io-index)",
... | 2 | 2 | 2 |
39137561171484cf4fe0168aa0e27f6431bb4002 | Tony Arcieri | 2024-01-09T15:50:57 | elliptic-curve v0.14.0-pre.0 (#1464) | diff --git a/Cargo.lock b/Cargo.lock
index c51aad3..d480f78 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -539,7 +539,7 @@ dependencies = [
[[package]]
name = "elliptic-curve"
-version = "0.14.0-pre"
+version = "0.14.0-pre.0"
dependencies = [
"base16ct 0.2.0",
"base64ct",
diff --git a/elliptic-curve/Cargo.toml b... | 2 | 2 | 2 |
fd48936174e0012aae3e7c99f575e409c0ec6b23 | Maël Acier | 2024-01-08T22:54:04 | password-hash: add `Encoding::ShaCrypt` (#1352)
Adds support for a Base64 variant used by `sha1_crypt`, `sha256_crypt`,
`sha512_crypt`, and `md5_crypt`.
Uses `base64ct::Base64ShaCrypt` as the backing implementation.
Also marks the `Encoding` enum as `#[non_exhaustive]` to allow future additions
in a non-breaki... | diff --git a/password-hash/Cargo.toml b/password-hash/Cargo.toml
index 45ee2f2..ba2a0fe 100644
--- a/password-hash/Cargo.toml
+++ b/password-hash/Cargo.toml
@@ -17,7 +17,7 @@ edition = "2021"
rust-version = "1.60"
[dependencies]
-base64ct = "1"
+base64ct = "1.6"
subtle = { version = "2", default-features = false }... | 2 | 16 | 2 |
cbfdf1dc9be3ac680e92085341c9bedfedbf2bb6 | Tony Arcieri | 2024-01-08T22:42:29 | Bump `password-hash` to v0.6.0-pre (#1461)
This is not-for-release, but to signal that we are about to begin making
breaking changes.
Notably it would be nice to finally land #1352, which adds `ShaCrypt`
support and makes the `Encoding` enum `non_exhaustive` so we could
potentially add additional encodings in th... | diff --git a/Cargo.lock b/Cargo.lock
index 9b64fd9..ad9187b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -260,7 +260,7 @@ dependencies = [
"crypto-common 0.1.6",
"digest 0.10.7",
"elliptic-curve 0.13.8",
- "password-hash",
+ "password-hash 0.5.0",
"signature 2.2.0 (registry+https://github.com/rust-lang/crates.io... | 3 | 14 | 3 |
a005ddb17051c18f227e3f198117eda5d432893a | Tony Arcieri | 2024-01-08T19:35:00 | digest: remove lingering `docsrs` attrs (#1460)
These were leftover from the migration to `doc_auto_cfg` in #1370.
They're breaking the doc build. | diff --git a/digest/src/dev.rs b/digest/src/dev.rs
index 5ceae41..7018e85 100644
--- a/digest/src/dev.rs
+++ b/digest/src/dev.rs
@@ -39,7 +39,6 @@ macro_rules! new_test {
/// Define hash function serialization test
#[macro_export]
-#[cfg_attr(docsrs, doc(cfg(feature = "dev")))]
macro_rules! hash_serialization_test... | 1 | 0 | 2 |
3a7f39d2a6f4a3f0d7597962e41aa14d5978ea4a | Tony Arcieri | 2024-01-06T17:15:27 | Cargo.lock: update dependencies (#1459)
Updates the following dependencies:
$ cargo update
Updating crates.io index
Updating cpufeatures v0.2.11 -> v0.2.12
Updating proc-macro2 v1.0.71 -> v1.0.76
Updating quote v1.0.33 -> v1.0.35
Updating serde v1.0.193 -> v1.0.195
Updating serde_b... | diff --git a/Cargo.lock b/Cargo.lock
index 0a986a0..9b64fd9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -244,9 +244,9 @@ checksum = "f7e3352a27098ba6b09546e5f13b15165e6a88b5c2723afecb3ea9576b27e3ea"
[[package]]
name = "cpufeatures"
-version = "0.2.11"
+version = "0.2.12"
source = "registry+https://github.com/rust-... | 1 | 16 | 16 |
9bc2c9be276612ad4c0245fb96569d2071ab142e | Tony Arcieri | 2024-01-06T16:23:42 | cipher v0.5.0-pre.1 (#1458) | diff --git a/Cargo.lock b/Cargo.lock
index aaf2229..0a986a0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -216,7 +216,7 @@ dependencies = [
[[package]]
name = "cipher"
-version = "0.5.0-pre"
+version = "0.5.0-pre.1"
dependencies = [
"blobby",
"crypto-common 0.2.0-pre.3 (registry+https://github.com/rust-lang/crat... | 2 | 3 | 3 |
c4101dee17284b8c7788ce8c414e6385c1eadc0d | Tony Arcieri | 2024-01-06T03:54:49 | digest 0.11.0-pre.3 (#1457) | diff --git a/digest/Cargo.toml b/digest/Cargo.toml
index c7399ef..36c62e2 100644
--- a/digest/Cargo.toml
+++ b/digest/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "digest"
description = "Traits for cryptographic hash functions and message authentication codes"
-version = "0.11.0-pre.2"
+version = "0.11.0-pre.3"
auth... | 1 | 1 | 1 |
77445d19af181989c394c68cdad992b2dd62a86d | lmaotrigine | 2024-01-04T20:24:21 | cipher: fix bugs in `StreamCipherCoreWrapper` trait implementaitons (#1421) | diff --git a/cipher/src/stream_wrapper.rs b/cipher/src/stream_wrapper.rs
index 1002ced..626b4e3 100644
--- a/cipher/src/stream_wrapper.rs
+++ b/cipher/src/stream_wrapper.rs
@@ -157,7 +157,7 @@ impl<T: StreamCipherCore> StreamCipher for StreamCipherCoreWrapper<T> {
// but after XORing keystream block with `... | 1 | 7 | 3 |
a897f41b8310125394b523e4e8b0e5bfdd584fcf | Tony Arcieri | 2024-01-03T22:42:01 | digest v0.11.0-pre.2 (#1451) | diff --git a/Cargo.lock b/Cargo.lock
index 33e439d..3cd4a8d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -415,7 +415,7 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-pre.1"
+version = "0.11.0-pre.2"
dependencies = [
"blobby",
"block-buffer 0.11.0-pre.3",
diff --git a/digest/Cargo.toml b/dige... | 2 | 2 | 2 |
afb9092d1f79c88a1cb1769fd61b9ac386445840 | Tony Arcieri | 2024-01-03T22:31:53 | digest: bump `const-oid` dependency to v0.10.0-pre.1 (#1450) | diff --git a/Cargo.lock b/Cargo.lock
index b6e5339..33e439d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -236,6 +236,12 @@ version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+[[package]]
+name = "const-oid"
... | 2 | 8 | 2 |
0c0c3ef9afd75f60cfd725f0b65dd7ceaacd588d | Tony Arcieri | 2024-01-03T00:01:08 | digest v0.11.0-pre.1 (#1447) | diff --git a/Cargo.lock b/Cargo.lock
index 8d73c82..8cbe283 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -409,7 +409,7 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-pre"
+version = "0.11.0-pre.1"
dependencies = [
"blobby",
"block-buffer 0.11.0-pre.3",
diff --git a/digest/Cargo.toml b/digest... | 2 | 2 | 2 |
e36243ee7624243a668ec7f233adccb216afcc41 | Tony Arcieri | 2023-12-31T23:14:46 | Bump `hybrid-array` to v0.2.0-pre.8 (#1438) | diff --git a/Cargo.lock b/Cargo.lock
index f8a6fb6..8d73c82 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-common 0.2.0-pre.3 (registry+https://github.com/ru... | 7 | 91 | 27 |
6810dc1dcfe9949f2f2e8e6f3e077737b97c06f1 | Tony Arcieri | 2023-12-31T04:48:18 | Bump RustCrypto/utils crate dependencies (#1437)
Bumps the following crate dependencies:
- `block-buffer` v0.11.0-pre.2
- `inout` v0.2.0-pre.2 | diff --git a/Cargo.lock b/Cargo.lock
index e4a7c21..f8a6fb6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.2",
+ "crypto-common 0.2.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)",
"heapless",
]
@@ -126,10... | 4 | 30 | 21 |
48c2c120ca45b497c0bfcfa05069d32a7202ea75 | Tony Arcieri | 2023-12-31T04:16:34 | crypto-common v0.2.0-pre.2 (#1436) | diff --git a/Cargo.lock b/Cargo.lock
index 53bb6be..e4a7c21 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.1",
+ "crypto-common 0.2.0-pre.2",
"heapless",
]
@@ -127,10 +127,9 @@ dependencies = [
[[package]]
name = "block-... | 7 | 16 | 16 |
d64c0fddcf765ace0eb4ed766366868372b7233d | Tony Arcieri | 2023-12-31T04:02:30 | Bump `hybrid-array` to v0.2.0-pre.7 (#1435) | diff --git a/Cargo.lock b/Cargo.lock
index cf1a657..53bb6be 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crypto-common 0.2.0-pre.1",
"heapless",
]
@@ -130,7 ... | 3 | 14 | 23 |
ea9f8a3ded8137ce3d8729b165bc4d413cc52486 | Tony Arcieri | 2023-12-30T02:59:20 | Use util crate prereleases (#1434)
Switches to the following prereleases:
- `block-buffer` v0.11.0-pre.1
- `inout` v0.4.0-pre.1 | diff --git a/Cargo.lock b/Cargo.lock
index 9d3b3e3..cf1a657 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre.1",
+ "crypto-common 0.2.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
"heapless",
]
@@ -126,10... | 4 | 30 | 21 |
43cec2c212e74495ff439c8b5eb232e03fb5e61f | Tony Arcieri | 2023-12-30T01:10:55 | crypto-common v0.2.0-pre.1 (#1433) | diff --git a/Cargo.lock b/Cargo.lock
index 2e5c160..9d3b3e3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"arrayvec",
"blobby",
"bytes",
- "crypto-common 0.2.0-pre",
+ "crypto-common 0.2.0-pre.1",
"heapless",
]
@@ -129,7 +129,7 @@ name = "block-buffer"
version = "0.11.0-pre"
s... | 6 | 11 | 11 |
9b40ddf1f1cd7aed1834c1b86660f29c8074ebdb | Tony Arcieri | 2023-12-30T00:58:00 | Bump `hybrid-array` to v0.2.0-pre.6 (#1432)
This removes the `ByteArray` type alias.
Updates the following crates:
- `aead`
- `crypto-common`
- `digest` | diff --git a/Cargo.lock b/Cargo.lock
index 1742c04..2e5c160 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -127,7 +127,7 @@ dependencies = [
[[package]]
name = "block-buffer"
version = "0.11.0-pre"
-source = "git+https://github.com/RustCrypto/utils.git#cc772039c62a0a2f4761b28df796d8b2dbda12e6"
+source = "git+https://gi... | 10 | 28 | 28 |
a17da800956ef3f52ee1afa9818907234283459d | Tony Arcieri | 2023-12-29T18:36:38 | async-signature v0.5.0-pre.0 (#1431) | diff --git a/Cargo.lock b/Cargo.lock
index 31e2600..1742c04 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -56,7 +56,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "async-signature"
-version = "0.5.0-pre"
+version = "0.5.0-pre.0"
dependencies = [
"signature 2.2... | 2 | 2 | 2 |
15b8e95c24f03d8108a91d945559fece917ff5be | Tony Arcieri | 2023-12-29T18:17:35 | async-signature: remove 'static bounds (#1430)
As discussed in #1375. These bounds don't add value: it requires
notating them even when unnecessary, and when necessary they still need
to be notated anyway. | diff --git a/async-signature/src/lib.rs b/async-signature/src/lib.rs
index 1dcd2b1..08633dc 100644
--- a/async-signature/src/lib.rs
+++ b/async-signature/src/lib.rs
@@ -25,7 +25,7 @@ use signature::rand_core::CryptoRngCore;
///
/// This trait is an async equivalent of the [`signature::Signer`] trait.
#[allow(async_f... | 1 | 3 | 7 |
bd53cc9c9989cf657f20306d3f2d633bad7cbff8 | Tony Arcieri | 2023-12-29T18:11:52 | async-signature: bump version to v0.5.0-pre (#1429)
NOTE: this is not a release, but just to denote that the current
`master` contains breaking changes, which were introduced in #1428 | diff --git a/Cargo.lock b/Cargo.lock
index e573a44..31e2600 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -56,7 +56,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "async-signature"
-version = "0.4.0"
+version = "0.5.0-pre"
dependencies = [
"signature 2.2.0 (re... | 2 | 2 | 2 |
3a44a3e5582aa5c0c512c93a470ef8f1a581f7f7 | Tony Arcieri | 2023-12-28T17:36:05 | Remove unused imports (#1426)
These are breaking the build on the latest `stable` | diff --git a/cipher/src/dev/block.rs b/cipher/src/dev/block.rs
index 101d5af..7059475 100644
--- a/cipher/src/dev/block.rs
+++ b/cipher/src/dev/block.rs
@@ -1,7 +1,5 @@
//! Development-related functionality
-pub use blobby;
-
/// Define block cipher test
#[macro_export]
macro_rules! block_cipher_test {
diff --git... | 2 | 0 | 3 |
9fbd4f902fad4c5381b888e8938f52f3e1d41caa | Ruslan Piasetskyi | 2023-11-18T19:01:48 | crypto-common: add SerializableState trait (#1369)
This trait is used for saving the internal state of the object and
restoring the object from the serialized state. | diff --git a/crypto-common/src/lib.rs b/crypto-common/src/lib.rs
index 2c2cb8d..6a9c9a4 100644
--- a/crypto-common/src/lib.rs
+++ b/crypto-common/src/lib.rs
@@ -21,11 +21,20 @@ pub use hybrid_array as array;
pub use hybrid_array::typenum;
use core::fmt;
-use hybrid_array::{typenum::Unsigned, Array, ArraySize, ByteA... | 6 | 615 | 10 |
dcae306c068ab2e43d4c3d70ca9cb0ba2cb3cb90 | Tony Arcieri | 2023-11-18T18:59:56 | elliptic-curve: `SecretKey::from_slice` allows >=24-bytes (#1412)
To address the concerns in #1330, sets a global minimum elliptic curve
key size of 24-bytes (192-bits), which provides the equivalent of 96-bit
symmetric security. | diff --git a/elliptic-curve/src/secret_key.rs b/elliptic-curve/src/secret_key.rs
index 502f815..198fd66 100644
--- a/elliptic-curve/src/secret_key.rs
+++ b/elliptic-curve/src/secret_key.rs
@@ -12,7 +12,7 @@ use crate::{Curve, Error, FieldBytes, Result, ScalarPrimitive};
use core::fmt::{self, Debug};
use generic_array... | 2 | 19 | 26 |
20ae48b8577286a3b1d6e501c342801492400c2d | Artyom Pavlov | 2023-11-17T16:43:07 | aead: enable `missing_debug_implementations` lint and add `Debug` impls (#1411) | diff --git a/aead/src/lib.rs b/aead/src/lib.rs
index 62cf29d..0a6f2af 100644
--- a/aead/src/lib.rs
+++ b/aead/src/lib.rs
@@ -6,7 +6,12 @@
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"
)]
#![forbid(unsafe_code)]
-#![warn(clippy::unwrap_used, missing_docs, rust_2018_idio... | 2 | 10 | 1 |
38e898b1b975b0d155348fd44aa968b83174aa97 | Artyom Pavlov | 2023-11-15T18:07:46 | Fix `missing_debug_implementations` for some crates (#1407) | diff --git a/async-signature/src/lib.rs b/async-signature/src/lib.rs
index fde8ca2..8c59952 100644
--- a/async-signature/src/lib.rs
+++ b/async-signature/src/lib.rs
@@ -5,7 +5,12 @@
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![forbid(unsafe_code)]
-#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]... | 14 | 51 | 10 |
723a1a309c4d987ec54c4c1f7bfe3686dc8d5a29 | Tony Arcieri | 2023-11-15T16:42:41 | elliptic-curve: have `LinearCombinationExt` allow `?Sized` (#1406)
...as the `PointsAndScalars` generic parameter, so we can accept slices | diff --git a/elliptic-curve/src/ops.rs b/elliptic-curve/src/ops.rs
index 5931d59..9043b29 100644
--- a/elliptic-curve/src/ops.rs
+++ b/elliptic-curve/src/ops.rs
@@ -167,7 +167,7 @@ pub trait LinearCombination: Group {
// TODO(tarcieri): replace the current `LinearCombination` with this in the next release
pub trait L... | 1 | 1 | 1 |
37507fd8a1314398f9e0d7bbdf25467071b2c72e | Tony Arcieri | 2023-11-15T13:21:29 | elliptic-curve: add `LinearCombinationExt` trait (#1405)
Adds a trait which is generic around its input parameters for computing
linear combinations.
This allows for different strategies depending on the input parameter
type, for example using stack-allocated intermediates sized to match an
input array, which wo... | diff --git a/elliptic-curve/src/ops.rs b/elliptic-curve/src/ops.rs
index 57280f1..5931d59 100644
--- a/elliptic-curve/src/ops.rs
+++ b/elliptic-curve/src/ops.rs
@@ -160,6 +160,34 @@ pub trait LinearCombination: Group {
}
}
+/// Linear combination (extended version).
+///
+/// This trait enables providing an opt... | 1 | 28 | 0 |
ce2dc02121e28ebda185e6f18e56cf7906ae4006 | Tony Arcieri | 2023-11-15T02:46:16 | elliptic-curve: move `BatchNormalize` trait under `point` (#1404)
Since it's functionality related to elliptic curve points, put it under
the corresponding module. | diff --git a/elliptic-curve/src/arithmetic.rs b/elliptic-curve/src/arithmetic.rs
index 2c6b55a..7ef7fc5 100644
--- a/elliptic-curve/src/arithmetic.rs
+++ b/elliptic-curve/src/arithmetic.rs
@@ -84,14 +84,3 @@ pub trait PrimeCurveArithmetic:
/// Prime order elliptic curve group.
type CurveGroup: group::prime::P... | 3 | 14 | 13 |
4a663341473273c73fd2ca7e37dadd9ba7013fd2 | Tony Arcieri | 2023-11-15T00:51:52 | elliptic-curve: remove references from batch generic params (#1403)
Previously the traits were generic around a reference type. The problem
with that is reference types have lifetimes, which requires notating
them in generic code, in this case requiring an HRTB per generic
parameter.
HRTBs work because the outpu... | diff --git a/elliptic-curve/src/arithmetic.rs b/elliptic-curve/src/arithmetic.rs
index de9ff6b..2c6b55a 100644
--- a/elliptic-curve/src/arithmetic.rs
+++ b/elliptic-curve/src/arithmetic.rs
@@ -86,12 +86,12 @@ pub trait PrimeCurveArithmetic:
}
/// Normalize point(s) in projective representation by converting them to... | 2 | 13 | 11 |
2af0350bc87ca95679653e78db1e184fc4a99d81 | Yehonatan Cohen Scaly | 2023-11-14T22:39:58 | elliptic_curve: add `BatchInvert` and `BatchNormalize` traits (#1376) | diff --git a/elliptic-curve/src/arithmetic.rs b/elliptic-curve/src/arithmetic.rs
index 7ef7fc5..de9ff6b 100644
--- a/elliptic-curve/src/arithmetic.rs
+++ b/elliptic-curve/src/arithmetic.rs
@@ -84,3 +84,14 @@ pub trait PrimeCurveArithmetic:
/// Prime order elliptic curve group.
type CurveGroup: group::prime::P... | 3 | 132 | 1 |
d74348293e87903b9cf50428ae7d6137467d4ae4 | Артём Павлов [Artyom Pavlov] | 2023-11-14T13:36:56 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index ca3f2d6..c16d6ce 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -59,7 +59,7 @@ name = "async-signature"
version = "0.4.0"
dependencies = [
"async-trait",
- "signature 2.1.0",
+ "signature 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -17... | 1 | 26 | 35 |
7a0272d7aeffddebe3474b99551958606873664a | Alex Martens | 2023-11-13T02:56:23 | Bump `heapless` dependency to v0.8 (#1398) | diff --git a/Cargo.lock b/Cargo.lock
index c426ea1..ca3f2d6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -73,21 +73,6 @@ dependencies = [
"syn",
]
-[[package]]
-name = "atomic-polyfill"
-version = "0.1.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3ff7eb3f316534d83a8a2c3d1674ac... | 2 | 5 | 69 |
7716a995ec5e6e70959732d7fa9c2d6bfdf4bbdc | Tony Arcieri | 2023-11-12T20:09:22 | signature: bump `hex-literal` to v0.4 (#1396) | diff --git a/Cargo.lock b/Cargo.lock
index 244df6c..970e159 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -503,7 +503,7 @@ dependencies = [
"ff 0.13.0",
"generic-array",
"group 0.13.0",
- "hex-literal 0.4.1",
+ "hex-literal",
"hkdf 0.12.3",
"pem-rfc7468 0.7.0",
"pkcs8 0.10.2",
@@ -648,12 +648,6 @@ dependencie... | 2 | 3 | 9 |
6e7ee07546ad42b9aba395ba15092199f0025545 | Artyom Pavlov | 2023-11-12T16:23:52 | cipher: stream cipher improvements (#1388) | diff --git a/cipher/src/stream.rs b/cipher/src/stream.rs
index 3ac454e..2de8263 100644
--- a/cipher/src/stream.rs
+++ b/cipher/src/stream.rs
@@ -202,21 +202,21 @@ macro_rules! impl_seek_num {
{$($t:ty )*} => {
$(
impl SeekNum for $t {
- fn from_block_byte<T: Counter>(block: T, ... | 3 | 137 | 168 |
2b4f64886fd3d5ceaffcde8c3bed3ff632472a66 | Tony Arcieri | 2023-11-12T15:49:20 | async-signature: re-add 'static bound (#1392)
Accidentally removed in #1375 | diff --git a/async-signature/src/lib.rs b/async-signature/src/lib.rs
index 736bcdf..fde8ca2 100644
--- a/async-signature/src/lib.rs
+++ b/async-signature/src/lib.rs
@@ -19,7 +19,7 @@ use async_trait::async_trait;
///
/// This trait is an async equivalent of the [`signature::Signer`] trait.
#[async_trait(?Send)]
-pub... | 1 | 1 | 1 |
b3313d9a9594cf1df727668e7fa9da9eace30c8a | Artyom Pavlov | 2023-11-12T13:54:06 | digest: add DynDigestWithOid wrapper trait (#1390) | diff --git a/digest/src/digest.rs b/digest/src/digest.rs
index 0642af4..c8d1ca8 100644
--- a/digest/src/digest.rs
+++ b/digest/src/digest.rs
@@ -3,6 +3,8 @@ use crypto_common::{typenum::Unsigned, Output, OutputSizeUser};
#[cfg(feature = "alloc")]
use alloc::boxed::Box;
+#[cfg(feature = "const-oid")]
+use const_oid:... | 2 | 11 | 0 |
8e1df19d77283056c8e12e3ae1bc19ccdaaf0b94 | Quinn Wilton | 2023-11-12T13:44:24 | async-signature: remove mandatory Send + Sync bounds (#1375)
See: https://github.com/RustCrypto/traits/issues/1373 | diff --git a/signature/async/src/lib.rs b/signature/async/src/lib.rs
index 8a1cd64..736bcdf 100644
--- a/signature/async/src/lib.rs
+++ b/signature/async/src/lib.rs
@@ -18,12 +18,8 @@ use async_trait::async_trait;
/// (e.g. client for a Cloud KMS or HSM), returning a digital signature.
///
/// This trait is an async... | 1 | 11 | 16 |
137a26f017f01340ea68e860fada96705e2c6c87 | Tony Arcieri | 2023-11-12T03:19:54 | crypto-common: weakly activate `std` features for RNG crates (#1383) | diff --git a/crypto-common/Cargo.toml b/crypto-common/Cargo.toml
index e0e7dd0..27a3e4f 100644
--- a/crypto-common/Cargo.toml
+++ b/crypto-common/Cargo.toml
@@ -21,7 +21,7 @@ getrandom = { version = "0.2", optional = true }
[features]
getrandom = ["dep:getrandom", "rand_core?/getrandom"]
-std = []
+std = ["getrando... | 1 | 1 | 1 |
b6b591ef197b227954fd1f0baef964bb40f03575 | Tony Arcieri | 2023-11-12T01:41:50 | crypto-common: weakly activate `rand_core/getrandom` (#1381)
When both `getrandom` and `rand_core` are enabled, activates the
`rand_core/getrandom` feature, which makes `OsRng` available as
`crypto_common::rand_core::OsRng`. | diff --git a/Cargo.lock b/Cargo.lock
index b9bfc7b..c8aae20 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -286,6 +286,7 @@ dependencies = [
name = "crypto-common"
version = "0.2.0-pre"
dependencies = [
+ "getrandom",
"hybrid-array",
"rand_core 0.6.4",
]
diff --git a/crypto-common/Cargo.toml b/crypto-common/Cargo.... | 3 | 4 | 0 |
eb07d10930162842f3466e5f728ef12cd9f56409 | Artyom Pavlov | 2023-11-11T23:46:19 | Return `Result` from all `generate_*` methods (#1379) | diff --git a/crypto-common/Cargo.toml b/crypto-common/Cargo.toml
index beb671f..38496ad 100644
--- a/crypto-common/Cargo.toml
+++ b/crypto-common/Cargo.toml
@@ -6,7 +6,7 @@ authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2021"
-rust-version = "1.56"
+rust-version = "... | 2 | 29 | 65 |
6497790f8e11a8c2d0f2897bc448b2b40aab1f9d | Tony Arcieri | 2023-11-11T21:08:25 | crypto-common: add fallible `try_generate_*_with_rng` (#1377)
Adds a fallible `try_*` variant to each `generate_*_with_rng` function,
changing usages of `fill_bytes` to `try_fill_bytes`, and returning a
`Result` with `rand_core::Error` in the event an RNG error has occurred. | diff --git a/crypto-common/src/lib.rs b/crypto-common/src/lib.rs
index d3303ca..6fd536b 100644
--- a/crypto-common/src/lib.rs
+++ b/crypto-common/src/lib.rs
@@ -170,9 +170,18 @@ pub trait KeyInit: KeySizeUser + Sized {
#[cfg(feature = "rand_core")]
#[inline]
fn generate_key_with_rng(rng: &mut impl Crypto... | 1 | 57 | 12 |
128d4e6df73f9ec528e0b0a6dd88a9e6917aa221 | Tony Arcieri | 2023-10-31T19:19:58 | crypto-common: change `generate_*` to support getrandom (#1371)
This commit splits the existing `generate_*` functions into two
different variants:
- `fn generate_*`: accepts no parameters and uses `OsRng` automatically.
Gated on the `getrandom` feature.
- `fn generate_*_with_rng`: accepts a `&mut impl CryptoR... | diff --git a/crypto-common/src/lib.rs b/crypto-common/src/lib.rs
index 5705860..d3303ca 100644
--- a/crypto-common/src/lib.rs
+++ b/crypto-common/src/lib.rs
@@ -20,8 +20,11 @@ pub use hybrid_array::typenum;
use core::fmt;
use hybrid_array::{typenum::Unsigned, Array, ArraySize, ByteArray};
+
#[cfg(feature = "rand_c... | 1 | 48 | 7 |
bbcb9c2306cf02a6a7812787de44680dd227336b | Tony Arcieri | 2023-10-31T14:42:52 | Migrate to `doc_auto_cfg` (#1370)
Migrates the `aead`, `cipher`, `crypto-common`, `digest`, and
`universal-hash` crates to use the `doc_auto_cfg` feature which
automatically generates documentation for `cfg`-gated code, which in our
uses is almost exclusively gated on crate features.
This allows the previous man... | diff --git a/aead/src/dev.rs b/aead/src/dev.rs
index a0fc7db..3768826 100644
--- a/aead/src/dev.rs
+++ b/aead/src/dev.rs
@@ -3,7 +3,6 @@ pub use blobby;
/// Define AEAD test
#[macro_export]
-#[cfg_attr(docsrs, doc(cfg(feature = "dev")))]
macro_rules! new_test {
($name:ident, $test_name:expr, $cipher:ty $(,)?)... | 20 | 6 | 88 |
2a1016f47e379fdca6a213b07625d1d440506d96 | Tony Arcieri | 2023-10-27T18:48:44 | cipher: remove needless lifetimes (#1368)
One of the lifetimes is unused, but we couldn't remove it before because
it would be a breaking change.
Closes #1336 | diff --git a/cipher/src/block.rs b/cipher/src/block.rs
index 7b8c99c..297d4a1 100644
--- a/cipher/src/block.rs
+++ b/cipher/src/block.rs
@@ -135,9 +135,9 @@ pub trait BlockEncrypt: BlockSizeUser + Sized {
#[cfg(feature = "block-padding")]
#[cfg_attr(docsrs, doc(cfg(feature = "block-padding")))]
#[inline]... | 2 | 9 | 10 |
fa5fde576bd079b8de0a76b0be71d2d45df7c7d8 | Артём Павлов [Artyom Pavlov] | 2023-10-22T06:20:28 | Downgrade byteorder and jobserver to work around CI failure | diff --git a/Cargo.lock b/Cargo.lock
index 0774b81..f878923 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -155,9 +155,9 @@ dependencies = [
[[package]]
name = "byteorder"
-version = "1.5.0"
+version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd0f2584146f6f2ef48085050886a... | 1 | 4 | 4 |
2837040e225b568f2d2f27bc0ce4c92e21b101de | Артём Павлов [Artyom Pavlov] | 2023-10-20T20:34:28 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 2268892..0774b81 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -65,9 +65,9 @@ dependencies = [
[[package]]
name = "async-trait"
-version = "0.1.73"
+version = "0.1.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc00ceb34980c03614e35a3a4e21... | 1 | 24 | 24 |
5011178822f20c7c03a527265a5a890ecd0534b1 | Ryan Lee | 2023-10-03T13:43:12 | Fix minor documentation error in AeadCore::TagSize (#1351)
The documentation originally described TagSize as "the maximum length of the nonce" when it is, in fact, the maximum length of the tag. | diff --git a/aead/src/lib.rs b/aead/src/lib.rs
index c5856a0..7006679 100644
--- a/aead/src/lib.rs
+++ b/aead/src/lib.rs
@@ -104,7 +104,7 @@ pub trait AeadCore {
/// The length of a nonce.
type NonceSize: ArrayLength<u8>;
- /// The maximum length of the nonce.
+ /// The maximum length of the tag.
... | 1 | 1 | 1 |
446f912b5ea34ccda100cb2ec1d7b89916c23820 | Артём Павлов [Artyom Pavlov] | 2023-09-26T22:14:56 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 334ee81..2268892 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -65,9 +65,9 @@ dependencies = [
[[package]]
name = "async-trait"
-version = "0.1.68"
+version = "0.1.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9ccdd8f2a161be9bd5c023df56f... | 1 | 39 | 38 |
e1bdc05cae0f921fbbde484d25461ce3aeb612fc | Artyom Pavlov | 2023-09-22T17:09:57 | cipher: mark set_pos_unchecked private method as unsafe (#1346) | diff --git a/cipher/src/stream_wrapper.rs b/cipher/src/stream_wrapper.rs
index e3495bc..fb12838 100644
--- a/cipher/src/stream_wrapper.rs
+++ b/cipher/src/stream_wrapper.rs
@@ -64,8 +64,13 @@ where
T::BlockSize::USIZE
}
+ /// Set buffer position without checking that it's smaller
+ /// than buffer... | 1 | 19 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.