aboutsummaryrefslogtreecommitdiff
path: root/providers/deserializers.inc
blob: e11056ee9e4744726f2f87908cb633e5c5bca6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#ifndef DESER
# error Macro DESER undefined
#endif

#ifndef OPENSSL_NO_DH
    DESER("DH", "yes", "der", der_to_dh_deserializer_functions),
#endif
#ifndef OPENSSL_NO_DSA
    DESER("DSA", "yes", "der", der_to_dsa_deserializer_functions),
    DESER("DSA", "yes", "mblob", msblob_to_dsa_deserializer_functions),
# ifndef OPENSSL_NO_RC4
    DESER("DSA", "yes", "pvk", pvk_to_dsa_deserializer_functions),
# endif
#endif
#ifndef OPENSSL_NO_EC
    DESER("EC", "yes", "der", der_to_ec_deserializer_functions),
    DESER("ED25519", "yes", "der", der_to_ed25519_deserializer_functions),
    DESER("ED448", "yes", "der", der_to_ed448_deserializer_functions),
    DESER("X25519", "yes", "der", der_to_x25519_deserializer_functions),
    DESER("X448", "yes", "der", der_to_x448_deserializer_functions),
#endif
    DESER("RSA", "yes", "der", der_to_rsa_deserializer_functions),
    DESER("RSA-PSS", "yes", "der", der_to_rsapss_deserializer_functions),
#ifndef OPENSSL_NO_DSA
    DESER("RSA", "yes", "mblob", msblob_to_rsa_deserializer_functions),
# ifndef OPENSSL_NO_RC4
    DESER("RSA", "yes", "pvk", pvk_to_rsa_deserializer_functions),
# endif
#endif

    DESER("DER", "yes", "pem", pem_to_der_deserializer_functions),