Lines Matching full:selection
61 /* The selection mask for OSSL_FUNC_decoder_does_selection() */
93 /* The selection that is passed to der2key_decode() */
94 int selection;
146 static int der2key_check_selection(int selection,
150 * The selections are kinda sorta "levels", i.e. each selection given
161 if (selection == 0)
165 int check1 = (selection & checks[i]) != 0;
180 static int der2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection,
191 ctx->selection = selection;
193 * The caller is allowed to specify 0 as a selection mark, to have the
200 if (selection == 0)
201 selection = ctx->desc->selection_mask;
202 if ((selection & ctx->desc->selection_mask) == 0) {
214 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
225 if (key == NULL && ctx->selection != 0) {
230 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
236 if (key == NULL && ctx->selection != 0) {
241 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) != 0) {
245 if (key == NULL && ctx->selection != 0) {
332 int selection = ctx->selection;
334 if (selection == 0)
335 selection = OSSL_KEYMGMT_SELECT_ALL;
339 return export(keydata, selection, export_cb, export_cbarg);
567 * The DO_ macros help define the selection mask and the method functions
757 int selection) \
759 return der2key_check_selection(selection, \