summaryrefslogtreecommitdiffstats
path: root/include/ncrypto/ncrypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ncrypto/ncrypto.h')
-rw-r--r--include/ncrypto/ncrypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h
index a09d451..c4de81e 100644
--- a/include/ncrypto/ncrypto.h
+++ b/include/ncrypto/ncrypto.h
@@ -73,6 +73,8 @@ struct ncr_private_key;
CK_RV ncr_public_key_create (struct ncr_public_key **key, CK_KEY_TYPE type,
const void *der, size_t der_size);
+CK_RV ncr_public_key_export (struct ncr_public_key *key, void *dest,
+ size_t *dest_size_ptr);
CK_RV ncr_public_key_destroy (struct ncr_public_key *key);
CK_RV ncr_private_key_create (struct ncr_private_key **key, CK_KEY_TYPE type,
const void *der, size_t der_size,