Home
last modified time | relevance | path

Searched refs:e_binary (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c324 uint8_t *e_binary = NULL; in rsa_pka_modexp() local
345 e_binary = mbedtls_calloc( 1, elen ); in rsa_pka_modexp()
346 MBEDTLS_MPI_CHK( ( e_binary == NULL ) ? MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED : 0 ); in rsa_pka_modexp()
349 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(D), e_binary, elen ) ); in rsa_pka_modexp()
351 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(E), e_binary, elen ) ); in rsa_pka_modexp()
377 in_protected.pExp = e_binary; /* Exponent */ in rsa_pka_modexp()
387 in.pExp = e_binary; /* Exponent */ in rsa_pka_modexp()
394 in.pExp = e_binary; /* Exponent */ in rsa_pka_modexp()
437 if (e_binary != NULL) in rsa_pka_modexp()
439 mbedtls_platform_zeroize( e_binary, elen ); in rsa_pka_modexp()
[all …]