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

Fix rustfmt #605

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions aws-lc-rs/src/cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ impl EncryptingKey {
}

/// Constructs an `EncryptingKey` operating in electronic code book mode (ECB) using the provided key.
///
///
/// # ☠️ ️️️DANGER ☠️
/// Offered for computability purposes only. This is an extremely dangerous mode, and
/// very likely not what you want to use.
Expand Down Expand Up @@ -571,7 +571,7 @@ impl EncryptingKey {
/// Encrypts the data provided in `in_out` in-place.
/// Returns a [`DecryptionContext`] with the randomly generated IV that was used to encrypt
/// the data provided.
///
///
/// If `EncryptingKey` is operating in `OperatingMode::ECB`, then `in_out.len()` must be a multiple
/// of the block length.
///
Expand All @@ -587,7 +587,7 @@ impl EncryptingKey {
/// This is considered "less safe" because the caller could potentially construct
/// a `EncryptionContext` from a previously used IV (initialization vector).
/// Returns a [`DecryptionContext`] produced from the provided `EncryptionContext`.
///
///
/// If `EncryptingKey` is operating in `OperatingMode::ECB`, then `in_out.len()` must be a multiple
/// of the block length.
///
Expand Down Expand Up @@ -694,7 +694,7 @@ impl DecryptingKey {

/// Decrypts the data provided in `in_out` in-place.
/// Returns a references to the decrypted data.
///
///
/// If `DecryptingKey` is operating in `OperatingMode::ECB`, then `in_out.len()` must be a multiple
/// of the block length.
///
Expand Down
4 changes: 2 additions & 2 deletions aws-lc-rs/src/cipher/padded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl PaddedBlockEncryptingKey {

/// Constructs a new `PaddedBlockEncryptingKey` cipher with electronic code book (ECB) mode.
/// Plaintext data is padded following the PKCS#7 scheme.
///
///
/// # ☠️ ️️️DANGER ☠️
/// Offered for computability purposes only. This is an extremely dangerous mode, and
/// very likely not what you want to use.
Expand Down Expand Up @@ -210,7 +210,7 @@ impl PaddedBlockDecryptingKey {

/// Constructs a new `PaddedBlockDecryptingKey` cipher with electronic code book (ECB) mode.
/// Decrypted data is unpadded following the PKCS#7 scheme.
///
///
/// # ☠️ ️️️DANGER ☠️
/// Offered for computability purposes only. This is an extremely dangerous mode, and
/// very likely not what you want to use.
Expand Down
Loading