Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_api.h66 struct zcrypt_queue;
69 long (*rsa_modexpo)(struct zcrypt_queue *, struct ica_rsa_modexpo *);
70 long (*rsa_modexpo_crt)(struct zcrypt_queue *,
72 long (*send_cprb)(struct zcrypt_queue *, struct ica_xcRB *,
74 long (*send_ep11_cprb)(struct zcrypt_queue *, struct ep11_urb *,
76 long (*rng)(struct zcrypt_queue *, char *, struct ap_message *);
101 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 …]
Dzcrypt_queue.c45 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in online_show()
54 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in online_store()
81 struct zcrypt_queue *zq = to_ap_queue(dev)->private; in load_show()
98 void zcrypt_queue_force_online(struct zcrypt_queue *zq, int online) in zcrypt_queue_force_online()
105 struct zcrypt_queue *zcrypt_queue_alloc(size_t max_response_size) in zcrypt_queue_alloc()
107 struct zcrypt_queue *zq; in zcrypt_queue_alloc()
109 zq = kzalloc(sizeof(struct zcrypt_queue), GFP_KERNEL); in zcrypt_queue_alloc()
126 void zcrypt_queue_free(struct zcrypt_queue *zq) in zcrypt_queue_free()
135 struct zcrypt_queue *zq = in zcrypt_queue_release()
136 container_of(kref, struct zcrypt_queue, refcount); in zcrypt_queue_release()
[all …]
Dzcrypt_msgtype6.c251 static int ICAMEX_msg_to_type6MEX_msgX(struct zcrypt_queue *zq, in ICAMEX_msg_to_type6MEX_msgX()
320 static int ICACRT_msg_to_type6CRT_msgX(struct zcrypt_queue *zq, in ICACRT_msg_to_type6CRT_msgX()
601 static int convert_type86_ica(struct zcrypt_queue *zq, in convert_type86_ica()
721 static int convert_type86_xcrb(struct zcrypt_queue *zq, in convert_type86_xcrb()
752 static int convert_type86_ep11_xcrb(struct zcrypt_queue *zq, in convert_type86_ep11_xcrb()
770 static int convert_type86_rng(struct zcrypt_queue *zq, in convert_type86_rng()
787 static int convert_response_ica(struct zcrypt_queue *zq, in convert_response_ica()
831 static int convert_response_xcrb(struct zcrypt_queue *zq, in convert_response_xcrb()
868 static int convert_response_ep11_xcrb(struct zcrypt_queue *zq, in convert_response_ep11_xcrb()
897 static int convert_response_rng(struct zcrypt_queue *zq, in convert_response_rng()
[all …]
Dzcrypt_api.c155 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue()
156 struct zcrypt_queue *zq, in zcrypt_pick_queue()
170 struct zcrypt_queue *zq, in zcrypt_drop_queue()
198 static inline bool zcrypt_queue_compare(struct zcrypt_queue *zq, in zcrypt_queue_compare()
199 struct zcrypt_queue *pref_zq, in zcrypt_queue_compare()
219 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_modexpo()
294 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rsa_crt()
369 struct zcrypt_queue *zq, *pref_zq; in zcrypt_send_cprb()
467 struct zcrypt_queue *zq, *pref_zq; in zcrypt_send_ep11_cprb()
564 struct zcrypt_queue *zq, *pref_zq; in zcrypt_rng()
[all …]
Dzcrypt_msgtype50.c202 static int ICAMEX_msg_to_type50MEX_msg(struct zcrypt_queue *zq, in ICAMEX_msg_to_type50MEX_msg()
263 static int ICACRT_msg_to_type50CRT_msg(struct zcrypt_queue *zq, in ICACRT_msg_to_type50CRT_msg()
350 static int convert_type80(struct zcrypt_queue *zq, in convert_type80()
381 static int convert_response(struct zcrypt_queue *zq, in convert_response()
456 static long zcrypt_cex2a_modexpo(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo()
502 static long zcrypt_cex2a_modexpo_crt(struct zcrypt_queue *zq, in zcrypt_cex2a_modexpo_crt()
DMakefile9 zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
Dzcrypt_cex2a.c159 struct zcrypt_queue *zq = NULL; in zcrypt_cex2a_queue_probe()
199 struct zcrypt_queue *zq = aq->private; in zcrypt_cex2a_queue_remove()
Dzcrypt_pcixcc.c239 struct zcrypt_queue *zq; in zcrypt_pcixcc_queue_probe()
277 struct zcrypt_queue *zq = aq->private; in zcrypt_pcixcc_queue_remove()
Dzcrypt_cex4.c228 struct zcrypt_queue *zq; in zcrypt_cex4_queue_probe()
274 struct zcrypt_queue *zq = aq->private; in zcrypt_cex4_queue_remove()
Dzcrypt_error.h81 static inline int convert_error(struct zcrypt_queue *zq, in convert_error()
Dzcrypt_card.c65 struct zcrypt_queue *zq; in online_store()