Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ opt-level = 2

[patch.crates-io]
sha1 = { path = "sha1" }
turbo-shake = { path = "turbo-shake" }
whirlpool = { path = "whirlpool" }
6 changes: 3 additions & 3 deletions k12/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository = "https://github.com/RustCrypto/hashes"
license = "Apache-2.0 OR MIT"
keywords = ["hash", "digest"]
categories = ["cryptography", "no-std"]
description = "Pure Rust implementation of the KangarooTwelve hash function"
description = "Implementation of the KangarooTwelve family of extendable-output functions"

[dependencies]
digest = "0.11"
turbo-shake = { version = "0.1.0", default-features = false }
keccak = { version = "0.2", features = ["parallel"] }

[dev-dependencies]
digest = { version = "0.11", features = ["alloc", "dev"] }
Expand All @@ -23,7 +23,7 @@ hex-literal = "1"
[features]
default = ["alloc"]
alloc = ["digest/alloc"]
zeroize = ["digest/zeroize", "turbo-shake/zeroize"]
zeroize = ["digest/zeroize"]

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion k12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
![Rust Version][rustc-image]
[![Build Status][build-image]][build-link]

Pure Rust implementation of the [KangarooTwelve] eXtendable-Output Function (XOF).
Pure Rust implementation of the [KangarooTwelve] family of extendable-output functions (XOF).

## License

Expand Down
14 changes: 14 additions & 0 deletions k12/benches/kt128.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#![feature(test)]
extern crate test;

use test::Bencher;

digest::bench_update!(
k12::Kt128::default();
kt128_1_10 10;
kt128_2_100 100;
kt128_3_1k 1000;
kt128_4_10k 10_000;
kt128_5_100k 100_000;
kt128_6_1m 1_000_000;
);
14 changes: 14 additions & 0 deletions k12/benches/kt256.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#![feature(test)]
extern crate test;

use test::Bencher;

digest::bench_update!(
k12::Kt256::default();
kt256_1_10 10;
kt256_2_100 100;
kt256_3_1k 1000;
kt256_4_10k 10_000;
kt256_5_100k 100_000;
kt256_6_1m 1_000_000;
);
23 changes: 0 additions & 23 deletions k12/benches/mod.rs

This file was deleted.

274 changes: 0 additions & 274 deletions k12/src/block_api.rs

This file was deleted.

Loading
Loading