Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/s390/crypto/
Dzcrypt_msgtype6.c335 struct ica_xcRB *xcrb, in xcrb_msg_to_type6cprb_msgx() argument
348 int rcblen = CEIL4(xcrb->request_control_blk_length); in xcrb_msg_to_type6cprb_msgx()
353 if (CEIL4(xcrb->request_control_blk_length) < in xcrb_msg_to_type6cprb_msgx()
354 xcrb->request_control_blk_length) in xcrb_msg_to_type6cprb_msgx()
359 CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx()
360 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx()
368 req_sumlen = CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx()
369 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx()
370 if ((CEIL4(xcrb->request_control_blk_length) <= in xcrb_msg_to_type6cprb_msgx()
371 xcrb->request_data_length) ? in xcrb_msg_to_type6cprb_msgx()
[all …]
Dzcrypt_api.c896 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument
907 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb()
909 xcrb->status = 0; in _zcrypt_send_cprb()
918 xcrb->agent_ID = 0x4646; in _zcrypt_send_cprb()
922 rc = prep_cca_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
956 if (xcrb->user_defined != AUTOSELECT && in _zcrypt_send_cprb()
957 xcrb->user_defined != zc->card->id) in _zcrypt_send_cprb()
1001 __func__, xcrb->user_defined, *domain); in _zcrypt_send_cprb()
1019 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_cprb()
1031 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb()
[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,