diff options
author | Richard Levitte <levitte@openssl.org> | 2020-08-16 21:25:08 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-08-21 09:23:58 +0200 |
commit | ece9304c96f71277ca95696d9bc49fdec51e9f17 (patch) | |
tree | 7038f8760e1538754bc67371cb5a466a83935dad /providers/decoders.inc | |
parent | f650993f1de3dbb5eda9009ad0c4895a7b1b7fe2 (diff) |
Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE
Fixes #12455
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12660)
Diffstat (limited to 'providers/decoders.inc')
-rw-r--r-- | providers/decoders.inc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/providers/decoders.inc b/providers/decoders.inc new file mode 100644 index 0000000000..d8c6da72e1 --- /dev/null +++ b/providers/decoders.inc @@ -0,0 +1,42 @@ +/* + * 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 DECODER +# error Macro DECODER undefined +#endif + +#ifndef OPENSSL_NO_DH + DECODER("DH", "yes", "der", der_to_dh_decoder_functions), + DECODER("DHX", "yes", "der", der_to_dhx_decoder_functions), +#endif +#ifndef OPENSSL_NO_DSA + DECODER("DSA", "yes", "der", der_to_dsa_decoder_functions), + DECODER("DSA", "yes", "mblob", msblob_to_dsa_decoder_functions), +# ifndef OPENSSL_NO_RC4 + DECODER("DSA", "yes", "pvk", pvk_to_dsa_decoder_functions), +# endif +#endif +#ifndef OPENSSL_NO_EC + DECODER("EC", "yes", "der", der_to_ec_decoder_functions), + DECODER("ED25519", "yes", "der", der_to_ed25519_decoder_functions), + DECODER("ED448", "yes", "der", der_to_ed448_decoder_functions), + DECODER("X25519", "yes", "der", der_to_x25519_decoder_functions), + DECODER("X448", "yes", "der", der_to_x448_decoder_functions), +#endif + DECODER("RSA", "yes", "der", der_to_rsa_decoder_functions), + DECODER("RSA-PSS", "yes", "der", der_to_rsapss_decoder_functions), +#ifndef OPENSSL_NO_DSA + DECODER("RSA", "yes", "mblob", msblob_to_rsa_decoder_functions), +# ifndef OPENSSL_NO_RC4 + DECODER("RSA", "yes", "pvk", pvk_to_rsa_decoder_functions), +# endif +#endif + + DECODER("DER", "yes", "pem", pem_to_der_decoder_functions), + |