Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c326 size_t philen; in rsa_pka_modexp() local
359 philen = mbedtls_mpi_size( &ctx->MBEDTLS_PRIVATE(Phi) ); in rsa_pka_modexp()
362 if ( 0 == philen ) in rsa_pka_modexp()
365 philen = mbedtls_mpi_size( &ctx->MBEDTLS_PRIVATE(Phi) ); in rsa_pka_modexp()
368 phi_binary = mbedtls_calloc( 1, philen ); in rsa_pka_modexp()
370 … MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(Phi) , phi_binary, philen ) ); in rsa_pka_modexp()
447 mbedtls_platform_zeroize( phi_binary, philen ); in rsa_pka_modexp()