Home
last modified time | relevance | path

Searched refs:xcRB (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_msgtype6.c395 struct ica_xcRB *xcRB, in XCRB_msg_to_type6CPRB_msgX() argument
408 int rcblen = CEIL4(xcRB->request_control_blk_length); in XCRB_msg_to_type6CPRB_msgX()
413 if (CEIL4(xcRB->request_control_blk_length) < in XCRB_msg_to_type6CPRB_msgX()
414 xcRB->request_control_blk_length) in XCRB_msg_to_type6CPRB_msgX()
419 CEIL4(xcRB->request_control_blk_length) + in XCRB_msg_to_type6CPRB_msgX()
420 xcRB->request_data_length; in XCRB_msg_to_type6CPRB_msgX()
428 req_sumlen = CEIL4(xcRB->request_control_blk_length) + in XCRB_msg_to_type6CPRB_msgX()
429 xcRB->request_data_length; in XCRB_msg_to_type6CPRB_msgX()
430 if ((CEIL4(xcRB->request_control_blk_length) <= in XCRB_msg_to_type6CPRB_msgX()
431 xcRB->request_data_length) ? in XCRB_msg_to_type6CPRB_msgX()
[all …]
Dzcrypt_api.c364 long zcrypt_send_cprb(struct ica_xcRB *xcRB) in zcrypt_send_cprb() argument
374 trace_s390_zcrypt_req(xcRB, TB_ZSECSENDCPRB); in zcrypt_send_cprb()
377 rc = get_cprb_fc(xcRB, &ap_msg, &func_code, &domain); in zcrypt_send_cprb()
389 if (xcRB->user_defined != AUTOSELECT && in zcrypt_send_cprb()
390 xcRB->user_defined != zc->card->id) in zcrypt_send_cprb()
424 rc = pref_zq->ops->send_cprb(pref_zq, xcRB, &ap_msg); in zcrypt_send_cprb()
432 trace_s390_zcrypt_rep(xcRB, func_code, rc, in zcrypt_send_cprb()
836 struct ica_xcRB xcRB; in zcrypt_unlocked_ioctl() local
838 if (copy_from_user(&xcRB, uxcRB, sizeof(xcRB))) in zcrypt_unlocked_ioctl()
841 rc = zcrypt_send_cprb(&xcRB); in zcrypt_unlocked_ioctl()
[all …]
Dzcrypt_api.h157 long zcrypt_send_cprb(struct ica_xcRB *xcRB);