Lines Matching refs:kind
1862 #define DO_ENC_PRIVATE_KEY(impl, type, kind, output) \ argument
1866 key_to_##kind##_##output##_priv_bio, \
1868 type##_##kind##_priv_to_der);
1871 #define DO_ENC_PUBLIC_KEY(impl, type, kind, output) \ argument
1875 key_to_##kind##_##output##_pub_bio, \
1877 type##_##kind##_pub_to_der);
1880 #define DO_ENC_PARAMETERS(impl, type, kind, output) \ argument
1884 key_to_##kind##_##output##_param_bio, \
1886 type##_##kind##_params_to_der);
1951 #define MAKE_ENCODER(impl, type, kind, output) \ argument
1953 impl##_to_##kind##_##output##_import_object; \
1955 impl##_to_##kind##_##output##_free_object; \
1957 impl##_to_##kind##_##output##_encode; \
1960 impl##_to_##kind##_##output##_import_object(void *vctx, int selection, \
1968 static void impl##_to_##kind##_##output##_free_object(void *key) \
1972 static int impl##_to_##kind##_##output##_does_selection(void *ctx, \
1976 DO_ENC_##kind##_selection_mask); \
1979 impl##_to_##kind##_##output##_encode(void *ctx, OSSL_CORE_BIO *cout, \
1991 DO_ENC_##kind(impl, type, output) \
1997 xor_##impl##_to_##kind##_##output##_encoder_functions[] = { \
2007 (void (*)(void))impl##_to_##kind##_##output##_does_selection }, \
2009 (void (*)(void))impl##_to_##kind##_##output##_import_object }, \
2011 (void (*)(void))impl##_to_##kind##_##output##_free_object }, \
2013 (void (*)(void))impl##_to_##kind##_##output##_encode }, \
2520 #define MAKE_DECODER(keytype_name, keytype, type, kind) \ argument
2521 static struct keytype_desc_st kind##_##keytype##_desc = \
2523 DO_##kind(keytype) }; \
2525 static OSSL_FUNC_decoder_newctx_fn kind##_der2##keytype##_newctx; \
2527 static void *kind##_der2##keytype##_newctx(void *provctx) \
2529 return der2key_newctx(provctx, &kind##_##keytype##_desc, keytype_name );\
2531 static int kind##_der2##keytype##_does_selection(void *provctx, \
2535 &kind##_##keytype##_desc); \
2538 xor_##kind##_der_to_##keytype##_decoder_functions[] = { \
2540 (void (*)(void))kind##_der2##keytype##_newctx }, \
2544 (void (*)(void))kind##_der2##keytype##_does_selection }, \