]> git.ipfire.org Git - thirdparty/openssl.git/blob - providers/deserializers.inc
2e363143b8c097cbea3f22dc4eabd99ca9870740
[thirdparty/openssl.git] / providers / deserializers.inc
1 /*
2 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
3 *
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
8 */
9
10 #ifndef DESER
11 # error Macro DESER undefined
12 #endif
13
14 #ifndef OPENSSL_NO_DH
15 DESER("DH", "yes", "der", der_to_dh_deserializer_functions),
16 DESER("DHX", "yes", "der", der_to_dhx_deserializer_functions),
17 #endif
18 #ifndef OPENSSL_NO_DSA
19 DESER("DSA", "yes", "der", der_to_dsa_deserializer_functions),
20 DESER("DSA", "yes", "mblob", msblob_to_dsa_deserializer_functions),
21 # ifndef OPENSSL_NO_RC4
22 DESER("DSA", "yes", "pvk", pvk_to_dsa_deserializer_functions),
23 # endif
24 #endif
25 #ifndef OPENSSL_NO_EC
26 DESER("EC", "yes", "der", der_to_ec_deserializer_functions),
27 DESER("ED25519", "yes", "der", der_to_ed25519_deserializer_functions),
28 DESER("ED448", "yes", "der", der_to_ed448_deserializer_functions),
29 DESER("X25519", "yes", "der", der_to_x25519_deserializer_functions),
30 DESER("X448", "yes", "der", der_to_x448_deserializer_functions),
31 #endif
32 DESER("RSA", "yes", "der", der_to_rsa_deserializer_functions),
33 DESER("RSA-PSS", "yes", "der", der_to_rsapss_deserializer_functions),
34 #ifndef OPENSSL_NO_DSA
35 DESER("RSA", "yes", "mblob", msblob_to_rsa_deserializer_functions),
36 # ifndef OPENSSL_NO_RC4
37 DESER("RSA", "yes", "pvk", pvk_to_rsa_deserializer_functions),
38 # endif
39 #endif
40
41 DESER("DER", "yes", "pem", pem_to_der_deserializer_functions),
42