Lines Matching refs:ap_msg

637 	struct ap_message ap_msg;  in zcrypt_rsa_modexpo()  local
645 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo()
649 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_modexpo()
722 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo()
729 ap_release_message(&ap_msg); in zcrypt_rsa_modexpo()
745 struct ap_message ap_msg; in zcrypt_rsa_crt() local
753 ap_init_message(&ap_msg); in zcrypt_rsa_crt()
757 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_crt()
830 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
837 ap_release_message(&ap_msg); in zcrypt_rsa_crt()
853 struct ap_message ap_msg; in _zcrypt_send_cprb() local
863 ap_init_message(&ap_msg); in _zcrypt_send_cprb()
867 ap_msg.fi.cmd = tr->fi.cmd; in _zcrypt_send_cprb()
875 rc = get_cprb_fc(userspace, xcRB, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
903 if (ap_msg.len > zc->card->maxmsgsize) in _zcrypt_send_cprb()
961 rc = pref_zq->ops->send_cprb(userspace, pref_zq, xcRB, &ap_msg); in _zcrypt_send_cprb()
968 ap_release_message(&ap_msg); in _zcrypt_send_cprb()
1021 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local
1027 ap_init_message(&ap_msg); in _zcrypt_send_ep11_cprb()
1031 ap_msg.fi.cmd = tr->fi.cmd; in _zcrypt_send_ep11_cprb()
1057 rc = get_ep11cprb_fc(userspace, xcrb, &ap_msg, &func_code); in _zcrypt_send_ep11_cprb()
1074 if (ap_msg.len > zc->card->maxmsgsize) in _zcrypt_send_ep11_cprb()
1121 rc = pref_zq->ops->send_ep11_cprb(userspace, pref_zq, xcrb, &ap_msg); in _zcrypt_send_ep11_cprb()
1130 ap_release_message(&ap_msg); in _zcrypt_send_ep11_cprb()
1152 struct ap_message ap_msg; in zcrypt_rng() local
1159 ap_init_message(&ap_msg); in zcrypt_rng()
1160 rc = get_rng_fc(&ap_msg, &func_code, &domain); in zcrypt_rng()
1197 rc = pref_zq->ops->rng(pref_zq, buffer, &ap_msg); in zcrypt_rng()
1204 ap_release_message(&ap_msg); in zcrypt_rng()