D | esp_bignum.c | 216 mbedtls_mpi X_, one; in mpi_montgomery_exp_calc() local 219 mbedtls_mpi_init(&one); in mpi_montgomery_exp_calc() 220 if ( ( ( ret = mbedtls_mpi_grow(&one, hw_words) ) != 0 ) || in mpi_montgomery_exp_calc() 221 ( ( ret = mbedtls_mpi_set_bit(&one, 0, 1) ) != 0 ) ) { in mpi_montgomery_exp_calc() 238 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Rinv, &one, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc() 254 MBEDTLS_MPI_CHK( esp_mont_hw_op(Z, Z, &one, M, Mprime, hw_words, true) ); in mpi_montgomery_exp_calc() 262 mbedtls_mpi_free(&one); in mpi_montgomery_exp_calc()
|