2022-05-20 00:28:07 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <protocomm_security.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-06-15 14:18:01 -04:00
|
|
|
#if CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
2022-05-20 00:28:07 -04:00
|
|
|
/**
|
|
|
|
* @brief Protocomm security version 2 implementation
|
|
|
|
*
|
|
|
|
* This is a full fledged security implementation using
|
|
|
|
* key exchange based on SRP6a (RFC 5054)
|
|
|
|
* and AES-GCM encryption/decryption
|
|
|
|
*/
|
|
|
|
extern const protocomm_security_t protocomm_security2;
|
2022-06-15 14:18:01 -04:00
|
|
|
#endif
|
2022-05-20 00:28:07 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|