Searched refs:ap_msg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 247 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() 495 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6_ep11cprb_msgx() 980 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo() 996 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo() 1030 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo_crt() 1046 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo_crt() 1081 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_cca_ap_msg() 1178 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_ep11_ap_msg() [all …]
|
H A D | zcrypt_msgtype50.c | 208 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 …]
|
H A D | ap_queue.c | 113 struct ap_message *ap_msg; in ap_sm_recv() local 147 ap_msg->rc = -EMSGSIZE; in ap_sm_recv() 148 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv() 150 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv() 233 ap_msg->msg, ap_msg->len, in ap_sm_write() 264 ap_msg->rc = -EINVAL; in ap_sm_write() 265 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_write() 1118 ap_msg->rc = -EAGAIN; in __ap_flush_queue() 1119 ap_msg->receive(aq, ap_msg, NULL); in __ap_flush_queue() 1124 ap_msg->rc = -EAGAIN; in __ap_flush_queue() [all …]
|
H A D | zcrypt_msgtype6.h | 98 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 D | ap_bus.h | 252 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 254 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message() 262 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument 264 kfree_sensitive(ap_msg->msg); in ap_release_message() 265 kfree_sensitive(ap_msg->private); in ap_release_message() 271 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg); 272 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg); 285 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
|
H A D | zcrypt_api.c | 645 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local 653 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo() 734 ap_release_message(&ap_msg); in zcrypt_rsa_modexpo() 750 struct ap_message ap_msg; in zcrypt_rsa_crt() local 758 ap_init_message(&ap_msg); in zcrypt_rsa_crt() 855 struct ap_message ap_msg; in _zcrypt_send_cprb() local 865 ap_init_message(&ap_msg); in _zcrypt_send_cprb() 1016 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local 1022 ap_init_message(&ap_msg); in _zcrypt_send_ep11_cprb() 1164 struct ap_message ap_msg; in zcrypt_rng() local [all …]
|