Searched refs:ap_msg (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/s390/crypto/ |
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() 500 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6_ep11cprb_msgx() 1035 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo() 1051 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo() 1085 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo_crt() 1101 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo_crt() 1136 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_cca_ap_msg() 1217 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in prep_ep11_ap_msg() [all …]
|
A D | zcrypt_msgtype50.c | 211 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg() 475 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_cex2a_modexpo() 476 if (!ap_msg->msg) in zcrypt_cex2a_modexpo() 481 ap_msg->private = &work; in zcrypt_cex2a_modexpo() 491 rc = ap_msg->rc; in zcrypt_cex2a_modexpo() 502 ap_msg->private = NULL; in zcrypt_cex2a_modexpo() 526 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_cex2a_modexpo_crt() 527 if (!ap_msg->msg) in zcrypt_cex2a_modexpo_crt() 532 ap_msg->private = &work; in zcrypt_cex2a_modexpo_crt() 542 rc = ap_msg->rc; in zcrypt_cex2a_modexpo_crt() [all …]
|
A D | ap_queue.c | 137 struct ap_message *ap_msg; in ap_sm_recv() local 171 ap_msg->rc = -EMSGSIZE; in ap_sm_recv() 172 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv() 174 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv() 262 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() 885 ap_msg->rc = -EAGAIN; in __ap_flush_queue() 886 ap_msg->receive(aq, ap_msg, NULL); in __ap_flush_queue() 891 ap_msg->rc = -EAGAIN; in __ap_flush_queue() [all …]
|
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()
|
A D | ap_bus.h | 267 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 269 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message() 277 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument 279 kfree_sensitive(ap_msg->msg); in ap_release_message() 280 kfree_sensitive(ap_msg->private); in ap_release_message() 294 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg); 295 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg); 306 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
|
A D | zcrypt_cex2c.c | 183 struct ap_message ap_msg; in zcrypt_cex2c_rng_supported() local 202 ap_init_message(&ap_msg); in zcrypt_cex2c_rng_supported() 203 ap_msg.msg = (void *)get_zeroed_page(GFP_KERNEL); in zcrypt_cex2c_rng_supported() 204 if (!ap_msg.msg) in zcrypt_cex2c_rng_supported() 207 rng_type6cprb_msgx(&ap_msg, 4, &domain); in zcrypt_cex2c_rng_supported() 209 msg = ap_msg.msg; in zcrypt_cex2c_rng_supported() 212 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.msg, ap_msg.len); in zcrypt_cex2c_rng_supported() 219 rc = ap_recv(aq->qid, &psmid, ap_msg.msg, 4096); in zcrypt_cex2c_rng_supported() 230 reply = ap_msg.msg; in zcrypt_cex2c_rng_supported() 236 free_page((unsigned long)ap_msg.msg); in zcrypt_cex2c_rng_supported()
|
A D | zcrypt_api.c | 674 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local 682 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo() 686 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_modexpo() 784 struct ap_message ap_msg; in zcrypt_rsa_crt() local 792 ap_init_message(&ap_msg); in zcrypt_rsa_crt() 894 struct ap_message ap_msg; in _zcrypt_send_cprb() local 904 ap_init_message(&ap_msg); in _zcrypt_send_cprb() 1073 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local 1079 ap_init_message(&ap_msg); in _zcrypt_send_ep11_cprb() 1226 struct ap_message ap_msg; in zcrypt_rng() local [all …]
|
Completed in 19 milliseconds