Introduce pk_sign() and use it in ssl

This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-21 10:34:38 +02:00
parent 583b608401
commit 8df2769178
7 changed files with 148 additions and 47 deletions

View file

@ -580,6 +580,7 @@ struct _ssl_context
*/
pk_context *pk_key; /*!< own private key */
#if defined(POLARSSL_RSA_C)
int rsa_use_alt; /*<! flag for alt (temporary) */
void *rsa_key; /*!< own RSA private key */
rsa_decrypt_func rsa_decrypt; /*!< function for RSA decrypt*/
rsa_sign_func rsa_sign; /*!< function for RSA sign */