types.h 834 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright 2020-2023 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. /* When removal is simulated, we still need the type internally */
  10. #ifndef OSSL_CRYPTO_TYPES_H
  11. # define OSSL_CRYPTO_TYPES_H
  12. # pragma once
  13. # ifdef OPENSSL_NO_DEPRECATED_3_0
  14. typedef struct rsa_st RSA;
  15. typedef struct rsa_meth_st RSA_METHOD;
  16. # ifndef OPENSSL_NO_EC
  17. typedef struct ec_key_st EC_KEY;
  18. typedef struct ec_key_method_st EC_KEY_METHOD;
  19. # endif
  20. # ifndef OPENSSL_NO_DSA
  21. typedef struct dsa_st DSA;
  22. # endif
  23. # endif
  24. # ifndef OPENSSL_NO_EC
  25. typedef struct ecx_key_st ECX_KEY;
  26. # endif
  27. #endif