mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-22 09:40:09 +00:00
Fix style
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
6bd5cae3e6
commit
0902572aa4
@ -1628,7 +1628,7 @@ int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
||||
* Allocate working memory for mbedtls_mpi_core_exp_mod()
|
||||
*/
|
||||
size_t T_limbs = mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n);
|
||||
mbedtls_mpi_uint *T = (mbedtls_mpi_uint*) mbedtls_calloc(T_limbs, sizeof(mbedtls_mpi_uint));
|
||||
mbedtls_mpi_uint *T = (mbedtls_mpi_uint *) mbedtls_calloc(T_limbs, sizeof(mbedtls_mpi_uint));
|
||||
if (T == NULL) {
|
||||
return MBEDTLS_ERR_MPI_ALLOC_FAILED;
|
||||
}
|
||||
|
@ -967,8 +967,8 @@ exit:
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void mpi_exp_mod_min_RR(char *input_A, char *input_E,
|
||||
char *input_N, char *input_X,
|
||||
int exp_result)
|
||||
char *input_N, char *input_X,
|
||||
int exp_result)
|
||||
{
|
||||
mbedtls_mpi A, E, N, RR, Z, X;
|
||||
int res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user