X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fopenssl%2Frsa.h;h=9a826cbd2fbf56258acff067f6aee38e69a78ca6;hb=e70b5b5bd77bb66e8dd324c17d86d9bff151aa82;hp=62836a8e83c35cef4d1a6628c0b447838fa44993;hpb=ce8775000ab38229a78ecf3dc26bab008ca0f332;p=meshlink diff --git a/src/openssl/rsa.h b/src/openssl/rsa.h index 62836a8e..9a826cbd 100644 --- a/src/openssl/rsa.h +++ b/src/openssl/rsa.h @@ -1,6 +1,6 @@ /* rsa.h -- RSA key handling - Copyright (C) 2007 Guus Sliepen + Copyright (C) 2007-2011 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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