crypto: Bump the PBKDF rounds for the pickle key derivation

This commit is contained in:
Damir Jelić 2021-01-19 12:05:30 +01:00
parent b8fcc003ea
commit 4f4ba831c1

View file

@ -30,7 +30,7 @@ use serde::{Deserialize, Serialize};
const KEY_SIZE: usize = 32;
const NONCE_SIZE: usize = 12;
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.
#[derive(Debug, Serialize, Deserialize, PartialEq)]