Skip to content

Commit

Permalink
k12: Refactor (#353)
Browse files Browse the repository at this point in the history
Remove the use of vectors and implement `XofReader`.
  • Loading branch information
aewag authored May 9, 2023
1 parent 62d84e1 commit 91dfb20
Show file tree
Hide file tree
Showing 5 changed files with 187 additions and 346 deletions.
15 changes: 13 additions & 2 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions k12/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "k12"
version = "0.2.1"
description = "Experimental pure Rust implementation of the KangarooTwelve hash function"
description = "Pure Rust implementation of the KangarooTwelve hash function"
authors = ["Diggory Hardy <[email protected]>"]
license = "Apache-2.0 OR MIT"
readme = "README.md"
Expand All @@ -12,7 +12,8 @@ keywords = ["crypto", "hash", "digest"]
categories = ["cryptography", "no-std"]

[dependencies]
digest = { version = "0.10.3", features = ["alloc"] }
digest = { version = "0.10.3", default-features = false, features = ["core-api"] }
sha3 = "0.10.8"

[dev-dependencies]
digest = { version = "0.10.3", features = ["alloc", "dev"] }
Expand Down
133 changes: 0 additions & 133 deletions k12/src/lanes.rs

This file was deleted.

Loading

0 comments on commit 91dfb20

Please sign in to comment.