Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c319 size_t elen; in rsa_pka_modexp() local
336 elen = mbedtls_mpi_size( &ctx->MBEDTLS_PRIVATE(D) ); in rsa_pka_modexp()
338 elen = mbedtls_mpi_size( &ctx->MBEDTLS_PRIVATE(E) ); in rsa_pka_modexp()
341 elen = ((elen + 3)/4)*4; in rsa_pka_modexp()
343 e_binary = mbedtls_calloc( 1, elen ); in rsa_pka_modexp()
347 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(D), e_binary, elen ) ); in rsa_pka_modexp()
349 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(E), e_binary, elen ) ); in rsa_pka_modexp()
372 in_protected.expSize = elen; /* Exponent length */ in rsa_pka_modexp()
382 in.expSize = elen; /* Exponent length */ in rsa_pka_modexp()
389 in.expSize = elen; /* Exponent length */ in rsa_pka_modexp()
[all …]