Searched refs:mbedtls_mpi_size (Results 1 – 15 of 15) sorted by relevance
110 return mbedtls_mpi_size(&ctx->P); in mbedtls_dhm_get_len()193 if ((unsigned) x_size < mbedtls_mpi_size(&ctx->P)) { in dhm_make_common()251 n1 = mbedtls_mpi_size(&ctx->P); in mbedtls_dhm_make_params()252 n2 = mbedtls_mpi_size(&ctx->G); in mbedtls_dhm_make_params()253 n3 = mbedtls_mpi_size(&ctx->GX); in mbedtls_dhm_make_params()442 *olen = mbedtls_mpi_size(&ctx->K); in mbedtls_dhm_calc_secret()
222 ctx->len = mbedtls_mpi_size(&ctx->N); in mbedtls_rsa_import()239 ctx->len = mbedtls_mpi_size(&ctx->N); in mbedtls_rsa_import_raw()281 if (ctx->len != mbedtls_mpi_size(&ctx->N) || in rsa_check_context()409 ctx->len = mbedtls_mpi_size(&ctx->N); in mbedtls_rsa_complete()758 ctx->len = mbedtls_mpi_size(&ctx->N); in mbedtls_rsa_gen_key()
105 len = mbedtls_mpi_size(X); in mbedtls_asn1_write_mpi()
640 if (mbedtls_mpi_size(&ctx->z) > blen) { in ecdh_calc_secret_internal()
99 tmp_len = mbedtls_mpi_size(serial); in mbedtls_x509write_crt_set_serial()
703 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_point_write_binary()779 plen = mbedtls_mpi_size(&grp->P); in mbedtls_ecp_point_read_binary()3019 if (mbedtls_mpi_size(&pt->X) > (grp->nbits + 7) / 8) { in ecp_check_pubkey_mx()
352 len = mbedtls_mpi_size(&h); /* actually r */ in ecjpake_zkp_write()
345 len != mbedtls_mpi_size(&grp->P) + 1 || in pk_group_from_specified()
493 size_t mbedtls_mpi_size(const mbedtls_mpi *X) in mbedtls_mpi_size() function
1159 buflen = mbedtls_mpi_size(&mpi); in psa_get_rsa_public_exponent()
41 TEST_EQUAL(n, mbedtls_mpi_size(expected));64 TEST_ASSERT(mbedtls_mpi_size(&ctx->X) <= x_size);124 pub_cli_len = mbedtls_mpi_size(&ctx_srv.P);250 TEST_ASSERT(mbedtls_dhm_make_public(&ctx, (int) mbedtls_mpi_size(&P),
111 TEST_ASSERT(mbedtls_mpi_size(&X) == 0);200 buflen = mbedtls_mpi_size(&X);231 buflen = mbedtls_mpi_size(&X);269 buflen = mbedtls_mpi_size(&X);1202 TEST_ASSERT(mbedtls_mpi_size(&X) + leading_zeros ==
180 mbedtls_dhm_make_params(&dhm, (int) mbedtls_mpi_size(&dhm.MBEDTLS_PRIVATE(P)), buf, &n, in main()
456 size_t mbedtls_mpi_size(const mbedtls_mpi *X);
1018 n = mbedtls_mpi_size(&dhm.P); in main()