Searched refs:mpi_powm (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/crypto/ |
D | rsa.c | 36 return mpi_powm(c, m, key->e, key->n); in _rsa_enc() 50 return mpi_powm(m, c, key->d, key->n); in _rsa_dec() 64 return mpi_powm(s, m, key->d, key->n); in _rsa_sign() 78 return mpi_powm(m, s, key->e, key->n); in _rsa_verify()
|
D | dh.c | 43 return mpi_powm(val, base, ctx->xa, ctx->p); in _compute_val() 135 ret = mpi_powm(val, y, ctx->q, ctx->p); in dh_is_pubkey_valid()
|
/Linux-v4.19/include/linux/ |
D | mpi.h | 73 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);
|
/Linux-v4.19/lib/mpi/ |
D | mpi-pow.c | 37 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() function 329 EXPORT_SYMBOL_GPL(mpi_powm);
|
/Linux-v4.19/lib/ |
D | digsig.c | 148 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa()
|