Home
last modified time | relevance | path

Searched refs:zcrypt_queue (Results 1 – 11 of 11) sorted by relevance

/drivers/s390/crypto/
Dzcrypt_api.h56 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
142 struct zcrypt_queue *zcrypt_queue_alloc(size_t); argument
143 void zcrypt_queue_free(struct zcrypt_queue *);
144 void zcrypt_queue_get(struct zcrypt_queue *);
[all …]
Dzcrypt_queue.c43 struct zcrypt_queue *zq = dev_get_drvdata(dev); in online_show()
54 struct zcrypt_queue *zq = dev_get_drvdata(dev); in online_store()
86 struct zcrypt_queue *zq = dev_get_drvdata(dev); in load_show()
103 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online()
114 struct zcrypt_queue *zcrypt_queue_alloc(size_t reply_buf_size) in zcrypt_queue_alloc()
116 struct zcrypt_queue *zq; in zcrypt_queue_alloc()
118 zq = kzalloc(sizeof(struct zcrypt_queue), GFP_KERNEL); in zcrypt_queue_alloc()
135 void zcrypt_queue_free(struct zcrypt_queue *zq) in zcrypt_queue_free()
144 struct zcrypt_queue *zq = in zcrypt_queue_release()
145 container_of(kref, struct zcrypt_queue, refcount); in zcrypt_queue_release()
[all …]
Dzcrypt_msgtype6.c248 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()
599 static int convert_type86_ica(struct zcrypt_queue *zq, in convert_type86_ica()
709 static int convert_type86_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_xcrb()
740 static int convert_type86_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_type86_ep11_xcrb()
758 static int convert_type86_rng(struct zcrypt_queue *zq, in convert_type86_rng()
775 static int convert_response_ica(struct zcrypt_queue *zq, in convert_response_ica()
818 static int convert_response_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_xcrb()
853 static int convert_response_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, in convert_response_ep11_xcrb()
883 static int convert_response_rng(struct zcrypt_queue *zq, in convert_response_rng()
[all …]
Dzcrypt_msgtype50.c200 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()
391 static int convert_response_cex2a(struct zcrypt_queue *zq, in convert_response_cex2a()
467 static long zcrypt_cex2a_modexpo(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo()
512 static long zcrypt_cex2a_modexpo_crt(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo_crt()
Dzcrypt_api.c571 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue()
572 struct zcrypt_queue *zq, in zcrypt_pick_queue()
588 struct zcrypt_queue *zq, in zcrypt_drop_queue()
615 static inline bool zcrypt_queue_compare(struct zcrypt_queue *zq, in zcrypt_queue_compare()
616 struct zcrypt_queue *pref_zq, in zcrypt_queue_compare()
638 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_modexpo()
746 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_crt()
854 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_cprb()
1018 struct zcrypt_queue *zq, *pref_zq; in _zcrypt_send_ep11_cprb()
1151 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rng()
[all …]
Dzcrypt_cex2a.c153 struct zcrypt_queue *zq = NULL; in zcrypt_cex2a_queue_probe()
192 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex2a_queue_remove()
Dzcrypt_card.c66 struct zcrypt_queue *zq; in online_store()
68 struct zcrypt_queue **zq_uelist = NULL; in online_store()
Dzcrypt_cex4.c109 struct zcrypt_queue *zq = dev_get_drvdata(dev); in cca_mkvps_show()
312 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_mkvps_show()
360 struct zcrypt_queue *zq = dev_get_drvdata(dev); in ep11_queue_op_modes_show()
598 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe()
661 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex4_queue_remove()
Dzcrypt_cex2c.c100 struct zcrypt_queue *zq = dev_get_drvdata(dev); in cca_mkvps_show()
336 struct zcrypt_queue *zq; in zcrypt_cex2c_queue_probe()
385 struct zcrypt_queue *zq = dev_get_drvdata(&ap_dev->device); in zcrypt_cex2c_queue_remove()
DMakefile9 zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
Dzcrypt_error.h78 static inline int convert_error(struct zcrypt_queue *zq, in convert_error()