Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Gautier <[email protected]>
  • Loading branch information
baloo committed Dec 1, 2023
1 parent 7358fa6 commit 2972f78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions cryptoki-rustcrypto/src/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ where
<<C as ecdsa::elliptic_curve::Curve>::FieldBytesSize as Add>::Output: ArrayLength<u8>,
{
fn try_sign(&self, msg: &[u8]) -> Result<Signature<C>, signature::Error> {
println!("try sign");

let msg = C::Digest::digest(msg);

let bytes = self
Expand Down
4 changes: 0 additions & 4 deletions cryptoki-rustcrypto/tests/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
];
Expand Down

0 comments on commit 2972f78

Please sign in to comment.