Home
last modified time | relevance | path

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

/trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c325 uint8_t *n_binary = NULL; in rsa_pka_modexp() local
354 n_binary = mbedtls_calloc( 1, nlen ); in rsa_pka_modexp()
355 MBEDTLS_MPI_CHK( ( n_binary == NULL ) ? MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED : 0 ); in rsa_pka_modexp()
356 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->MBEDTLS_PRIVATE(N), n_binary, nlen ) ); in rsa_pka_modexp()
378 in_protected.pMod = n_binary; /* modulus */ in rsa_pka_modexp()
388 in.pMod = n_binary; /* modulus */ in rsa_pka_modexp()
395 in.pMod = n_binary; /* modulus */ in rsa_pka_modexp()
443 if (n_binary != NULL) in rsa_pka_modexp()
445 mbedtls_platform_zeroize( n_binary, nlen ); in rsa_pka_modexp()
446 mbedtls_free( n_binary ); in rsa_pka_modexp()