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
2 changes: 2 additions & 0 deletions cbc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.2.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.1.2 (2022-03-24)
### Changed
Expand Down
1 change: 0 additions & 1 deletion cbc/src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CBC mode decryptor.
#[derive(Clone)]
pub struct Decryptor<C>
where
C: BlockCipherDecrypt,
Expand Down
1 change: 0 additions & 1 deletion cbc/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CBC mode encryptor.
#[derive(Clone)]
pub struct Encryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
2 changes: 2 additions & 0 deletions cfb-mode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.9.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.8.2 (2022-09-13)
### Added
Expand Down
2 changes: 0 additions & 2 deletions cfb-mode/src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CFB mode decryptor.
#[derive(Clone)]
pub struct Decryptor<C>
where
C: BlockCipherEncrypt,
Expand All @@ -22,7 +21,6 @@ where
}

/// CFB mode buffered decryptor.
#[derive(Clone)]
pub struct BufDecryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
1 change: 0 additions & 1 deletion cfb-mode/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ mod buf;
pub use buf::BufEncryptor;

/// CFB mode encryptor.
#[derive(Clone)]
pub struct Encryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
1 change: 0 additions & 1 deletion cfb-mode/src/encrypt/buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CFB mode buffered encryptor.
#[derive(Clone)]
pub struct BufEncryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
2 changes: 2 additions & 0 deletions cfb8/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.9.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#75]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.8.1 (2022-02-17)
### Fixed
Expand Down
1 change: 0 additions & 1 deletion cfb8/src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CFB-8 mode decryptor.
#[derive(Clone)]
pub struct Decryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
1 change: 0 additions & 1 deletion cfb8/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// CFB-8 mode encryptor.
#[derive(Clone)]
pub struct Encryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
3 changes: 2 additions & 1 deletion ctr/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.10.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76

[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.9.2 (2022-09-30)
### Changed
Expand Down
14 changes: 0 additions & 14 deletions ctr/src/ctr_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,20 +151,6 @@ where
}
}

impl<C, F> Clone for CtrCore<C, F>
where
C: BlockCipherEncrypt + Clone,
F: CtrFlavor<C::BlockSize>,
{
#[inline]
fn clone(&self) -> Self {
Self {
cipher: self.cipher.clone(),
ctr_nonce: self.ctr_nonce.clone(),
}
}
}

impl<C, F> fmt::Debug for CtrCore<C, F>
where
C: BlockCipherEncrypt + AlgorithmName,
Expand Down
2 changes: 2 additions & 0 deletions cts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.7.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Update to cipher v0.5 ([#72])
Expand All @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#72]: https://github.com/RustCrypto/block-modes/pull/72
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.6.0 (2024-11-01)
- Initial release ([#70])
Expand Down
1 change: 0 additions & 1 deletion cts/src/cbc_cs1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use cipher::{
};

/// The CBC-CS-1 ciphertext stealing mode.
#[derive(Clone)]
pub struct CbcCs1<C: BlockSizeUser> {
cipher: C,
iv: Block<C>,
Expand Down
1 change: 0 additions & 1 deletion cts/src/cbc_cs2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use cipher::{
};

/// The CBC-CS-2 ciphertext stealing mode.
#[derive(Clone)]
pub struct CbcCs2<C: BlockSizeUser> {
cipher: C,
iv: Block<C>,
Expand Down
1 change: 0 additions & 1 deletion cts/src/cbc_cs3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use cipher::{
};

/// The CBC-CS-3 ciphertext stealing mode.
#[derive(Clone)]
pub struct CbcCs3<C: BlockSizeUser> {
cipher: C,
iv: Block<C>,
Expand Down
1 change: 0 additions & 1 deletion cts/src/ecb_cs1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use cipher::{
};

/// The ECB-CS-1 ciphertext stealing mode.
#[derive(Clone)]
pub struct EcbCs1<C: BlockSizeUser> {
cipher: C,
}
Expand Down
1 change: 0 additions & 1 deletion cts/src/ecb_cs2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use cipher::{
};

/// The ECB-CS-2 ciphertext stealing mode.
#[derive(Clone)]
pub struct EcbCs2<C: BlockSizeUser> {
cipher: C,
}
Expand Down
1 change: 0 additions & 1 deletion cts/src/ecb_cs3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use cipher::{
};

/// The ECB-CS-3 ciphertext stealing mode.
#[derive(Clone)]
pub struct EcbCs3<C: BlockSizeUser> {
cipher: C,
}
Expand Down
2 changes: 2 additions & 0 deletions ige/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.2.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.1.1 (2022-02-17)
### Fixed
Expand Down
1 change: 0 additions & 1 deletion ige/src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use core::{fmt, ops::Add};
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// IGE mode decryptor.
#[derive(Clone)]
pub struct Decryptor<C>
where
C: BlockCipherDecrypt,
Expand Down
1 change: 0 additions & 1 deletion ige/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use core::{fmt, ops::Add};
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// IGE mode encryptor.
#[derive(Clone)]
pub struct Encryptor<C>
where
C: BlockCipherEncrypt,
Expand Down
2 changes: 2 additions & 0 deletions ofb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.7.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.6.1 (2022-02-17)
### Fixed
Expand Down
1 change: 0 additions & 1 deletion ofb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ use cipher::zeroize::{Zeroize, ZeroizeOnDrop};
pub type Ofb<C> = StreamCipherCoreWrapper<OfbCore<C>>;

/// Output feedback (OFB) mode.
#[derive(Clone)]
pub struct OfbCore<C>
where
C: BlockCipherEncrypt,
Expand Down
2 changes: 2 additions & 0 deletions pcbc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.2.0 (UNRELEASED)
### Removed
- `std` feature ([#76])
- `Clone` impl ([#91])

### Changed
- Bump `cipher` from `0.4` to `0.5` ([#56])
Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#56]: https://github.com/RustCrypto/block-modes/pull/56
[#76]: https://github.com/RustCrypto/block-modes/pull/76
[#91]: https://github.com/RustCrypto/block-modes/pull/91

## 0.1.2 (2022-03-24)
### Changed
Expand Down
1 change: 0 additions & 1 deletion pcbc/src/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// PCBC mode decryptor.
#[derive(Clone)]
pub struct Decryptor<C>
where
C: BlockCipherDecrypt,
Expand Down
1 change: 0 additions & 1 deletion pcbc/src/encrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use core::fmt;
use cipher::zeroize::{Zeroize, ZeroizeOnDrop};

/// PCBC mode encryptor.
#[derive(Clone)]
pub struct Encryptor<C>
where
C: BlockCipherEncrypt,
Expand Down