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 |
|---|---|---|---|---|---|---|---|
a24de6b1b6ce139f9245de25268b51f25b95cb47 | Tony Arcieri | 2025-09-03T02:19:07 | Bump `dbl` to v0.5 (#209) | diff --git a/Cargo.lock b/Cargo.lock
index 9432b7c..756e053 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -111,8 +111,9 @@ dependencies = [
[[package]]
name = "dbl"
-version = "0.5.0-pre"
-source = "git+https://github.com/RustCrypto/utils#adfccfea2686ef191b607f653cc3587753b6ec66"
+version = "0.5.0"
+source = "registr... | 4 | 5 | 8 |
a142fd2e76c820e6cbe90c6e1633a7147e118edb | Tony Arcieri | 2025-09-03T02:11:33 | Bump cipher and hash dependencies (#208)
Uses `hybrid-array` v0.4 compatible versions | diff --git a/Cargo.lock b/Cargo.lock
index 4347be0..9432b7c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 4
[[package]]
name = "aes"
-version = "0.9.0-rc.0"
+version = "0.9.0-rc.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd4838e4ad37bb032dea137f441d5f71c16... | 7 | 30 | 30 |
0bbfa4c3227b5c8f76e597e832420fbe34802eae | Tony Arcieri | 2025-09-02T20:19:08 | Bump `cipher` v0.5.0-rc.1; `digest` v0.11.0-rc.1 (#207)
These notably support `hybrid-array` v0.4 | diff --git a/Cargo.lock b/Cargo.lock
index 7d9305f..4347be0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -40,8 +40,9 @@ checksum = "4a859067dcb257cb2ae028cb821399b55140b76fb8b2a360e052fe109019db43"
[[package]]
name = "block-buffer"
-version = "0.11.0-rc.4"
-source = "git+https://github.com/RustCrypto/utils#adfccfea2... | 8 | 32 | 37 |
d1736a3f38a7c0fbbdb82e3b3ab171e526a63c57 | Tony Arcieri | 2025-09-02T00:58:57 | Bump `hybrid-array` to v0.4 (#206)
Also temporarily disables tests until they can be updated to the new blobby format | diff --git a/Cargo.lock b/Cargo.lock
index 59b764d..7d9305f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -41,8 +41,7 @@ checksum = "4a859067dcb257cb2ae028cb821399b55140b76fb8b2a360e052fe109019db43"
[[package]]
name = "block-buffer"
version = "0.11.0-rc.4"
-source = "registry+https://github.com/rust-lang/crates.io-ind... | 9 | 83 | 68 |
7c7c3d7bade967820ae5c938d1f5d33e15c84c7b | Tony Arcieri | 2025-05-30T15:28:07 | Bump `cipher` dependency to v0.5.0-rc.0 (#197)
Also cuts `rc.0` prereleases of `cbc-mac`, `cmac`, and `pmac` | diff --git a/Cargo.lock b/Cargo.lock
index 2072299..6e32a30 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 4
[[package]]
name = "aes"
-version = "0.9.0-pre.3"
+version = "0.9.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38e4da00d9978020ddaa556c1747cfcafc... | 6 | 32 | 32 |
672441609144cc74a2c73fadd550358b2cc30dff | Tony Arcieri | 2025-05-29T14:42:31 | cmac v0.8.0-pre.4 (#196)
Needed to upgrade KDFs repo | diff --git a/Cargo.lock b/Cargo.lock
index 84ad214..2072299 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -78,7 +78,7 @@ dependencies = [
[[package]]
name = "cmac"
-version = "0.8.0-pre.3"
+version = "0.8.0-pre.4"
dependencies = [
"aes",
"cipher",
diff --git a/cmac/Cargo.toml b/cmac/Cargo.toml
index 8b44951..7cd... | 2 | 2 | 2 |
ef646372019e0fcab46f22c8aa6e54e641e839db | Tony Arcieri | 2025-05-29T14:28:27 | hmac v0.13.0-rc.0 (#195) | diff --git a/Cargo.lock b/Cargo.lock
index 00b45c9..84ad214 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -147,7 +147,7 @@ checksum = "bcaaec4551594c969335c98c903c1397853d4198408ea609190f420500f6be71"
[[package]]
name = "hmac"
-version = "0.13.0-pre.5"
+version = "0.13.0-rc.0"
dependencies = [
"digest",
"hex-lit... | 2 | 2 | 2 |
b1ac17b67d07f1dac7f07603504fa992da69b034 | Tony Arcieri | 2025-05-29T14:16:26 | Bump `digest` dependency to v0.11.0-rc.0 (#194)
NOTE: no releases with this PR.
I'll open a separate one for `hmac`, but for the others we should
probably cut another `cipher` release first | diff --git a/Cargo.lock b/Cargo.lock
index fc80ee1..00b45c9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -101,8 +101,9 @@ dependencies = [
[[package]]
name = "crypto-common"
-version = "0.2.0-rc.2"
-source = "git+https://github.com/RustCrypto/traits#915474f1ed5be0a19fd102d5f75ef8e04c765416"
+version = "0.2.0-rc.3"
+... | 8 | 34 | 40 |
05c5bebefeee38973acfa661e8c5caa4600a275a | Artyom Pavlov | 2025-05-28T12:19:59 | hmac: remove explicit `--cfg docsrs` (#190)
The flag is passed automatically by docs.rs. | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index cc45a20..97512c9 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -28,4 +28,3 @@ zeroize = ["digest/zeroize"]
[package.metadata.docs.rs]
all-features = true
-rustdoc-args = ["--cfg", "docsrs"] | 1 | 0 | 1 |
55327cab3a3aea0cfb3b7fafde6649bbd425beb7 | Artyom Pavlov | 2025-05-28T11:44:54 | hmac: move `EagerHash` to the crate root (#189)
The trait was unintentionally moved to the `block_api` module. Since
it's used in generic code with non-block `Hmac` and `HmacReset` types,
it's worth to expose it in the crate root. | diff --git a/hmac/src/block_api.rs b/hmac/src/block_api.rs
index bb69945..a9177ce 100644
--- a/hmac/src/block_api.rs
+++ b/hmac/src/block_api.rs
@@ -1,41 +1,15 @@
-use crate::utils::{IPAD, OPAD, get_der_key};
+use crate::utils::{EagerHash, IPAD, OPAD, get_der_key};
use core::{fmt, slice};
use digest::{
- Digest, H... | 3 | 34 | 32 |
cf736659b45d82dc3d95e6240030a3326381ec96 | Artyom Pavlov | 2025-03-07T14:39:54 | Release cmac v0.8.0-pre.3 (#183) | diff --git a/Cargo.lock b/Cargo.lock
index e5e72fe..0d85193 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -77,7 +77,7 @@ dependencies = [
[[package]]
name = "cmac"
-version = "0.8.0-pre.2"
+version = "0.8.0-pre.3"
dependencies = [
"aes",
"cipher",
diff --git a/cmac/Cargo.toml b/cmac/Cargo.toml
index 5fba25a..ab6... | 2 | 2 | 2 |
1654543b067c4db9adc71c50bc797bb581575524 | Artyom Pavlov | 2025-03-07T14:37:21 | Use pre.3 releases of block cipher crates (#182) | diff --git a/Cargo.lock b/Cargo.lock
index f7b14a4..e5e72fe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,8 +4,9 @@ version = 4
[[package]]
name = "aes"
-version = "0.9.0-pre.2"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#bb7623cf85b416c8c61d89dd11573e6e7f961720"
+version = "0.9.0-pre.3"
+source... | 6 | 32 | 28 |
f2bcad467c06f16cc422e8b99edb6b90c622a76b | Artyom Pavlov | 2025-03-07T13:57:21 | Release hmac v0.13.0-pre.5 (#181) | diff --git a/Cargo.lock b/Cargo.lock
index 60ff540..f7b14a4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5,7 +5,7 @@ version = 4
[[package]]
name = "aes"
version = "0.9.0-pre.2"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#0ab21fa42149e81ec34fefbc937ef8b2be8caa61"
+source = "git+https://github.com/... | 2 | 11 | 11 |
48d909bc7c028df8ccbc4bd746e9315d2cb8757a | Arthur Gautier | 2025-03-06T18:10:51 | Use v0.11.0-pre.5 releases of hash crates (#180) | diff --git a/Cargo.lock b/Cargo.lock
index 42e7437..60ff540 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -196,8 +196,9 @@ dependencies = [
[[package]]
name = "md-5"
-version = "0.11.0-pre.4"
-source = "git+https://github.com/RustCrypto/hashes.git#0d0369ff7dab69e98acfb8a08f4724dbda285e04"
+version = "0.11.0-pre.5"
+s... | 3 | 16 | 18 |
f6eba0305f33445e404adbaa45483e0369f0bc51 | Arthur Gautier | 2025-02-28T03:34:56 | Move back git pin to master branch (#179) | diff --git a/Cargo.lock b/Cargo.lock
index bf7fb65..42e7437 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5,7 +5,7 @@ version = 4
[[package]]
name = "aes"
version = "0.9.0-pre.2"
-source = "git+https://github.com/baloo/block-ciphers.git?branch=baloo%2Fedition-2024#cc3c0c08f89d33935ea047faf0f501e50e0f89b0"
+source = "... | 2 | 10 | 10 |
816cc88ee08211127abc342dd3b8344aa7b40ba9 | Artyom Pavlov | 2025-02-14T12:59:41 | Release retail-mac v0.1.0-pre.0 (#177) | diff --git a/Cargo.lock b/Cargo.lock
index 11ddefb..fc34dd4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -40,11 +40,11 @@ checksum = "847495c209977a90e8aad588b959d0ca9f5dc228096d29a6bd3defd53f35eaec"
[[package]]
name = "block-buffer"
-version = "0.11.0-rc.1"
+version = "0.11.0-rc.3"
source = "registry+https://githu... | 2 | 13 | 13 |
0e5a375c3c3678ea9387ca01624231ef1884c64d | Artyom Pavlov | 2025-02-14T12:56:49 | Fix `lippy::needless_lifetimes` lints (#176) | diff --git a/belt-mac/src/lib.rs b/belt-mac/src/lib.rs
index 18687fe..90f909b 100644
--- a/belt-mac/src/lib.rs
+++ b/belt-mac/src/lib.rs
@@ -98,11 +98,11 @@ where
blocks: &'a [Block<Self>],
}
- impl<'a, N: BlockSizes> BlockSizeUser for Closure<'a, N> {
+ impl<N: BlockSizes> BlockSi... | 5 | 10 | 10 |
505aeeaa96cec03359055c1019302de152c1bfe3 | Artyom Pavlov | 2024-08-14T17:01:12 | Bump `cipher` to v0.5.0-pre.7 (#168) | diff --git a/Cargo.lock b/Cargo.lock
index 78ab4fe..d906585 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 3
[[package]]
name = "aes"
-version = "0.9.0-pre.1"
+version = "0.9.0-pre.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "183b3b4639f8f7237857117abb74f3dc8... | 15 | 142 | 158 |
7cd5622cf83175e7a30a8bc8af20235db4848e58 | Tony Arcieri | 2024-07-27T15:52:20 | cbc-mac+cmac+pmac: cut pre.1 prereleases (#167)
Cuts the following prereleases:
- `cbc-mac` v0.2.0-pre.1
- `cmac` v0.8.0-pre.1
- `pmac` v0.8.0-pre.1 | diff --git a/Cargo.lock b/Cargo.lock
index 74d725d..78ab4fe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -48,7 +48,7 @@ dependencies = [
[[package]]
name = "cbc-mac"
-version = "0.2.0-pre"
+version = "0.2.0-pre.1"
dependencies = [
"aes",
"cipher",
@@ -77,7 +77,7 @@ dependencies = [
[[package]]
name = "cmac"... | 6 | 9 | 11 |
0d6ef4e4b68fd46bf9af1e0efb985dd3ccc43f9b | Tony Arcieri | 2024-07-26T23:01:26 | hmac v0.13.0-pre.4 (#166) | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 3fa2fd2..83d7308 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.13.0-pre.3"
+version = "0.13.0-pre.4"
description = "Generic implementation of Hash-based Message Authentication Code (HMAC)"
authors = ["Rus... | 1 | 1 | 1 |
c4afef2cabf5bf4403f4c4e6c5e42c2bc7977955 | Tony Arcieri | 2024-07-26T22:59:05 | Bump `cipher` to v0.5.0-pre.6; `digest` to v0.11.0-pre.9 (#165) | diff --git a/Cargo.lock b/Cargo.lock
index 76b1906..74d725d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,8 +4,9 @@ version = 3
[[package]]
name = "aes"
-version = "0.9.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#c577715951ed183b7980a3b7499797723909c1dc"
+version = "0.9.0-pre.1"
+source =... | 8 | 76 | 78 |
acad3c0e8db0cabd9de9d60b21170f03b3c21998 | Arthur Gautier | 2024-03-05T17:42:28 | Cleanup patches (#159)
https://github.com/RustCrypto/block-ciphers/pull/413 has merged | diff --git a/Cargo.lock b/Cargo.lock
index 30ec07c..76b1906 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5,7 +5,7 @@ version = 3
[[package]]
name = "aes"
version = "0.9.0-pre"
-source = "git+https://github.com/baloo/block-ciphers.git?branch=baloo/bump-cipher/0.5.0-pre.4#bb94e5e71f5320fcaab727ad0c503cca5190da4c"
+sou... | 2 | 10 | 10 |
4b2bb119880f97cf9653a3e7362ff9fa787a9ba1 | Tony Arcieri | 2024-02-01T19:19:08 | hmac: bump `digest` to v0.11.0-pre.8 (#156)
Also cuts a v0.13.0-pre.3 prerelease of `hmac` | diff --git a/hmac/Cargo.lock b/hmac/Cargo.lock
index c57f114..99a70e5 100644
--- a/hmac/Cargo.lock
+++ b/hmac/Cargo.lock
@@ -10,9 +10,9 @@ checksum = "847495c209977a90e8aad588b959d0ca9f5dc228096d29a6bd3defd53f35eaec"
[[package]]
name = "block-buffer"
-version = "0.11.0-pre.4"
+version = "0.11.0-pre.5"
source = "re... | 2 | 24 | 24 |
1a674e4c162222468b13c8b87265f4eda52b6531 | Tony Arcieri | 2024-01-17T16:02:55 | hmac v0.13.0-pre.2 (#155) | diff --git a/hmac/Cargo.lock b/hmac/Cargo.lock
index f1d9b05..c57f114 100644
--- a/hmac/Cargo.lock
+++ b/hmac/Cargo.lock
@@ -74,7 +74,7 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46"
[[package]]
name = "hmac"
-version = "0.13.0-pre.1"
+version = "0.13.0-pre.2"
dependencies = [
"... | 2 | 2 | 2 |
def43b4eddd133a1d9f278d558aa454d8cafd784 | Tony Arcieri | 2024-01-10T19:15:15 | hmac: bump `digest` dependency to v0.11.0-pre.4 (#153)
Also cuts a v0.13.0-pre.1 release of `hmac` | diff --git a/hmac/Cargo.lock b/hmac/Cargo.lock
index 101d63e..6aef9b7 100644
--- a/hmac/Cargo.lock
+++ b/hmac/Cargo.lock
@@ -10,9 +10,9 @@ checksum = "847495c209977a90e8aad588b959d0ca9f5dc228096d29a6bd3defd53f35eaec"
[[package]]
name = "block-buffer"
-version = "0.11.0-pre.3"
+version = "0.11.0-pre.4"
source = "re... | 2 | 24 | 24 |
d37216d08c272f9999cfa66543ee763069754b4b | Tony Arcieri | 2024-01-09T14:12:12 | hmac v0.13.0-pre.0 (#152) | diff --git a/hmac/Cargo.lock b/hmac/Cargo.lock
index 166b05d..101d63e 100644
--- a/hmac/Cargo.lock
+++ b/hmac/Cargo.lock
@@ -74,7 +74,7 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46"
[[package]]
name = "hmac"
-version = "0.13.0-pre"
+version = "0.13.0-pre.0"
dependencies = [
"di... | 2 | 2 | 2 |
a37e1528a47b99d4a03669a50ebf96af267c3bed | Tony Arcieri | 2024-01-09T13:34:38 | hmac: add `EagerHash` (#151)
Provides a trait for hash functions which expose their block-level core
which can be used in an optimized implementation of HMAC without
polluting the bounds of code which uses HMAC generically over hash
functions.
Originally from #123. | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index a7da7f9..710bcd6 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -104,7 +104,7 @@ use digest::{
mod optim;
mod simple;
-pub use optim::{Hmac, HmacCore};
+pub use optim::{EagerHash, Hmac, HmacCore};
pub use simple::SimpleHmac;
const IPAD: u8 = 0x36;
diff... | 2 | 38 | 158 |
46072132e1ef0efb1f8522c1ba5fc59ed824f83d | Artyom Pavlov | 2023-12-13T13:08:01 | hmac: test Debug impls (#149) | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index b93fb31..7e50ff8 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -76,7 +76,7 @@
//! the [`Error`][std::error::Error] trait for error types)
//! - `reset`: enables implementation of the [`Reset`][digest::Reset] trait
//! (note that it makes HMAC states bi... | 2 | 11 | 2 |
d5072124165481c9dab3d337dea35207b3d8f174 | Артём Павлов [Artyom Pavlov] | 2023-09-26T16:21:47 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index b51259d..9bb4869 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -181,9 +181,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.147"
+version = "0.2.148"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4668fb0ea861c1df094127ac5f1da3... | 2 | 27 | 26 |
a343fa76ce6675fa791a72e91a727b69d54b3a39 | Артём Павлов [Artyom Pavlov] | 2023-08-07T17:30:46 | Update dependencies | diff --git a/Cargo.lock b/Cargo.lock
index d3a8c76..b51259d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -172,9 +172,9 @@ dependencies = [
[[package]]
name = "kuznyechik"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8483b65417c9aca2348085fecc5ea... | 2 | 5 | 5 |
0fa4707746e999ddbdc9a791c339168c487789ca | Артём Павлов [Artyom Pavlov] | 2023-07-05T11:07:58 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 4b2ff10..d3a8c76 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -92,9 +92,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.8"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03e69e28e9f7f77debdedbaafa2866... | 1 | 4 | 4 |
cd0dde322c93ab1d9e8e4e3de7798f369b2ae02f | Артём Павлов [Artyom Pavlov] | 2023-06-16T13:34:17 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 454d3bf..7c65c94 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -92,9 +92,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.6"
+version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "280a9f2d8b3a38871a3c8a46fb80db... | 1 | 6 | 6 |
7451938cc69f97b08797ce51636371ca5f9a4847 | Tony Arcieri | 2023-05-19T18:14:55 | Revert c68642e; preserve `digest` v0.10.7 bump in Cargo.lock (#140)
Avoids bumping the patch version requirements for `digest` which occurred
in #139 | diff --git a/belt-mac/Cargo.toml b/belt-mac/Cargo.toml
index a63d985..5a87489 100644
--- a/belt-mac/Cargo.toml
+++ b/belt-mac/Cargo.toml
@@ -14,7 +14,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
belt-block = { version = "0.1" }
-digest = { version = "0.10.7", features = ["mac"] }
+digest = { version ... | 4 | 7 | 7 |
e4edc196269440cc5eeba58a0eea2b6f6566cac8 | Артём Павлов [Artyom Pavlov] | 2023-04-17T19:25:29 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index ee3ff89..a3cf7c3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -15,9 +15,9 @@ dependencies = [
[[package]]
name = "belt-block"
-version = "0.1.1"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a1be3fcfd5950762b6ac3f929b7ac6... | 1 | 7 | 7 |
69d0040c62bf5a30faa86269fb799f943c391d68 | Qinxuan Chen | 2022-12-19T08:40:13 | hmac: use `sha1` dependency directly (#122) | diff --git a/hmac/Cargo.lock b/hmac/Cargo.lock
index 21377e2..52f4ebf 100644
--- a/hmac/Cargo.lock
+++ b/hmac/Cargo.lock
@@ -90,7 +90,7 @@ dependencies = [
"digest",
"hex-literal",
"md-5",
- "sha-1",
+ "sha1",
"sha2",
"streebog",
]
@@ -117,10 +117,10 @@ source = "registry+https://github.com/rust-lang/crates.... | 2 | 5 | 5 |
e2fff0cb035d9236dfd74387b7559be5ef02e927 | Артём Павлов [Artyom Pavlov] | 2022-11-17T01:01:13 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index e32b980..9e9b7e5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 3
[[package]]
name = "aes"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfe0133578c0986e1fe3dfcd4af1cc5b2dd6c3dbf534d... | 1 | 6 | 6 |
85885fb5995d0f5620e1d9433077a31f1133e71a | Dirk Stolle | 2022-10-05T12:49:26 | Fix a typo (#116) | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index e79c068..e0af795 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -118,7 +118,7 @@ fn get_der_key<D: Digest + BlockSizeUser>(key: &[u8]) -> Block<D> {
// All commonly used hash functions have block size bigger
// than output hash size, but to b... | 1 | 1 | 1 |
a9965c19335c19ad4641804f646b4384e2e205c2 | Artyom Pavlov | 2022-09-16T03:14:11 | Update Cargo.lock and workspace config (#115) | diff --git a/Cargo.lock b/Cargo.lock
index 1d2665a..e32b980 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -21,9 +21,9 @@ checksum = "847495c209977a90e8aad588b959d0ca9f5dc228096d29a6bd3defd53f35eaec"
[[package]]
name = "block-buffer"
-version = "0.10.2"
+version = "0.10.3"
source = "registry+https://github.com/rust-l... | 4 | 28 | 29 |
83f56d826480c0b35c194d9de922d8f4d66c18fe | Артём Павлов | 2022-08-22T17:21:06 | Update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 6f97aef..1d2665a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -72,18 +72,18 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.1"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95059428f66df56b63431fdb4e19... | 1 | 12 | 12 |
283d4395f01caea8e312cea7c8d9d480e379204a | Artyom Pavlov | 2022-02-22T17:15:48 | Update Cargo.lock (#112) | diff --git a/Cargo.lock b/Cargo.lock
index debb8b1..6f97aef 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -47,9 +47,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cipher"
-version = "0.4.2"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crat... | 1 | 2 | 2 |
7d0d2b8198a5fdb8c25e71c0e6ccc12caaaf9b9c | Артём Павлов [Artyom Pavlov] | 2022-02-18T11:58:40 | update Cargo.lock | diff --git a/Cargo.lock b/Cargo.lock
index 821452d..7dafc6d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -30,7 +30,7 @@ dependencies = [
[[package]]
name = "cbc-mac"
-version = "0.1.0"
+version = "0.1.1"
dependencies = [
"aes",
"cipher",
@@ -58,7 +58,7 @@ dependencies = [
[[package]]
name = "cmac"
-version ... | 1 | 3 | 3 |
c37a392a2fcd94b6506f9429cd11960796277dd9 | Tshepang Lekhonkhobe | 2021-07-16T07:21:47 | hmac: minor doc improvement (#86) | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index 7ccd578..b3f3666 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -47,8 +47,8 @@
//! ```
//!
//! # Block and input sizes
-//! Usually it is assumed that block size is larger than output size, due to the
-//! generic nature of the implementation this edge case... | 1 | 2 | 2 |
c47b579dac76e302903d3aff2f5927cbb4a75031 | Tony Arcieri | 2021-04-29T17:51:18 | Use v0.7 releases of `des`, `kuznyechik`, and `magma` (#75)
Bumps to the following releases (based on `cipher` v0.3):
- `des` v0.7
- `kuznyechik` v0.7
- `magma` v0.7 | diff --git a/Cargo.lock b/Cargo.lock
index 30df0d4..49ce2a6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -110,8 +110,9 @@ dependencies = [
[[package]]
name = "des"
-version = "0.7.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#db3763260d02187f841ee57a51a83ce60045013d"
+version = "0.7.0"
+sourc... | 4 | 12 | 14 |
6aa7c2075833ea7cca284780956720d1fe3dae96 | Tony Arcieri | 2021-04-29T17:10:37 | Bump `aes` crate dependency to v0.7 (#74)
Release notes: https://github.com/RustCrypto/block-ciphers/pull/238 | diff --git a/Cargo.lock b/Cargo.lock
index 5446add..30df0d4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,12 +2,13 @@
# It is not intended for manual editing.
[[package]]
name = "aes"
-version = "0.7.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#db3763260d02187f841ee57a51a83ce60045013d"
+ver... | 4 | 12 | 12 |
4e07d942ff415b505798e31f1302704b618b1fd2 | Tony Arcieri | 2021-04-28T23:34:13 | Bump `crypto-mac` crate dependency to v0.11 (#73)
Release notes: https://github.com/RustCrypto/traits/pull/622 | diff --git a/Cargo.lock b/Cargo.lock
index e5a77a5..5446add 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@
[[package]]
name = "aes"
version = "0.7.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#7236bce0b75b7bcf719add5e88890bd667ebb95f"
+source = "git+https://github.com/RustCrypto/blo... | 5 | 22 | 22 |
74f50ad79bbc4786e9529de455cf4630fca35859 | Tony Arcieri | 2020-12-31T18:05:39 | Bump `aes` crate (#69)
The `aes` crate is used for several tests, and just got an MSRV breaking
change in RustCrypto/block-ciphers#216.
This commit bumps the git dependency to test the crates in this repo
with the MSRV changes. | diff --git a/Cargo.lock b/Cargo.lock
index f40ae0c..2b35cfa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@
[[package]]
name = "aes"
version = "0.7.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers.git#3215a921f894f533882dc1a3cf55242237fca4ed"
+source = "git+https://github.com/RustCrypto/blo... | 3 | 7 | 7 |
daf6c12a118206aab3f131749d0baeca15942268 | Tony Arcieri | 2020-12-30T17:53:50 | Bump `crypto-mac` dependency to v0.11.0-pre (#68) | diff --git a/Cargo.lock b/Cargo.lock
index 382ac9a..f40ae0c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,33 +2,12 @@
# It is not intended for manual editing.
[[package]]
name = "aes"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "884391ef1066acaa41e766ba8f596341b9... | 11 | 77 | 89 |
98fb2b153f25295a12d768d27d50bbbe154424bf | Tony Arcieri | 2020-10-16T15:01:44 | Bump `crypto-mac` dependency to v0.10 (#62)
This is the first release of `crypto-mac` based on the `cipher` crate. | diff --git a/Cargo.lock b/Cargo.lock
index bb051e6..43ebb4d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,33 +2,33 @@
# It is not intended for manual editing.
[[package]]
name = "aes"
-version = "0.5.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd2bc6d3f370b56... | 8 | 54 | 54 |
b34d711f17e35c443bd709d784fa84f19e63b34c | Artyom Pavlov | 2020-08-10T18:12:01 | Use SVG logo (#56) | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index ffc1deb..51ae0e0 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -40,7 +40,10 @@
//! [1]: https://en.wikipedia.org/wiki/One-key_MAC
#![no_std]
-#![doc(html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png")]
+#![doc(
+ ... | 4 | 16 | 4 |
e0eef7fdee8e31c01cb4ffc06497c48d9e739534 | Artyom Pavlov | 2020-07-14T23:40:59 | Add From<BlockCipher> impls (#54) | diff --git a/Cargo.lock b/Cargo.lock
index 240b062..ab770d6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -85,7 +85,7 @@ checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
[[package]]
name = "cmac"
-version = "0.3.0"
+version = "0.3.1"
dependencies = [
"aes",
"block-cipher",
@@ -109,7 ... | 7 | 60 | 61 |
4cd25d7ccd24e1c4159d28944ddfb6168fd825a1 | Artyom Pavlov | 2020-07-03T09:04:08 | Add GOST vectors to CMAC (#53) | diff --git a/Cargo.lock b/Cargo.lock
index 7d79313..240b062 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -91,6 +91,9 @@ dependencies = [
"block-cipher",
"crypto-mac",
"dbl",
+ "hex-literal",
+ "kuznyechik",
+ "magma",
]
[[package]]
@@ -156,9 +159,28 @@ dependencies = [
"typenum",
]
+[[package]]
+name = "h... | 4 | 99 | 2 |
2f812bf47d742731897ec9de44e12f9d37e50d79 | Patrick D Hayes | 2020-06-24T14:14:36 | Updating hmac: Fixing small error in documentation (#50)
Replaces outdated `code` with `into_bytes` | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index 9ea055d..8cb3264 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -24,7 +24,7 @@
//! // `result` has type `Output` which is a thin wrapper around array of
//! // bytes for providing constant time equality check
//! let result = mac.finalize();
-//! // To get ... | 1 | 1 | 1 |
304fb20bcc32512b92d09cbd05b16db9ef05197e | Artyom Pavlov | 2020-06-17T02:38:19 | update license field in Cargo.toml (#49) | diff --git a/cmac/Cargo.toml b/cmac/Cargo.toml
index 98b2eff..b9d9ec9 100644
--- a/cmac/Cargo.toml
+++ b/cmac/Cargo.toml
@@ -3,7 +3,7 @@ name = "cmac"
version = "0.3.0"
description = "Generic implementation of Cipher-based Message Authentication Code"
authors = ["RustCrypto Developers"]
-license = "MIT/Apache-2.0"
+... | 3 | 3 | 3 |
f02fdc7e644eb686a667cfb36ff6d3e3a47159cd | Tony Arcieri | 2020-06-10T02:51:06 | hmac: upgrade to `digest` v0.9 crate release (#45)
Also bumps the `md-5` and `sha2` dev dependencies | diff --git a/Cargo.lock b/Cargo.lock
index 3d87e5f..feaf21d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -134,8 +134,9 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.9.0-pre"
-source = "git+https://github.com/RustCrypto/traits#bf34b4ccfaf285542de0d9427d3e759c7e888559"
+version = "0.9.0"
+source = "reg... | 3 | 13 | 15 |
da8496a5551e64ea3c232f3a95a4c01902919e8b | Tony Arcieri | 2020-06-08T14:46:47 | daa: use `des` v0.4 crate releases (#43)
Just published in: https://github.com/RustCrypto/block-ciphers/pull/130 | diff --git a/Cargo.lock b/Cargo.lock
index b6b7b30..23993e9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -123,8 +123,9 @@ dependencies = [
[[package]]
name = "des"
-version = "0.4.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers#268dadc93df08928de3bc510ddf20aabfcc49435"
+version = "0.4.0"
+source = ... | 3 | 4 | 4 |
2baa5b7a5e0de172460c2ed7b4ba712b4b6539d8 | Tony Arcieri | 2020-06-06T13:44:50 | aes: use 0.4 release
This is only a dev dependency, but nevertheless... | diff --git a/Cargo.lock b/Cargo.lock
index 114132f..70d3e6a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,8 +2,9 @@
# It is not intended for manual editing.
[[package]]
name = "aes"
-version = "0.4.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers#49f41f6c8f3a1dc711cf22fb5b0faf956a1fd587"
+version =... | 6 | 30 | 28 |
c0905e6a7ba05218904890e7cf71a386d9836c10 | Tony Arcieri | 2020-06-04T19:20:13 | Bump `dbl` crate to v0.3 release | diff --git a/Cargo.lock b/Cargo.lock
index a0c1c75..114132f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@
[[package]]
name = "aes"
version = "0.4.0-pre"
-source = "git+https://github.com/RustCrypto/block-ciphers#aa14e7b919a8d4e304ace0af3a487539e1ff5ef8"
+source = "git+https://github.com/RustCrypto/block-c... | 4 | 17 | 17 |
de4028117f143f5172d34afc82c489d21030322d | Tony Arcieri | 2020-06-02T20:58:26 | Rename `*result*` to `finalize`
Implements the API changes from:
https://github.com/RustCrypto/traits/pull/161
The `crypto-mac` crate now uses `update` and `finalize` nomenclature
ala the Initialize-Update-Finalize (IUF) interface naming scheme. | diff --git a/Cargo.lock b/Cargo.lock
index 3330e15..a0c1c75 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -41,7 +41,7 @@ dependencies = [
[[package]]
name = "block-buffer"
version = "0.8.0-pre"
-source = "git+https://github.com/RustCrypto/utils#a0e48018d38545935152cd1715382bc1984b5699"
+source = "git+https://github.co... | 5 | 20 | 20 |
9c8950d8ce176c60d9f528d44d56ab767723daa4 | Tony Arcieri | 2020-05-31T16:11:32 | Add standard set of attributes to all crates
Lints for:
- 2018 idioms
- Unsafe code (where possible) | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index a01ef86..377cfc9 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -36,8 +36,11 @@
//! // `verify` will return `Ok(())` if tag is correct, `Err(MacError)` otherwise
//! mac.verify(&tag_bytes).unwrap();
//! ```
+
#![no_std]
#![doc(html_logo_url = "https://raw... | 4 | 14 | 3 |
e40e8546dd0ed813097420aa6993abbe5a2c2951 | Tony Arcieri | 2020-05-31T16:00:59 | Bump all versions to `*-pre`
...to reflect the breaking `crypto-mac` crate update | diff --git a/Cargo.lock b/Cargo.lock
index 9cf700b..3330e15 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -80,7 +80,7 @@ checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
[[package]]
name = "cmac"
-version = "0.2.0"
+version = "0.3.0-pre"
dependencies = [
"aes",
"block-cipher",
@@ -10... | 5 | 8 | 8 |
59dc87d180143a762b50e3d0fae349e8cdaf3df0 | Tony Arcieri | 2020-05-31T15:02:21 | hmac: 2018 edition and `crypto-mac` crate upgrade
Upgrades to Rust 2018 edition and the (now 2018 edition)
`crypto-mac` v0.8.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index e986d8f..9cf700b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -40,14 +40,13 @@ dependencies = [
[[package]]
name = "block-buffer"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e0... | 5 | 68 | 96 |
55877553d3d8b13ce9cd6a61be63d62867c9c223 | Tony Arcieri | 2020-05-31T15:17:44 | pmac: 2018 edition and `crypto-mac` crate upgrade
Upgrades to Rust 2018 edition and the (now 2018 edition)
`crypto-mac` v0.8.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index 4e9f22a..e986d8f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,37 +1,15 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-[[package]]
-name = "aes"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-ind... | 7 | 56 | 117 |
e419bfbf420f2d03bd6a395f3e1e000841511a00 | Tony Arcieri | 2020-05-31T14:47:34 | daa: 2018 edition and `crypto-mac` crate upgrade
Upgrades to Rust 2018 edition and the (now 2018 edition)
`crypto-mac` v0.8.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index 8e353e2..4e9f22a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -155,7 +155,7 @@ dependencies = [
name = "daa"
version = "0.1.0"
dependencies = [
- "crypto-mac 0.7.0",
+ "crypto-mac 0.8.0-pre",
"des",
]
@@ -178,11 +178,10 @@ dependencies = [
[[package]]
name = "des"
-... | 5 | 29 | 27 |
98c11ee7dc6d70899f1003d222b5363e3c4adf71 | Tony Arcieri | 2020-05-30T23:42:25 | cmac: 2018 edition and `crypto-mac` crate upgrade
Upgrades to Rust 2018 edition and the (now 2018 edition)
`crypto-mac` v0.8.0-pre crate. | diff --git a/Cargo.lock b/Cargo.lock
index e44176a..8e353e2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6,11 +6,21 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54eb1d8fe354e5fc611daf4f2ea97dd45a765f4f1e4512306ec183ae2e8f20c9"
dependencies = [
- "aes-soft",
- "aes... | 7 | 143 | 80 |
3ab6aaacc931cd4d9a025b865d75aed4b1917617 | not-matthias | 2020-01-26T12:44:11 | Fixed a typo ('carefull' instead of 'careful') | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index b438f36..d064ba7 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -21,7 +21,7 @@
//! // `result` has type `MacResult` which is a thin wrapper around array of
//! // bytes for providing constant time equality check
//! let result = mac.result();
-//! // To get... | 3 | 3 | 3 |
98cf577a8f9580eafbc3ef9f20caf15d5e5174f7 | Tony Arcieri | 2019-08-19T17:31:31 | poly1305: Use MacResult for representing tags
This outsources constant time comparisons to `MacResult`, so downstream
crates don't need to rely on additional crates to perform them beyond
what `MacResult` is already using. | diff --git a/poly1305/Cargo.toml b/poly1305/Cargo.toml
index 235169c..be7b70f 100644
--- a/poly1305/Cargo.toml
+++ b/poly1305/Cargo.toml
@@ -12,6 +12,7 @@ readme = "README.md"
[dependencies]
byteorder = { version = "1", default-features = false }
+crypto-mac = "0.7"
zeroize = { version = "0.9", optional = true, de... | 3 | 34 | 23 |
26c8c1219e274167eb4395cc61aab4d104f34788 | Tony Arcieri | 2019-08-19T17:12:29 | poly1305: Add `input_padded` method
Add a function for inputting data into Poly1305 which is padded to its
block size, a.k.a. the `pad16()` function from RFC 8439.
This is useful for implementing authenticated encryption constructions
using Salsa20 family ciphers (i.e. Salsa20Poly1305, ChaCha20Poly1305)
which is the ... | diff --git a/poly1305/src/lib.rs b/poly1305/src/lib.rs
index e118530..28e85b0 100644
--- a/poly1305/src/lib.rs
+++ b/poly1305/src/lib.rs
@@ -109,6 +109,25 @@ impl Poly1305 {
self.leftover = m.len();
}
+ /// Input data into Poly1305, first padding it to Poly1305's block size
+ /// ala the `pad16()`... | 2 | 42 | 0 |
dfc1c2d08522e14be6fe8eac7874c21b48755301 | Tony Arcieri | 2019-08-16T17:27:27 | rustfmt
Applied using: `rustfmt 1.2.2-stable (5274b49c 2019-04-24)` | diff --git a/cmac/benches/aes128_cmac.rs b/cmac/benches/aes128_cmac.rs
index 8e23a14..1f98525 100644
--- a/cmac/benches/aes128_cmac.rs
+++ b/cmac/benches/aes128_cmac.rs
@@ -1,7 +1,7 @@
#![feature(test)]
#[macro_use]
extern crate crypto_mac;
-extern crate cmac;
extern crate aes;
+extern crate cmac;
bench!(cmac::C... | 11 | 121 | 82 |
24b9e64bd093f7b537b2ff8daf96dc2768a7715b | Tony Arcieri | 2019-08-14T12:55:22 | poly1305: use `byteorder` instead of `byte-tools`
In either case it won't be necessary on Rust 1.32+ as we can use
`u32::from_le_bytes`/`to_le_bytes`, but for now `byteorder` is the more
common solution. | diff --git a/poly1305/Cargo.toml b/poly1305/Cargo.toml
index 8506551..bc08ef9 100644
--- a/poly1305/Cargo.toml
+++ b/poly1305/Cargo.toml
@@ -10,7 +10,7 @@ keywords = ["crypto", "mac", "umac", "universal-hashing"]
categories = ["cryptography", "no-std"]
[dependencies]
-byte-tools = "0.2"
+byteorder = { version = "1"... | 2 | 21 | 21 |
63f052fd4dde8b036b52b60ef95a532877546149 | Tony Arcieri | 2019-08-14T04:06:44 | poly1305: remove `Mac` impl and refactor
As a universal hash function and one-time authenticator, Poly1305
doesn't meet normal expectations of a MAC.
This change removes the `Mac` impl, but otherwise leaves the API looking
very much like a `Mac`.
Additionally, this commit includes a lot of refactoring in an attempt ... | diff --git a/poly1305/Cargo.toml b/poly1305/Cargo.toml
index fb1c087..8506551 100644
--- a/poly1305/Cargo.toml
+++ b/poly1305/Cargo.toml
@@ -11,7 +11,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
byte-tools = "0.2"
-crypto-mac = "0.7"
+zeroize = { version = "0.9", optional = true, default-features = f... | 4 | 228 | 193 |
f9aa49edc616a92fea7a06e785260b0ac88e32e1 | Tony Arcieri | 2019-08-13T21:12:31 | poly1305: Fix clippy warnings
Nothing too interesting here, however it seems the original
`rust-crypto` code had a lot of (apparently) unnecessary masking which I
assume it inherited from the original C code. | diff --git a/poly1305/src/lib.rs b/poly1305/src/lib.rs
index 16bb3ac..5cd9200 100644
--- a/poly1305/src/lib.rs
+++ b/poly1305/src/lib.rs
@@ -55,11 +55,11 @@ impl Mac for Poly1305 {
let key = key.as_slice();
// r &= 0xffffffc0ffffffc0ffffffc0fffffff
- poly.r[0] = (read_u32_le(&key[0..4])) & 0x... | 2 | 71 | 71 |
e84bb81bb0a5524b3ca3f45e2ddce491a4382aea | Tony Arcieri | 2019-08-13T20:16:16 | poly1305: rustfmt
Runs rustfmt on the original rust-crypto sources | diff --git a/poly1305/src/lib.rs b/poly1305/src/lib.rs
index 3ffe52e..c0c7912 100644
--- a/poly1305/src/lib.rs
+++ b/poly1305/src/lib.rs
@@ -14,21 +14,28 @@ use mac::{Mac, MacResult};
#[derive(Clone, Copy)]
pub struct Poly1305 {
- r : [u32; 5],
- h : [u32; 5],
- pad : [u32; 4],
- l... | 1 | 152 | 101 |
58af6a1e76ae08f4058737b48c2660f6696729b5 | Tony Arcieri | 2019-08-13T20:14:00 | poly1305: Import initial sources from rust-crypto
This is a verbatim import of rust-crypto's poly1305.rs:
https://github.com/DaGenix/rust-crypto/blob/9a4d8f279b643b8ae006e442141571fc7a85a3cf/src/poly1305.rs
Last commit by Palmer Cox on October 17th, 2015. Commit message:
> Resolve warnings from Rust nightly about u... | diff --git a/poly1305/src/lib.rs b/poly1305/src/lib.rs
new file mode 100644
index 0000000..3ffe52e
--- /dev/null
+++ b/poly1305/src/lib.rs
@@ -0,0 +1,405 @@
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http:/... | 1 | 405 | 0 |
2e73cdf49ec9706d25c36ba846fc866d59741c60 | boats | 2019-07-11T16:31:46 | Remove unnecessary bounds with concrete impls. (#11) | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index d4fa467..2ffd5ef 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.7.0"
+version = "0.7.1"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "Generic implementation of Hash-base... | 2 | 29 | 3 |
ba80aa386ffe0d6dda4e1e0ae9f2dd0621e71015 | newpavlov | 2018-11-14T16:55:28 | remove unnecessary reset | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index f37eaa3..8bcc901 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -159,9 +159,6 @@ impl <C> Mac for Cmac<C>
buf[self.pos] ^= 0x80;
}
self.cipher.encrypt_block(&mut buf);
-
- self.reset();
-
MacResult::new(buf)
... | 1 | 0 | 3 |
ac335b0b9ea7cba7e63499270cf10c8589561ff1 | newpavlov | 2018-11-14T16:52:12 | update daa to des v0.2.0 | diff --git a/daa/Cargo.toml b/daa/Cargo.toml
index 1657fbf..4bff1f8 100644
--- a/daa/Cargo.toml
+++ b/daa/Cargo.toml
@@ -10,7 +10,7 @@ keywords = ["crypto", "mac", "daa", "fips"]
[dependencies]
crypto-mac = "0.7"
-des = "0.1"
+des = "0.2"
[dev-dependencies]
crypto-mac = { version = "0.7", features = ["dev"] }
d... | 2 | 11 | 6 |
8f0166589abec93878a59915b49650e528d71c5d | newpavlov | 2018-11-14T16:36:05 | add doc logos | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index 5e888dc..f37eaa3 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -46,6 +46,8 @@
//! # }
//! ```
#![no_std]
+#![doc(html_logo_url =
+ "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png")]
extern crate block_cipher_trait;
extern crat... | 4 | 8 | 1 |
09c33bf5a486234a2b8492dea9aac9c251d243bf | newpavlov | 2018-11-14T16:34:25 | update daa to crypto-mac v0.7 | diff --git a/Cargo.toml b/Cargo.toml
index e786cde..dab6e4b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,7 @@
[workspace]
members = [
"cmac",
+ "daa",
"hmac",
"pmac",
]
diff --git a/daa/Cargo.toml b/daa/Cargo.toml
index 8ae9eda..1657fbf 100644
--- a/daa/Cargo.toml
+++ b/daa/Cargo.toml
@@ -9,... | 2 | 3 | 2 |
6e3c6fe9ec23376f4745d03d31661eafb99f877f | newpavlov | 2018-10-03T10:29:05 | bump minor versions | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 2417131..d4fa467 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.6.3"
+version = "0.7.0"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "Generic implementation of Hash-base... | 2 | 2 | 2 |
dc28c38447485e28d3fb67da605d9aa54bef8801 | Артём Павлов [Artyom Pavlov] | 2018-08-15T21:04:42 | hmac v0.6.3 | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 90de158..294e3eb 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,12 +1,13 @@
[package]
name = "hmac"
-version = "0.6.2"
+version = "0.6.3"
authors = ["RustCrypto Developers"]
-license = "MIT/Apache-2.0"
+license = "MIT OR Apache-2.0"
description = "Gener... | 1 | 6 | 2 |
6ad7bb09b221a093260352e5b6f6f95b179e9b1a | brycx | 2018-08-15T21:00:45 | Small tweaks to HMAC key padding (#4)
* Small tweaks to HMAC key padding
* Re-add n indexing. hmac.i_pad_key constructed with IPAD bytes instead of 0x00. opad constructed with OPAD bytes instead of 0x00 | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index 766cce8..0fb78db 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -72,7 +72,7 @@ use digest::generic_array::{ArrayLength, GenericArray};
use core::cmp::min;
const IPAD: u8 = 0x36;
-const OPAD: u8 = 0x5c;
+const OPAD: u8 = 0x5C;
/// The `Hmac` struct repre... | 1 | 32 | 43 |
395f096df8025befc0a23c8d97cb80502e4cc3dd | Артём Павлов [Artyom Pavlov] | 2018-04-15T19:35:02 | small doc update | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index c1f9380..90de158 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.6.1"
+version = "0.6.2"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 3 | 2 |
ddc1b64674db29b5971e4b3dfaf985531b5e5ae1 | Tim Neumann | 2018-04-15T19:33:15 | Un-hide crucial line from hmac example (#3) | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index 2624355..02b5d20 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -16,9 +16,10 @@
//! use sha2::Sha256;
//! use hmac::{Hmac, Mac};
//!
+//! type HmacSha256 = Hmac<Sha256>;
+//!
//! # fn main() {
//! // Create `Mac` trait implementation, namely HMAC-SHA256
-... | 1 | 2 | 1 |
32d8530bdb0458cc03126998df64f375261b9ccc | Артём Павлов [Artyom Pavlov] | 2018-04-05T20:47:20 | updated hmac docs | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 3978635..c1f9380 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.6.0"
+version = "0.6.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 5 | 3 |
4f934c1f72930f187a97b236512874d14f674bd6 | Артём Павлов [Artyom Pavlov] | 2018-03-30T19:22:15 | downgrade hmac to digest v0.7 | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 3df4e8a..3978635 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.5.0"
+version = "0.6.0"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 10 | 6 |
f9d0390b1e670883c40ee358a3580be0617a9b57 | newpavlov | 2017-11-27T08:29:14 | hmac CI fix | diff --git a/Cargo.toml b/Cargo.toml
index 3893021..813f8fd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,3 +7,5 @@ members = [
[patch.crates-io]
digest = { git = "https://github.com/RustCrypto/traits", branch="digest_v0.8" }
+md-5 = { git = "https://github.com/RustCrypto/hashes", branch="digest_v0.8" }
+sha2 = { ... | 3 | 24 | 16 |
acfe42095115f72f7b2b6ca571e06e9c824a701b | Артём Павлов [Artyom Pavlov] | 2017-11-26T16:29:57 | added opaque Debug implementation to pmac and cmac | diff --git a/cmac/src/lib.rs b/cmac/src/lib.rs
index 4d339b0..336f5b7 100644
--- a/cmac/src/lib.rs
+++ b/cmac/src/lib.rs
@@ -47,8 +47,8 @@
//! ```
#![no_std]
extern crate block_cipher_trait;
-pub extern crate crypto_mac;
extern crate dbl;
+pub extern crate crypto_mac;
pub use crypto_mac::Mac;
use crypto_mac::{I... | 2 | 20 | 2 |
d983ac4a394e514b8c456fcfcbd09f8340ad8582 | Артём Павлов [Artyom Pavlov] | 2017-11-26T16:19:18 | cleared patch section | diff --git a/Cargo.toml b/Cargo.toml
index ba3786d..3893021 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,4 @@ members = [
]
[patch.crates-io]
-block-cipher-trait = { git = "https://github.com/RustCrypto/traits", branch="new_versiion" }
-crypto-mac = { git = "https://github.com/RustCrypto/traits", branch="new... | 1 | 1 | 3 |
ea669617b088c97fa4c5079f77cf67da5aca7c24 | newpavlov | 2017-11-20T16:42:19 | cmac benches | diff --git a/cmac/benches/aes128_cmac.rs b/cmac/benches/aes128_cmac.rs
new file mode 100644
index 0000000..cfb3ad3
--- /dev/null
+++ b/cmac/benches/aes128_cmac.rs
@@ -0,0 +1,7 @@
+#![feature(test)]
+#[macro_use]
+extern crate crypto_mac;
+extern crate cmac;
+extern crate aesni;
+
+bench!(cmac::Cmac::<aesni::Aes128>, 16... | 2 | 14 | 0 |
04be7b9c3257653a4ab7b0eac9a4a314b60542c3 | newpavlov | 2017-11-20T16:37:38 | use dbl crate in cmac | diff --git a/cmac/Cargo.toml b/cmac/Cargo.toml
index 12b6016..5453681 100644
--- a/cmac/Cargo.toml
+++ b/cmac/Cargo.toml
@@ -11,6 +11,7 @@ keywords = ["crypto", "mac", "cmac", "omac"]
[dependencies]
crypto-mac = "0.5"
block-cipher-trait = "0.5"
+dbl = "0.1"
[dev-dependencies]
crypto-mac = { version = "0.5.1", fe... | 3 | 6 | 91 |
19b8eaf1709e60ffae51aa6a05f6026cfca3548d | newpavlov | 2017-11-15T16:35:45 | hmac v0.5.0 | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 213eb1e..89446a7 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.4.2"
+version = "0.5.0"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 3 | 37 | 28 |
481b6f1734d775df8610f17cd2bc2fcee4c951aa | newpavlov | 2017-07-24T09:15:44 | hmac optimization | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index eed024f..213eb1e 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.4.1"
+version = "0.4.2"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 25 | 20 |
c968ed35d11b34f75511277cb0b146e0939cd9e5 | Артём Павлов [Artyom Pavlov] | 2017-07-24T03:38:12 | Update hmac to new versions | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index d8b32d5..eed024f 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.4.0"
+version = "0.4.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 20 | 17 |
4900547fa9647417060b07c70ae988d3a11243dc | Артём Павлов [Artyom Pavlov] | 2017-07-24T03:29:27 | Fixed authors | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 8cfc73a..d8b32d5 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "hmac"
version = "0.4.0"
-authors = ["The RustCrypto Devs"]
+authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Generic implementation... | 1 | 1 | 1 |
b4b6c83c5fbbd67180fbf4872589c0c0a8100959 | Артём Павлов [Artyom Pavlov] | 2017-07-24T03:27:59 | Bump hmac version | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 72a04a0..8cfc73a 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hmac"
-version = "0.1.2"
+version = "0.4.0"
authors = ["The RustCrypto Devs"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based Mes... | 1 | 1 | 1 |
722fd3b9ce3555acb281c4991c1772926456a5ae | Артём Павлов [Artyom Pavlov] | 2017-07-24T03:26:18 | Removed unnecessary as | diff --git a/hmac/src/lib.rs b/hmac/src/lib.rs
index 5d36480..b07de04 100644
--- a/hmac/src/lib.rs
+++ b/hmac/src/lib.rs
@@ -61,8 +61,7 @@ const OPAD: u8 = 0x5c;
/// The `Hmac` struct represents an HMAC using a given hash function `D`.
pub struct Hmac<D>
- where D: Input + FixedOutput + Default,
- <D as... | 1 | 5 | 8 |
ffbc3613feb73a2ae966dcb800fafffba597eb18 | Артём Павлов [Artyom Pavlov] | 2017-07-24T03:23:45 | Fixed docs for hmac and handle case for BlockSize < OutputSize | diff --git a/hmac/Cargo.toml b/hmac/Cargo.toml
index 8596555..72a04a0 100644
--- a/hmac/Cargo.toml
+++ b/hmac/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "hmac"
-version = "0.1.1"
+version = "0.1.2"
authors = ["The RustCrypto Devs"]
license = "MIT/Apache-2.0"
description = "Generic implementation of Hash-based M... | 2 | 12 | 4 |
552868068847b97755a043b1d79edc8cddd694db | Adam Reichold | 2025-09-24T06:16:01 | Fix lints emitted by current nightly Clippy. | diff --git a/src/parse.rs b/src/parse.rs
index 7ac4afb..080e4ad 100644
--- a/src/parse.rs
+++ b/src/parse.rs
@@ -374,7 +374,7 @@ impl<'input> Document<'input> {
/// assert_eq!(doc.descendants().count(), 2); // root node + `e` element node
/// ```
#[inline]
- pub fn parse(text: &str) -> Result<Document... | 5 | 8 | 8 |
d2c7801624757d14f83ba543484479bcd56c3251 | Adam Reichold | 2025-01-25T08:50:39 | Speed-up attribute parsing by splitting tokenizing and verification
This split allows us to use memchr to find delimiters and should also
enable to better auto-vectorize the XML character verification. | diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 39f090e..e8855d4 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -1,6 +1,8 @@
use core::ops::Range;
use core::str;
+use memchr::memchr2;
+
use crate::{Error, TextPos};
type Result<T> = core::result::Result<T, Error>;
@@ -92,6 +94,10 @@ trait XmlByte... | 1 | 57 | 2 |
3b0944785e09600c97e7e5a1ee62a7a77a2162e6 | Adam Reichold | 2025-01-19T12:45:05 | Avoid quadratic runtime when merging text nodes | diff --git a/src/lib.rs b/src/lib.rs
index 3906288..a49cf27 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -450,8 +450,8 @@ pub enum StringStorage<'input> {
}
impl StringStorage<'_> {
- /// Creates a new owned string from `&str` or `String`.
- pub fn new_owned<T: Into<OwnedSharedString>>(s: T) -> Self {
+ ///... | 2 | 63 | 55 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.