Searched refs:xcrb (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.c | 329 struct ica_xcRB *xcrb, in xcrb_msg_to_type6cprb_msgx() argument 345 int rcblen = CEIL4(xcrb->request_control_blk_length); in xcrb_msg_to_type6cprb_msgx() 350 if (CEIL4(xcrb->request_control_blk_length) < in xcrb_msg_to_type6cprb_msgx() 351 xcrb->request_control_blk_length) in xcrb_msg_to_type6cprb_msgx() 356 CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx() 357 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx() 365 req_sumlen = CEIL4(xcrb->request_control_blk_length) + in xcrb_msg_to_type6cprb_msgx() 366 xcrb->request_data_length; in xcrb_msg_to_type6cprb_msgx() 367 if ((CEIL4(xcrb->request_control_blk_length) <= in xcrb_msg_to_type6cprb_msgx() 368 xcrb->request_data_length) ? in xcrb_msg_to_type6cprb_msgx() [all …]
|
| H A D | zcrypt_api.c | 854 struct ica_xcRB *xcrb) in _zcrypt_send_cprb() argument 865 trace_s390_zcrypt_req(xcrb, TB_ZSECSENDCPRB); in _zcrypt_send_cprb() 867 xcrb->status = 0; in _zcrypt_send_cprb() 874 rc = prep_cca_ap_msg(userspace, xcrb, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb() 902 card = xcrb->user_defined; in _zcrypt_send_cprb() 959 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_cprb() 975 trace_s390_zcrypt_rep(xcrb, func_code, rc, in _zcrypt_send_cprb() 981 long zcrypt_send_cprb(struct ica_xcRB *xcrb, u32 xflags) in zcrypt_send_cprb() argument 989 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb() 995 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb() [all …]
|
| H A D | zcrypt_ccamisc.c | 327 struct ica_xcRB xcrb; in cca_genseckey() local 408 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey() 411 rc = zcrypt_send_cprb(&xcrb, xflags); in cca_genseckey() 470 struct ica_xcRB xcrb; in cca_clr2seckey() local 547 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey() 550 rc = zcrypt_send_cprb(&xcrb, xflags); in cca_clr2seckey() 611 struct ica_xcRB xcrb; in cca_sec2protkey() local 675 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_sec2protkey() 678 rc = zcrypt_send_cprb(&xcrb, xflags); in cca_sec2protkey() 776 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,
|