Lines Matching defs:api
374 size_t pl_size, int api, int func)
381 h->func = (api << 16) + func;
493 int api = 1, rc = -ENOMEM;
500 prep_head(&req_pl->head, sizeof(*req_pl), api, 38); /* get xcp info */
706 int api, rc = -ENOMEM;
726 api = (!keygenflags || keygenflags & 0x00200000) ? 4 : 1;
727 prep_head(&req_pl->head, sizeof(*req_pl), api, 21); /* GenerateKey */
834 int n, api = 1, rc = -ENOMEM;
848 prep_head(&req_pl->head, req_pl_size, api, (mode ? 20 : 19));
972 int api, rc = -ENOMEM;
982 api = (!keygenflags || keygenflags & 0x00200000) ? 4 : 1;
983 prep_head(&req_pl->head, req_pl_size, api, 34); /* UnwrapKey */
1103 int api, rc = -ENOMEM;
1124 api = (!mech || mech == 0x80060001) ? 4 : 1; /* CKM_IBM_CPACF_WRAP */
1125 prep_head(&req_pl->head, req_pl_size, api, 33); /* WrapKey */
1430 /* check min api version if given */