Lines Matching refs:api
440 size_t pl_size, int api, int func) in prep_head() argument
447 h->func = (api << 16) + func; in prep_head()
576 int api = EP11_API_V1, rc = -ENOMEM; in ep11_query_info() local
583 prep_head(&req_pl->head, sizeof(*req_pl), api, 38); /* get xcp info */ in ep11_query_info()
783 int api, rc = -ENOMEM; in _ep11_genaeskey() local
799 api = (!keygenflags || keygenflags & 0x00200000) ? in _ep11_genaeskey()
806 api = EP11_API_V6; in _ep11_genaeskey()
814 prep_head(&req_pl->head, req_pl_size, api, 21); /* GenerateKey */ in _ep11_genaeskey()
958 int n, api = EP11_API_V1, rc = -ENOMEM; in ep11_cryptsingle() local
972 prep_head(&req_pl->head, req_pl_size, api, (mode ? 20 : 19)); in ep11_cryptsingle()
1096 int api, rc = -ENOMEM; in _ep11_unwrapkey() local
1100 api = (!keygenflags || keygenflags & 0x00200000) ? in _ep11_unwrapkey()
1107 api = EP11_API_V6; in _ep11_unwrapkey()
1117 prep_head(&req_pl->head, req_pl_size, api, 34); /* UnwrapKey */ in _ep11_unwrapkey()
1269 int api, rc = -ENOMEM; in _ep11_wrapkey() local
1281 api = (!mech || mech == 0x80060001) ? /* CKM_IBM_CPACF_WRAP */ in _ep11_wrapkey()
1283 prep_head(&req_pl->head, req_pl_size, api, 33); /* WrapKey */ in _ep11_wrapkey()