Home
last modified time | relevance | path

Searched refs:xcrb (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c335 struct ica_xcRB *xcrb, in xcrb_msg_to_type6cprb_msgx()
351 int rcblen = CEIL4(xcrb->request_control_blk_length); in xcrb_msg_to_type6cprb_msgx()
356 if (CEIL4(xcrb->request_control_blk_length) < in xcrb_msg_to_type6cprb_msgx()
357 xcrb->request_control_blk_length) in xcrb_msg_to_type6cprb_msgx()
362 CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx()
363 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx()
371 req_sumlen = CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx()
372 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx()
373 if ((CEIL4(xcrb->request_control_blk_length) <= in xcrb_msg_to_type6cprb_msgx()
374 xcrb in xcrb_msg_to_type6cprb_msgx()
334 xcrb_msg_to_type6cprb_msgx(bool userspace, struct ap_message *ap_msg, struct ica_xcRB *xcrb, unsigned int *fcode, unsigned short **dom) xcrb_msg_to_type6cprb_msgx() argument
454 xcrb_msg_to_type6_ep11cprb_msgx(bool userspace, struct ap_message *ap_msg, struct ep11_urb *xcrb, unsigned int *fcode, unsigned int *domain) xcrb_msg_to_type6_ep11cprb_msgx() argument
623 convert_type86_xcrb(bool userspace, struct zcrypt_queue *zq, struct ap_message *reply, struct ica_xcRB *xcrb) convert_type86_xcrb() argument
668 convert_type86_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, struct ap_message *reply, struct ep11_urb *xcrb) convert_type86_ep11_xcrb() argument
751 convert_response_xcrb(bool userspace, struct zcrypt_queue *zq, struct ap_message *reply, struct ica_xcRB *xcrb) convert_response_xcrb() argument
786 convert_response_ep11_xcrb(bool userspace, struct zcrypt_queue *zq, struct ap_message *reply, struct ep11_urb *xcrb) convert_response_ep11_xcrb() argument
1072 prep_cca_ap_msg(bool userspace, struct ica_xcRB *xcrb, struct ap_message *ap_msg, unsigned int *func_code, unsigned short **dom) prep_cca_ap_msg() argument
1100 zcrypt_msgtype6_send_cprb(bool userspace, struct zcrypt_queue *zq, struct ica_xcRB *xcrb, struct ap_message *ap_msg) zcrypt_msgtype6_send_cprb() argument
1169 prep_ep11_ap_msg(bool userspace, struct ep11_urb *xcrb, struct ap_message *ap_msg, unsigned int *func_code, unsigned int *domain) prep_ep11_ap_msg() argument
1198 zcrypt_msgtype6_send_ep11_cprb(bool userspace, struct zcrypt_queue *zq, struct ep11_urb *xcrb, struct ap_message *ap_msg) zcrypt_msgtype6_send_ep11_cprb() argument
[all...]
H A Dzcrypt_api.c849 struct ica_xcRB *xcrb) in _zcrypt_send_cprb()
860 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
862 xcrb->status = 0; in _zcrypt_send_cprb()
865 rc = prep_cca_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
899 if (xcrb->user_defined != AUTOSELECT && in _zcrypt_send_cprb()
900 xcrb->user_defined != zc->card->id) in _zcrypt_send_cprb()
944 __func__, xcrb->user_defined, *domain); in _zcrypt_send_cprb()
954 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_cprb()
966 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb()
971 long zcrypt_send_cprb(struct ica_xcRB *xcrb) in zcrypt_send_cprb() argument
847 _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, struct zcrypt_track *tr, struct ica_xcRB *xcrb) _zcrypt_send_cprb() argument
1004 _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, struct zcrypt_track *tr, struct ep11_urb *xcrb) _zcrypt_send_ep11_cprb() argument
1150 zcrypt_send_ep11_cprb(struct ep11_urb *xcrb) zcrypt_send_ep11_cprb() argument
1488 struct ica_xcRB xcrb; zsecsendcprb_ioctl() local
1521 struct ep11_urb xcrb; zsendep11cprb_ioctl() local
[all...]
H A Dzcrypt_ccamisc.c277 * Helper function to prepare the xcrb struct
304 struct ica_xcRB xcrb; in cca_genseckey() local
383 /* fill xcrb struct */ in cca_genseckey()
384 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey()
386 /* forward xcrb with request CPRB and reply CPRB to zcrypt dd */ in cca_genseckey()
387 rc = zcrypt_send_cprb(&xcrb); in cca_genseckey()
446 struct ica_xcRB xcrb; in cca_clr2seckey() local
521 /* fill xcrb struct */ in cca_clr2seckey()
522 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey()
524 /* forward xcrb wit in cca_clr2seckey()
586 struct ica_xcRB xcrb; cca_sec2protkey() local
750 struct ica_xcRB xcrb; cca_gencipherkey() local
954 struct ica_xcRB xcrb; _ip_cprb_helper() local
1189 struct ica_xcRB xcrb; cca_cipher2protkey() local
1358 struct ica_xcRB xcrb; cca_ecc2protkey() local
1512 struct ica_xcRB xcrb; cca_query_crypto_facility() local
[all...]
H A Dzcrypt_msgtype6.h97 int prep_cca_ap_msg(bool userspace, struct ica_xcRB *xcrb,
100 int prep_ep11_ap_msg(bool userspace, struct ep11_urb *xcrb,
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dzcrypt_ccamisc.c277 * Helper function to prepare the xcrb struct
304 struct ica_xcRB xcrb; in cca_genseckey() local
383 /* fill xcrb struct */ in cca_genseckey()
384 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey()
386 /* forward xcrb with request CPRB and reply CPRB to zcrypt dd */ in cca_genseckey()
387 rc = zcrypt_send_cprb(&xcrb); in cca_genseckey()
446 struct ica_xcRB xcrb; in cca_clr2seckey() local
521 /* fill xcrb struct */ in cca_clr2seckey()
522 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey()
524 /* forward xcrb wit in cca_clr2seckey()
586 struct ica_xcRB xcrb; cca_sec2protkey() local
747 struct ica_xcRB xcrb; cca_gencipherkey() local
951 struct ica_xcRB xcrb; _ip_cprb_helper() local
1186 struct ica_xcRB xcrb; cca_cipher2protkey() local
1352 struct ica_xcRB xcrb; cca_ecc2protkey() local
1505 struct ica_xcRB xcrb; cca_query_crypto_facility() local
[all...]
H A Dzcrypt_api.c1013 struct ep11_urb *xcrb) in _zcrypt_send_ep11_cprb()
1025 trace_s390_zcrypt_req(xcrb, TP_ZSENDEP11CPRB); in _zcrypt_send_ep11_cprb()
1034 target_num = (unsigned short) xcrb->targets_num; in _zcrypt_send_ep11_cprb()
1048 uptr = (struct ep11_target_dev __force __user *) xcrb->targets; in _zcrypt_send_ep11_cprb()
1057 rc = get_ep11cprb_fc(userspace, xcrb, &ap_msg, &func_code); in _zcrypt_send_ep11_cprb()
1118 rc = pref_zq->ops->send_ep11_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_ep11_cprb()
1132 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_ep11_cprb()
1137 long zcrypt_send_ep11_cprb(struct ep11_urb *xcrb) in zcrypt_send_ep11_cprb() argument
1139 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1545 struct ep11_urb xcrb; in zsendep11cprb_ioctl() local
1011 _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, struct zcrypt_track *tr, struct ep11_urb *xcrb) _zcrypt_send_ep11_cprb() argument
[all...]
H A Dzcrypt_msgtype6.c1171 unsigned int get_ep11cprb_fc(bool userspace, struct ep11_urb *xcrb, in get_ep11cprb_fc() argument
1188 return xcrb_msg_to_type6_ep11cprb_msgx(userspace, ap_msg, xcrb, func_code); in get_ep11cprb_fc()
1199 struct ep11_urb *xcrb, in zcrypt_msgtype6_send_ep11_cprb()
1260 rc = convert_response_ep11_xcrb(userspace, zq, ap_msg, xcrb); in zcrypt_msgtype6_send_ep11_cprb()
1198 zcrypt_msgtype6_send_ep11_cprb(bool userspace, struct zcrypt_queue *zq, struct ep11_urb *xcrb, struct ap_message *ap_msg) zcrypt_msgtype6_send_ep11_cprb() argument

Completed in 14 milliseconds