diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-04 18:59:50 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-04 18:59:50 +0000 |
commit | d611032e1e5b4e2261625ee924071e9713320837 (patch) | |
tree | 66683785a16c02975b675017f460eb9ed14e799d /ckcapi.h | |
parent | b00eb56b7ffe5019bb33ad399d351b90f4715132 (diff) |
Implement RSA Sign and Decrypt operations. Not tested.
Diffstat (limited to 'ckcapi.h')
-rw-r--r-- | ckcapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |