protocomm_security2.h 555 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include <protocomm_security.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #if CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
  12. /**
  13. * @brief Protocomm security version 2 implementation
  14. *
  15. * This is a full fledged security implementation using
  16. * key exchange based on SRP6a (RFC 5054)
  17. * and AES-GCM encryption/decryption
  18. */
  19. extern const protocomm_security_t protocomm_security2;
  20. #endif
  21. #ifdef __cplusplus
  22. }
  23. #endif