From 4f4ba831c1cfefb4ba917a2455c1d9a63dcbc26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 19 Jan 2021 12:05:30 +0100 Subject: [PATCH] crypto: Bump the PBKDF rounds for the pickle key derivation --- matrix_sdk_crypto/src/store/pickle_key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/store/pickle_key.rs b/matrix_sdk_crypto/src/store/pickle_key.rs index c49f6352..883b22b1 100644 --- a/matrix_sdk_crypto/src/store/pickle_key.rs +++ b/matrix_sdk_crypto/src/store/pickle_key.rs @@ -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)]