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 |
|---|---|---|---|---|---|---|---|
f2f87c87724d5ecacee5fc4e0a3184b3d5a039e4 | Alex Xiong | 2020-10-07T14:43:03 | Add crypto_box::ChaChaBox support (#225) | diff --git a/Cargo.lock b/Cargo.lock
index bb538fb..ed69868 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -179,6 +179,7 @@ dependencies = [
name = "crypto_box"
version = "0.4.0"
dependencies = [
+ "chacha20poly1305",
"rand",
"rand_core",
"salsa20",
diff --git a/crypto_box/Cargo.toml b/crypto_box/Cargo.toml
index... | 4 | 300 | 108 |
0a4b0a965f688d2b1d68c66d6c4ad901768b5232 | Igor Matuszewski | 2020-09-30T15:43:33 | eax: add API for online encryption/decryption (#214)
This can be useful for two reasons, in addition to having the existing one-shot-like API:
1. The associated data can be processed separately
2. The protected data can be processed in a streaming fashion, rather than requiring it to be entirely allocated and
... | diff --git a/eax/src/lib.rs b/eax/src/lib.rs
index a5f8143..84105d4 100644
--- a/eax/src/lib.rs
+++ b/eax/src/lib.rs
@@ -78,7 +78,7 @@
#![deny(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms)]
-pub use aead::{self, AeadInPlace, Error, NewAead};
+pub use aead::{self, AeadInPlace, Error, NewAead, Nonce};
use ... | 2 | 453 | 3 |
a2c032f2921bbd22a8acddbfeb6357cec7e1f607 | Tony Arcieri | 2020-09-17T15:51:17 | Add optional `std` feature to all crates (#217)
Disabled-by-default. Closes #204.
This mostly provides a `std::error::Error` impl on `aead::Error`. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index fc27550..e7b5895 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -27,6 +27,7 @@ zeroize = { version = "1", default-features = false }
default = ["aes", "alloc"]
alloc = ["aead/alloc"]
heapless = ["aead/heapless"]
+std = ["aead/std... | 9 | 9 | 0 |
6b6eaa0f51e9d56ec189cc6d143c00120bbab266 | Artyom Pavlov | 2020-08-26T11:08:15 | update dependencies (#209) | diff --git a/Cargo.lock b/Cargo.lock
index e62a43e..adfccb7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -13,13 +13,13 @@ dependencies = [
[[package]]
name = "aes"
-version = "0.4.0"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7001367fde4c768a19d1029f0a8be5abd93... | 7 | 51 | 87 |
18a6128e84880c9c5f906108082960b61d335f5f | Artyom Pavlov | 2020-08-12T07:50:29 | Use SVG logo (#190) | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index 9b5b40f..dfbca86 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -121,7 +121,10 @@
//! [7]: https://research.nccgroup.com/2020/02/26/public-report-rustcrypto-aes-gcm-and-chacha20poly1305-implementation-review/
#![no_std]
-#![doc(... | 9 | 39 | 9 |
1c3ab0accb043cc47abe7a198c22e473d953d52a | Artyom Pavlov | 2020-08-07T16:43:17 | Fix MGM doc example (#189) | diff --git a/mgm/src/lib.rs b/mgm/src/lib.rs
index 586716b..80ccbd4 100644
--- a/mgm/src/lib.rs
+++ b/mgm/src/lib.rs
@@ -8,18 +8,16 @@
//! use kuznyechik::Kuznyechik;
//! use mgm::aead::{Aead, NewAead, generic_array::GenericArray};
//!
-//! let key = GenericArray::from_slice(b"an example very very secret key.");
-//... | 1 | 3 | 5 |
9b21aa184951ce1c57c054525be403d9b1f4640c | Seebi | 2020-07-12T00:19:23 | Fix benchmarks (#180) | diff --git a/aes-gcm-siv/benches/aes-gcm-siv.rs b/aes-gcm-siv/benches/aes-gcm-siv.rs
index 2e425be..56e6ad0 100644
--- a/aes-gcm-siv/benches/aes-gcm-siv.rs
+++ b/aes-gcm-siv/benches/aes-gcm-siv.rs
@@ -15,20 +15,20 @@ fn bench(c: &mut Criterion<CyclesPerByte>) {
group.throughput(Throughput::Bytes(*size as u64))... | 3 | 10 | 10 |
1e007fdfac00d982f27661daa74b21bf4ed504d3 | Tony Arcieri | 2020-06-21T16:52:57 | crypto_box: tweak `aead` type imports (#177)
This commit switches from importing the `aead` types through the
re-export of the `aead` crate from the `xsalsa20poly1305` crate to
importing them as `use xsalsa20poly1305::aead::*`.
The reason is https://docs.rs is not rendering the links to the
`AeadInPlace::{encryp... | diff --git a/crypto_box/src/lib.rs b/crypto_box/src/lib.rs
index ccd07da..cdd387b 100644
--- a/crypto_box/src/lib.rs
+++ b/crypto_box/src/lib.rs
@@ -128,14 +128,14 @@
pub use x25519_dalek::PublicKey;
pub use xsalsa20poly1305::{aead, generate_nonce};
-use aead::{
+use core::fmt::{self, Debug};
+use rand_core::{Crypt... | 1 | 4 | 4 |
fbb71754aadc313d34189185f0b96ea04402a473 | Tony Arcieri | 2020-06-11T19:23:22 | xsalsa20poly1305: add `KEY_SIZE` constant (#172)
For consistency with `NONCE_SIZE` and `TAG_SIZE` | diff --git a/xsalsa20poly1305/src/lib.rs b/xsalsa20poly1305/src/lib.rs
index 547e521..ef59525 100644
--- a/xsalsa20poly1305/src/lib.rs
+++ b/xsalsa20poly1305/src/lib.rs
@@ -109,6 +109,9 @@ use zeroize::Zeroize;
#[cfg(feature = "rand_core")]
use rand_core::{CryptoRng, RngCore};
+/// Size of an XSalsa20Poly1305 key i... | 1 | 3 | 0 |
b26be98c1840a9ccd4ebb5c954498f3a4f4292b8 | Tony Arcieri | 2020-06-11T16:22:08 | chacha20poly1305: use `Key` and `Nonce` type aliases in docs (#170) | diff --git a/chacha20poly1305/src/lib.rs b/chacha20poly1305/src/lib.rs
index ce332c1..9de6ad1 100644
--- a/chacha20poly1305/src/lib.rs
+++ b/chacha20poly1305/src/lib.rs
@@ -47,13 +47,13 @@
//! # Usage
//!
//! ```
-//! use chacha20poly1305::ChaCha20Poly1305; // Or `XChaCha20Poly1305`
-//! use chacha20poly1305::aead::... | 2 | 12 | 12 |
b0286911167332b86135238818ba9eac9d745a80 | Tony Arcieri | 2020-06-11T16:09:33 | chacha20poly1305: add `Key` and `Nonce` type aliases (#168)
Imports the type aliases added to the upstream `chacha20` crate. | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 69e1c77..248a374 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -19,7 +19,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
aead = { version = "0.3", default-features = false }
-chacha20 = { version... | 3 | 23 | 13 |
ae55e1659ce67b99f6a9613c59835afbfcf2bbd4 | Tony Arcieri | 2020-06-11T15:27:53 | xsalsa20poly1305: add `Key` and `Nonce` type aliases + docs (#167)
Imports the type aliases added to the upstream `salsa20` crate.
Also adds some documentation improvements including `doc(cfg(...))` | diff --git a/Cargo.lock b/Cargo.lock
index 3da0682..287d767 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6,7 +6,7 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20e6f2cedd00d6e1d33954c9e4181094b61d87e7e751e5aaed1c249df5ba71ba"
dependencies = [
- "generic-array 0.14.... | 3 | 72 | 60 |
27f1530977aa77928d514fd10242a80864dc87c8 | Tony Arcieri | 2020-06-09T18:36:22 | aes-gcm: use more descriptive generic parameter names (#166)
Renames the generic parameters:
- `B` => `Aes` to reflect it should be instantiated with AES
- `N` => `NonceSize` which is consistent with the associated type name | diff --git a/aes-gcm/src/ctr.rs b/aes-gcm/src/ctr.rs
index 1e6f3ff..f46da05 100644
--- a/aes-gcm/src/ctr.rs
+++ b/aes-gcm/src/ctr.rs
@@ -14,16 +14,16 @@ type Block128 = GenericArray<u8, U16>;
pub(crate) const BLOCK_SIZE: usize = 16;
/// CTR mode with a 32-bit big endian counter
-pub(crate) struct Ctr32<B>
+pub(crat... | 2 | 45 | 45 |
1894a8da1a7cc23e647cfa57d76645bd14f237d8 | Tony Arcieri | 2020-06-06T17:53:36 | Update `stream-cipher` dependencies (#159)
Updates all dependencies from `RustCrypto/stream-ciphers` to releases
published to https://crates.io
This removes the `[patch.crates-io]` section and means we can finally
release new versions of all crates in this repo 🎉 | diff --git a/Cargo.lock b/Cargo.lock
index 3c1d7ff..ceb71c5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -171,8 +171,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "chacha20"
-version = "0.4.0-pre"
-source = "git+https://github.com/RustCrypto/stream-ciphers#c9aa... | 6 | 14 | 16 |
ed16ef5c8e0cd1d229808e4b08929f6d88753a2b | Tony Arcieri | 2020-06-06T15:46:21 | Use release versions of `universal-hash` crates (#158)
Updates the following UHF deps to use https://crates.io releases:
- `ghash` v0.3.0
- `polyval` v0.4.0
- `poly1305` v0.6.0 | diff --git a/Cargo.lock b/Cargo.lock
index 2925182..3c1d7ff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -433,8 +433,9 @@ dependencies = [
[[package]]
name = "ghash"
-version = "0.3.0-pre"
-source = "git+https://github.com/RustCrypto/universal-hashes#e3201156024586caec73c9b8df599303c51fd55e"
+version = "0.3.0"
+sour... | 6 | 13 | 13 |
1a7540261b0ff06cf9c202e8e2d9dd84288119d4 | Tony Arcieri | 2020-06-06T14:45:30 | Use release versions of crate dependencies (#157)
Updates the following dependencies to use crates.io releases:
- `aes` v0.4.0
- `aes-soft` v0.4.0
- `aesni` v0.7.0
- `block-cipher` v0.7.0
- `cmac` v0.3.0
- `pmac` v0.3.0
- `stream-cipher` v0.4.0
TODO: `universal-hash`es | diff --git a/Cargo.lock b/Cargo.lock
index 17de7a8..2925182 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,8 +2,9 @@
# It is not intended for manual editing.
[[package]]
name = "aead"
-version = "0.3.0-pre"
-source = "git+https://github.com/RustCrypto/traits#7f2b98d31f704b55c502a685632bd2ea4bd5dd6c"
+version = "0.3.... | 7 | 51 | 49 |
c39deabe7a6af94a324e5700239c1f1b7642b092 | Artyom Pavlov | 2020-06-05T15:56:14 | small chacha20poly1305 doc improvement (#155) | diff --git a/chacha20poly1305/src/xchacha20poly1305.rs b/chacha20poly1305/src/xchacha20poly1305.rs
index 8649e20..47843e9 100644
--- a/chacha20poly1305/src/xchacha20poly1305.rs
+++ b/chacha20poly1305/src/xchacha20poly1305.rs
@@ -43,7 +43,7 @@ use zeroize::Zeroize;
///
/// ```
/// use chacha20poly1305::XChaCha20Poly1... | 1 | 1 | 1 |
dfeedb087f5e34a617c2604795ecf7a0b3c78652 | Tony Arcieri | 2020-06-04T21:05:39 | Bump `dbl` crate to v0.3 release | diff --git a/Cargo.lock b/Cargo.lock
index f55cce1..ee4c0be 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@
[[package]]
name = "aead"
version = "0.3.0-pre"
-source = "git+https://github.com/RustCrypto/traits#a853a6fedf7210ed0303651afa29cb56eb64852e"
+source = "git+https://github.com/RustCrypto/traits#7f2b98... | 3 | 18 | 18 |
d526df4f28697fa3b50407509e91a20633f0a113 | Tony Arcieri | 2020-06-03T18:06:10 | Documentation improvements
- Fix links to `AeadInPlace` traits
- Leverage `rustdoc` more rather than using absolute URLs
- Access `aead` crate as a re-export in examples
- Note that `expect` panics in examples
- Add `doc(cfg(...))` for features of the `chacha20poly1305` crate | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index 1e2eac9..9b5b40f 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -53,14 +53,20 @@
//!
//! ```
//! use aes_gcm_siv::Aes256GcmSiv; // Or `Aes128GcmSiv`
-//! use aead::{Aead, NewAead, generic_array::GenericArray};
+//! use aes_gcm_si... | 9 | 143 | 121 |
0ec3989abd151894b47931beaf5ee1a244c2b256 | Tony Arcieri | 2020-06-02T21:32:25 | Rename `*result*` to `finalize`
Implements the API changes from:
https://github.com/RustCrypto/traits/pull/161
The `crypto-mac` and `digest` crates now use `update` and `finalize`
nomenclature ala the Initialize-Update-Finalize (IUF) interface naming
scheme. | diff --git a/Cargo.lock b/Cargo.lock
index 4788e72..f55cce1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@
[[package]]
name = "aead"
version = "0.3.0-pre"
-source = "git+https://github.com/RustCrypto/traits#c1c91e6a984b8c323c2a1e602767473bac756ba1"
+source = "git+https://github.com/RustCrypto/traits#a853a6... | 5 | 22 | 22 |
f4826058b69b901991e25dd66e67f00ab8846a08 | Tony Arcieri | 2020-06-01T19:41:18 | Bump all versions to `*-pre`
...to reflect the breaking `aead` crate update | diff --git a/Cargo.lock b/Cargo.lock
index 2ad99ae..4788e72 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -21,7 +21,7 @@ dependencies = [
[[package]]
name = "aes-gcm"
-version = "0.5.0"
+version = "0.6.0-pre"
dependencies = [
"aead",
"aes",
@@ -36,7 +36,7 @@ dependencies = [
[[package]]
name = "aes-gcm-siv"
... | 7 | 13 | 13 |
5b3aa574e73be1a76b4aa085e981b91032b9f77b | Tony Arcieri | 2020-06-01T17:40:58 | xsalsa20poly1305 + crypto_box: `aead` crate upgrade
Upgrades to the `aead` v0.3.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index 91eb1c6..2ad99ae 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,15 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-[[package]]
-name = "aead"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-ind... | 8 | 86 | 108 |
299919ae50b79a43becb3ffaeda2b0f1ec72c7a5 | Tony Arcieri | 2020-06-01T15:30:17 | ring-aead: `aead` crate upgrade
Upgrades to the `aead` v0.3.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index a3b4e48..91eb1c6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -785,7 +785,7 @@ dependencies = [
name = "ring-aead"
version = "0.1.0"
dependencies = [
- "aead 0.2.0",
+ "aead 0.3.0-pre",
"hex-literal",
"ring",
"zeroize",
diff --git a/ring-aead/Cargo.toml b/ring-aead/Car... | 7 | 22 | 22 |
58f4d3f054ff7729ba81822ba39e5b2a327435b0 | Tony Arcieri | 2020-06-01T14:52:42 | chacha20poly1305: `aead` crate upgrade
Upgrades to the `aead` v0.3.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index 3363968..a3b4e48 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -182,11 +182,10 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "chacha20"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
... | 7 | 56 | 39 |
e4fe3124564d7dcb8850171ad91aac9fa06748b7 | Tony Arcieri | 2020-06-01T14:16:50 | aes-siv: `aead` crate upgrade
Upgrades to the `aead` v0.3.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index 877256f..3363968 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -19,24 +19,13 @@ dependencies = [
"heapless",
]
-[[package]]
-name = "aes"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54eb1d8fe354e5fc611daf4f2ea97dd45a765f... | 6 | 89 | 127 |
299d2bfe614897b8631d97fc2e63c13a08cc9e1f | Tony Arcieri | 2020-05-31T21:04:00 | aes-gcm-siv: bump `aead` crate
Bumps the `aead` crate to the v0.3.0-pre release | diff --git a/Cargo.lock b/Cargo.lock
index c281dc7..877256f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -59,12 +59,12 @@ dependencies = [
name = "aes-gcm-siv"
version = "0.4.1"
dependencies = [
- "aead 0.2.0",
- "aes 0.3.2",
- "block-cipher-trait",
+ "aead 0.3.0-pre",
+ "aes 0.4.0-pre",
+ "block-cipher",
"criterio... | 6 | 43 | 49 |
3de89d78179b01b354e8b75628336b43c4680b53 | Tony Arcieri | 2020-05-31T19:43:24 | aes-gcm: `aead` crate upgrade
Upgrades to the `aead` v0.3.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index db1ec92..c281dc7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10,29 +10,48 @@ dependencies = [
"heapless",
]
+[[package]]
+name = "aead"
+version = "0.3.0-pre"
+source = "git+https://github.com/RustCrypto/traits#c1c91e6a984b8c323c2a1e602767473bac756ba1"
+dependencies = [
... | 7 | 236 | 159 |
27e77fd6bb47e3f10d21ec78a74bc6fdbfff26fb | Tony Arcieri | 2020-04-10T16:50:18 | chacha20poly1305: fix typos in docs | diff --git a/Cargo.lock b/Cargo.lock
index 3c1dd08..f7d36af 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -23,7 +23,7 @@ dependencies = [
[[package]]
name = "aes-gcm"
-version = "0.4.2"
+version = "0.5.0"
dependencies = [
"aead",
"aes",
diff --git a/chacha20poly1305/src/lib.rs b/chacha20poly1305/src/lib.rs
index... | 2 | 3 | 3 |
af9926e99ae0240cd388d0d92031e57d91639812 | Tony Arcieri | 2020-03-15T21:51:40 | aes-gcm: add doc(cfg) | diff --git a/aes-gcm/Cargo.toml b/aes-gcm/Cargo.toml
index 6ec972b..4fe12d8 100644
--- a/aes-gcm/Cargo.toml
+++ b/aes-gcm/Cargo.toml
@@ -43,3 +43,4 @@ harness = false
[package.metadata.docs.rs]
all-features = true
+rustdoc-args = ["--cfg", "docsrs"]
diff --git a/aes-gcm/src/lib.rs b/aes-gcm/src/lib.rs
index 2d7b0c8... | 2 | 17 | 1 |
efd1f30884accf5fe8ded98407f1a2a2418ed689 | Tony Arcieri | 2020-03-14T19:53:31 | ring-aead: test decrypt_in_place | diff --git a/ring-aead/tests/common/mod.rs b/ring-aead/tests/common/mod.rs
index 07167cb..3486cc3 100644
--- a/ring-aead/tests/common/mod.rs
+++ b/ring-aead/tests/common/mod.rs
@@ -69,6 +69,22 @@ macro_rules! tests {
}
}
+ #[test]
+ fn decrypt_in_place() {
+ for vector i... | 1 | 16 | 0 |
4dae48b2699f9ee9e8f10a21c84cef34a8069a30 | Tony Arcieri | 2020-03-14T16:28:57 | aes-gcm: make AesGcm generic around nonce size
Support for non-96-bit nonces, while still implementing the current
`Aead` interface and type safety for nonce lengths. | diff --git a/aes-gcm/src/ctr.rs b/aes-gcm/src/ctr.rs
index e6d6385..63d6035 100644
--- a/aes-gcm/src/ctr.rs
+++ b/aes-gcm/src/ctr.rs
@@ -27,6 +27,9 @@ where
/// Current CTR value
counter_block: Block128,
+
+ /// Base value of the counter
+ base_counter: u32,
}
impl<B> Ctr32<B>
@@ -35,26 +38,25 @@ ... | 3 | 175 | 58 |
ed961bf6646229c07bb8ff50e385192670d8e6ce | Masih Yeganeh | 2020-03-11T17:56:27 | Handles variable-length nonce | diff --git a/aes-gcm/src/ctr.rs b/aes-gcm/src/ctr.rs
index 20be3e9..e6d6385 100644
--- a/aes-gcm/src/ctr.rs
+++ b/aes-gcm/src/ctr.rs
@@ -1,7 +1,7 @@
//! Counter mode implementation
use block_cipher_trait::generic_array::{
- typenum::{Unsigned, U12, U16},
+ typenum::{Unsigned, U16},
ArrayLength, GenericAr... | 2 | 32 | 9 |
e10fbca82cfd22c054d9150d244643ab3371db4d | Tony Arcieri | 2020-03-10T18:34:57 | chacha20poly1305: test manual clone impl | diff --git a/chacha20poly1305/tests/lib.rs b/chacha20poly1305/tests/lib.rs
index 8379fc1..4cb431c 100644
--- a/chacha20poly1305/tests/lib.rs
+++ b/chacha20poly1305/tests/lib.rs
@@ -11,8 +11,7 @@ macro_rules! impl_tests {
aad: $aad,
};
- let cipher = <$cipher>::new(*key);
- ... | 1 | 8 | 4 |
6be9d7e53ed14205012d539b46c75169f8870a36 | Tony Arcieri | 2020-03-10T17:49:07 | crypto_box: more code coverage improvements | diff --git a/crypto_box/tests/lib.rs b/crypto_box/tests/lib.rs
index d0ee503..a8eb999 100644
--- a/crypto_box/tests/lib.rs
+++ b/crypto_box/tests/lib.rs
@@ -8,8 +8,8 @@ use crypto_box::{PublicKey, SalsaBox, SecretKey};
// Alice's keypair
const ALICE_SECRET_KEY: [u8; 32] = [
- 0x69, 0xf2, 0x8, 0x41, 0x2d, 0x8d, 0... | 1 | 14 | 3 |
72dcc9ad5e973091020d88606af39f423a2051e6 | Tony Arcieri | 2020-03-10T17:30:01 | ring-aead: improve test coverage | diff --git a/aes-siv/tests/aead.rs b/aes-siv/tests/aead.rs
index 47b4b1e..06f3157 100644
--- a/aes-siv/tests/aead.rs
+++ b/aes-siv/tests/aead.rs
@@ -72,8 +72,7 @@ macro_rules! tests {
let tag = GenericArray::clone_from_slice(&vector.ciphertext[..16]);
let mut buffer = vector.ciphertext... | 3 | 43 | 10 |
f85a337cc93407733daa527dd74a55ab1e53c992 | Tony Arcieri | 2020-03-10T16:29:32 | aes-siv: improve test coverage | diff --git a/aes-siv/tests/aead.rs b/aes-siv/tests/aead.rs
index 5df717a..47b4b1e 100644
--- a/aes-siv/tests/aead.rs
+++ b/aes-siv/tests/aead.rs
@@ -29,6 +29,23 @@ macro_rules! tests {
}
}
+ #[test]
+ fn encrypt_in_place_detached() {
+ for vector in $vectors {
+ ... | 2 | 36 | 1 |
0e7a74a23309cfba407e6f91df219bd3f5ef0e37 | Tony Arcieri | 2020-03-09T18:28:38 | Cargo.lock: force GitHub Actions run
Right now none of the status badges linked in the README.mds are
populated because renaming the actions (#109) didn't actually trigger
a run.
This adds a bit of superfluous whitespace to Cargo.lock to trigger
a run. | diff --git a/Cargo.lock b/Cargo.lock
index 3c1dd08..ceec54c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,5 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+
[[package]]
name = "aead"
version = "0.2.0" | 1 | 1 | 0 |
369938c54cc37d8c275d0cde918c98aea70fb7df | Tony Arcieri | 2020-03-09T14:13:55 | aes-gcm(-siv): fix off-by-one error in ParBlocks `debug_assert`
This was checking that the number of parallel blocks to be computed
doesn't exceed what's supported by the underlying cipher, except it
failed in the case that the number of blocks to be computed was equal to
the total supported. | diff --git a/aes-gcm-siv/src/ctr.rs b/aes-gcm-siv/src/ctr.rs
index 9744660..fc2d3e4 100644
--- a/aes-gcm-siv/src/ctr.rs
+++ b/aes-gcm-siv/src/ctr.rs
@@ -57,7 +57,7 @@ where
fn apply_keystream_blocks(&mut self, block_cipher: &B, msg: &mut [u8]) {
let mut counter = u32::from_le_bytes(self.counter_block[..4]... | 2 | 2 | 2 |
1d5c272d7c65adeccdb87a29fbf10251fc35998f | Tony Arcieri | 2020-03-09T13:55:11 | chacha20poly1305: fix clone impl
Deriving `Clone` wasn't working because of the `PhantomData` parameter. | diff --git a/chacha20poly1305/src/lib.rs b/chacha20poly1305/src/lib.rs
index 82970a1..a727464 100644
--- a/chacha20poly1305/src/lib.rs
+++ b/chacha20poly1305/src/lib.rs
@@ -159,7 +159,6 @@ pub type ChaCha12Poly1305 = ChaChaPoly1305<ChaCha12>;
/// The [`Aead`] and [`NewAead`] traits provide the primary API for using th... | 1 | 12 | 1 |
b97d78328f50bc7143a0216478a586ac9c388fec | Tony Arcieri | 2020-03-08T01:36:14 | aes-gcm: support instantiation from an existing cipher instance | diff --git a/aes-gcm/src/lib.rs b/aes-gcm/src/lib.rs
index 3264568..6a928dd 100644
--- a/aes-gcm/src/lib.rs
+++ b/aes-gcm/src/lib.rs
@@ -158,7 +158,16 @@ where
fn new(mut key: GenericArray<u8, B::KeySize>) -> Self {
let cipher = B::new(&key);
key.as_mut_slice().zeroize();
+ cipher.into()
+... | 2 | 10 | 1 |
ade4b1ac4b21c986cb0bc6b00412493c1949e2a7 | Tony Arcieri | 2020-03-08T01:02:39 | chacha20poly1305: optional `chacha20`; replace macros with generics
Makes the `chacha20` dependency optional so it can be swapped out for
alternative versions that use e.g. exotic SIMD intrinsics.
Replaces the previous usage of macros to define the various reduced
round variants with one based on generic composition ... | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index d5212a9..c94c0fa 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -22,8 +22,9 @@ maintenance = { status = "actively-developed" }
[dependencies]
aead = { version = "0.2", default-features = false }
-chacha20 = {... | 3 | 94 | 77 |
a9a64325b1de2ca4ad8d86a0934e336b814ab3f1 | Tony Arcieri | 2020-03-07T22:32:59 | aes-gcm: make `Ctr32` generic around `BlockCipher::ParBlocks`
Makes all bounds on `ParBlocks` generic, allowing them to operate over
any number of parallel blocks. | diff --git a/aes-gcm/src/ctr.rs b/aes-gcm/src/ctr.rs
index a81c150..4ace448 100644
--- a/aes-gcm/src/ctr.rs
+++ b/aes-gcm/src/ctr.rs
@@ -1,48 +1,49 @@
//! Counter mode implementation
use block_cipher_trait::generic_array::{
- typenum::{U12, U16, U8},
- GenericArray,
+ typenum::{Unsigned, U12, U16},
+ Ar... | 2 | 45 | 38 |
1cfd1ff1e391d64971262cd078ae0eaed0ce2915 | Tony Arcieri | 2020-03-07T20:34:11 | aes-gcm: make `aes` crate optional; semver breaking change
This commit makes `aes` an optional feature, which is useful when
swapping in an alternate (e.g. embedded hardware) implementation of
AES as opposed to using the `aes` crate. | diff --git a/aes-gcm/Cargo.toml b/aes-gcm/Cargo.toml
index 7f6da44..159b2c3 100644
--- a/aes-gcm/Cargo.toml
+++ b/aes-gcm/Cargo.toml
@@ -20,7 +20,8 @@ maintenance = { status = "actively-developed" }
[dependencies]
aead = { version = "0.2", default-features = false }
-aes = "0.3"
+aes = { version = "0.3", optional =... | 3 | 32 | 24 |
12f8b77d46c7c12d36f445d57f0712d051ca1999 | Tony Arcieri | 2020-03-07T16:42:42 | aes-gcm-siv: make `Ctr32` generic around `B::ParBlocks`
Eliminates `C: Ctr` as an external generic parameter by making the
implementation generic around the number of parallel blocks. | diff --git a/aes-gcm-siv/src/ctr.rs b/aes-gcm-siv/src/ctr.rs
index 85bfed6..9744660 100644
--- a/aes-gcm-siv/src/ctr.rs
+++ b/aes-gcm-siv/src/ctr.rs
@@ -1,7 +1,7 @@
//! Counter mode implementation
-use aead::generic_array::{
- typenum::{U1, U16, U8},
+use block_cipher_trait::generic_array::{
+ typenum::{Unsign... | 2 | 40 | 126 |
a1bd1ecd6f63af588942afdc6b500fb877647029 | Tony Arcieri | 2020-03-07T15:19:56 | aes-gcm-siv: add CTR mode implementation for ParBlocks=U1
Support for using AES-GCM-SIV with AES implementations which operate on
one-block-at-a-time, which is useful for embedded contexts. | diff --git a/aes-gcm-siv/src/ctr.rs b/aes-gcm-siv/src/ctr.rs
index 2b67899..85bfed6 100644
--- a/aes-gcm-siv/src/ctr.rs
+++ b/aes-gcm-siv/src/ctr.rs
@@ -1,7 +1,7 @@
//! Counter mode implementation
use aead::generic_array::{
- typenum::{U16, U8},
+ typenum::{U1, U16, U8},
ArrayLength, GenericArray,
};
u... | 2 | 67 | 13 |
345e36c99f2a6f14bf33935decdd200bfd3665f1 | Tony Arcieri | 2020-03-05T23:39:21 | aes-gcm-siv: support generic `Ctr` implementation
Makes `Ctr` a generic parameter which can be implemented for various
different `BlockCipher::ParBlocks`. | diff --git a/aes-gcm-siv/src/ctr32.rs b/aes-gcm-siv/src/ctr.rs
similarity index 56%
rename from aes-gcm-siv/src/ctr32.rs
rename to aes-gcm-siv/src/ctr.rs
index 18edf2a..2b67899 100644
--- a/aes-gcm-siv/src/ctr32.rs
+++ b/aes-gcm-siv/src/ctr.rs
@@ -1,9 +1,11 @@
+//! Counter mode implementation
+
use aead::generic_array... | 2 | 102 | 50 |
4af0f945fb6f5eae4b3e2b775a58c705b3c78ce2 | Tony Arcieri | 2020-03-05T22:10:36 | aes-gcm-siv: support instantiation from an existing cipher instance
The use case is instantiating AES-GCM-SIV using an embedded
cryptographic processor (including one where the key is hardware-backed
and deliberately inextricable)
See: https://github.com/iqlusioninc/usbarmory.rs/pull/41 | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index 05f2285..1b16941 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -151,8 +151,8 @@ pub type Aes256GcmSiv = AesGcmSiv<Aes256>;
/// AES-GCM-SIV: Misuse-Resistant Authenticated Encryption Cipher (RFC 8452)
#[derive(Clone)]
pub struct ... | 1 | 15 | 15 |
59e2bf4574873c2e7a53dddde98b8c809be253c9 | Tony Arcieri | 2020-03-05T20:53:38 | aes-gcm-siv: make `aes` crate optional; semver breaking change
This commit makes `aes` an optional feature.
This is useful when swapping in an (embedded) hardware implementation of
AES as opposed to using the `aes` crate. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index a3d2c20..1dde61f 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -20,7 +20,8 @@ maintenance = { status = "experimental" }
[dependencies]
aead = { version = "0.2", default-features = false }
-aes = "0.3"
+aes = { version = "0.3", ... | 3 | 11 | 4 |
d9723a1dfdc89af8de181174ceb99c4548ef2233 | Tony Arcieri | 2020-02-25T20:26:13 | crypto_box/xsalsa20poly1305: fix documentation links | diff --git a/crypto_box/src/lib.rs b/crypto_box/src/lib.rs
index cb3752a..dd9d2d2 100644
--- a/crypto_box/src/lib.rs
+++ b/crypto_box/src/lib.rs
@@ -119,6 +119,9 @@
//! [X25519]: https://cr.yp.to/ecdh.html
//! [XSalsa20Poly1305]: https://nacl.cr.yp.to/secretbox.html
//! [ECIES]: https://en.wikipedia.org/wiki/Integra... | 2 | 11 | 4 |
2bc69d70e29db8fceea60328af0f66425cfe180d | Tony Arcieri | 2020-02-25T15:38:26 | chacha20poly1305: fix typo | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 51c4ec3..bf9ee22 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -3,7 +3,7 @@ name = "chacha20poly1305"
version = "0.3.1"
description = """
Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encrypt... | 1 | 1 | 1 |
49fc775e94eaf36ee2579ddb2312ca57185211dd | Tony Arcieri | 2020-01-17T19:58:50 | xsalsa20poly1305: upgrade to `salsa20` v0.4 | diff --git a/xsalsa20poly1305/Cargo.toml b/xsalsa20poly1305/Cargo.toml
index fcdfe71..0aa9844 100644
--- a/xsalsa20poly1305/Cargo.toml
+++ b/xsalsa20poly1305/Cargo.toml
@@ -19,7 +19,7 @@ maintenance = { status = "experimental" }
[dependencies]
aead = { version = "0.2", default-features = false }
-salsa20 = { versio... | 1 | 1 | 1 |
bd1fa9e05071d459845365cbffb9899ae4ca7257 | Tony Arcieri | 2020-01-16T19:05:13 | chacha20poly1305: Add ChaCha8/ChaCha20 reduced round variants
Adds `ChaCha8Poly1305` and `ChaCha12Poly1305` AEADs, gated under the
(off-by-default) `reduced-round` cargo feature.
See the writeup I've already done for the `rand_chacha` crate for the
rationale of including these by default:
https://github.com/rust-ran... | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 8b33cd0..e4460fb 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -2,9 +2,11 @@
name = "chacha20poly1305"
version = "0.3.0"
description = """
-Pure Rust implementation of the ChaCha20Poly1305 (and XChaCha20Poly1... | 2 | 94 | 61 |
9c60197a34a72379be04b589ecd99cfc00784708 | Tony Arcieri | 2020-01-16T18:01:48 | chacha20poly1305: benchmark fixups | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index ac28c14..8b33cd0 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -35,7 +35,7 @@ heapless = ["aead/heapless"]
xchacha20poly1305 = ["chacha20/xchacha20"]
[[bench]]
-name = "aes-gcm"
+name = "chacha20poly1305"
h... | 3 | 19 | 1 |
ceb812ee7f19f5a00310daee72037d2a87cd4b89 | Tony Arcieri | 2020-01-16T17:31:18 | chacha20poly1305: upgrade to `chacha20` v0.3
This results in a ~60% performance boost for encryption when the AVX2
backend is enabled.
Decryption performance is unaffected. | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index ab411df..ac28c14 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -20,7 +20,7 @@ maintenance = { status = "experimental" }
[dependencies]
aead = { version = "0.2", default-features = false }
-chacha20 = { versi... | 1 | 1 | 1 |
390c5a656c3380f1a36fdb03358c0de2ed7e2685 | Tony Arcieri | 2020-01-16T16:54:34 | chacha20poly1305: add benchmark
Adds a `criterion` benchmark similar to the `aes-gcm` and `aes-gcm-siv`
crate, with the cycles-per-byte plugin enabled. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index 195eca0..a3d2c20 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -34,9 +34,9 @@ default = ["alloc"]
alloc = ["aead/alloc"]
heapless = ["aead/heapless"]
-[package.metadata.docs.rs]
-all-features = true
-
[[bench]]
name = "aes-gc... | 4 | 49 | 6 |
e5c52b9afc8c2a396cec2da715c52184198ab4df | Tony Arcieri | 2019-12-04T16:11:54 | chacha20poly1305: note XChaCha20Poly1305 support in Cargo.toml | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 017f044..83160b2 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -2,9 +2,9 @@
name = "chacha20poly1305"
version = "0.3.0"
description = """
-Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryp... | 1 | 3 | 3 |
f6d9547e76e609bed3301b7aaa3da70114752baa | Tony Arcieri | 2019-11-26T23:34:02 | alloc-free usage notes and fixups for all crates
All crates in this repo now have an optional `alloc` feature which can
be disabled for use in heapless environments. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index bf46194..0519212 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -19,9 +19,9 @@ categories = ["cryptography", "no-std"]
maintenance = { status = "experimental" }
[dependencies]
-aead = "0.2"
+aead = { version = "0.2", default-fea... | 7 | 161 | 4 |
748d2d9e7e43b50a8bee3d178dac79e4a690c505 | Tony Arcieri | 2019-11-26T22:42:21 | aes-siv: Switch from AeadMut to Aead
Changes the AEAD interface to reinstantiate the `Siv` interface (which
needs `&mut` refs) every time an `encrypt*` or `decrypt*` method is
called.
By doing this, the `SivAead` interface can impl `Aead` rather than
`AeadMut`, which is more flexible / thread safe. | diff --git a/aes-siv/src/lib.rs b/aes-siv/src/lib.rs
index 27a6dcf..633d51d 100644
--- a/aes-siv/src/lib.rs
+++ b/aes-siv/src/lib.rs
@@ -21,17 +21,22 @@ pub mod siv;
use crate::siv::Siv;
use aead::generic_array::{
typenum::{U0, U16, U32, U64},
- GenericArray,
+ ArrayLength, GenericArray,
};
-use aead::{Ae... | 2 | 35 | 19 |
0f09d8ccfae8c1d243e72d22aaee52b32ba4b5b3 | Tony Arcieri | 2019-11-26T22:28:35 | xsalsa20poly1305: fix in-place (non-detached) API
These were using the default impls of the non-detached in-place API,
which use a postfix (as opposed to prefix tag).
By impling these APIs, we can use the default allocating ones. | diff --git a/xsalsa20poly1305/Cargo.toml b/xsalsa20poly1305/Cargo.toml
index f14907d..c2f77b6 100644
--- a/xsalsa20poly1305/Cargo.toml
+++ b/xsalsa20poly1305/Cargo.toml
@@ -18,7 +18,11 @@ categories = ["cryptography", "no-std"]
maintenance = { status = "experimental" }
[dependencies]
-aead = "0.2"
+aead = { version... | 2 | 65 | 42 |
d321d4ac0a3a24a5ecf00ad09bdc433c6644f396 | Tony Arcieri | 2019-11-26T21:22:26 | aes-siv: make `Siv::new` type-safe via typenum arithmetic
Replaces the panicking slice-based interface with one which calculates a
GenericArray size using typenum-based arithmetic.
A bit gross for now, but should be nice when const generics happen. | diff --git a/aes-siv/src/lib.rs b/aes-siv/src/lib.rs
index 56a3349..27a6dcf 100644
--- a/aes-siv/src/lib.rs
+++ b/aes-siv/src/lib.rs
@@ -74,9 +74,7 @@ where
type KeySize = U32;
fn new(key: GenericArray<u8, Self::KeySize>) -> Self {
- Self {
- siv: Siv::new(key.as_slice()),
- }
+ ... | 3 | 32 | 35 |
19445cdd7514bd6aed847971fb53fc34953c7ace | Tony Arcieri | 2019-11-26T20:28:32 | aes-siv: Upgrade to `aead` crate v0.2 | diff --git a/aes-siv/Cargo.toml b/aes-siv/Cargo.toml
index de58cb0..d29b6a3 100644
--- a/aes-siv/Cargo.toml
+++ b/aes-siv/Cargo.toml
@@ -19,7 +19,7 @@ categories = ["cryptography", "no-std"]
maintenance = { status = "passively-maintained" }
[dependencies]
-aead = "0.1"
+aead = { version = "0.2", default-features = ... | 4 | 160 | 132 |
d7b9130813c2dfbba26dec15d0613f065211aba0 | Devashish Dixit | 2019-11-18T07:28:00 | Upgrade aead to v0.2
Note: I was not able to upgrade aead for `aes-siv` crate. I'll probably need some help doing it. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index 44b0b9c..bf46194 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -19,7 +19,7 @@ categories = ["cryptography", "no-std"]
maintenance = { status = "experimental" }
[dependencies]
-aead = "0.1"
+aead = "0.2"
aes = "0.3"
polyval = ... | 10 | 47 | 217 |
662e8269ee1bb75690c7dedf61f3405cfa9b478a | Tony Arcieri | 2019-10-15T15:48:35 | chacha20poly1305: documentation improvements
- Fix reference to XSalsa20Poly1305 instead of XChaCha20Poly1305
- Link to the `xsalsa20poly1305` crate | diff --git a/chacha20poly1305/src/lib.rs b/chacha20poly1305/src/lib.rs
index 36a462b..df3ad7a 100644
--- a/chacha20poly1305/src/lib.rs
+++ b/chacha20poly1305/src/lib.rs
@@ -1,11 +1,10 @@
-//! **ChaCha20Poly1305** ([RFC 8439][1]) is an
+//! [`ChaCha20Poly1305`] ([RFC 8439][1]) is an
//! [Authenticated Encryption with A... | 2 | 9 | 9 |
b46548b240d174de9887da829a55eb602ab64c17 | Tony Arcieri | 2019-10-07T02:53:10 | aes-siv: Redo AES-(PMAC-)SIV test vectors
Extracts test vectors out of JSON into Rust literals (with `hex!`) | diff --git a/aes-siv/Cargo.toml b/aes-siv/Cargo.toml
index 33ad0ee..94deaea 100644
--- a/aes-siv/Cargo.toml
+++ b/aes-siv/Cargo.toml
@@ -26,8 +26,7 @@ stream-cipher = { version = "0.3", default-features = false }
zeroize = { version = "1.0.0-pre", default-features = false }
[dev-dependencies]
-subtle-encoding = "0.... | 6 | 276 | 477 |
1b35dbfe014f3f2d16ab5103888cfc643a6b8812 | Tony Arcieri | 2019-10-05T23:58:06 | aes-gcm-siv: Upgrade to `polyval` v0.3
https://github.com/RustCrypto/universal-hashes/pull/29 | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index d0565fa..93df26e 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -18,7 +18,7 @@ maintenance = { status = "experimental" }
aead = "0.1"
aes = "0.3"
ctr = "0.3"
-polyval = "0.2"
+polyval = "0.3"
subtle = { version = "2", default-fe... | 1 | 1 | 1 |
4ee9ddc355279a1c0b4009ffaafa61a939bf7f7f | Tony Arcieri | 2019-10-05T18:20:40 | xsalsa20poly1305: Add usage documentation | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index 92fc0fe..703378e 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -35,9 +35,10 @@
//! let key = GenericArray::clone_from_slice(b"an example very very secret key.");
//! let aead = Aes256GcmSiv::new(key);
//!
-//! let nonce = Generi... | 4 | 32 | 3 |
9f91b6af1b166fbf2300aed2ed9ee76c6a6d7f7b | Tony Arcieri | 2019-10-05T18:13:03 | chacha20poly1305: Add usage documentation | diff --git a/chacha20poly1305/src/lib.rs b/chacha20poly1305/src/lib.rs
index 820b23d..84f1019 100644
--- a/chacha20poly1305/src/lib.rs
+++ b/chacha20poly1305/src/lib.rs
@@ -7,6 +7,31 @@
//! (a.k.a. NaCl `crypto_secretbox`[4]): a variant of Salsa20Poly1305 with an
//! extended 192-bit (24-byte) nonce.
//!
+//! ## Sec... | 2 | 42 | 1 |
f22c55eb681d9cb876176c9e2a014a449e6ddc51 | Tony Arcieri | 2019-10-04T18:04:21 | Expose "detached" in-place encryption/decryption APIs
Exposes an `encrypt_in_place_detached()` and
`decrypt_in_place_detached()` API on all AEAD implementations in this
repository.
Until we figure out what the upstream API looks like, this commit at
least makes an in-place mode an option for those who don't want to
a... | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index c3a0d21..d0565fa 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -20,6 +20,7 @@ aes = "0.3"
ctr = "0.3"
polyval = "0.2"
subtle = { version = "2", default-features = false }
+zeroize = { version = "1.0.0-pre", default-features = fa... | 7 | 218 | 88 |
2fa65febd435bf601b42c1c8f5a2e609b18ec544 | Tony Arcieri | 2019-10-04T17:08:15 | Upgrade to `universal-hash` crate v0.3
Upgrades `aes-gcm-siv` to use `polyval` crate v0.2, and the
`chacha20poly1305` and `xsalsa20poly1305` crates to use `poly1305` v0.5.
The new `polyval` and `poly1305` crates transitively depend on
`universal-hash` v0.3. | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index d13f7c8..c3a0d21 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -18,7 +18,7 @@ maintenance = { status = "experimental" }
aead = "0.1"
aes = "0.3"
ctr = "0.3"
-polyval = "0.1"
+polyval = "0.2"
subtle = { version = "2", default-fe... | 4 | 5 | 5 |
3e6f22c5ea38588c4638e410449a81547300f4bc | Tony Arcieri | 2019-10-02T06:36:35 | chacha20poly1305: upgrade to zeroize 1.0.0-pre | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index fb25396..261205f 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -17,7 +17,7 @@ categories = ["cryptography", "no-std"]
aead = "0.1"
chacha20 = { version = "0.2.1", features = ["zeroize"] }
poly1305 = "0.4"
-ze... | 1 | 1 | 1 |
ed3f757f0aa1c621d883781e9bb6df1785a8eabf | Tony Arcieri | 2019-09-28T17:27:19 | aes-gcm-siv: Interleave AES-CTR and POLYVAL during decryption
During AES-GCM-SIV decryption, AES-NI and CLMUL can be parallel
pipelined by interleaving the operations.
Locally this results in a ~20-30% performance improvement, bringing
decryption performance to ~8cpb (ideally it'd be ~1cpb) | diff --git a/aes-gcm-siv/src/ctr32.rs b/aes-gcm-siv/src/ctr32.rs
index 5a6f6a2..47d1353 100644
--- a/aes-gcm-siv/src/ctr32.rs
+++ b/aes-gcm-siv/src/ctr32.rs
@@ -14,6 +14,9 @@ type Block128x8 = GenericArray<Block128, U8>;
/// Size of an AES block in bytes
const BLOCK_SIZE: usize = 16;
+/// Size of an 8-AES block buf... | 3 | 30 | 19 |
c6f3df02f700650b73746b5a44b0a461b6baf931 | Tony Arcieri | 2019-09-28T16:50:50 | aes-gcm-siv: Parallel AES-CTR support
Adds an internal CTR implementation which uses a 32-bit little endian
counter.
As implemented it operates on 8 blocks at a time, allowing for parallel
pipelining of AES-NI.
Criterion benchmarks show this brings the performance down to ~6cpb for
encryption and ~10cpb for decrypti... | diff --git a/aes-gcm-siv/src/ctr32.rs b/aes-gcm-siv/src/ctr32.rs
new file mode 100644
index 0000000..5a6f6a2
--- /dev/null
+++ b/aes-gcm-siv/src/ctr32.rs
@@ -0,0 +1,75 @@
+use aead::generic_array::{
+ typenum::{U16, U8},
+ GenericArray,
+};
+use aes::block_cipher_trait::BlockCipher;
+use core::{convert::TryInto, ... | 2 | 81 | 19 |
1a10c85e4013861ba8b42e744197b67bf969d488 | Tony Arcieri | 2019-09-28T15:33:07 | aes-gcm-siv: Remove unnecessary usage of PhantomData | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index 2964589..48b6c3b 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -20,7 +20,7 @@ use aead::generic_array::{
use aead::{Aead, Error, NewAead, Payload};
use aes::{block_cipher_trait::BlockCipher, Aes128, Aes256};
use alloc::vec::Vec;... | 1 | 2 | 8 |
05e888233bedb4b93fc172c550fdd24af15ad42f | Tony Arcieri | 2019-09-27T19:33:47 | aes-gcm-siv: Test MAC verification failure
Adds a test with a modified ciphertext to ensure it's detected | diff --git a/aes-gcm-siv/tests/common/mod.rs b/aes-gcm-siv/tests/common/mod.rs
index 0aab741..6457f16 100644
--- a/aes-gcm-siv/tests/common/mod.rs
+++ b/aes-gcm-siv/tests/common/mod.rs
@@ -47,5 +47,25 @@ macro_rules! tests {
assert_eq!(vector.plaintext, plaintext.as_slice());
}
}
... | 1 | 20 | 0 |
a6d0f47d3af72f0d4df7ae86e81cef66a4b6b63e | Tony Arcieri | 2019-09-27T18:32:46 | aes-gcm-siv: RFC8452 Appendix C test vectors
Adds all test vectors from RFC8452 Appendix C. These test the following:
- `AEAD_AES_128_GCM_SIV`
- `AEAD_AES_256_GCM_SIV`
- Counter wrapping
This testing uncovered that the CTR implementation was broken (wrapping
was correctly implemented, but it never actually increment... | diff --git a/aes-gcm-siv/src/lib.rs b/aes-gcm-siv/src/lib.rs
index fd9f7a3..2964589 100644
--- a/aes-gcm-siv/src/lib.rs
+++ b/aes-gcm-siv/src/lib.rs
@@ -175,7 +175,7 @@ where
}
let tag = self.compute_tag(buffer, associated_data);
- self.ctr32le(&tag, buffer);
+ self.ctr32le(tag, buffer... | 6 | 455 | 49 |
3e8827d1b3c3df3a5db6e448188d7f31ebcc14c6 | James McGlashan | 2019-09-27T00:00:00 | add criterion benchmark | diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml
index e2d454e..96fac2e 100644
--- a/aes-gcm-siv/Cargo.toml
+++ b/aes-gcm-siv/Cargo.toml
@@ -11,9 +11,17 @@ repository = "https://github.com/RustCrypto/AEADs"
keywords = ["aead", "aes", "aes-gcm", "encryption", "siv"]
categories = ["cryptography", "no-std"]
... | 2 | 52 | 0 |
1ea13f72c915d247885f6e02043e49f41226af05 | Tony Arcieri | 2019-09-19T22:45:20 | chacha20poly1305: update Cargo.toml keywords | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index b177d90..fb25396 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -10,7 +10,7 @@ ChaCha20Poly1305 Authenticated Encryption with Additional Data Algorithm (RFC 84
readme = "README.md"
documentation = "https://docs... | 1 | 1 | 1 |
d51f0a58edb64c1c6acfef2137ceec3a2ea5d278 | Tony Arcieri | 2019-09-19T21:56:23 | chacha20poly1305: Upgrade to `polyval` v0.4.0
This is the first release of the `polyval` crate that uses the new
`UniversalHash` trait. | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index b44b73a..2bc528e 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -15,7 +15,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
aead = "0.1"
chacha20 = { version = "0.2.1", features = ["zeroize"] }
-poly... | 2 | 19 | 12 |
f3f08955367d14bc059760061cb9ebaf097518ae | Brian Warner | 2019-09-01T23:39:27 | document the incompatibility with libsodium 'secretbox' | diff --git a/chacha20poly1305/src/xchacha20poly1305.rs b/chacha20poly1305/src/xchacha20poly1305.rs
index ba8cbfc..19ec863 100644
--- a/chacha20poly1305/src/xchacha20poly1305.rs
+++ b/chacha20poly1305/src/xchacha20poly1305.rs
@@ -27,6 +27,10 @@ use zeroize::Zeroize;
///
/// <https://tools.ietf.org/html/draft-arciszews... | 1 | 4 | 0 |
09f0c51c80432d664be0ea4bbe47f146c78b1d6c | Tony Arcieri | 2019-08-29T17:40:02 | chacha20poly1305: Use 0.1 release of `aead` crate
This updates `chacha20poly1305` to switch to the newly released
`aead` crate. | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 572af1f..df8d77c 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -13,7 +13,7 @@ keywords = ["crypto", "cipher", "aead", "xchacha20", "xchacha20poly1305"]
categories = ["cryptography", "no-std"]
[dependencies]
... | 5 | 49 | 49 |
efb8bb3848b6e923ffaf284f27d288d3a98f4484 | Tony Arcieri | 2019-08-25T21:13:07 | XChaCha20Poly1305
Adds support for XChaCha20Poly1305 AEAD: an extended 192-bit (24-byte)
nonce variant of ChaCha20Poly1305 as described in:
https://tools.ietf.org/html/draft-arciszewski-xchacha-03
This variant is also implemented in libsodium and used by e.g.
WireGuard. | diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 9985e34..572af1f 100644
--- a/chacha20poly1305/Cargo.toml
+++ b/chacha20poly1305/Cargo.toml
@@ -9,7 +9,7 @@ ChaCha20Poly1305 Authenticated Encryption with Additional Data Algorithm (RFC 84
"""
documentation = "chacha20poly1305"
repository =... | 5 | 346 | 170 |
10abd7262529ba7167b9d2aea05630d8a65fe42e | Tony Arcieri | 2019-08-21T14:59:05 | chacha20poly1305: Use StatelessAead
The internal `CipherInstance` type is the actual holder of mutable
state, allowing the `ChaCha20Poly1305` type to be a `StatelessAead`. | diff --git a/Cargo.toml b/Cargo.toml
index 7ee32f9..278e767 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,3 @@
members = [
"chacha20poly1305",
]
-
-[patch.crates-io]
-aead = { git = "https://github.com/RustCrypto/traits" }
diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml
index 6dc724e... | 3 | 5 | 8 |
d96c7f3733a09606699d8dde7aeb67a1065a1a3d | Artyom Pavlov | 2026-03-12T01:17:45 | Use the standard order of `[package]` fields (#115)
See https://github.com/RustCrypto/meta/issues/22 | diff --git a/ascon/Cargo.toml b/ascon/Cargo.toml
index 5de9351..61a307a 100644
--- a/ascon/Cargo.toml
+++ b/ascon/Cargo.toml
@@ -1,20 +1,16 @@
[package]
name = "ascon"
version = "0.5.0-rc.0"
-description = "Pure Rust implementation of the Ascon permutation"
-authors = [
- "Sebastian Ramacher <sebastian.ramacher@a... | 3 | 17 | 26 |
cf29ae32c6189b631986a674dc8fdef0443eada3 | Tony Arcieri | 2026-02-26T17:56:38 | keccak v0.2.0-rc.2 (#111) | diff --git a/Cargo.lock b/Cargo.lock
index 1cfd201..4c1736f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -24,7 +24,7 @@ dependencies = [
[[package]]
name = "keccak"
-version = "0.2.0-rc.1"
+version = "0.2.0-rc.2"
dependencies = [
"cpufeatures",
]
diff --git a/keccak/Cargo.toml b/keccak/Cargo.toml
index 9af4588..... | 2 | 2 | 2 |
38d10d219450dae3c2d4506f7b2ce13e6eb32f63 | Tony Arcieri | 2026-02-17T19:33:46 | keccak: extract `Keccak1600` struct with CPU feature detection (#107)
Extracts a struct to hold the state for Keccak-p1600/Keccak-f1600, along
with a CPU feature detection `InitToken` which is queried at the time
the state is initialized.
The previous `p1600`/`f1600` functions with CPU feature detection
support have ... | diff --git a/keccak/Cargo.toml b/keccak/Cargo.toml
index 8495d39..9af4588 100644
--- a/keccak/Cargo.toml
+++ b/keccak/Cargo.toml
@@ -16,11 +16,10 @@ readme = "README.md"
edition = "2024"
rust-version = "1.85"
-[target.'cfg(target_arch = "aarch64")'.dependencies]
+[target.'cfg(all(target_arch = "aarch64", keccak_bac... | 3 | 115 | 22 |
7ac1920198ebb7d0192e6d2c3581e15b38a6e0e5 | Tony Arcieri | 2026-02-13T14:29:27 | keccak: ARMv8 `asm!` cleanups (#101)
We pass in `state.as_mut_ptr()` as `x0`, which was previously marked as
`in`. However, it's modified in the `asm!`, e.g.:
sub x0, x0, #192
Note: it's also post-incremented by `ld1.1d` as state is loaded.
Since it's modified, it needs to be `inout`. This marks it as such,
usi... | diff --git a/keccak/src/armv8.rs b/keccak/src/armv8.rs
index 427c916..226e8f1 100644
--- a/keccak/src/armv8.rs
+++ b/keccak/src/armv8.rs
@@ -124,9 +124,9 @@ pub unsafe fn p1600_armv8_sha3_asm(state: &mut [u64; 25], round_count: usize) {
st1.1d {{v20-v23}}, [x0], #32
st1.1d {{v24}}, [x0]
... | 1 | 3 | 3 |
c3a9ef249ea22cefebc258ffa0c221faa147a507 | Tony Arcieri | 2026-02-12T19:20:53 | keccak: bump `cpufeatures` to v0.3 (#99) | diff --git a/Cargo.lock b/Cargo.lock
index d7122f1..1cfd201 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15,9 +15,9 @@ version = "0.1.0"
[[package]]
name = "cpufeatures"
-version = "0.2.17"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59ed5838eebb26a2bb2e58f6d5b5... | 2 | 3 | 3 |
b7f87707eec4df29248a6d5201a687e1cc6ad56e | Artyom Pavlov | 2025-10-23T22:59:24 | bash-f: tweak benchmarks (#94) | diff --git a/bash-f/benches/mod.rs b/bash-f/benches/mod.rs
index 1fd2a38..542c7ac 100644
--- a/bash-f/benches/mod.rs
+++ b/bash-f/benches/mod.rs
@@ -6,31 +6,6 @@ use test::Bencher;
#[bench]
fn bench_bash_f(b: &mut Bencher) {
- let mut state = [0u64; STATE_WORDS];
- b.iter(|| {
- bash_f(test::black_box(... | 1 | 2 | 27 |
f205d0efbbfcc35e91b331cc3b4d4672ed56ecd8 | qj | 2025-10-05T20:13:30 | Use `doc_cfg` in place of removed `doc_auto_cfg` feature (#91) | diff --git a/keccak/src/lib.rs b/keccak/src/lib.rs
index 1f15516..14cbb3d 100644
--- a/keccak/src/lib.rs
+++ b/keccak/src/lib.rs
@@ -37,7 +37,7 @@
//! [2]: https://docs.rs/tiny-keccak
#![no_std]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(feature = "simd", featu... | 1 | 1 | 1 |
95a176c25ba135cc3ca3a195b41ca41091fb0187 | Tony Arcieri | 2025-09-03T02:15:00 | Cut new prereleases (#90)
Releases the following:
- `ascon` v0.5.0-rc.0
- `keccak` v0.2.0-rc.0 | diff --git a/Cargo.lock b/Cargo.lock
index b42735f..3d67e6f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,10 +1,10 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "ascon"
-version = "0.5.0-pre"
+version = "0.5.0-rc.0"
dep... | 3 | 6 | 6 |
13e501fa4e9b7d23c550a53f75e27ec291afc32a | Артём Павлов [Artyom Pavlov] | 2025-01-25T15:38:04 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 05cfca4..b42735f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -11,9 +11,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.16"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd226... | 1 | 4 | 4 |
e47d6337ffc315247c785bb7addf259ff70d12c7 | Artyom Pavlov | 2024-11-22T06:46:14 | Update Cargo.lock (#83) | diff --git a/Cargo.lock b/Cargo.lock
index 7fc2473..05cfca4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -11,9 +11,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.15"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ca741a962e1b0bff6d724a1a095... | 1 | 4 | 4 |
7a6ee9c1f14dc8d137a37ab4a61a559340308728 | Thomas Coratger | 2024-09-23T05:28:11 | keccak_p: improve efficiency of Theta phase (#80) | diff --git a/keccak/src/lib.rs b/keccak/src/lib.rs
index 151e7ba..6d53286 100644
--- a/keccak/src/lib.rs
+++ b/keccak/src/lib.rs
@@ -254,9 +254,9 @@ pub fn keccak_p<L: LaneSize>(state: &mut [L; PLEN], round_count: usize) {
});
unroll5!(x, {
+ let t1 = array[(x + 4) % 5];
+ let ... | 1 | 2 | 2 |
a30ba7775c252f9464d2f61ee318dd9b6f7707f6 | Luca Bruno | 2024-06-10T13:48:30 | cargo: point `repository` metadata to clonable URLs (#77)
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/ascon/Cargo.toml b/ascon/Cargo.toml
index b235a2b..8b6dd7a 100644
--- a/ascon/Cargo.toml
+++ b/ascon/Cargo.toml
@@ -8,7 +8,8 @@ authors = [
]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/ascon"
-repository = "https://github.com/RustCrypto/sponges/tree/master/ascon"
+homepage = "https:/... | 2 | 4 | 2 |
3c63bd4e6c359dffd435b5d81ee20f7100497e6a | Tony Arcieri | 2024-06-05T14:05:33 | Cargo.lock: bump `zeroize` to v1.8.1 (#76)
This is possible now that we've bumped `ascon`'s MSRV to 1.60 | diff --git a/Cargo.lock b/Cargo.lock
index f8463cd..2e3161e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -33,6 +33,6 @@ checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
[[package]]
name = "zeroize"
-version = "1.6.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/cra... | 1 | 2 | 2 |
b67665f9bb592329c17e711fb92aed8a245e1046 | Tony Arcieri | 2024-01-16T19:13:55 | keccak v0.2.0-pre.0 (#71) | diff --git a/Cargo.lock b/Cargo.lock
index 12d4d41..6c94da6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,7 +20,7 @@ dependencies = [
[[package]]
name = "keccak"
-version = "0.2.0-pre"
+version = "0.2.0-pre.0"
dependencies = [
"cpufeatures",
]
diff --git a/keccak/Cargo.toml b/keccak/Cargo.toml
index 2ff2234..... | 2 | 2 | 2 |
8b74c7fc1a0f387b861e67111634d5216df8afb2 | Tony Arcieri | 2024-01-16T19:11:08 | ascon/Cargo.toml: rust -> Rust | diff --git a/ascon/Cargo.toml b/ascon/Cargo.toml
index 9b4dea5..557d44a 100644
--- a/ascon/Cargo.toml
+++ b/ascon/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "ascon"
version = "0.4.0"
-description = "Pure rust implementation of the Ascon permutation"
+description = "Pure Rust implementation of the Ascon permutation"... | 1 | 1 | 1 |
2dc13bf92e6a20b7342aab54f5124495415d697d | Coda Hale | 2024-01-09T19:41:20 | keccak: enable asm backend for p1600 (#68) | diff --git a/keccak/benches/mod.rs b/keccak/benches/mod.rs
index c080857..960c40a 100644
--- a/keccak/benches/mod.rs
+++ b/keccak/benches/mod.rs
@@ -4,7 +4,7 @@
extern crate keccak;
extern crate test;
-use keccak::{f1600, f200, f400, f800};
+use keccak::{f1600, f200, f400, f800, p1600};
macro_rules! impl_bench {... | 3 | 25 | 11 |
a3a4e01607500af1542cb9c5ebfcc7374d051935 | Tony Arcieri | 2023-12-09T21:46:16 | Revert "Update Cargo.lock" (#67)
This reverts commit 3a9a29ef77f4718b6a385d08779d098dded51ef7.
This update is higher than the current Ascon MSRV and broke the build | diff --git a/Cargo.lock b/Cargo.lock
index 7fcb0d9..22c0524 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -11,6 +11,6 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.7.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525b4ec142c6b68a2d10f01f7bbf675559... | 1 | 2 | 2 |
3a9a29ef77f4718b6a385d08779d098dded51ef7 | Артём Павлов [Artyom Pavlov] | 2023-11-18T12:32:47 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 22c0524..7fcb0d9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -11,6 +11,6 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.6.0"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f... | 1 | 2 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.