2022-06-15 14:18:01 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-07-30 12:03:10 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <protocomm_security.h>
|
|
|
|
|
2019-01-28 04:48:47 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-06-15 14:18:01 -04:00
|
|
|
#if CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1
|
2018-07-30 12:03:10 -04:00
|
|
|
/**
|
|
|
|
* @brief Protocomm security version 1 implementation
|
|
|
|
*
|
2019-02-08 04:51:33 -05:00
|
|
|
* This is a full fledged security implementation using
|
2018-07-30 12:03:10 -04:00
|
|
|
* Curve25519 key exchange and AES-256-CTR encryption
|
|
|
|
*/
|
|
|
|
extern const protocomm_security_t protocomm_security1;
|
2022-06-15 14:18:01 -04:00
|
|
|
#endif
|
2019-01-28 04:48:47 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|