Skip to content

Commit

Permalink
client: Fixup file backend module name
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Dec 4, 2024
1 parent 207b6c6 commit 577077b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/crypto/openssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use openssl::{
};
use zeroize::Zeroizing;

use crate::{portal, Key};
use crate::{file, Key};

const ENC_ALG: Nid = Nid::AES_128_CBC;
const MAC_ALG: Nid = Nid::SHA256;
Expand Down Expand Up @@ -160,7 +160,7 @@ pub(crate) fn verify_checksum_md5(digest: impl AsRef<[u8]>, content: impl AsRef<

pub(crate) fn derive_key(
secret: impl AsRef<[u8]>,
key_strength: Result<(), portal::WeakKeyError>,
key_strength: Result<(), file::WeakKeyError>,
salt: impl AsRef<[u8]>,
iteration_count: usize,
) -> Key {
Expand All @@ -182,7 +182,7 @@ pub(crate) fn derive_key(

pub(crate) fn legacy_derive_key_and_iv(
secret: impl AsRef<[u8]>,
key_strength: Result<(), portal::WeakKeyError>,
key_strength: Result<(), file::WeakKeyError>,
salt: impl AsRef<[u8]>,
iteration_count: usize,
) -> (Key, Vec<u8>) {
Expand Down

0 comments on commit 577077b

Please sign in to comment.