Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Sep 23, 2024
1 parent 6c3b850 commit 3a81b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aead/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

use crate::{AeadCore, AeadInPlace, Buffer, Error, Key, KeyInit, Result};
use core::ops::{AddAssign, Sub};
use crypto_common::array::{typenum::Unsigned, Array, ArraySize};
use crypto_common::array::{Array, ArraySize};

#[cfg(feature = "alloc")]
use {crate::Payload, alloc::vec::Vec};
use {crate::Payload, alloc::vec::Vec, crypto_common::array::typenum::Unsigned};

/// Nonce as used by a given AEAD construction and STREAM primitive.
pub type Nonce<A, S> = Array<u8, NonceSize<A, S>>;
Expand Down

0 comments on commit 3a81b61

Please sign in to comment.