Skip to content
Merged
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
16 changes: 8 additions & 8 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions belt-ctr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers", "belt"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }
belt-block = "0.2.0-rc.2"

[dev-dependencies]
hex-literal = "1"
belt-block = "0.2.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }

[features]
alloc = ["cipher/alloc"]
Expand Down
4 changes: 2 additions & 2 deletions cbc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
aes = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
4 changes: 2 additions & 2 deletions cfb-mode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
aes = "0.9.0-rc.2"
belt-block = "0.2.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
4 changes: 2 additions & 2 deletions cfb8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
aes = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
4 changes: 2 additions & 2 deletions ctr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }

[dev-dependencies]
aes = "0.9.0-rc.2"
magma = "0.10.0-rc.2"
kuznyechik = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
6 changes: 2 additions & 4 deletions ctr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
//! // encrypt/decrypt from buffer to buffer
//! // buffer length must be equal to input length
//! let mut buf1 = [0u8; 34];
//! cipher
//! .apply_keystream_b2b(&plaintext, &mut buf1)
//! .unwrap();
//! cipher.apply_keystream_b2b(&plaintext, &mut buf1);
//! assert_eq!(buf1[..], ciphertext[..]);
//!
//! let mut buf2 = [0u8; 34];
//! cipher.seek(0u32);
//! cipher.apply_keystream_b2b(&buf1, &mut buf2).unwrap();
//! cipher.apply_keystream_b2b(&buf1, &mut buf2);
//! assert_eq!(buf2[..], plaintext[..]);
//! ```
//!
Expand Down
4 changes: 2 additions & 2 deletions cts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ keywords = ["crypto", "block-mode", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"
aes = "0.9.0-rc.2"
belt-block = "0.2.0-rc.2"
Expand Down
4 changes: 2 additions & 2 deletions ige/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
aes = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
4 changes: 2 additions & 2 deletions ofb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }

[dev-dependencies]
aes = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
6 changes: 2 additions & 4 deletions ofb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@
//! // buffer length must be equal to input length
//! let mut buf1 = [0u8; 34];
//! let mut cipher = Aes128Ofb::new(&key.into(), &iv.into());
//! cipher
//! .apply_keystream_b2b(&plaintext, &mut buf1)
//! .unwrap();
//! cipher.apply_keystream_b2b(&plaintext, &mut buf1);
//! assert_eq!(buf1[..], ciphertext[..]);
//!
//! let mut buf2 = [0u8; 34];
//! let mut cipher = Aes128Ofb::new(&key.into(), &iv.into());
//! cipher.apply_keystream_b2b(&buf1, &mut buf2).unwrap();
//! cipher.apply_keystream_b2b(&buf1, &mut buf2);
//! assert_eq!(buf2[..], plaintext[..]);
//! ```
//!
Expand Down
4 changes: 2 additions & 2 deletions pcbc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "0.5.0-rc.2"
cipher = "0.5.0-rc.3"

[dev-dependencies]
aes = "0.9.0-rc.2"
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
hex-literal = "1"

[features]
Expand Down
Loading