/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | zcrypt_api.h | 56 struct zcrypt_queue; 74 long (*rsa_modexpo)(struct zcrypt_queue *, struct ica_rsa_modexpo *, 76 long (*rsa_modexpo_crt)(struct zcrypt_queue *, 79 long (*send_cprb)(bool userspace, struct zcrypt_queue *, struct ica_xcRB *, 81 long (*send_ep11_cprb)(bool userspace, struct zcrypt_queue *, struct ep11_urb *, 83 long (*rng)(struct zcrypt_queue *, char *, struct ap_message *); 108 struct zcrypt_queue { struct 143 struct zcrypt_queue *zcrypt_queue_alloc(size_t); 144 void zcrypt_queue_free(struct zcrypt_queue *); 145 void zcrypt_queue_get(struct zcrypt_queue *); [all...] |
H A D | zcrypt_queue.c | 44 struct zcrypt_queue *zq = aq->private; in online_show() 55 struct zcrypt_queue *zq = aq->private; in online_store() 84 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in load_show() 101 void zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online() 108 struct zcrypt_queue *zcrypt_queue_alloc(size_t max_response_size) in zcrypt_queue_alloc() 110 struct zcrypt_queue *zq; in zcrypt_queue_alloc() 112 zq = kzalloc(sizeof(struct zcrypt_queue), GFP_KERNEL); in zcrypt_queue_alloc() 129 void zcrypt_queue_free(struct zcrypt_queue *zq) in zcrypt_queue_free() 138 struct zcrypt_queue *zq = in zcrypt_queue_release() 139 container_of(kref, struct zcrypt_queue, refcoun in zcrypt_queue_release() [all...] |
H A D | zcrypt_msgtype6.c | 248 static int ICAMEX_msg_to_type6MEX_msgX(struct zcrypt_queue *zq, in ICAMEX_msg_to_type6MEX_msgX() 317 static int ICACRT_msg_to_type6CRT_msgX(struct zcrypt_queue *zq, in ICACRT_msg_to_type6CRT_msgX() 610 static int convert_type86_ica(struct zcrypt_queue *zq, in convert_type86_ica() 719 static int convert_type86_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_xcrb() 750 static int convert_type86_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_ep11_xcrb() 768 static int convert_type86_rng(struct zcrypt_queue *zq, in convert_type86_rng() 785 static int convert_response_ica(struct zcrypt_queue *zq, in convert_response_ica() 827 static int convert_response_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_xcrb() 861 static int convert_response_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_ep11_xcrb() 890 static int convert_response_rng(struct zcrypt_queue *z [all...] |
H A D | zcrypt_msgtype50.c | 200 static int ICAMEX_msg_to_type50MEX_msg(struct zcrypt_queue *zq, in ICAMEX_msg_to_type50MEX_msg() 267 static int ICACRT_msg_to_type50CRT_msg(struct zcrypt_queue *zq, in ICACRT_msg_to_type50CRT_msg() 359 static int convert_type80(struct zcrypt_queue *zq, in convert_type80() 390 static int convert_response_cex2a(struct zcrypt_queue *zq, in convert_response_cex2a() 459 * @zq: pointer to zcrypt_queue structure that identifies the 463 static long zcrypt_cex2a_modexpo(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo() 505 * @zq: pointer to zcrypt_queue structure that identifies the 509 static long zcrypt_cex2a_modexpo_crt(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo_crt()
|
H A D | zcrypt_api.c | 572 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue() 573 struct zcrypt_queue *zq, in zcrypt_pick_queue() 589 struct zcrypt_queue *zq, in zcrypt_drop_queue() 616 static inline bool zcrypt_queue_compare(struct zcrypt_queue *zq, in zcrypt_queue_compare() 617 struct zcrypt_queue *pref_zq, in zcrypt_queue_compare() 639 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_modexpo() 747 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_crt() 855 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_cprb() 1016 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_ep11_cprb() 1146 struct zcrypt_queue *z in zcrypt_rng() [all...] |
H A D | zcrypt_cex2a.c | 155 struct zcrypt_queue *zq = NULL; in zcrypt_cex2a_queue_probe() 196 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2a_queue_remove()
|
H A D | zcrypt_cex2c.c | 102 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in cca_mkvps_show() 338 struct zcrypt_queue *zq; in zcrypt_cex2c_queue_probe() 390 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2c_queue_remove()
|
H A D | zcrypt_cex4.c | 114 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in cca_mkvps_show() 317 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in ep11_mkvps_show() 365 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in ep11_queue_op_modes_show() 604 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() 671 struct zcrypt_queue *zq = aq->private; in zcrypt_cex4_queue_remove()
|
H A D | Makefile | 9 zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
|
H A D | zcrypt_error.h | 78 static inline int convert_error(struct zcrypt_queue *zq, in convert_error()
|
H A D | zcrypt_card.c | 66 struct zcrypt_queue *zq; in online_store()
|
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | zcrypt_api.h | 56 struct zcrypt_queue; 71 long (*rsa_modexpo)(struct zcrypt_queue *, struct ica_rsa_modexpo *, 73 long (*rsa_modexpo_crt)(struct zcrypt_queue *, 76 long (*send_cprb)(bool userspace, struct zcrypt_queue *, struct ica_xcRB *, 78 long (*send_ep11_cprb)(bool userspace, struct zcrypt_queue *, struct ep11_urb *, 80 long (*rng)(struct zcrypt_queue *, char *, struct ap_message *); 105 struct zcrypt_queue { struct 139 struct zcrypt_queue *zcrypt_queue_alloc(size_t); 140 void zcrypt_queue_free(struct zcrypt_queue *); 141 void zcrypt_queue_get(struct zcrypt_queue *); [all...] |
H A D | zcrypt_queue.c | 43 struct zcrypt_queue *zq = dev_get_drvdata(dev); in online_show() 54 struct zcrypt_queue *zq = dev_get_drvdata(dev); in online_store() 85 struct zcrypt_queue *zq = dev_get_drvdata(dev); in load_show() 102 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online() 113 struct zcrypt_queue *zcrypt_queue_alloc(size_t reply_buf_size) in zcrypt_queue_alloc() 115 struct zcrypt_queue *zq; in zcrypt_queue_alloc() 134 void zcrypt_queue_free(struct zcrypt_queue *zq) in zcrypt_queue_free() 143 struct zcrypt_queue *zq = in zcrypt_queue_release() 144 container_of(kref, struct zcrypt_queue, refcount); in zcrypt_queue_release() 148 void zcrypt_queue_get(struct zcrypt_queue *z [all...] |
H A D | zcrypt_msgtype6.c | 191 static int icamex_msg_to_type6mex_msgx(struct zcrypt_queue *zq, in icamex_msg_to_type6mex_msgx() 260 static int icacrt_msg_to_type6crt_msgx(struct zcrypt_queue *zq, in icacrt_msg_to_type6crt_msgx() 569 static int convert_type86_ica(struct zcrypt_queue *zq, in convert_type86_ica() 623 static int convert_type86_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_xcrb() 668 static int convert_type86_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_ep11_xcrb() 690 static int convert_type86_rng(struct zcrypt_queue *zq, in convert_type86_rng() 707 static int convert_response_ica(struct zcrypt_queue *zq, in convert_response_ica() 751 static int convert_response_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_xcrb() 786 static int convert_response_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_ep11_xcrb() 816 static int convert_response_rng(struct zcrypt_queue *z [all...] |
H A D | zcrypt_msgtype50.c | 195 static int ICAMEX_msg_to_type50MEX_msg(struct zcrypt_queue *zq, in ICAMEX_msg_to_type50MEX_msg() 258 static int ICACRT_msg_to_type50CRT_msg(struct zcrypt_queue *zq, in ICACRT_msg_to_type50CRT_msg() 346 static int convert_type80(struct zcrypt_queue *zq, in convert_type80() 373 static int convert_response(struct zcrypt_queue *zq, in convert_response() 449 * @zq: pointer to zcrypt_queue structure that identifies the 453 static long zcrypt_msgtype50_modexpo(struct zcrypt_queue *zq, in zcrypt_msgtype50_modexpo() 499 * @zq: pointer to zcrypt_queue structure that identifies the 503 static long zcrypt_msgtype50_modexpo_crt(struct zcrypt_queue *zq, in zcrypt_msgtype50_modexpo_crt()
|
H A D | zcrypt_api.c | 575 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue() 576 struct zcrypt_queue *zq, in zcrypt_pick_queue() 592 struct zcrypt_queue *zq, in zcrypt_drop_queue() 619 static inline bool zcrypt_queue_compare(struct zcrypt_queue *zq, in zcrypt_queue_compare() 620 struct zcrypt_queue *pref_zq, in zcrypt_queue_compare() 642 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_modexpo() 747 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_crt() 852 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_cprb() 1009 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_ep11_cprb() 1159 struct zcrypt_queue *z in zcrypt_rng() [all...] |
H A D | zcrypt_card.c | 66 struct zcrypt_queue *zq; in online_store() 68 struct zcrypt_queue **zq_uelist = NULL; in online_store()
|
H A D | zcrypt_cex4.c | 113 struct zcrypt_queue *zq = dev_get_drvdata(dev); in cca_mkvps_show() 335 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_mkvps_show() 385 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_queue_op_modes_show() 650 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe() 713 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex4_queue_remove()
|
H A D | Makefile | 9 zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
|
H A D | zcrypt_error.h | 78 static inline int convert_error(struct zcrypt_queue *zq, in convert_error()
|