Searched refs:xcrb (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 335 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 …]
|
H A D | zcrypt_api.c | 847 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument 858 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb() 860 xcrb->status = 0; in _zcrypt_send_cprb() 863 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 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() 970 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb() 975 long zcrypt_send_cprb(struct ica_xcRB *xcrb) in zcrypt_send_cprb() argument [all …]
|
H A D | zcrypt_ccamisc.c | 299 struct ica_xcRB xcrb; in cca_genseckey() local 379 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey() 382 rc = zcrypt_send_cprb(&xcrb); in cca_genseckey() 441 struct ica_xcRB xcrb; in cca_clr2seckey() local 517 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey() 520 rc = zcrypt_send_cprb(&xcrb); in cca_clr2seckey() 581 struct ica_xcRB xcrb; in cca_sec2protkey() local 644 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_sec2protkey() 647 rc = zcrypt_send_cprb(&xcrb); in cca_sec2protkey() 745 struct ica_xcRB xcrb; in cca_gencipherkey() local [all …]
|
H A D | zcrypt_msgtype6.h | 97 int prep_cca_ap_msg(bool userspace, struct ica_xcRB *xcrb, 100 int prep_ep11_ap_msg(bool userspace, struct ep11_urb *xcrb,
|