Home
last modified time | relevance | path

Searched refs:zcrypt_device (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_api.h87 struct zcrypt_device;
90 long (*rsa_modexpo)(struct zcrypt_device *, struct ica_rsa_modexpo *);
91 long (*rsa_modexpo_crt)(struct zcrypt_device *,
93 long (*send_cprb)(struct zcrypt_device *, struct ica_xcRB *);
94 long (*send_ep11_cprb)(struct zcrypt_device *, struct ep11_urb *);
95 long (*rng)(struct zcrypt_device *, char *);
101 struct zcrypt_device { struct
127 struct zcrypt_device *zcrypt_device_alloc(size_t); argument
128 void zcrypt_device_free(struct zcrypt_device *);
129 void zcrypt_device_get(struct zcrypt_device *);
[all …]
Dzcrypt_api.c82 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_type_show()
91 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_show()
99 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_store()
150 static void __zcrypt_increase_preference(struct zcrypt_device *zdev) in __zcrypt_increase_preference()
152 struct zcrypt_device *tmp; in __zcrypt_increase_preference()
158 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_increase_preference()
178 static void __zcrypt_decrease_preference(struct zcrypt_device *zdev) in __zcrypt_decrease_preference()
180 struct zcrypt_device *tmp; in __zcrypt_decrease_preference()
186 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_decrease_preference()
200 struct zcrypt_device *zdev = in zcrypt_device_release()
[all …]
Dzcrypt_msgtype6.c161 static int ICAMEX_msg_to_type6MEX_msgX(struct zcrypt_device *zdev, in ICAMEX_msg_to_type6MEX_msgX()
228 static int ICACRT_msg_to_type6CRT_msgX(struct zcrypt_device *zdev, in ICACRT_msg_to_type6CRT_msgX()
300 static int XCRB_msg_to_type6CPRB_msgX(struct zcrypt_device *zdev, in XCRB_msg_to_type6CPRB_msgX()
395 static int xcrb_msg_to_type6_ep11cprb_msgx(struct zcrypt_device *zdev, in xcrb_msg_to_type6_ep11cprb_msgx()
511 static int convert_type86_ica(struct zcrypt_device *zdev, in convert_type86_ica()
620 static int convert_type86_xcrb(struct zcrypt_device *zdev, in convert_type86_xcrb()
651 static int convert_type86_ep11_xcrb(struct zcrypt_device *zdev, in convert_type86_ep11_xcrb()
669 static int convert_type86_rng(struct zcrypt_device *zdev, in convert_type86_rng()
686 static int convert_response_ica(struct zcrypt_device *zdev, in convert_response_ica()
725 static int convert_response_xcrb(struct zcrypt_device *zdev, in convert_response_xcrb()
[all …]
Dzcrypt_pcica.c84 static int ICAMEX_msg_to_type4MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type4MEX_msg()
133 static int ICACRT_msg_to_type4CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type4CRT_msg()
194 static int convert_type84(struct zcrypt_device *zdev, in convert_type84()
218 static int convert_response(struct zcrypt_device *zdev, in convert_response()
284 static long zcrypt_pcica_modexpo(struct zcrypt_device *zdev, in zcrypt_pcica_modexpo()
323 static long zcrypt_pcica_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_pcica_modexpo_crt()
370 struct zcrypt_device *zdev; in zcrypt_pcica_probe()
404 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcica_remove()
Dzcrypt_pcicc.c154 static int ICAMEX_msg_to_type6MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type6MEX_msg()
241 static int ICACRT_msg_to_type6CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type6CRT_msg()
315 static int convert_type86(struct zcrypt_device *zdev, in convert_type86()
415 static int convert_response(struct zcrypt_device *zdev, in convert_response()
489 static long zcrypt_pcicc_modexpo(struct zcrypt_device *zdev, in zcrypt_pcicc_modexpo()
529 static long zcrypt_pcicc_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_pcicc_modexpo_crt()
577 struct zcrypt_device *zdev; in zcrypt_pcicc_probe()
611 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcicc_remove()
Dzcrypt_msgtype50.c185 static int ICAMEX_msg_to_type50MEX_msg(struct zcrypt_device *zdev, in ICAMEX_msg_to_type50MEX_msg()
243 static int ICACRT_msg_to_type50CRT_msg(struct zcrypt_device *zdev, in ICACRT_msg_to_type50CRT_msg()
327 static int convert_type80(struct zcrypt_device *zdev, in convert_type80()
355 static int convert_response(struct zcrypt_device *zdev, in convert_response()
426 static long zcrypt_cex2a_modexpo(struct zcrypt_device *zdev, in zcrypt_cex2a_modexpo()
470 static long zcrypt_cex2a_modexpo_crt(struct zcrypt_device *zdev, in zcrypt_cex2a_modexpo_crt()
Dzcrypt_cex2a.c89 struct zcrypt_device *zdev = NULL; in zcrypt_cex2a_probe()
146 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_cex2a_remove()
Dzcrypt_cex4.c73 struct zcrypt_device *zdev = NULL; in zcrypt_cex4_probe()
167 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_cex4_remove()
Dzcrypt_pcixcc.c269 struct zcrypt_device *zdev; in zcrypt_pcixcc_probe()
350 struct zcrypt_device *zdev = ap_dev->private; in zcrypt_pcixcc_remove()
Dzcrypt_error.h90 static inline int convert_error(struct zcrypt_device *zdev, in convert_error()