2 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
11 # error Macro ENCODER undefined
14 ENCODER("RSA", "yes", "text", rsa_to_text_encoder_functions),
15 ENCODER("RSA", "yes", "der", rsa_to_der_encoder_functions),
16 ENCODER("RSA", "yes", "pem", rsa_to_pem_encoder_functions),
17 ENCODER("RSA-PSS", "yes", "text", rsapss_to_text_encoder_functions),
18 ENCODER("RSA-PSS", "yes", "der", rsapss_to_der_encoder_functions),
19 ENCODER("RSA-PSS", "yes", "pem", rsapss_to_pem_encoder_functions),
22 ENCODER("DH", "yes", "text", dh_to_text_encoder_functions),
23 ENCODER("DH", "yes", "der", dh_to_der_encoder_functions),
24 ENCODER("DH", "yes", "pem", dh_to_pem_encoder_functions),
26 ENCODER("DHX", "yes", "text", dhx_to_text_encoder_functions),
27 ENCODER("DHX", "yes", "der", dhx_to_der_encoder_functions),
28 ENCODER("DHX", "yes", "pem", dhx_to_pem_encoder_functions),
31 #ifndef OPENSSL_NO_DSA
32 ENCODER("DSA", "yes", "text", dsa_to_text_encoder_functions),
33 ENCODER("DSA", "yes", "der", dsa_to_der_encoder_functions),
34 ENCODER("DSA", "yes", "pem", dsa_to_pem_encoder_functions),
38 ENCODER("X25519", "yes", "text", x25519_to_text_encoder_functions),
39 ENCODER("X25519", "yes", "der", x25519_to_der_encoder_functions),
40 ENCODER("X25519", "yes", "pem", x25519_to_pem_encoder_functions),
42 ENCODER("X448", "yes", "text", x448_to_text_encoder_functions),
43 ENCODER("X448", "yes", "der", x448_to_der_encoder_functions),
44 ENCODER("X448", "yes", "pem", x448_to_pem_encoder_functions),
46 ENCODER("ED25519", "yes", "text", ed25519_to_text_encoder_functions),
47 ENCODER("ED25519", "yes", "der", ed25519_to_der_encoder_functions),
48 ENCODER("ED25519", "yes", "pem", ed25519_to_pem_encoder_functions),
50 ENCODER("ED448", "yes", "text", ed448_to_text_encoder_functions),
51 ENCODER("ED448", "yes", "der", ed448_to_der_encoder_functions),
52 ENCODER("ED448", "yes", "pem", ed448_to_pem_encoder_functions),
54 ENCODER("EC", "yes", "text", ec_to_text_encoder_functions),
55 ENCODER("EC", "yes", "der", ec_to_der_encoder_functions),
56 ENCODER("EC", "yes", "pem", ec_to_pem_encoder_functions),