Lines Matching refs:rsa_key
21 static int _rsa_enc(const struct rsa_key *key, MPI c, MPI m) in _rsa_enc()
35 static int _rsa_dec(const struct rsa_key *key, MPI m, MPI c) in _rsa_dec()
49 static int _rsa_sign(const struct rsa_key *key, MPI s, MPI m) in _rsa_sign()
63 static int _rsa_verify(const struct rsa_key *key, MPI m, MPI s) in _rsa_verify()
73 static inline struct rsa_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key()
81 const struct rsa_key *pkey = rsa_get_key(tfm); in rsa_enc()
126 const struct rsa_key *pkey = rsa_get_key(tfm); in rsa_dec()
170 const struct rsa_key *pkey = rsa_get_key(tfm); in rsa_sign()
215 const struct rsa_key *pkey = rsa_get_key(tfm); in rsa_verify()
277 struct rsa_key *pkey = akcipher_tfm_ctx(tfm); in rsa_set_pub_key()
294 struct rsa_key *pkey = akcipher_tfm_ctx(tfm); in rsa_set_priv_key()
310 struct rsa_key *pkey = akcipher_tfm_ctx(tfm); in rsa_max_size()
317 struct rsa_key *pkey = akcipher_tfm_ctx(tfm); in rsa_exit_tfm()
336 .cra_ctxsize = sizeof(struct rsa_key),