Searched refs:mpi_alloc (Results 1 – 10 of 10) sorted by relevance
87 MPI mpi_alloc(unsigned nlimbs) in mpi_alloc() function112 EXPORT_SYMBOL_GPL(mpi_alloc);201 b = mpi_alloc(a->nlimbs); in mpi_copy()223 b = mpi_alloc(a->nlimbs); in mpi_alloc_like()257 w = mpi_alloc(mpi_get_nlimbs(u)); in mpi_set()273 w = mpi_alloc(1); in mpi_set_ui()288 MPI w = mpi_alloc(1); in mpi_alloc_set_ui()
53 tmp = mpi_alloc(ctx->k + 1); in mpi_barrett_init()61 ctx->r1 = mpi_alloc(2 * ctx->k + 1); in mpi_barrett_init()62 ctx->r2 = mpi_alloc(2 * ctx->k + 1); in mpi_barrett_init()138 ctx->r3 = mpi_alloc(k + 2); in mpi_mod_barrett()
58 val = mpi_alloc(nlimbs); in mpi_read_raw_data()206 a = mpi_alloc(0); in mpi_scanval()489 val = mpi_alloc(nlimbs); in mpi_read_raw_from_sgl()
58 v2 = mpi_alloc(mpi_get_nlimbs(u)); in mpi_invm()
45 MPI tmp = mpi_alloc(mpi_get_nlimbs(quot)); in mpi_fdiv_q()
514 ec->t.two_inv_p = mpi_alloc(0); in ec_get_two_inv_p()
126 MPI val = mpi_alloc(0); in dh_is_pubkey_valid()154 MPI base, val = mpi_alloc(0); in dh_compute_value()195 pone = mpi_alloc(0); in dh_compute_value()
58 MPI m, c = mpi_alloc(0); in rsa_enc()97 MPI c, m = mpi_alloc(0); in rsa_dec()
46 MPI mpi_alloc(unsigned nlimbs);53 return mpi_alloc((nbits + BITS_PER_MPI_LIMB - 1) / BITS_PER_MPI_LIMB); in mpi_new()
141 res = mpi_alloc(mpi_get_nlimbs(in) * 2); in digsig_verify_rsa()