aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/rsa/rsa_private_key.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-09-18 11:37:40 +0000
committerMartin Willi <martin@strongswan.org>2006-09-18 11:37:40 +0000
commita2cf2812c4992b94c542fa3d66396519df9f2325 (patch)
tree6be18c9c37b781160b78d11fc24b7a5eb54175fc /src/libstrongswan/crypto/rsa/rsa_private_key.c
parent4f383c695052c44298798785049238c87ebec281 (diff)
downloadstrongswan-a2cf2812c4992b94c542fa3d66396519df9f2325.tar.bz2
strongswan-a2cf2812c4992b94c542fa3d66396519df9f2325.tar.xz
some cleanups here and there
Diffstat (limited to 'src/libstrongswan/crypto/rsa/rsa_private_key.c')
-rw-r--r--src/libstrongswan/crypto/rsa/rsa_private_key.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/rsa/rsa_private_key.c b/src/libstrongswan/crypto/rsa/rsa_private_key.c
index 689b028d9..13e593bf2 100644
--- a/src/libstrongswan/crypto/rsa/rsa_private_key.c
+++ b/src/libstrongswan/crypto/rsa/rsa_private_key.c
@@ -45,6 +45,12 @@ extern u_int8_t sha512_oid[19];
/**
+ * defined in rsa_public_key.c
+ */
+extern chunk_t rsa_public_key_info_to_asn1(const mpz_t n, const mpz_t e);
+
+
+/**
* Public exponent to use for key generation.
*/
#define PUBLIC_EXPONENT 0x10001