Skip to content

Commit

Permalink
fixup extraneous import
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Mar 2, 2025
1 parent ef27e67 commit 26e40ac
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions dsa/src/signing_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@
//! Module containing the definition of the private key container
//!
use crate::{Components, OID, Signature, VerifyingKey};
use crate::{Components, Signature, VerifyingKey, OID};
use core::{
cmp::min,
fmt::{self, Debug},
};
use crypto_bigint::{
BoxedUint, NonZero, Odd,
modular::{BoxedMontyForm, BoxedMontyParams},
BoxedUint, NonZero, Odd,
};
use digest::{Digest, FixedOutputReset, core_api::BlockSizeUser};
use digest::{core_api::BlockSizeUser, Digest, FixedOutputReset};
use pkcs8::{
AlgorithmIdentifierRef, EncodePrivateKey, PrivateKeyInfoRef, SecretDocument,
der::{
AnyRef, Decode, Encode,
asn1::{OctetStringRef, UintRef},
AnyRef, Decode, Encode,
},
AlgorithmIdentifierRef, EncodePrivateKey, PrivateKeyInfoRef, SecretDocument,
};
#[cfg(feature = "hazmat")]
use signature::rand_core::CryptoRng;
use signature::{
DigestSigner, RandomizedDigestSigner, Signer,
hazmat::{PrehashSigner, RandomizedPrehashSigner},
rand_core::{CryptoRng, TryCryptoRng},
rand_core::TryCryptoRng,
DigestSigner, RandomizedDigestSigner, Signer,
};
use zeroize::{Zeroize, Zeroizing};

Expand Down

0 comments on commit 26e40ac

Please sign in to comment.