Lines Matching refs:impl
1076 #define DO_PRIVATE_KEY(impl, type, kind, output) \ argument
1078 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1079 impl##_pem_type " PRIVATE KEY", \
1086 #define DO_PUBLIC_KEY(impl, type, kind, output) \ argument
1088 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1089 impl##_pem_type " PUBLIC KEY", \
1096 #define DO_PARAMETERS(impl, type, kind, output) \ argument
1098 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1099 impl##_pem_type " PARAMETERS", \
1139 #define DO_PrivateKeyInfo(impl, type, output) \ argument
1140 DO_PRIVATE_KEY(impl, type, pki, output)
1143 #define DO_EncryptedPrivateKeyInfo(impl, type, output) \ argument
1144 DO_PRIVATE_KEY(impl, type, epki, output)
1148 #define DO_SubjectPublicKeyInfo(impl, type, output) \ argument
1149 DO_PUBLIC_KEY(impl, type, spki, output)
1167 #define DO_type_specific_params(impl, type, output) \ argument
1168 DO_PARAMETERS(impl, type, type_specific, output)
1171 #define DO_type_specific_keypair(impl, type, output) \ argument
1172 DO_PRIVATE_KEY(impl, type, type_specific, output) \
1173 DO_PUBLIC_KEY(impl, type, type_specific, output)
1177 #define DO_type_specific(impl, type, output) \ argument
1178 DO_type_specific_keypair(impl, type, output) \
1179 DO_type_specific_params(impl, type, output)
1182 #define DO_type_specific_no_pub(impl, type, output) \ argument
1183 DO_PRIVATE_KEY(impl, type, type_specific, output) \
1184 DO_type_specific_params(impl, type, output)
1193 #define DO_RSA(impl, type, output) DO_type_specific_keypair(impl, type, output) argument
1196 #define DO_DH(impl, type, output) DO_type_specific_params(impl, type, output) argument
1199 #define DO_DHX(impl, type, output) DO_type_specific_params(impl, type, output) argument
1202 #define DO_DSA(impl, type, output) DO_type_specific(impl, type, output) argument
1205 #define DO_EC(impl, type, output) DO_type_specific_no_pub(impl, type, output) argument
1208 #define DO_SM2(impl, type, output) DO_type_specific_no_pub(impl, type, output) argument
1212 #define DO_PKCS1(impl, type, output) DO_RSA(impl, type, output) argument
1216 #define DO_PKCS3(impl, type, output) DO_DH(impl, type, output) argument
1219 #define DO_X9_42(impl, type, output) DO_DHX(impl, type, output) argument
1223 #define DO_X9_62(impl, type, output) DO_EC(impl, type, output) argument
1246 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \ argument
1248 impl##_to_##kind##_##output##_import_object; \
1250 impl##_to_##kind##_##output##_free_object; \
1252 impl##_to_##kind##_##output##_encode; \
1255 impl##_to_##kind##_##output##_import_object(void *vctx, int selection, \
1260 return ossl_prov_import_key(ossl_##impl##_keymgmt_functions, \
1263 static void impl##_to_##kind##_##output##_free_object(void *key) \
1265 ossl_prov_free_key(ossl_##impl##_keymgmt_functions, key); \
1267 static int impl##_to_##kind##_##output##_does_selection(void *ctx, \
1274 impl##_to_##kind##_##output##_encode(void *ctx, OSSL_CORE_BIO *cout, \
1286 DO_##kind(impl, type, output) \
1292 ossl_##impl##_to_##kind##_##output##_encoder_functions[] = { \
1302 (void (*)(void))impl##_to_##kind##_##output##_does_selection }, \
1304 (void (*)(void))impl##_to_##kind##_##output##_import_object }, \
1306 (void (*)(void))impl##_to_##kind##_##output##_free_object }, \
1308 (void (*)(void))impl##_to_##kind##_##output##_encode }, \