summaryrefslogtreecommitdiff
path: root/src/rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rsa.c')
-rw-r--r--src/rsa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rsa.c b/src/rsa.c
index 85911b5..0ae43cb 100644
--- a/src/rsa.c
+++ b/src/rsa.c
@@ -596,6 +596,12 @@ test_rsa(CK_SLOT_ID slot, CK_MECHANISM_TYPE mech, CK_MECHANISM_INFO_PTR info)
if(!p11t_session_login(session))
return;
+ /* Test signing corner cases */
+ p11t_crypto_test_encrypt (session, mech);
+ p11t_crypto_test_decrypt (session, mech);
+ p11t_crypto_test_sign (session, mech);
+ p11t_crypto_test_verify (session, mech);
+
keys = p11t_object_find(session, attrs, 2, &n_keys);
if(!keys)
return;