decoders.inc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifndef DECODER
  10. # error Macro DECODER undefined
  11. #endif
  12. #ifndef OPENSSL_NO_DH
  13. DECODER("DH", "yes", "der", ossl_der_to_dh_decoder_functions),
  14. DECODER("DHX", "yes", "der", ossl_der_to_dhx_decoder_functions),
  15. #endif
  16. #ifndef OPENSSL_NO_DSA
  17. DECODER("DSA", "yes", "der", ossl_der_to_dsa_decoder_functions),
  18. DECODER("DSA", "yes", "mblob", ossl_msblob_to_dsa_decoder_functions),
  19. # ifndef OPENSSL_NO_RC4
  20. DECODER("DSA", "yes", "pvk", ossl_pvk_to_dsa_decoder_functions),
  21. # endif
  22. #endif
  23. #ifndef OPENSSL_NO_EC
  24. DECODER("EC", "yes", "der", ossl_der_to_ec_decoder_functions),
  25. DECODER("ED25519", "yes", "der", ossl_der_to_ed25519_decoder_functions),
  26. DECODER("ED448", "yes", "der", ossl_der_to_ed448_decoder_functions),
  27. DECODER("X25519", "yes", "der", ossl_der_to_x25519_decoder_functions),
  28. DECODER("X448", "yes", "der", ossl_der_to_x448_decoder_functions),
  29. #endif
  30. DECODER("RSA", "yes", "der", ossl_der_to_rsa_decoder_functions),
  31. DECODER("RSA-PSS", "yes", "der", ossl_der_to_rsapss_decoder_functions),
  32. #ifndef OPENSSL_NO_DSA
  33. DECODER("RSA", "yes", "mblob", ossl_msblob_to_rsa_decoder_functions),
  34. # ifndef OPENSSL_NO_RC4
  35. DECODER("RSA", "yes", "pvk", ossl_pvk_to_rsa_decoder_functions),
  36. # endif
  37. #endif
  38. DECODER("DER", "yes", "pem", ossl_pem_to_der_decoder_functions),