mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-13 06:29:06 +00:00
Removed try_trait and some formatting, particularly around imports
This commit is contained in:
parent
fb6f96f5c3
commit
668d5c23dc
25 changed files with 251 additions and 272 deletions
|
@ -1,10 +1,11 @@
|
|||
//
|
||||
// PBKDF2 derivation
|
||||
//
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
use ring::{digest, hmac, pbkdf2};
|
||||
|
||||
use crate::error::Error;
|
||||
use ring::{digest, hmac, pbkdf2};
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
static DIGEST_ALG: pbkdf2::Algorithm = pbkdf2::PBKDF2_HMAC_SHA256;
|
||||
const OUTPUT_LEN: usize = digest::SHA256_OUTPUT_LEN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue