X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fopenssl%2Frsa.h;h=9a826cbd2fbf56258acff067f6aee38e69a78ca6;hb=70a1a5594af5d4e6a364186b42ba4e34c676009b;hp=62836a8e83c35cef4d1a6628c0b447838fa44993;hpb=79e46d08a46f2fef2ee4e8eac7ba487007160564;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