Lines Matching refs:E

76                        const mbedtls_mpi *D, const mbedtls_mpi *E)  in mbedtls_rsa_import()  argument
84 (E != NULL && (ret = mbedtls_mpi_copy(&ctx->E, E)) != 0)) { in mbedtls_rsa_import()
100 unsigned char const *E, size_t E_len) in mbedtls_rsa_import_raw() argument
121 if (E != NULL) { in mbedtls_rsa_import_raw()
122 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(&ctx->E, E, E_len)); in mbedtls_rsa_import_raw()
182 if (mbedtls_mpi_cmp_int(&ctx->E, 0) <= 0) { in rsa_check_context()
236 have_E = (mbedtls_mpi_cmp_int(&ctx->E, 0) != 0); in mbedtls_rsa_complete()
284 ret = mbedtls_rsa_deduce_primes(&ctx->N, &ctx->E, &ctx->D, in mbedtls_rsa_complete()
293 &ctx->E, in mbedtls_rsa_complete()
326 unsigned char *E, size_t E_len) in mbedtls_rsa_export_raw() argument
337 mbedtls_mpi_cmp_int(&ctx->E, 0) != 0; in mbedtls_rsa_export_raw()
364 if (E != NULL) { in mbedtls_rsa_export_raw()
365 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(&ctx->E, E, E_len)); in mbedtls_rsa_export_raw()
375 mbedtls_mpi *D, mbedtls_mpi *E) in mbedtls_rsa_export() argument
386 mbedtls_mpi_cmp_int(&ctx->E, 0) != 0; in mbedtls_rsa_export()
403 (E != NULL && (ret = mbedtls_mpi_copy(E, &ctx->E)) != 0)) { in mbedtls_rsa_export()
428 mbedtls_mpi_cmp_int(&ctx->E, 0) != 0; in mbedtls_rsa_export_crt()
571 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&ctx->E, exponent)); in mbedtls_rsa_gen_key()
597 MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(&G, &ctx->E, &H)); in mbedtls_rsa_gen_key()
605 MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(&ctx->D, &ctx->E, &L)); in mbedtls_rsa_gen_key()
668 if (mbedtls_mpi_get_bit(&ctx->E, 0) == 0 || in mbedtls_rsa_check_pubkey()
669 mbedtls_mpi_bitlen(&ctx->E) < 2 || in mbedtls_rsa_check_pubkey()
670 mbedtls_mpi_cmp_mpi(&ctx->E, &ctx->N) >= 0) { in mbedtls_rsa_check_pubkey()
688 &ctx->D, &ctx->E, NULL, NULL) != 0) { in mbedtls_rsa_check_privkey()
714 mbedtls_mpi_cmp_mpi(&pub->E, &prv->E) != 0) { in mbedtls_rsa_check_pub_priv()
752 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&T, &T, &ctx->E, &ctx->N, &ctx->RN)); in mbedtls_rsa_public()
826 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vi, &ctx->Vi, &ctx->E, &ctx->N, &ctx->RN)); in rsa_prepare_blinding()
1030 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&C, &T, &ctx->E, in mbedtls_rsa_private()
2293 MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&dst->E, &src->E)); in mbedtls_rsa_copy()
2338 mbedtls_mpi_free(&ctx->E); in mbedtls_rsa_free()