Lines Matching refs:selection
112 static int key2ms_does_selection(void *vctx, int selection)
114 return (selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0;
128 static int key2msblob_encode(void *vctx, const void *key, int selection,
137 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
139 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0)
150 static int key2pvk_encode(void *vctx, const void *key, int selection,
158 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0)
186 impl##2##output##_import_object(void *ctx, int selection, \
190 ctx, selection, params); \
199 int selection, \
208 return key2##output##_encode(vctx, key, selection, cout, type##_set1, \