diff --git a/cryptoki-rustcrypto/src/ecdsa.rs b/cryptoki-rustcrypto/src/ecdsa.rs index 0df1eb49..7f151846 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()), ];