Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/mpi/
Dmpiutil.c87 MPI mpi_alloc(unsigned nlimbs) in mpi_alloc() function
112 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()
Dmpi-mod.c53 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()
Dmpicoder.c58 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()
Dmpi-inv.c58 v2 = mpi_alloc(mpi_get_nlimbs(u)); in mpi_invm()
Dmpi-div.c45 MPI tmp = mpi_alloc(mpi_get_nlimbs(quot)); in mpi_fdiv_q()
Dec.c514 ec->t.two_inv_p = mpi_alloc(0); in ec_get_two_inv_p()
/kernel/linux/linux-5.10/crypto/
Ddh.c126 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()
Drsa.c58 MPI m, c = mpi_alloc(0); in rsa_enc()
97 MPI c, m = mpi_alloc(0); in rsa_dec()
/kernel/linux/linux-5.10/include/linux/
Dmpi.h46 MPI mpi_alloc(unsigned nlimbs);
53 return mpi_alloc((nbits + BITS_PER_MPI_LIMB - 1) / BITS_PER_MPI_LIMB); in mpi_new()
/kernel/linux/linux-5.10/lib/
Ddigsig.c141 res = mpi_alloc(mpi_get_nlimbs(in) * 2); in digsig_verify_rsa()