Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New crate versions, including cipher v0.4 #727

Closed
wants to merge 64 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
784ddf1
new crate versions, including cipher v0.4
newpavlov Aug 30, 2021
dc5109f
fix tests
newpavlov Aug 30, 2021
991ec33
add StreamCipherCore::apply_keystream_partial method
newpavlov Aug 30, 2021
4ac95d4
return immideately in apply_keystream_partial if tail is empty
newpavlov Aug 30, 2021
e4de639
migrate universal-hash
newpavlov Aug 30, 2021
9d1322c
crypto-common: doc updates
newpavlov Aug 30, 2021
46feeb5
crypto-common: fix wrapper bound
newpavlov Aug 30, 2021
22d7c94
fix digest
newpavlov Sep 1, 2021
8f488e7
digest: re-export OutputSizeUser in core_api
newpavlov Sep 1, 2021
bd0fa59
digest: re-export Reset in core_api
newpavlov Sep 1, 2021
27743f6
fmt
newpavlov Sep 1, 2021
815cb39
implement InnerInit for StreamCipherCoreWrapper
newpavlov Sep 6, 2021
149df98
do not implement InnerInit for StreamCipherCoreWrapper
newpavlov Sep 8, 2021
a00ef4f
add comment about blanket impl
newpavlov Sep 8, 2021
8c38ade
add blanket impl KeyInit for stream wrapper
newpavlov Sep 8, 2021
67da8b4
crypto-common update
newpavlov Sep 13, 2021
19923a1
cipher update
newpavlov Sep 13, 2021
714daa2
fmt
newpavlov Sep 13, 2021
89f5bf2
update strem_wrapper note
newpavlov Sep 13, 2021
5b55e13
fix ct_output
newpavlov Sep 13, 2021
1c59f8a
fix ct_output
newpavlov Sep 13, 2021
7e25b1f
fix digest
newpavlov Sep 13, 2021
e1e3090
fix universal-hash
newpavlov Sep 13, 2021
545885e
cipher: fix dev module
newpavlov Sep 13, 2021
5cca342
fix stream cipher test macros
newpavlov Sep 15, 2021
f93dace
fix SeekNum impl
newpavlov Sep 15, 2021
6cde829
fix benches
newpavlov Sep 15, 2021
8809473
cipher re-export block-buffer
newpavlov Sep 15, 2021
8f9d86c
remove restriction on BlockSize
newpavlov Sep 21, 2021
5ff8e4f
add encrypt/decrypt methods to AsyncStreamCipher
newpavlov Sep 21, 2021
6dd2d02
fix stream wrapper
newpavlov Sep 21, 2021
4c5c3b7
change async stream cipher
newpavlov Sep 21, 2021
f6559db
async stream cipher fix
newpavlov Sep 21, 2021
dce3879
temporary depend on inout directly
newpavlov Oct 20, 2021
034d4f5
add inline attributes
newpavlov Oct 20, 2021
a96a2c7
crypto-mac: remove cipher dependency
newpavlov Oct 20, 2021
bbf6007
change re-imports
newpavlov Oct 20, 2021
76ee004
fix typo
newpavlov Oct 22, 2021
4dd62b5
move generate methods to the init traits
newpavlov Oct 22, 2021
d321573
merge crypto-mac into digest
newpavlov Oct 22, 2021
906cfad
cipher: re-export inout
newpavlov Nov 9, 2021
ad6963d
implement StreamCipherCoreWrapper without block-buffer
newpavlov Nov 9, 2021
d998b3a
use unsafe hint
newpavlov Nov 9, 2021
05238ca
cipher: add get_core method
newpavlov Nov 9, 2021
dd6aaae
digest: fix Box import
newpavlov Nov 9, 2021
0ac7c46
digest: re-export block-buffer
newpavlov Nov 9, 2021
52372ef
digest: modify truncated methdos
newpavlov Nov 9, 2021
fa44532
fmt, check number of remaining blocks in some stream cipher core methods
newpavlov Nov 11, 2021
11961b1
add update method to the Mac trait
newpavlov Nov 12, 2021
8e443f4
digest: add new_mac_test macro
newpavlov Nov 12, 2021
402b174
digest: remove default features
newpavlov Nov 12, 2021
f15e7bd
digest: use new block-buffer
newpavlov Nov 12, 2021
d7ff27e
Merge branch 'master' into new_traits
newpavlov Nov 12, 2021
60ee50e
update Cargo.lock
newpavlov Nov 12, 2021
73218ad
digest: update MAC test macros
newpavlov Nov 18, 2021
15507cf
digest: fix KeyInit impl for CoreWrapper
newpavlov Nov 18, 2021
6eb7bfb
digest: add CoreProxy
newpavlov Nov 18, 2021
02574a0
digest: fix export
newpavlov Nov 18, 2021
9109053
digest: fix test macro
newpavlov Nov 18, 2021
68143c9
digest: add trunc MAC tests
newpavlov Nov 18, 2021
fef8a97
digest: fix MAC test macros
newpavlov Nov 18, 2021
db6169a
digest: fix MAC test macros
newpavlov Nov 18, 2021
5bb02a6
digest: allow optional comma in macros
newpavlov Nov 18, 2021
077c141
cipher: disable block-buffer dep
newpavlov Nov 19, 2021
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
1 change: 0 additions & 1 deletion .github/workflows/crypto-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,5 @@ jobs:
profile: minimal
- run: cargo check --all-features
- run: cargo test
- run: cargo test --features core-api
- run: cargo test --features std
- run: cargo test --all-features
1 change: 0 additions & 1 deletion .github/workflows/crypto-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
profile: minimal
- run: cargo check --all-features
- run: cargo test
- run: cargo test --features core-api
- run: cargo test --features dev
- run: cargo test --features std
- run: cargo test --all-features
1 change: 0 additions & 1 deletion .github/workflows/digest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
profile: minimal
- run: cargo check --all-features
- run: cargo test --release
- run: cargo test --features core-api --release
- run: cargo test --features dev --release
- run: cargo test --features alloc --release
- run: cargo test --features std --release
Expand Down
67 changes: 28 additions & 39 deletions Cargo.lock

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

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ members = [
"aead",
"cipher",
"crypto-common",
"crypto-mac",
"digest",
"password-hash",
"signature",
"signature/async",
"universal-hash",
]

[patch.crates-io]
block-buffer = { git = "https://github.com/RustCrypto/utils", branch = "pad_error" }
inout = { git = "https://github.com/RustCrypto/utils", branch = "pad_error" }
14 changes: 7 additions & 7 deletions cipher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cipher"
description = "Traits for describing block ciphers and stream ciphers"
version = "0.4.0-pre"
version = "0.4.0"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -13,17 +13,17 @@ categories = ["cryptography", "no-std"]

[dependencies]
generic-array = "0.14"
crypto-common = { version = "=0.1.0-pre", path = "../crypto-common" }
crypto-common = { version = "0.1", path = "../crypto-common" }
#block-buffer = { version = "0.10.0", features = ["block-padding"] }
# TODO: remove and use re-import from block-buffer
inout = "0.1"

# optional dependencies
block-buffer = { version = "=0.10.0-pre.4", features = ["block-padding"], optional = true }
blobby = { version = "0.3", optional = true }
rand_core = { version = "0.6", optional = true }

[features]
default = ["mode_wrapper"]
std = ["crypto-common/std", "rand_core/std"]
mode_wrapper = ["block-buffer"]
std = ["crypto-common/std"]
rand_core = ["crypto-common/rand_core"]
dev = ["blobby"]

[package.metadata.docs.rs]
Expand Down
Loading