From eac75e99e14f8860aeee7574bdd01081b4782b02 Mon Sep 17 00:00:00 2001 From: Kai Michaelis Date: Fri, 25 Jan 2019 13:52:46 +0100 Subject: openpgp: remove tracing output from ecdh::wrap_session_key --- openpgp/src/crypto/ecdh.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'openpgp') diff --git a/openpgp/src/crypto/ecdh.rs b/openpgp/src/crypto/ecdh.rs index 9258b785..88ebd684 100644 --- a/openpgp/src/crypto/ecdh.rs +++ b/openpgp/src/crypto/ecdh.rs @@ -79,21 +79,17 @@ pub(crate) fn wrap_session_key_deterministic(recipient: &Key, session_key: &[u8] // Note: We always pad up to 40 bytes to obfuscate the // length of the symmetric key. - eprintln!("m: {:?}", m); // Compute KDF input. let param = make_param(recipient, curve, hash, sym); - eprintln!("param: {:?}", param); // Z_len = the key size for the KEK_alg_ID used with AESKeyWrap // Compute Z = KDF( S, Z_len, Param ); #[allow(non_snake_case)] let Z = kdf(S, sym.key_size()?, *hash, ¶m)?; - eprintln!("Z: {:?}", Z); // Compute C = AESKeyWrap( Z, m ) as per [RFC3394] #[allow(non_snake_case)] let C = aes_key_wrap(*sym, &Z, &m)?; - eprintln!("C: {:?}", C); // Output (MPI(VB) || len(C) || C). Ok(Ciphertext::ECDH { -- cgit v1.2.3