Lines Matching refs:impl
1074 #define DO_PRIVATE_KEY(impl, type, kind, output) \ argument
1076 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1077 impl##_pem_type " PRIVATE KEY", \
1084 #define DO_PUBLIC_KEY(impl, type, kind, output) \ argument
1086 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1087 impl##_pem_type " PUBLIC KEY", \
1094 #define DO_PARAMETERS(impl, type, kind, output) \ argument
1096 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1097 impl##_pem_type " PARAMETERS", \
1137 #define DO_PrivateKeyInfo(impl, type, output) \ argument
1138 DO_PRIVATE_KEY(impl, type, pki, output)
1141 #define DO_EncryptedPrivateKeyInfo(impl, type, output) \ argument
1142 DO_PRIVATE_KEY(impl, type, epki, output)
1146 #define DO_SubjectPublicKeyInfo(impl, type, output) \ argument
1147 DO_PUBLIC_KEY(impl, type, spki, output)
1165 #define DO_type_specific_params(impl, type, output) \ argument
1166 DO_PARAMETERS(impl, type, type_specific, output)
1169 #define DO_type_specific_keypair(impl, type, output) \ argument
1170 DO_PRIVATE_KEY(impl, type, type_specific, output) \
1171 DO_PUBLIC_KEY(impl, type, type_specific, output)
1175 #define DO_type_specific(impl, type, output) \ argument
1176 DO_type_specific_keypair(impl, type, output) \
1177 DO_type_specific_params(impl, type, output)
1180 #define DO_type_specific_no_pub(impl, type, output) \ argument
1181 DO_PRIVATE_KEY(impl, type, type_specific, output) \
1182 DO_type_specific_params(impl, type, output)
1191 #define DO_RSA(impl, type, output) DO_type_specific_keypair(impl, type, output) argument
1194 #define DO_DH(impl, type, output) DO_type_specific_params(impl, type, output) argument
1197 #define DO_DHX(impl, type, output) DO_type_specific_params(impl, type, output) argument
1200 #define DO_DSA(impl, type, output) DO_type_specific(impl, type, output) argument
1203 #define DO_EC(impl, type, output) DO_type_specific_no_pub(impl, type, output) argument
1206 #define DO_SM2(impl, type, output) DO_type_specific_no_pub(impl, type, output) argument
1210 #define DO_PKCS1(impl, type, output) DO_RSA(impl, type, output) argument
1214 #define DO_PKCS3(impl, type, output) DO_DH(impl, type, output) argument
1217 #define DO_X9_42(impl, type, output) DO_DHX(impl, type, output) argument
1221 #define DO_X9_62(impl, type, output) DO_EC(impl, type, output) argument
1244 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \ argument
1246 impl##_to_##kind##_##output##_import_object; \
1248 impl##_to_##kind##_##output##_free_object; \
1250 impl##_to_##kind##_##output##_encode; \
1253 impl##_to_##kind##_##output##_import_object(void *vctx, int selection, \
1258 return ossl_prov_import_key(ossl_##impl##_keymgmt_functions, \
1261 static void impl##_to_##kind##_##output##_free_object(void *key) \
1263 ossl_prov_free_key(ossl_##impl##_keymgmt_functions, key); \
1265 static int impl##_to_##kind##_##output##_does_selection(void *ctx, \
1272 impl##_to_##kind##_##output##_encode(void *ctx, OSSL_CORE_BIO *cout, \
1284 DO_##kind(impl, type, output) \
1290 ossl_##impl##_to_##kind##_##output##_encoder_functions[] = { \
1300 (void (*)(void))impl##_to_##kind##_##output##_does_selection }, \
1302 (void (*)(void))impl##_to_##kind##_##output##_import_object }, \
1304 (void (*)(void))impl##_to_##kind##_##output##_free_object }, \
1306 (void (*)(void))impl##_to_##kind##_##output##_encode }, \