Home
last modified time | relevance | path

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

/linux-4.4.14/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 *);
102 struct zcrypt_device { struct
128 struct zcrypt_device *zcrypt_device_alloc(size_t); argument
129 void zcrypt_device_free(struct zcrypt_device *);
130 void zcrypt_device_get(struct zcrypt_device *);
[all …]
Dzcrypt_api.c86 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_type_show()
95 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_show()
103 struct zcrypt_device *zdev = to_ap_dev(dev)->private; in zcrypt_online_store()
154 static void __zcrypt_increase_preference(struct zcrypt_device *zdev) in __zcrypt_increase_preference()
156 struct zcrypt_device *tmp; in __zcrypt_increase_preference()
162 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_increase_preference()
182 static void __zcrypt_decrease_preference(struct zcrypt_device *zdev) in __zcrypt_decrease_preference()
184 struct zcrypt_device *tmp; in __zcrypt_decrease_preference()
190 tmp = list_entry(l, struct zcrypt_device, list); in __zcrypt_decrease_preference()
204 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_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()
424 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()