Lines Matching refs:selection
60 int selection; member
82 static int msblob2key_does_selection(void *provctx, int selection) in msblob2key_does_selection() argument
84 if (selection == 0) in msblob2key_does_selection()
87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY in msblob2key_does_selection()
94 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode() argument
122 ctx->selection = selection; in msblob2key_decode()
143 if ((selection == 0 in msblob2key_decode()
144 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode()
154 if (selection != 0 && key == NULL) in msblob2key_decode()
157 if (key == NULL && (selection == 0 in msblob2key_decode()
158 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode()
163 if (selection != 0 && key == NULL) in msblob2key_decode()
224 int selection = ctx->selection; in msblob2key_export_object() local
226 if (selection == 0) in msblob2key_export_object()
227 selection = OSSL_KEYMGMT_SELECT_ALL; in msblob2key_export_object()
231 return export(keydata, selection, export_cb, export_cbarg); in msblob2key_export_object()