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