From d611032e1e5b4e2261625ee924071e9713320837 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Dec 2008 18:59:50 +0000 Subject: Implement RSA Sign and Decrypt operations. Not tested. --- ckcapi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ckcapi.h') diff --git a/ckcapi.h b/ckcapi.h index 18f304f..54929bc 100644 --- a/ckcapi.h +++ b/ckcapi.h @@ -91,6 +91,9 @@ CK_RV ckcapi_winerr_to_ckr (DWORD werr); CK_RV ckcapi_return_data (CK_ATTRIBUTE_PTR attr, CK_VOID_PTR src, DWORD slen); +CK_RV ckcapi_return_data_raw (CK_VOID_PTR output, CK_ULONG_PTR n_output, + CK_VOID_PTR input, CK_ULONG n_input); + /* * This stores a string in the output buffer with appropriate * PKCS#11 codes when the buffer is too short, or the caller @@ -107,6 +110,8 @@ CK_RV ckcapi_return_reversed_data (CK_ATTRIBUTE_PTR attr, /* ------------------------------------------------------------------ */ +typedef void (*CkCapiDestroyFunc)(void* data); + #ifndef ASSERT #include "assert.h" #define ASSERT assert -- cgit v1.2.3