Skip to content

Commit

Permalink
Makr default_kdf as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Apr 12, 2024
1 parent b5b97eb commit 49cd9a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bitwarden/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ use base64::{
alphabet,
engine::{DecodePaddingMode, GeneralPurpose, GeneralPurposeConfig},
};
#[cfg(feature = "internal")]
use bitwarden_crypto::Kdf;

#[cfg(feature = "internal")]
pub fn default_kdf() -> Kdf {
Kdf::PBKDF2 {
iterations: default_pbkdf2_iterations(),
Expand Down

0 comments on commit 49cd9a2

Please sign in to comment.