summaryrefslogtreecommitdiff
path: root/lib/pkcs11_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pkcs11_int.c')
-rw-r--r--lib/pkcs11_int.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/pkcs11_int.c b/lib/pkcs11_int.c
index dce59475c7..1134f43252 100644
--- a/lib/pkcs11_int.c
+++ b/lib/pkcs11_int.c
@@ -173,6 +173,16 @@ pkcs11_get_mechanism_list(struct ck_function_list * module,
}
ck_rv_t
+pkcs11_get_mechanism_info(struct ck_function_list *module,
+ ck_slot_id_t slot_id,
+ ck_mechanism_type_t mechanism,
+ struct ck_mechanism_info *ptr)
+{
+ return (module)->C_GetMechanismInfo(slot_id, mechanism,
+ ptr);
+}
+
+ck_rv_t
pkcs11_sign_init(struct ck_function_list * module,
ck_session_handle_t sess,
struct ck_mechanism * mechanism, ck_object_handle_t key)