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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h
index 47ca5df..fe10d9f 100644
--- a/include/ncrypto/ncrypto.h
+++ b/include/ncrypto/ncrypto.h
@@ -110,6 +110,18 @@ CK_RV ncr_private_key_create_rsa (struct ncr_private_key **key, _Bool sensitive,
size_t exponent_2_size,
const void *coefficient,
size_t coefficient_size);
+CK_RV ncr_private_key_export_rsa (struct ncr_private_key *key, void *modulus,
+ size_t *modulus_size_ptr,
+ void *public_exponent,
+ size_t *public_exponent_size_ptr,
+ void *private_exponent,
+ size_t *private_exponent_size_ptr,
+ void *prime_1, size_t *prime_1_size_ptr,
+ void *prime_2, size_t *prime_2_size_ptr,
+ void *exponent_1, size_t *exponent_1_size_ptr,
+ void *exponent_2, size_t *exponent_2_size_ptr,
+ void *coefficient,
+ size_t *coefficient_size_ptr);
/* Asymmetric operations */