Lines Matching defs:selection
60 /* The selection mask for OSSL_FUNC_decoder_does_selection() */
92 /* The selection that is passed to der2key_decode() */
93 int selection;
142 static int der2key_check_selection(int selection,
146 * The selections are kinda sorta "levels", i.e. each selection given
157 if (selection == 0)
161 int check1 = (selection & checks[i]) != 0;
176 static int der2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection,
187 ctx->selection = selection;
189 * The caller is allowed to specify 0 as a selection mark, to have the
196 if (selection == 0)
197 selection = ctx->desc->selection_mask;
198 if ((selection & ctx->desc->selection_mask) == 0) {
210 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
221 if (key == NULL && ctx->selection != 0) {
226 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) {
232 if (key == NULL && ctx->selection != 0) {
237 if (key == NULL && (selection & OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) != 0) {
241 if (key == NULL && ctx->selection != 0) {
322 return export(keydata, ctx->selection, export_cb, export_cbarg);
544 * The DO_ macros help define the selection mask and the method functions
734 int selection) \
736 return der2key_check_selection(selection, \