Home
last modified time | relevance | path

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

/drivers/s390/crypto/
A Dzcrypt_msgtype6.c242 ap_msg->len = size; in icamex_msg_to_type6mex_msgx()
311 ap_msg->len = size; in icacrt_msg_to_type6crt_msgx()
359 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6cprb_msgx()
489 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6_ep11cprb_msgx()
969 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo()
985 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo()
1016 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo_crt()
1032 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo_crt()
1119 rc = ap_msg->rc; in zcrypt_msgtype6_send_cprb()
1235 rc = ap_msg->rc; in zcrypt_msgtype6_send_ep11_cprb()
[all …]
A Dzcrypt_msgtype50.c196 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument
208 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
219 ap_msg->len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
230 ap_msg->len = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg()
278 ap_msg->len = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
292 ap_msg->len = sizeof(*crb2); in ICACRT_msg_to_type50CRT_msg()
307 ap_msg->len = sizeof(*crb3); in ICACRT_msg_to_type50CRT_msg()
459 struct ap_message *ap_msg) in zcrypt_msgtype50_modexpo() argument
477 rc = ap_msg->rc; in zcrypt_msgtype50_modexpo()
508 struct ap_message *ap_msg) in zcrypt_msgtype50_modexpo_crt() argument
[all …]
A Dap_queue.c123 struct ap_message *ap_msg; in ap_sm_recv() local
160 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv()
162 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
258 ap_msg->msg, ap_msg->len, false); in ap_sm_write()
260 ap_msg->msg, ap_msg->len, in ap_sm_write()
291 ap_msg->rc = -EINVAL; in ap_sm_write()
292 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_write()
1265 ap_msg->rc = -EAGAIN; in __ap_flush_queue()
1266 ap_msg->receive(aq, ap_msg, NULL); in __ap_flush_queue()
1271 ap_msg->rc = -EAGAIN; in __ap_flush_queue()
[all …]
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()
A Dzcrypt_api.c648 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local
737 ap_release_apmsg(&ap_msg); in zcrypt_rsa_modexpo()
753 struct ap_message ap_msg; in zcrypt_rsa_crt() local
842 ap_release_apmsg(&ap_msg); in zcrypt_rsa_crt()
859 struct ap_message ap_msg; in _zcrypt_send_cprb() local
879 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_cprb()
969 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_cprb()
1050 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local
1084 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_ep11_cprb()
1169 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_ep11_cprb()
[all …]
A Dap_bus.h241 int ap_init_apmsg(struct ap_message *ap_msg, u32 flags);
242 void ap_release_apmsg(struct ap_message *ap_msg);
247 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
248 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
262 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
A Dap_bus.c580 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_apmsg()
581 ap_msg->flags = flags; in ap_init_apmsg()
585 if (!ap_msg->msg) in ap_init_apmsg()
587 ap_msg->bufsize = AP_DEFAULT_MAX_MSG_SIZE; in ap_init_apmsg()
592 ap_msg->msg = kmalloc(maxmsgsize, GFP_KERNEL); in ap_init_apmsg()
593 if (!ap_msg->msg) in ap_init_apmsg()
595 ap_msg->bufsize = maxmsgsize; in ap_init_apmsg()
606 if (ap_msg->flags & AP_MSG_FLAG_MEMPOOL) { in ap_release_apmsg()
607 memzero_explicit(ap_msg->msg, ap_msg->bufsize); in ap_release_apmsg()
608 mempool_free(ap_msg->msg, ap_msg_pool); in ap_release_apmsg()
[all …]

Completed in 23 milliseconds