Lines Matching refs:selection
96 int selection; member
172 static int der2key_check_selection(int selection, in der2key_check_selection() argument
187 if (selection == 0) in der2key_check_selection()
191 int check1 = (selection & checks[i]) != 0; in der2key_check_selection()
206 static int der2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in der2key_decode() argument
217 ctx->selection = selection; in der2key_decode()
226 if (selection == 0) in der2key_decode()
227 selection = ctx->desc->selection_mask; in der2key_decode()
228 if ((selection & ctx->desc->selection_mask) == 0) { in der2key_decode()
240 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in der2key_decode()
251 if (key == NULL && ctx->selection != 0) { in der2key_decode()
256 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in der2key_decode()
262 if (key == NULL && ctx->selection != 0) { in der2key_decode()
267 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) != 0) { in der2key_decode()
271 if (key == NULL && ctx->selection != 0) { in der2key_decode()
358 int selection = ctx->selection; in der2key_export_object() local
360 if (selection == 0) in der2key_export_object()
361 selection = OSSL_KEYMGMT_SELECT_ALL; in der2key_export_object()
365 return export(keydata, selection, export_cb, export_cbarg); in der2key_export_object()
793 int selection) \
795 return der2key_check_selection(selection, \