From 2972f78399e05032dea5203475d588465c05fdfd Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 28 Nov 2023 19:49:42 -0800 Subject: [PATCH] cleanup Signed-off-by: Arthur Gautier --- cryptoki-rustcrypto/src/ecdsa.rs | 2 -- cryptoki-rustcrypto/tests/ecdsa.rs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/cryptoki-rustcrypto/src/ecdsa.rs b/cryptoki-rustcrypto/src/ecdsa.rs index 1f0033f6..6b1d6464 100644 --- a/cryptoki-rustcrypto/src/ecdsa.rs +++ b/cryptoki-rustcrypto/src/ecdsa.rs @@ -182,8 +182,6 @@ where <::FieldBytesSize as Add>::Output: ArrayLength, { fn try_sign(&self, msg: &[u8]) -> Result, signature::Error> { - println!("try sign"); - let msg = C::Digest::digest(msg); let bytes = self diff --git a/cryptoki-rustcrypto/tests/ecdsa.rs b/cryptoki-rustcrypto/tests/ecdsa.rs index 21b42df6..73824c86 100644 --- a/cryptoki-rustcrypto/tests/ecdsa.rs +++ b/cryptoki-rustcrypto/tests/ecdsa.rs @@ -51,10 +51,6 @@ fn sign_verify() -> TestResult { let priv_key_template = vec![ Attribute::Token(true), Attribute::Private(true), - //Attribute::KeyType(KeyType::EC), - //Attribute::EcParams(secp256r1_oid), - //Attribute::Sensitive(true), - //Attribute::Extractable(false), Attribute::Sign(true), Attribute::Label(label.to_vec()), ];