1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Make RSA_ALT support optionnal

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-31 14:01:33 +02:00
parent 32076e66be
commit 348bcb3694
7 changed files with 29 additions and 2 deletions

View File

@@ -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