-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for SHAKE128 and SHAKE256 from FIPS 202 (#398)
* SHAKE: Add NIST CAVP * SHAKE: Initial impl and CAVPs * shake: Fix XOF CAVP test vector processing * shake: Fix rates * shake: NITs * shake: NITs * shake: NITs * shake: Add documentation for design-change * shake: Impl stateful squeezing * shake: Remove state-handleded squeeze() logic from KATs tests * shake: XOF consistency tester and Write impl * shake: NITs brushup * shake: Add self.to_squeeze to state-comparison * shake: Remove Vec<u8> that block no_std and delete unused generic T-return type for XofStreaming * shake: Fix XOF incrmenetal squeeze test-step * shake: Fixup doctest for Write impl * pwhash: clippy suggestion * tests: NIT
- Loading branch information
Showing
26 changed files
with
16,271 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
[package] | ||
name = "orion" | ||
version = "0.17.6" | ||
version = "0.17.7" | ||
authors = ["brycx <[email protected]>"] | ||
description = "Usable, easy and safe pure-Rust crypto" | ||
keywords = [ "cryptography", "crypto", "aead", "hash", "mac" ] | ||
categories = [ "cryptography", "no-std" ] | ||
keywords = ["cryptography", "crypto", "aead", "hash", "mac"] | ||
categories = ["cryptography", "no-std"] | ||
edition = "2021" | ||
rust-version = "1.80" # Update CI (MSRV) test along with this. | ||
rust-version = "1.80" # Update CI (MSRV) test along with this. | ||
readme = "README.md" | ||
repository = "https://github.com/orion-rs/orion" | ||
documentation = "https://docs.rs/orion" | ||
license = "MIT" | ||
exclude = [ | ||
".gitignore", | ||
".travis.yml", | ||
"tests/*" | ||
] | ||
exclude = [".gitignore", ".travis.yml", "tests/*"] | ||
|
||
[dependencies] | ||
subtle = { version = "^2.2.2", default-features = false } | ||
zeroize = { version = "1.1.0", default-features = false } | ||
fiat-crypto = {version = "0.2.1", default-features = false} | ||
fiat-crypto = { version = "0.2.1", default-features = false } | ||
getrandom = { version = "0.2.0", optional = true } | ||
ct-codecs = { version = "1.1.1", optional = true } | ||
|
||
|
@@ -31,8 +27,8 @@ default-features = false | |
features = ["alloc"] | ||
|
||
[features] | ||
default = [ "safe_api" ] | ||
safe_api = [ "getrandom", "ct-codecs" ] | ||
default = ["safe_api"] | ||
safe_api = ["getrandom", "ct-codecs"] | ||
alloc = [] | ||
experimental = [] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.