Home
last modified time | relevance | path

Searched refs:xcrb (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/s390/crypto/
Dzcrypt_msgtype6.c335 struct ica_xcRB *xcrb, in xcrb_msg_to_type6cprb_msgx() argument
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->request_data_length) ? in xcrb_msg_to_type6cprb_msgx()
[all …]
Dzcrypt_api.c849 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument
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
[all …]
Dzcrypt_ccamisc.c304 struct ica_xcRB xcrb; in cca_genseckey() local
384 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey()
387 rc = zcrypt_send_cprb(&xcrb); in cca_genseckey()
446 struct ica_xcRB xcrb; in cca_clr2seckey() local
522 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey()
525 rc = zcrypt_send_cprb(&xcrb); in cca_clr2seckey()
586 struct ica_xcRB xcrb; in cca_sec2protkey() local
649 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_sec2protkey()
652 rc = zcrypt_send_cprb(&xcrb); in cca_sec2protkey()
750 struct ica_xcRB xcrb; in cca_gencipherkey() local
[all …]
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,