]> git.meshlink.io Git - meshlink/blobdiff - src/openssl/rsa.h
Free ECDSA and RSA structures when freeing a connection_t.
[meshlink] / src / openssl / rsa.h
index 62836a8e83c35cef4d1a6628c0b447838fa44993..10fe3462978cf75dd602fb662d7c00af40377750 100644 (file)
@@ -31,5 +31,8 @@ extern bool rsa_read_pem_private_key(rsa_t *rsa, FILE *fp);
 extern size_t rsa_size(rsa_t *rsa);
 extern bool rsa_public_encrypt(rsa_t *rsa, void *in, size_t inlen, void *out);
 extern bool rsa_private_decrypt(rsa_t *rsa, void *in, size_t inlen, void *out);
+extern bool rsa_active(rsa_t *rsa);
+extern void rsa_free(rsa_t *rsa);
+
 
 #endif