Home
last modified time | relevance | path

Searched refs:mpi_powm (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/crypto/
Ddh.c40 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val()
132 ret = mpi_powm(val, y, ctx->q, ctx->p); in dh_is_pubkey_valid()
Drsa.c32 return mpi_powm(c, m, key->e, key->n); in _rsa_enc()
46 return mpi_powm(m, c, key->d, key->n); in _rsa_dec()
/Linux-v5.10/lib/mpi/
Dmpi-pow.c24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() function
314 EXPORT_SYMBOL_GPL(mpi_powm);
Dec.c152 mpi_powm(w, b, e, ctx->p); in ec_powm()
173 mpi_powm(w, b, mpi_const(MPI_C_THREE), ctx->p); in ec_pow3()
/Linux-v5.10/lib/
Ddigsig.c145 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa()
/Linux-v5.10/include/linux/
Dmpi.h118 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);