crypto: Bump the PBKDF rounds for the pickle key derivation

master
Damir Jelić 2021-01-19 12:05:30 +01:00
parent b8fcc003ea
commit 4f4ba831c1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ use serde::{Deserialize, Serialize};
const KEY_SIZE: usize = 32; const KEY_SIZE: usize = 32;
const NONCE_SIZE: usize = 12; const NONCE_SIZE: usize = 12;
const KDF_SALT_SIZE: usize = 32; const KDF_SALT_SIZE: usize = 32;
const KDF_ROUNDS: u32 = 10000; const KDF_ROUNDS: u32 = 200_000;
/// Version specific info for the key derivation method that is used. /// Version specific info for the key derivation method that is used.
#[derive(Debug, Serialize, Deserialize, PartialEq)] #[derive(Debug, Serialize, Deserialize, PartialEq)]