mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Introduce pk_sign() and use it in ssl
This commit is contained in:
parent
583b608401
commit
8df2769178
7 changed files with 148 additions and 47 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue