Searched refs:rsa_key (Results 1 – 6 of 6) sorted by relevance
| /linux/crypto/ |
| H A D | rsa_helper.c | 19 struct rsa_key *key = context; in rsa_get_n() 49 struct rsa_key *key = context; in rsa_get_e() 64 struct rsa_key *key = context; in rsa_get_d() 79 struct rsa_key *key = context; in rsa_get_p() 94 struct rsa_key *key = context; in rsa_get_q() 109 struct rsa_key *key = context; in rsa_get_dp() 124 struct rsa_key *key = context; in rsa_get_dq() 139 struct rsa_key *key = context; in rsa_get_qinv() 162 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key() argument 165 return asn1_ber_decoder(&rsapubkey_decoder, rsa_key, key, key_len); in rsa_parse_pub_key() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_asym_algs.c | 1076 static void qat_rsa_setkey_crt(struct qat_rsa_ctx *ctx, struct rsa_key *rsa_key) in qat_rsa_setkey_crt() argument 1085 ptr = rsa_key->p; in qat_rsa_setkey_crt() 1086 len = rsa_key->p_sz; in qat_rsa_setkey_crt() 1096 ptr = rsa_key->q; in qat_rsa_setkey_crt() 1097 len = rsa_key->q_sz; in qat_rsa_setkey_crt() 1107 ptr = rsa_key->dp; in qat_rsa_setkey_crt() 1108 len = rsa_key->dp_sz; in qat_rsa_setkey_crt() 1119 ptr = rsa_key->dq; in qat_rsa_setkey_crt() 1120 len = rsa_key->dq_sz; in qat_rsa_setkey_crt() 1131 ptr = rsa_key->qinv; in qat_rsa_setkey_crt() [all …]
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 975 static int hpre_rsa_setkey_crt(struct hpre_ctx *ctx, struct rsa_key *rsa_key) in hpre_rsa_setkey_crt() argument 989 rsa_key->dq, rsa_key->dq_sz); in hpre_rsa_setkey_crt() 995 rsa_key->dp, rsa_key->dp_sz); in hpre_rsa_setkey_crt() 1001 rsa_key->q, rsa_key->q_sz); in hpre_rsa_setkey_crt() 1007 rsa_key->p, rsa_key->p_sz); in hpre_rsa_setkey_crt() 1013 rsa_key->qinv, rsa_key->qinv_sz); in hpre_rsa_setkey_crt() 1069 static bool hpre_is_crt_key(struct rsa_key *key) in hpre_is_crt_key() 1083 struct rsa_key rsa_key; in hpre_rsa_setkey() local 1089 ret = rsa_parse_priv_key(&rsa_key, key, keylen); in hpre_rsa_setkey() 1091 ret = rsa_parse_pub_key(&rsa_key, key, keylen); in hpre_rsa_setkey() [all …]
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-cryp.h | 169 struct starfive_rsa_key rsa_key; member
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-rsa.c | 130 struct rsa_key raw_key; in ccp_rsa_setkey()
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-acry.c | 115 struct rsa_key key;
|