Skip to content

Commit

Permalink
Rename macro
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Dec 2, 2024
1 parent 50d1763 commit 2d71e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws-lc-rs/src/aead.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ impl<N: NonceSequence> SealingKey<N> {
}
}

macro_rules! nonce_sequence_key_iterator {
macro_rules! key_op_mut {
($name:ident) => {
paste! {
/// A key operation with a precomputed nonce from a key's associated `NonceSequence`.
Expand Down Expand Up @@ -478,8 +478,8 @@ macro_rules! nonce_sequence_key_iterator {
};
}

nonce_sequence_key_iterator!(OpeningKey);
nonce_sequence_key_iterator!(SealingKey);
key_op_mut!(OpeningKey);
key_op_mut!(SealingKey);

impl<N: NonceSequence> OpeningKeyOpMut<'_, N> {
/// Returns the Nonce that will be used for this operation.
Expand Down

0 comments on commit 2d71e35

Please sign in to comment.