ecdh.py 538 B

123456789101112131415161718192021
  1. # This file is dual licensed under the terms of the Apache License, Version
  2. # 2.0, and the BSD License. See the LICENSE file in the root of this repository
  3. # for complete details.
  4. from __future__ import absolute_import, division, print_function
  5. INCLUDES = """
  6. #include <openssl/ecdh.h>
  7. """
  8. TYPES = """
  9. """
  10. FUNCTIONS = """
  11. int ECDH_compute_key(void *, size_t, const EC_POINT *, EC_KEY *,
  12. void *(*)(const void *, size_t, void *, size_t *));
  13. long SSL_CTX_set_ecdh_auto(SSL_CTX *, int);
  14. """
  15. CUSTOMIZATIONS = """
  16. """