Searched refs:mpi_powm (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/crypto/ |
H A D | rsa.c | 38 return mpi_powm(c, m, key->e, key->n); in _rsa_enc() 63 ret = mpi_powm(m_or_m1_or_h, c, key->dp, key->p); in _rsa_dec_crt() 68 ret = mpi_powm(m2, c, key->dq, key->q); in _rsa_dec_crt()
|
H A D | dh.c | 39 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val() 148 ret = mpi_powm(val, y, q, ctx->p); in dh_is_pubkey_valid()
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-pow.c | 24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() function 314 EXPORT_SYMBOL_GPL(mpi_powm);
|
H A D | ec.c | 152 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()
|
/openbmc/linux/lib/ |
H A D | digsig.c | 145 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa()
|
/openbmc/linux/include/linux/ |
H A D | mpi.h | 118 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);
|