]> git.ipfire.org Git - thirdparty/openssl.git/blame - providers/deserializers.inc
DESERIALIZER: Add deserializers for the rest of our asymmetric key types
[thirdparty/openssl.git] / providers / deserializers.inc
CommitLineData
a3f15e23
P
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
7c664b1f
RL
14#ifndef OPENSSL_NO_DH
15 DESER("DH", "yes", "der", der_to_dh_deserializer_functions),
16#endif
17#ifndef OPENSSL_NO_DSA
18 DESER("DSA", "yes", "der", der_to_dsa_deserializer_functions),
19#endif
20#ifndef OPENSSL_NO_EC
21 DESER("EC", "yes", "der", der_to_ec_deserializer_functions),
22 DESER("ED25519", "yes", "der", der_to_ed25519_deserializer_functions),
23 DESER("ED448", "yes", "der", der_to_ed448_deserializer_functions),
24 DESER("X25519", "yes", "der", der_to_x25519_deserializer_functions),
25 DESER("X448", "yes", "der", der_to_x448_deserializer_functions),
26#endif
a3f15e23
P
27 DESER("RSA", "yes", "der", der_to_rsa_deserializer_functions),
28 DESER("RSA-PSS", "yes", "der", der_to_rsapss_deserializer_functions),
7c664b1f 29
a3f15e23 30 DESER("DER", "yes", "pem", pem_to_der_deserializer_functions),