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 |
|---|---|---|---|---|---|---|---|
f9b35c0d0152c9afea728903e847a3c6275a39e9 | Deirdre Connolly | 2020-03-18T22:56:11 | Expose sha256_utils with the utils feature flag | diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml
index e869481..d3271d1 100644
--- a/sha2/Cargo.toml
+++ b/sha2/Cargo.toml
@@ -25,6 +25,7 @@ hex-literal = "0.1"
default = ["std"]
std = ["digest/std"]
asm = ["sha2-asm"]
+utils = ["utils"]
# TODO: Remove this feature once is_aarch64_feature_detected!() is stabilised.... | 2 | 33 | 15 |
3f9b92663c81b9495eb61e6847406e7922575210 | Emmanuel Gil Peyrot | 2020-02-27T23:25:16 | Allow compile-time detection of crypto on AArch64
The existing way depends on the libc crate, only works on Linux, and
does a getauxval() call each 64 bytes of input.
This commit adds support for doing this detection at compile-time, if
the target_feature crypto is enabled we can use the same code-path as
amd64 and r... | diff --git a/sha1/Cargo.toml b/sha1/Cargo.toml
index 58b6436..09b0bfc 100644
--- a/sha1/Cargo.toml
+++ b/sha1/Cargo.toml
@@ -30,7 +30,7 @@ std = ["digest/std"]
asm = ["sha1-asm"]
# TODO: Remove this feature once is_aarch64_feature_detected!() is stabilised.
-# Only used on AArch64 Linux systems.
+# Only used on AAr... | 5 | 17 | 13 |
5416689af01c5dd0fa9ad8af57c2370db38dd9b2 | Rodolfo Araujo | 2020-01-31T02:06:27 | Matching formatter. | diff --git a/whirlpool/src/lib.rs b/whirlpool/src/lib.rs
index 8e110cc..792c230 100644
--- a/whirlpool/src/lib.rs
+++ b/whirlpool/src/lib.rs
@@ -102,14 +102,14 @@ impl Whirlpool {
#![cfg_attr(feature = "cargo-clippy", allow(clippy::identity_op, clippy::double_parens))]
fn update_len(&mut self, len: u64) {
... | 2 | 5 | 5 |
1bdada7ded792205a132f41a23cac36568f2579d | Rodolfo Araujo | 2020-01-31T01:58:45 | Fix build. | diff --git a/blake2/src/simd/simd_opt/mod.rs b/blake2/src/simd/simd_opt/mod.rs
index 144c7f5..efd5086 100644
--- a/blake2/src/simd/simd_opt/mod.rs
+++ b/blake2/src/simd/simd_opt/mod.rs
@@ -5,7 +5,7 @@
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed exce... | 13 | 14 | 14 |
da2452e9de57e9e4ac40c8dc18b81afd3d223219 | newpavlov | 2020-01-06T02:47:47 | bump sha1 and sha2 versions | diff --git a/sha1/Cargo.toml b/sha1/Cargo.toml
index 381d944..58b6436 100644
--- a/sha1/Cargo.toml
+++ b/sha1/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha-1"
-version = "0.8.1"
+version = "0.8.2"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "SHA-1 hash function"
diff --git a/... | 2 | 2 | 2 |
0f29b6cd8d604623f9cdfe7c7f14395190b03ac8 | Rodolfo Araujo | 2019-11-17T03:32:34 | Small code improvements. | diff --git a/whirlpool/src/lib.rs b/whirlpool/src/lib.rs
index 11d5f19..8e110cc 100644
--- a/whirlpool/src/lib.rs
+++ b/whirlpool/src/lib.rs
@@ -108,8 +108,8 @@ impl Whirlpool {
((len >> (32 + 5)) & 0xff) as u8,
((len >> (24 + 5)) & 0xff) as u8,
((len >> (16 + 5)) & 0xff) as u8,
-... | 2 | 7 | 7 |
ab72529a170e8b84a4cd8bdd1e1f826419620afe | Rodolfo Araujo | 2019-11-17T03:15:14 | Small code improvements. | diff --git a/blake2/src/consts.rs b/blake2/src/consts.rs
index 99f32f2..1562ce0 100644
--- a/blake2/src/consts.rs
+++ b/blake2/src/consts.rs
@@ -1,4 +1,4 @@
-#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
+#![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))]
pub static SIGMA :... | 12 | 16 | 17 |
9695573914ad96f234ecabf9ecee2dbb3a6a36ed | Jack Lloyd | 2019-11-06T11:46:27 | Fix an overflow in Streebog causing panic or incorrect output (#91) | diff --git a/streebog/src/streebog.rs b/streebog/src/streebog.rs
index 8660d58..ae02c67 100644
--- a/streebog/src/streebog.rs
+++ b/streebog/src/streebog.rs
@@ -61,12 +61,10 @@ impl StreebogState {
}
fn update_sigma(&mut self, m: &Block) {
- let mut over = false;
+ let mut carry = 0;
... | 1 | 3 | 5 |
7f3080be055b2feef44c408870654619eb14524f | newpavlov | 2019-08-25T22:36:17 | fix block sizes for blake2 hashes | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index b7bcc7a..5bcf08c 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "blake2"
-version = "0.8.0"
+version = "0.8.1"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "BLAKE2 hash functions"
di... | 4 | 8 | 8 |
526cc6e9fda3b31b7f19e28e20def26afa42bd45 | newpavlov | 2019-04-24T13:48:00 | add sha3 docs | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index ab1e968..cdfb74e 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.8.1"
+version = "0.8.2"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "SHA-3 (Keccak) hash function"
diff ... | 2 | 24 | 12 |
2d6379d3fabeea639fa8cc6f5e94b46ec0303b5e | Felix Rabe | 2019-04-23T20:47:23 | Turn Keccak256Full comment into docs (#81) | diff --git a/sha3/src/lib.rs b/sha3/src/lib.rs
index 6406428..1dd01a8 100644
--- a/sha3/src/lib.rs
+++ b/sha3/src/lib.rs
@@ -68,18 +68,17 @@ mod state;
pub use reader::Sha3XofReader;
use state::Sha3State;
-sha3_impl!(Keccak224, U28, U144, paddings::Keccak);
-sha3_impl!(Keccak256, U32, U136, paddings::Keccak);
-sha3... | 2 | 17 | 17 |
2ce0db9759c474afbf1844325cf921020db77a03 | bold | 2019-03-26T16:42:09 | Make it run with rust 1.21 | diff --git a/shabal/src/shabal.rs b/shabal/src/shabal.rs
index 76f82f1..602d76f 100644
--- a/shabal/src/shabal.rs
+++ b/shabal/src/shabal.rs
@@ -3,9 +3,8 @@ use block_buffer::byteorder::{ByteOrder, LE};
use block_buffer::BlockBuffer;
use digest::generic_array::typenum::{U24, U28, U32, U48, U64};
use digest::generic_... | 1 | 2 | 3 |
f4834ae5424f77d29d16595633ff0db771ee6fac | bold | 2019-03-17T20:24:39 | Remove unused unsafe | diff --git a/shabal/src/shabal.rs b/shabal/src/shabal.rs
index 9f5b0da..76f82f1 100644
--- a/shabal/src/shabal.rs
+++ b/shabal/src/shabal.rs
@@ -76,7 +76,7 @@ impl EngineState {
}
#[inline]
- unsafe fn perm(&mut self, m: &[u32; 16]) {
+ fn perm(&mut self, m: &[u32; 16]) {
for b in self.b.iter... | 1 | 5 | 5 |
6bc31b36e0dadea1ecd7ad4072b15dcb65a9fc26 | Martin Pool | 2018-12-03T07:17:55 | Fix typo in docs (#66) | diff --git a/blake2/src/lib.rs b/blake2/src/lib.rs
index 4f48b48..6d645d6 100644
--- a/blake2/src/lib.rs
+++ b/blake2/src/lib.rs
@@ -54,7 +54,7 @@
//!
//! ## Message Authentication Code (MAC)
//!
-//! BLAKE2 can be used as a MAC without any additionall constructs:
+//! BLAKE2 can be used as a MAC without any additio... | 1 | 1 | 1 |
0c4d69230b41872f70408111a61fdde26d770fbc | newpavlov | 2018-10-11T14:46:07 | split variable hashes to separate types | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 699f3eb..47e85bd 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -1,6 +1,9 @@
macro_rules! blake2_impl {
- ($state:ident, $word:ident, $vec:ident, $bytes:ident,
- $R1:expr, $R2:expr, $R3:expr, $R4:expr, $IV:expr) => {
+ (
+ ... | 5 | 82 | 35 |
b0d27c06634fa1950bc2aae5ffcf3b7f323b918f | Артём Павлов [Artyom Pavlov] | 2018-04-30T16:16:28 | blake2 v0.7.1 | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index e624a6d..f4f1724 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "blake2"
-version = "0.7.0"
+version = "0.7.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "BLAKE2 hash functions" | 1 | 1 | 1 |
fde0104afbd8a308de0645c5e787bae9f7925994 | David Reid | 2018-04-30T16:15:19 | Use absolute imports for blake2 simd submodules. (#53) | diff --git a/blake2/src/lib.rs b/blake2/src/lib.rs
index 0df49ef..4a7835a 100644
--- a/blake2/src/lib.rs
+++ b/blake2/src/lib.rs
@@ -80,7 +80,6 @@
#![warn(missing_docs)]
#![cfg_attr(feature = "simd", feature(platform_intrinsics, repr_simd))]
-#![cfg_attr(feature = "simd_opt", feature(cfg_target_feature))]
#![cfg_a... | 5 | 8 | 9 |
5d3c9f3d1a6ea204d0f76eba58f4ed48ad432b78 | newpavlov | 2018-04-27T08:28:05 | asm feature bugfix | diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml
index e42d0d3..ac448d2 100644
--- a/sha2/Cargo.toml
+++ b/sha2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha2"
-version = "0.7.0"
+version = "0.7.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "SHA-2 hash functions"
@@ -14,7 +14,7 @... | 3 | 21 | 8 |
4627025e22d25693e5d448e372342ed24a61362b | newpavlov | 2018-03-27T16:59:59 | use keccak crate in sha3 | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index 4c7e9b8..1d4c91c 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.7.2"
+version = "0.7.3"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash function"
@@ -13,6... | 5 | 7 | 128 |
9587ec27f2b21e30e493ce90749e581043a74bd0 | Артём Павлов [Artyom Pavlov] | 2017-11-18T11:42:00 | return no_std to sha3 | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index bf31114..4c7e9b8 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.7.1"
+version = "0.7.2"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash function"
diff --g... | 2 | 2 | 5 |
5a5688c2b866cbf364d7e3aafff9dac7151a8579 | newpavlov | 2017-11-17T17:03:06 | sha3 improvements. fixed #42 | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index 94b4fa9..bf31114 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.7.0"
+version = "0.7.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash function"
diff --g... | 5 | 66 | 77 |
45ae730a76d15fc3ef0d5785bcdab054f1af2f55 | newpavlov | 2017-11-15T15:55:59 | replaced wildcard digest dev-dependency | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index fcaf4b7..e624a6d 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -15,8 +15,8 @@ byte-tools = "0.2"
crypto-mac = "0.5"
[dev-dependencies]
-digest = { version = "*", features = ["dev"] }
-crypto-mac = { version = "*", features = ["dev"] }
+digest = { ... | 12 | 13 | 13 |
e0611ea0d18493d099227b921e76539df589c4e0 | newpavlov | 2017-11-15T15:47:59 | removed Copy derive | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 16e2a44..45c8c75 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -15,7 +15,7 @@ macro_rules! blake2_impl {
type Output = GenericArray<u8, $bytes>;
/// Hash function context.
- #[derive(Copy, Clone)]
+ #[deri... | 1 | 1 | 1 |
c56282a8020f091e631165d2e1fa9de590303b03 | newpavlov | 2017-11-15T15:44:57 | blake2 doc updates | diff --git a/blake2/src/lib.rs b/blake2/src/lib.rs
index f78dac2..0df49ef 100644
--- a/blake2/src/lib.rs
+++ b/blake2/src/lib.rs
@@ -1,16 +1,16 @@
//! An implementation of the [BLAKE2][1] hash functions.
//!
-//! Based on the [work][2] of Cesar Barros.
+//! Based on the [blake2-rfc][2] crate.
//!
//! # Usage
//!
-... | 1 | 50 | 8 |
7198fe1028c1246074e84c3cb28da6d199c86936 | newpavlov | 2017-11-15T08:29:15 | hashes v0.7.0, removed patches | diff --git a/Cargo.toml b/Cargo.toml
index 97f2a9e..8eb1538 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,9 +13,3 @@ members = [
"streebog",
"whirlpool",
]
-
-[patch.crates-io]
-digest = { git = "https://github.com/RustCrypto/traits" }
-crypto-mac = { git = "https://github.com/RustCrypto/traits" }
-block-c... | 1 | 0 | 6 |
0b414303afd362c99f3fe65cfe374c26e3206d1f | newpavlov | 2017-11-14T17:33:15 | deprecation of crypto-tests | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index 3cf819a..fcaf4b7 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "blake2"
-version = "0.6.1"
+version = "0.7.0"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "BLAKE2 hash functions"
@@ -1... | 43 | 73 | 73 |
35d67388a707c89d293bda5259295bcc5e41dea2 | newpavlov | 2017-11-09T10:20:45 | added opaque debug impl to balke2 | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 806c4fa..16e2a44 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -15,7 +15,7 @@ macro_rules! blake2_impl {
type Output = GenericArray<u8, $bytes>;
/// Hash function context.
- #[derive(Copy, Clone, Debug)]
+ ... | 2 | 4 | 1 |
af9975dab52d5ce967c846ee1606b29d433ebba3 | newpavlov | 2017-11-09T09:53:48 | updated blake2 to new MAC trait | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 407304b..806c4fa 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -10,7 +10,7 @@ macro_rules! blake2_impl {
use core::cmp;
use byte_tools::{copy_memory, zero};
use digest;
- use crypto_mac::{Mac, MacResult};
... | 1 | 8 | 2 |
0aa4e0c0420448e2a0c8442a21a3675fe759274a | newpavlov | 2017-11-09T08:27:54 | blake2 code reorganization | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 5129433..407304b 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -3,13 +3,12 @@ macro_rules! blake2_impl {
$R1:expr, $R2:expr, $R3:expr, $R4:expr, $IV:expr) => {
use $crate::as_bytes::AsBytes;
- use $crate::bytes::Byt... | 10 | 18 | 60 |
1a5ccc0e73ef8b95e4c5697daea3e6346c2ebdb3 | Артём Павлов [Artyom Pavlov] | 2017-11-04T17:47:40 | Return of no_std | diff --git a/streebog/src/lib.rs b/streebog/src/lib.rs
index f59a813..e00b0e0 100644
--- a/streebog/src/lib.rs
+++ b/streebog/src/lib.rs
@@ -28,7 +28,7 @@
//! let result = hasher.result();
//! ```
-//#![no_std]
+#![no_std]
extern crate block_buffer;
extern crate byte_tools;
#[macro_use]
@@ -36,7 +36,6 @@ extern ... | 1 | 1 | 2 |
18b9cd0dbf73ebf786a88a1ede7dea11b89e8fb6 | newpavlov | 2017-11-02T10:53:50 | Simplified ripemd160 a bit | diff --git a/ripemd160/src/lib.rs b/ripemd160/src/lib.rs
index 5e07e78..f14c892 100644
--- a/ripemd160/src/lib.rs
+++ b/ripemd160/src/lib.rs
@@ -23,14 +23,6 @@ pub struct Ripemd160 {
buffer: BlockBuffer512,
}
-impl Ripemd160 {
- fn finalize(&mut self) {
- let h = &mut self.h;
- let l = self.len... | 1 | 5 | 10 |
a318f12fcacb43fa2190cdb8e5c4c66df687718c | newpavlov | 2017-11-02T10:31:31 | SHA-2 fix for BE arch | diff --git a/sha2/src/sha256.rs b/sha2/src/sha256.rs
index 48e39f6..6de9c6c 100644
--- a/sha2/src/sha256.rs
+++ b/sha2/src/sha256.rs
@@ -49,14 +49,16 @@ impl Engine256 {
fn input(&mut self, input: &[u8]) {
// Assumes that input.len() can be converted to u64 without overflow
- self.len += input.le... | 2 | 13 | 5 |
c0b943df17cf9bfb63bfc79fb0ebb6e6291a5ef6 | newpavlov | 2017-11-02T10:16:01 | removed unnec. mut | diff --git a/groestl/src/groestl.rs b/groestl/src/groestl.rs
index 4336949..25d737f 100644
--- a/groestl/src/groestl.rs
+++ b/groestl/src/groestl.rs
@@ -55,7 +55,7 @@ impl<BlockSize> Groestl<BlockSize>
pub fn finalize(mut self) -> GenericArray<u8, BlockSize> {
let state = &mut self.state;
- let m... | 1 | 1 | 1 |
25aa50f0a609393e2f259a21d50cc1fd29603918 | newpavlov | 2017-11-02T10:13:53 | Fixed sha1 on BE arch | diff --git a/sha1/src/lib.rs b/sha1/src/lib.rs
index 0bc9162..c284872 100644
--- a/sha1/src/lib.rs
+++ b/sha1/src/lib.rs
@@ -106,8 +106,10 @@ impl digest::FixedOutput for Sha1 {
fn fixed_result(mut self) -> GenericArray<u8, Self::OutputSize> {
{
let state = &mut self.h;
- let len_b... | 1 | 4 | 2 |
9b6b7dd1ca62b61ee81bc94481db613ffbcf7881 | newpavlov | 2017-11-02T09:59:19 | removed leftover println | diff --git a/groestl/src/groestl.rs b/groestl/src/groestl.rs
index 3789768..4336949 100644
--- a/groestl/src/groestl.rs
+++ b/groestl/src/groestl.rs
@@ -53,7 +53,6 @@ impl<BlockSize> Groestl<BlockSize>
);
}
-
pub fn finalize(mut self) -> GenericArray<u8, BlockSize> {
let state = &mut self.... | 1 | 1 | 5 |
bac4beeaaeceba2bce2c27d63a85c35ed1fcfd2f | newpavlov | 2017-11-02T09:41:03 | Groestl fix for BE arch. Fixes #41 | diff --git a/groestl/src/groestl.rs b/groestl/src/groestl.rs
index 60170d2..3789768 100644
--- a/groestl/src/groestl.rs
+++ b/groestl/src/groestl.rs
@@ -53,14 +53,20 @@ impl<BlockSize> Groestl<BlockSize>
);
}
+
pub fn finalize(mut self) -> GenericArray<u8, BlockSize> {
let state = &mut sel... | 2 | 9 | 3 |
ee4338de8e63b5cffda220ab9e5d3f5744c47d1b | Артём Павлов [Artyom Pavlov] | 2017-11-01T08:34:37 | Fixed to_be() conversion | diff --git a/groestl/src/groestl.rs b/groestl/src/groestl.rs
index cfd7c01..60170d2 100644
--- a/groestl/src/groestl.rs
+++ b/groestl/src/groestl.rs
@@ -60,7 +60,7 @@ impl<BlockSize> Groestl<BlockSize>
} else {
state.num_blocks + 1
};
- self.buffer.len_padding(l.to_be() as u64, |b|... | 1 | 1 | 1 |
892a3f5d0d62c53458adfb951ae4e47ebad563ed | Артём Павлов [Artyom Pavlov] | 2017-11-01T08:22:51 | Fixed a bug in update_n | diff --git a/gost94/src/gost94.rs b/gost94/src/gost94.rs
index 65023bb..5955197 100644
--- a/gost94/src/gost94.rs
+++ b/gost94/src/gost94.rs
@@ -176,10 +176,10 @@ impl Gost94State {
}
fn update_n(&mut self, len: usize) {
- let (res, over) = self.n[0].overflowing_add((len << 3) as u64);
+ let (... | 1 | 2 | 2 |
dc6573c4422b24f87cc906535d257d3ebb517222 | Артём Павлов [Artyom Pavlov] | 2017-10-31T06:35:12 | update to digest v0.7 | diff --git a/Cargo.toml b/Cargo.toml
index c6c6efb..97f2a9e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,5 +16,6 @@ members = [
[patch.crates-io]
digest = { git = "https://github.com/RustCrypto/traits" }
+crypto-mac = { git = "https://github.com/RustCrypto/traits" }
block-cipher-trait = { git = "https://github.... | 6 | 8 | 9 |
489462a4a674ec10cfbc9f2d1116dd858a16b2ec | Артём Павлов [Artyom Pavlov] | 2017-10-31T06:20:38 | Added opaque Debug impl | diff --git a/groestl/src/lib.rs b/groestl/src/lib.rs
index 0d9cd3e..b25dde9 100755
--- a/groestl/src/lib.rs
+++ b/groestl/src/lib.rs
@@ -21,6 +21,7 @@
#![no_std]
extern crate byte_tools;
+#[macro_use]
extern crate digest;
extern crate block_buffer;
diff --git a/groestl/src/macros.rs b/groestl/src/macros.rs
inde... | 2 | 4 | 0 |
5ad5be1a198f7fb6a98219c0e50f60e6a49c30e9 | Артём Павлов [Artyom Pavlov] | 2017-10-31T06:16:17 | groestl update to digest v0.7 | diff --git a/groestl/Cargo.toml b/groestl/Cargo.toml
index efb3f37..b2036e7 100644
--- a/groestl/Cargo.toml
+++ b/groestl/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "groestl"
version = "0.3.0"
-authors = ["The Rust-Crypto Project Developers"]
+authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
descrip... | 7 | 28 | 29 |
e67da1a73cf8f072321ece6ee719b35548688036 | Артём Павлов [Artyom Pavlov] | 2017-10-30T05:52:03 | whirlpool update to digest v0.7 | diff --git a/whirlpool/Cargo.toml b/whirlpool/Cargo.toml
index 4f4ce91..b1bff92 100644
--- a/whirlpool/Cargo.toml
+++ b/whirlpool/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "whirlpool"
-version = "0.6.0"
+version = "0.7.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "... | 3 | 14 | 15 |
352077ce25d09db989d1be93c49579fd419b6e77 | Артём Павлов [Artyom Pavlov] | 2017-10-30T05:41:34 | streebog update to digest v0.7 | diff --git a/streebog/Cargo.toml b/streebog/Cargo.toml
index b32f0e0..ec8c0af 100644
--- a/streebog/Cargo.toml
+++ b/streebog/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "streebog"
-version = "0.5.0"
+version = "0.6.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "Stree... | 3 | 26 | 27 |
15bb634c67e58d130d8085dffb9aee8454ece8d4 | Артём Павлов [Artyom Pavlov] | 2017-10-30T04:55:20 | Small improvements | diff --git a/sha3/src/lib.rs b/sha3/src/lib.rs
index 2aadbac..b0f7997 100644
--- a/sha3/src/lib.rs
+++ b/sha3/src/lib.rs
@@ -32,6 +32,7 @@
#![no_std]
extern crate byte_tools;
+#[macro_use]
extern crate digest;
extern crate block_buffer;
@@ -45,111 +46,20 @@ use digest::generic_array::typenum::{
U28, U32, U... | 4 | 112 | 99 |
17771525f26c5f58a04badef8a69a681ba9ad381 | Артём Павлов [Artyom Pavlov] | 2017-10-30T04:44:54 | sha3 update to digest v0.7 | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index db14943..4e2e9d7 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.6.0"
+version = "0.7.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash funct... | 4 | 95 | 101 |
2a0a122d79a9ee33adbd3c7f7c0956bfa62028cd | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:46:02 | sha2 version bump | diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml
index 428db8f..1822776 100644
--- a/sha2/Cargo.toml
+++ b/sha2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha2"
-version = "0.6.0"
+version = "0.7.0"
authors = ["The RustCrypto Devs"]
license = "MIT/Apache-2.0"
description = "SHA-2 hash functions" | 1 | 1 | 1 |
d765db056af1edc7e16c9e041ac3c402b2ec87bb | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:44:48 | sha2 update to digest v0.7 | diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml
index 5d3b089..428db8f 100644
--- a/sha2/Cargo.toml
+++ b/sha2/Cargo.toml
@@ -10,15 +10,14 @@ keywords = ["crypto", "sha2", "hash", "digest"]
categories = ["cryptography", "no-std"]
[dependencies]
-digest = "0.6"
-generic-array = "0.8"
+digest = "0.7"
byte-tools = "0.... | 4 | 37 | 30 |
3ef291f107b7ec639e239a4f48974487f26e890e | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:24:01 | sha1 update to digest v0.7 | diff --git a/sha1/Cargo.toml b/sha1/Cargo.toml
index 48ea37e..c9afc7e 100644
--- a/sha1/Cargo.toml
+++ b/sha1/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha-1"
-version = "0.4.1"
+version = "0.5.0"
authors = ["The RustCrypto Devs"]
license = "MIT/Apache-2.0"
description = "SHA-1 hash function"
@@ -9,21 +9,21 @@ ... | 5 | 27 | 53 |
37522ea0acd8bc1b27a4357b063c340bca2c6e4a | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:14:36 | Small improvements | diff --git a/ripemd160/src/block.rs b/ripemd160/src/block.rs
index a96a94d..34a4480 100644
--- a/ripemd160/src/block.rs
+++ b/ripemd160/src/block.rs
@@ -1,19 +1,18 @@
use byte_tools::{read_u32v_le};
-use ::Block;
pub const DIGEST_BUF_LEN: usize = 5;
pub const WORK_BUF_LEN: usize = 16;
-fn circular_shift(bits: u3... | 2 | 8 | 11 |
aac966782c860400a116812a1e36553e748f209c | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:09:17 | ripemd160 update to digest v0.7 | diff --git a/ripemd160/Cargo.toml b/ripemd160/Cargo.toml
index 3976fae..b0b757b 100644
--- a/ripemd160/Cargo.toml
+++ b/ripemd160/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ripemd160"
-version = "0.6.0"
+version = "0.7.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "... | 2 | 14 | 14 |
05f067620d76fe4f16593b4543c0d8f6a43a7160 | Артём Павлов [Artyom Pavlov] | 2017-10-30T03:03:47 | md5 update to digest v0.7 | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index d20b903..a95c2c2 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md-5"
-version = "0.5.2"
+version = "0.6.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
@@ -9,20 +... | 5 | 14 | 20 |
f93d6094223650a7f72c0dbd08984aca44ca5522 | Артём Павлов [Artyom Pavlov] | 2017-10-30T02:58:14 | small improvement | diff --git a/md4/src/lib.rs b/md4/src/lib.rs
index 42b1d7e..0100898 100644
--- a/md4/src/lib.rs
+++ b/md4/src/lib.rs
@@ -119,10 +119,9 @@ impl digest::BlockInput for Md4 {
impl digest::Input for Md4 {
fn process(&mut self, input: &[u8]) {
// 2^64 - ie: integer overflow is OK.
- self.length_bytes +... | 1 | 2 | 3 |
36c90e3965d6d7ce970a3bd8d38f74a8ed18cd57 | Артём Павлов [Artyom Pavlov] | 2017-10-30T02:55:49 | md4 update to digest v0.7 | diff --git a/md4/Cargo.toml b/md4/Cargo.toml
index 6b127dd..24bdc1a 100644
--- a/md4/Cargo.toml
+++ b/md4/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md4"
-version = "0.6.0"
+version = "0.7.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD4 hash function"
@@ -10,14 +... | 2 | 15 | 14 |
9e90591d1d84fa3cb777b242e6eac745bde89826 | Артём Павлов [Artyom Pavlov] | 2017-10-30T02:50:44 | md2 update to digest v0.7 | diff --git a/md2/Cargo.toml b/md2/Cargo.toml
index 183f858..7fc9ee4 100644
--- a/md2/Cargo.toml
+++ b/md2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md2"
-version = "0.3.0"
+version = "0.4.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD2 hash function"
@@ -10,13 +... | 2 | 24 | 24 |
0cf689464059b11d0f9697cb9d2b5bcf8d23acad | Артём Павлов [Artyom Pavlov] | 2017-10-30T02:30:57 | gost94 update to digest v0.7 | diff --git a/Cargo.toml b/Cargo.toml
index 8eb1538..c6c6efb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,3 +13,8 @@ members = [
"streebog",
"whirlpool",
]
+
+[patch.crates-io]
+digest = { git = "https://github.com/RustCrypto/traits" }
+block-cipher-trait = { git = "https://github.com/RustCrypto/traits" }
... | 5 | 32 | 25 |
fba6ea8bb6c2dbee016253725c8744b36a6e50b6 | Артём Павлов [Artyom Pavlov] | 2017-10-18T23:27:36 | panic! -> unreachable! | diff --git a/sha1/src/utils.rs b/sha1/src/utils.rs
index 8aff9e8..7c218ae 100644
--- a/sha1/src/utils.rs
+++ b/sha1/src/utils.rs
@@ -63,7 +63,7 @@ fn sha1_digest_round_x4(abcd: u32x4, work: u32x4, i: i8) -> u32x4 {
1 => sha1rnds4p(abcd, work + K1V),
2 => sha1rnds4m(abcd, work + K2V),
3 => sha... | 1 | 1 | 1 |
6738f1e01001014eb0e9c08ee9c7ccfa02ee5adb | Kyle Galloway | 2017-10-18T23:25:32 | Minor updates to codestyle (#39) | diff --git a/blake2/src/blake2.rs b/blake2/src/blake2.rs
index 9b7994c..23c6d67 100644
--- a/blake2/src/blake2.rs
+++ b/blake2/src/blake2.rs
@@ -71,7 +71,7 @@ macro_rules! blake2_impl {
let kk = k.len();
assert!(kk <= $bytes::to_usize());
- let p0 = 0x01010000 ^ ((kk a... | 24 | 70 | 39 |
b0124de74d733e98fff4d9ce5d937b11cfbf46c8 | Артём Павлов [Artyom Pavlov] | 2017-07-24T06:50:45 | Disable VariableOutput for blake2 | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index 2030943..2b8498d 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "blake2"
-version = "0.6.0"
-authors = ["The Rust-Crypto Project Developers"]
+version = "0.6.1"
+authors = ["RustCrypto Developers"]
license = "MIT/Apache... | 2 | 4 | 2 |
bcc022861431d1e5e2dab83c99c1b0c299b52154 | Артём Павлов [Artyom Pavlov] | 2017-06-17T12:41:16 | Minor change in whirpool compression function | diff --git a/whirlpool/src/utils.rs b/whirlpool/src/utils.rs
index 2aad0f6..60839d0 100644
--- a/whirlpool/src/utils.rs
+++ b/whirlpool/src/utils.rs
@@ -1,29 +1,22 @@
use generic_array::GenericArray;
use super::BlockSize;
use consts::*;
-use core::mem::uninitialized;
+use byte_tools::read_u64v_be;
pub fn compress... | 1 | 10 | 17 |
8d79a29eee0d2bfca02d8088883d5e3b0064a5a9 | Artyom Pavlov | 2017-06-13T10:01:10 | Nongeneric md5 fix | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 7bb9f25..d20b903 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md-5"
-version = "0.5.1"
+version = "0.5.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
diff --git... | 2 | 3 | 3 |
d274739d0e2c973b6f8b7888f31fd3163690087e | Artyom Pavlov | 2017-06-13T09:50:43 | Non-generic versions for md5 and sha1 | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 3bce1d0..7bb9f25 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md-5"
-version = "0.5.0"
+version = "0.5.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
@@ -10,17 ... | 5 | 108 | 59 |
5b773b12c20907f54f12c335e8b50a285376d53b | Артём Павлов [Artyom Pavlov] | 2017-06-02T20:19:25 | md5 Rust 1.13 compatability. Fixes #26 | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 302845c..bb81662 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md-5"
-version = "0.4.3"
+version = "0.4.4"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
diff --git... | 2 | 2 | 2 |
c1169da80113d47e96010f03b9a4bb2c8a3d5fbb | Артём Павлов [Artyom Pavlov] | 2017-05-31T18:13:29 | SHA-3 optimizations and padding code simplification | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index 3afc891..00f9aa4 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.5.2"
+version = "0.5.3"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash funct... | 3 | 97 | 131 |
790c0d964334711f11c7b55360592ec73efa59b4 | Артём Павлов [Artyom Pavlov] | 2017-05-30T20:39:05 | SHA-3 optimizations and Rust 1.13 compatability | diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml
index 52fbad4..3afc891 100644
--- a/sha3/Cargo.toml
+++ b/sha3/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha3"
-version = "0.5.1"
+version = "0.5.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "SHA-3 (Keccak) hash funct... | 5 | 159 | 93 |
a5b49590065f941fc217e7344fe71c38521d9c72 | Артём Павлов [Artyom Pavlov] | 2017-05-17T07:12:28 | Added MAC impl for blake2 | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index 8940940..2317be5 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "blake2"
-version = "0.5.1"
+version = "0.5.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "BLAKE2 hash fun... | 4 | 20 | 13 |
41743060a8ed46e7c2d75dbf627404b5e0ce8383 | Артём Павлов [Artyom Pavlov] | 2017-05-09T05:27:25 | Added asm feature to md5, sha1, sha2, whirlpool | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 06c857d..302845c 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -14,9 +14,13 @@ digest = "0.5"
generic-array = "0.7"
byte-tools = "0.1"
digest-buffer = "0.3"
+md5-asm = {version="0.2", optional=true}
[dev-dependencies]
crypto-tests = "0.4"
+[features]
+as... | 18 | 283 | 214 |
3b909f1d3009faaab8bf329d74b548e74f499191 | Артём Павлов [Artyom Pavlov] | 2017-05-02T05:35:43 | Revert renaming | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 8e3a377..a0faedb 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,6 +1,6 @@
[package]
-name = "md5"
-version = "0.5.0"
+name = "md-5"
+version = "0.4.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash functi... | 9 | 11 | 11 |
c49b5a507645efc9651814d857ae2035dd6a1695 | Артём Павлов [Artyom Pavlov] | 2017-05-02T05:20:08 | Removed patch version requirements and changed names for md5 and sha1 | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index 3425a7b..8940940 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "blake2"
-version = "0.5.0"
+version = "0.5.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "BLAKE2 hash fun... | 19 | 55 | 55 |
08ca4f5eae94c699f05f64334c3a774838a4ba1d | Артём Павлов [Artyom Pavlov] | 2017-04-18T07:28:37 | Fixed doc links | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 1504110..7211c2f 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "md-5"
-version = "0.4.0"
+version = "0.4.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
-documen... | 2 | 4 | 4 |
e0e9ab8300048f801fc4532e37463f27fb9b8c8f | Артём Павлов [Artyom Pavlov] | 2017-03-05T14:11:53 | Workspace improvement | diff --git a/.workspace.rs b/.workspace.rs
deleted file mode 100644
index e69de29..0000000
diff --git a/Cargo.toml b/Cargo.toml
index 9b9cae8..b860010 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,23 +1,15 @@
-[package]
-name = "workspace"
-version = "0.0.0"
-description = "This crate used for workspace only"
-
-[lib]... | 2 | 14 | 22 |
626a8d0bea2c1a66957223c14d653503cb188abb | Артём Павлов [Artyom Pavlov] | 2017-03-05T13:50:49 | Replaced panic! with unreachable! | diff --git a/streebog/src/streebog.rs b/streebog/src/streebog.rs
index f54143e..810c684 100644
--- a/streebog/src/streebog.rs
+++ b/streebog/src/streebog.rs
@@ -102,7 +102,7 @@ impl<N> Streebog<N> where N: ArrayLength<u8> + Copy {
for x in block.iter_mut() { *x = 1 }
block
... | 1 | 1 | 1 |
9cb03083a5e2dd610a68904a675318d2e63f073c | Артём Павлов [Artyom Pavlov] | 2017-03-02T14:51:18 | Added no-std category | diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml
index 89a8a0c..2ea16f4 100644
--- a/blake2/Cargo.toml
+++ b/blake2/Cargo.toml
@@ -7,6 +7,7 @@ description = "BLAKE2 hash functions"
documentation = "https://docs.rs/blake2"
repository = "https://github.com/RustCrypto/hashes"
keywords = ["crypto", "blake2", "hash", "... | 12 | 12 | 11 |
c3a3a4e14b4825008aa58d9b8643f61680e08ed5 | Артём Павлов [Artyom Pavlov] | 2017-01-23T15:01:31 | Added workspace | diff --git a/.workspace.rs b/.workspace.rs
new file mode 100644
index 0000000..e69de29
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..d10d504
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,23 @@
+[package]
+name = "workspace"
+version = "0.0.0"
+description = "This crate used for workspace only"
+
... | 2 | 23 | 0 |
d188e40e145e5df1ac2a608af12ef7309ba55970 | Артём Павлов [Artyom Pavlov] | 2017-01-23T13:17:08 | Added doc link for sha2 | diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml
index 7932491..6e91acf 100644
--- a/sha2/Cargo.toml
+++ b/sha2/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "sha2"
-version = "0.4.1"
+version = "0.4.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "SHA-2 hash functions"
-... | 1 | 2 | 2 |
6436e5711e4e5cd70685a66e419304a1494b06bd | Артём Павлов [Artyom Pavlov] | 2017-01-23T06:35:26 | Typo fix | diff --git a/groestl/Cargo.toml b/groestl/Cargo.toml
index 13ad036..eb3f584 100644
--- a/groestl/Cargo.toml
+++ b/groestl/Cargo.toml
@@ -3,7 +3,7 @@ name = "groestl"
version = "0.1.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
-description = "Grostl hash function"
+description = "Grø... | 1 | 1 | 1 |
7117487fef1932701886079dd41c6c8bc29386b3 | Артём Павлов [Artyom Pavlov] | 2017-01-20T16:42:17 | Added category and badge to Cargo.toml | diff --git a/md2/Cargo.toml b/md2/Cargo.toml
index 12811dd..17757c6 100644
--- a/md2/Cargo.toml
+++ b/md2/Cargo.toml
@@ -1,12 +1,13 @@
[package]
name = "md2"
-version = "0.1.1"
+version = "0.1.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD2 hash function"
document... | 9 | 43 | 7 |
e3cb72532e637cb70101192251f0484aaf2a2f06 | Артём Павлов [Artyom Pavlov] | 2017-01-20T16:33:34 | Category test | diff --git a/gost94/Cargo.toml b/gost94/Cargo.toml
index fe54e46..77ba31c 100644
--- a/gost94/Cargo.toml
+++ b/gost94/Cargo.toml
@@ -1,12 +1,13 @@
[package]
name = "gost94"
-version = "0.2.0"
+version = "0.2.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "GOST R 34.11-... | 1 | 5 | 1 |
ebea63acf867f01af58049137d1477cc7c6d2b04 | Артём Павлов [Artyom Pavlov] | 2016-12-25T02:19:11 | Updated SHA hashes to digest-buffer 0.2 | diff --git a/sha1/Cargo.toml b/sha1/Cargo.toml
index 219d41d..7d1211e 100644
--- a/sha1/Cargo.toml
+++ b/sha1/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sha1"
-version = "0.1.0"
+version = "0.3.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "SHA-1 hash function"
@@ -... | 10 | 53 | 50 |
8f28469257470f3ba49b5860d296540e5511a629 | Артём Павлов [Artyom Pavlov] | 2016-12-25T01:33:31 | Updated streebog and whirlpool to digest-buffer 0.2 | diff --git a/streebog/Cargo.toml b/streebog/Cargo.toml
index 29d6b1d..4e1feea 100644
--- a/streebog/Cargo.toml
+++ b/streebog/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "streebog"
-version = "0.2.2"
+version = "0.3.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "Stree... | 4 | 44 | 41 |
d0f59061e810af4bc3f30edca5b958eeef708b17 | Артём Павлов [Artyom Pavlov] | 2016-12-24T23:55:09 | Updated ripemd160 to digest-buffer 0.2 | diff --git a/ripemd160/Cargo.toml b/ripemd160/Cargo.toml
index 51865e2..c39d0b0 100644
--- a/ripemd160/Cargo.toml
+++ b/ripemd160/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ripemd160"
-version = "0.3.0"
+version = "0.4.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "... | 3 | 11 | 19 |
b585ba084a55553b7abc1a3a785b5ec30b9266bf | Артём Павлов [Artyom Pavlov] | 2016-12-24T23:49:02 | Updated md5 to digest-buffer 0.2 | diff --git a/md5/Cargo.toml b/md5/Cargo.toml
index 12008a8..731da4c 100644
--- a/md5/Cargo.toml
+++ b/md5/Cargo.toml
@@ -5,15 +5,15 @@ authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD5 hash function"
documentation = "https://docs.rs/md5"
-repository = "https://github.com/... | 2 | 11 | 11 |
30ccc6287a8b40bb9b0f86018d0bfa50bc78251c | Артём Павлов [Artyom Pavlov] | 2016-12-24T23:44:36 | Updated md4 to digest-buffer 0.2 | diff --git a/md4/Cargo.toml b/md4/Cargo.toml
index 33ade94..94812f5 100644
--- a/md4/Cargo.toml
+++ b/md4/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "md4"
-version = "0.3.1"
+version = "0.4.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "MD4 hash function"
@@ -9,11 +9... | 2 | 11 | 10 |
274f72ddc16bdced4a9d141f7e8d55fb7f8cb56b | Артём Павлов [Artyom Pavlov] | 2016-12-24T23:36:53 | Updated gost94 to digest-buffer 0.2 | diff --git a/gost94/Cargo.toml b/gost94/Cargo.toml
index 17df56c..fe54e46 100644
--- a/gost94/Cargo.toml
+++ b/gost94/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "gost94"
-version = "0.1.1"
+version = "0.2.0"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "GOST R 34.11-94... | 6 | 30 | 34 |
2349540890d3ddcc4dbc8acd77f5e4d83e0b39cb | Артём Павлов [Artyom Pavlov] | 2016-12-24T23:25:39 | Updated utils to generic-array 0.6, changed behavior of digest-buffer | diff --git a/utils/digest-buffer/Cargo.toml b/utils/digest-buffer/Cargo.toml
index 7abc5b1..1004add 100644
--- a/utils/digest-buffer/Cargo.toml
+++ b/utils/digest-buffer/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "digest-buffer"
-version = "0.1.2"
+version = "0.2.0"
authors = ["The Rust-Crypto Project Developers"]
... | 3 | 13 | 10 |
93b3fb70c449a5365cd6ddbcf0dc044f000a4020 | Артём Павлов [Artyom Pavlov] | 2016-11-24T08:45:12 | gost94 fix for stable rust | diff --git a/gost94/Cargo.toml b/gost94/Cargo.toml
index 78add40..17df56c 100644
--- a/gost94/Cargo.toml
+++ b/gost94/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "gost94"
-version = "0.1.0"
+version = "0.1.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "GOST R 34.11-94... | 4 | 4 | 4 |
f06e5802f03c60083fe635bc8f4f8982bf5aaee3 | Артём Павлов [Artyom Pavlov] | 2016-11-21T19:00:41 | Added test for streebog's SHUFFLED_LIN_TABLE, bumped patch version | diff --git a/streebog/Cargo.toml b/streebog/Cargo.toml
index 23fe47b..29d6b1d 100644
--- a/streebog/Cargo.toml
+++ b/streebog/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "streebog"
-version = "0.2.1"
+version = "0.2.2"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "Stree... | 3 | 48 | 27 |
24c92579ed7e70d6c0f6b6b199bddffa67fd67f4 | Артём Павлов [Artyom Pavlov] | 2016-11-21T18:40:21 | Streebog patch version bump | diff --git a/streebog/Cargo.toml b/streebog/Cargo.toml
index a28a4e9..23fe47b 100644
--- a/streebog/Cargo.toml
+++ b/streebog/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "streebog"
-version = "0.2.0"
+version = "0.2.1"
authors = ["The Rust-Crypto Project Developers"]
license = "MIT/Apache-2.0"
description = "Stree... | 1 | 1 | 1 |
9fb5c1c2498d1deebe0e6bbe305ece0f9af97762 | Björn Steinbrink | 2016-11-21T13:30:30 | streebog: Manually unroll the inner-loop in lps() once
Before:
```
Running target/release/deps/streebog256-6ccc72afa032ebff
running 6 tests
test bench_16 ... bench: 229 ns/iter (+/- 3) = 69 MB/s
test bench_1k ... bench: 14,466 ns/iter (+/- 67) = 70 MB/s
test bench_256 ... bench: 3,607 ns/it... | diff --git a/streebog/src/streebog.rs b/streebog/src/streebog.rs
index 9566d81..d507237 100644
--- a/streebog/src/streebog.rs
+++ b/streebog/src/streebog.rs
@@ -24,10 +24,12 @@ fn lps(h: &mut Block, n: &Block) {
let mut buf = [0u64; 8];
- for i in 0..8 {
+ for i in 0..4 {
for j in 0..8 {
- ... | 1 | 5 | 3 |
c0b9c35c4cc306c4f8a888814a68e652571e2730 | rushmorem | 2022-08-10T10:56:12 | (cargo-release) version 2.0.11 | diff --git a/Cargo.toml b/Cargo.toml
index f78309f..2e3736c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.10"
+version = "2.0.11"
license = "MIT/Apache-2.0"
repository = "https://github.... | 1 | 1 | 1 |
3d4740abab3da1c90446860c1c9e05468b8dddc3 | rushmorem | 2022-08-10T10:38:08 | appease clippy | diff --git a/src/lib.rs b/src/lib.rs
index 86fbc5e..2f16e78 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -99,6 +99,7 @@ pub struct Suffix<'a> {
impl<'a> Suffix<'a> {
/// Builds a new suffix
#[inline]
+ #[must_use]
#[doc(hidden)]
pub fn new(bytes: &[u8], typ: Option<Type>) -> Suffix<'_> {
... | 1 | 10 | 0 |
96be6b845d4efe4644c3df1e4547eee95c762674 | rushmorem | 2021-12-09T21:35:43 | (cargo-release) version 2.0.10 | diff --git a/Cargo.toml b/Cargo.toml
index 68a0861..f78309f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.10-pre"
+version = "2.0.10"
license = "MIT/Apache-2.0"
repository = "https://git... | 1 | 1 | 1 |
e3bc382b424413e726a5ae9aef3eac74b088c4e3 | rushmorem | 2021-11-30T22:35:09 | (cargo-release) version 2.0.9 | diff --git a/Cargo.toml b/Cargo.toml
index 96fba73..70183fe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.9-alpha.0"
+version = "2.0.9"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
65ed1d95068135511748a0329b95b44bf738cf56 | ComplexSpaces | 2021-11-30T21:34:41 | Allow as_bytes to return from borrowed data | diff --git a/src/lib.rs b/src/lib.rs
index 184f4d8..86fbc5e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -96,7 +96,7 @@ pub struct Suffix<'a> {
typ: Option<Type>,
}
-impl Suffix<'_> {
+impl<'a> Suffix<'a> {
/// Builds a new suffix
#[inline]
#[doc(hidden)]
@@ -110,8 +110,8 @@ impl Suffix<'_> {
... | 1 | 21 | 7 |
ec42f33d118a8d61096103b24a61f154f1b9cad6 | rushmorem | 2021-11-15T13:23:11 | (cargo-release) start next development iteration 2.0.9-alpha.0 | diff --git a/Cargo.toml b/Cargo.toml
index 9f2ff92..96fba73 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.8"
+version = "2.0.9-alpha.0"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
b7bf001c557f49aea59c0bf73993c24ed66bad5a | rushmorem | 2021-11-15T13:22:44 | (cargo-release) version 2.0.8 | diff --git a/Cargo.toml b/Cargo.toml
index 05a97cd..9f2ff92 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.8-alpha.0"
+version = "2.0.8"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
aed34ed896a6cd173cf2d76ab48d1368f5b6922f | rushmorem | 2021-11-15T13:21:32 | hide accidentally exposed constructors | diff --git a/src/lib.rs b/src/lib.rs
index c337f0c..184f4d8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -99,6 +99,7 @@ pub struct Suffix<'a> {
impl Suffix<'_> {
/// Builds a new suffix
#[inline]
+ #[doc(hidden)]
pub fn new(bytes: &[u8], typ: Option<Type>) -> Suffix<'_> {
Suffix {
... | 1 | 2 | 0 |
8f51de8887ade80106c0ddcaa05c3d31ade4535a | rushmorem | 2021-03-24T20:32:03 | (cargo-release) start next development iteration 2.0.8-alpha.0 | diff --git a/Cargo.toml b/Cargo.toml
index 116cd46..05a97cd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.7"
+version = "2.0.8-alpha.0"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
413ab0a4d8eabf129eeec3dec451131b47ea8750 | rushmorem | 2021-03-24T20:31:44 | (cargo-release) version 2.0.7 | diff --git a/Cargo.toml b/Cargo.toml
index 44ffad9..116cd46 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.7-alpha.0"
+version = "2.0.7"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
03ff27668337790f4dbc148bc8916dc7c5809b10 | rushmorem | 2021-03-24T20:25:52 | add constructors for Suffix and Domain | diff --git a/src/lib.rs b/src/lib.rs
index 4352ca2..c337f0c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -97,6 +97,16 @@ pub struct Suffix<'a> {
}
impl Suffix<'_> {
+ /// Builds a new suffix
+ #[inline]
+ pub fn new(bytes: &[u8], typ: Option<Type>) -> Suffix<'_> {
+ Suffix {
+ bytes,
+ ... | 1 | 16 | 0 |
432ac1ff4bf0faad707b1b18e24832aba53c4ce8 | rushmorem | 2021-03-22T08:04:24 | (cargo-release) start next development iteration 2.0.7-alpha.0 | diff --git a/Cargo.toml b/Cargo.toml
index 35e8aff..44ffad9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "psl-types"
description = "Common types for the public suffix implementation crates"
-version = "2.0.6"
+version = "2.0.7-alpha.0"
license = "MIT/Apache-2.0"
repository = "https://g... | 1 | 1 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.