Formatting

This commit is contained in:
Daniel García
2019-12-27 18:37:14 +01:00
parent 4cec502f7b
commit a0ece3754b
13 changed files with 29 additions and 67 deletions

View File

@@ -2,9 +2,9 @@
// PBKDF2 derivation
//
use crate::error::Error;
use ring::{digest, hmac, pbkdf2};
use std::num::NonZeroU32;
use crate::error::Error;
static DIGEST_ALG: &digest::Algorithm = &digest::SHA256;
const OUTPUT_LEN: usize = digest::SHA256_OUTPUT_LEN;