Home
last modified time | relevance | path

Searched refs:ap_msg (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/s390/crypto/
H A Dap_queue.c136 struct ap_message *ap_msg; in ap_sm_recv() local
169 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv()
170 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv()
172 list_del_init(&ap_msg->list); in ap_sm_recv()
175 ap_msg->rc = -EMSGSIZE; in ap_sm_recv()
176 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv()
178 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
265 struct ap_message *ap_msg; in ap_sm_write() local
272 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write()
274 ap_msg->msg, ap_msg->len, false); in ap_sm_write()
[all …]
H A Dzcrypt_msgtype6.h98 struct ap_message *ap_msg,
101 struct ap_message *ap_msg,
103 int prep_rng_ap_msg(struct ap_message *ap_msg,
119 static inline void rng_type6cprb_msgx(struct ap_message *ap_msg, in rng_type6cprb_msgx() argument
131 } __packed * msg = ap_msg->msg; in rng_type6cprb_msgx()
158 ap_msg->len = sizeof(*msg); in rng_type6cprb_msgx()
H A Dzcrypt_api.c646 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local
654 rc = ap_init_apmsg(&ap_msg, 0); in zcrypt_rsa_modexpo()
728 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo()
735 ap_release_apmsg(&ap_msg); in zcrypt_rsa_modexpo()
742 ap_msg.psmid); in zcrypt_rsa_modexpo()
752 struct ap_message ap_msg; in zcrypt_rsa_crt() local
760 rc = ap_init_apmsg(&ap_msg, 0); in zcrypt_rsa_crt()
834 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
841 ap_release_apmsg(&ap_msg); in zcrypt_rsa_crt()
848 ap_msg.psmid); in zcrypt_rsa_crt()
[all …]