Home
last modified time | relevance | path

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

/linux/drivers/s390/crypto/
A Dzcrypt_msgtype6.c247 ap_msg->len = size; in icamex_msg_to_type6mex_msgx()
316 ap_msg->len = size; in icacrt_msg_to_type6crt_msgx()
364 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6cprb_msgx()
494 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6_ep11cprb_msgx()
976 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo()
992 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo()
1026 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo_crt()
1042 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo_crt()
1077 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_cca_ap_msg()
1174 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_ep11_ap_msg()
[all …]
A Dzcrypt_msgtype50.c208 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
461 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_msgtype50_modexpo()
462 if (!ap_msg->msg) in zcrypt_msgtype50_modexpo()
467 ap_msg->private = &work; in zcrypt_msgtype50_modexpo()
477 rc = ap_msg->rc; in zcrypt_msgtype50_modexpo()
488 ap_msg->private = NULL; in zcrypt_msgtype50_modexpo()
511 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_msgtype50_modexpo_crt()
512 if (!ap_msg->msg) in zcrypt_msgtype50_modexpo_crt()
517 ap_msg->private = &work; in zcrypt_msgtype50_modexpo_crt()
527 rc = ap_msg->rc; in zcrypt_msgtype50_modexpo_crt()
[all …]
A Dap_queue.c122 struct ap_message *ap_msg; in ap_sm_recv() local
159 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv()
161 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
257 ap_msg->msg, ap_msg->len, false); in ap_sm_write()
259 ap_msg->msg, ap_msg->len, in ap_sm_write()
290 ap_msg->rc = -EINVAL; in ap_sm_write()
291 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_write()
1264 ap_msg->rc = -EAGAIN; in __ap_flush_queue()
1265 ap_msg->receive(aq, ap_msg, NULL); in __ap_flush_queue()
1270 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 Dap_bus.h240 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument
242 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message()
250 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument
252 kfree_sensitive(ap_msg->msg); in ap_release_message()
253 kfree_sensitive(ap_msg->private); in ap_release_message()
259 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
260 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
274 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
A Dzcrypt_api.c643 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local
651 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo()
747 struct ap_message ap_msg; in zcrypt_rsa_crt() local
755 ap_init_message(&ap_msg); in zcrypt_rsa_crt()
851 struct ap_message ap_msg; in _zcrypt_send_cprb() local
861 ap_init_message(&ap_msg); in _zcrypt_send_cprb()
867 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_cprb()
957 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_cprb()
1037 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local
1072 ap_msg.msg, ap_msg.len, false); in _zcrypt_send_ep11_cprb()
[all …]

Completed in 18 milliseconds