mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Make RSA_ALT support optionnal
This commit is contained in:
parent
32076e66be
commit
348bcb3694
7 changed files with 29 additions and 2 deletions
|
|
@ -112,6 +112,7 @@ int pk_init_ctx( pk_context *ctx, const pk_info_t *info )
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
#if defined(POLARSSL_PK_RSA_ALT_SUPPORT)
|
||||
/*
|
||||
* Initialize an RSA-alt context
|
||||
*/
|
||||
|
|
@ -140,6 +141,7 @@ int pk_init_ctx_rsa_alt( pk_context *ctx, void * key,
|
|||
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* POLARSSL_PK_RSA_ALT_SUPPORT */
|
||||
|
||||
/*
|
||||
* Tell if a PK can do the operations of the given type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue