mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
eb7ff34c89
1) Rename srp component to esp_srp 2) Remove dependency on hkdf sha 3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions 4) esp_srp: convert API return type from int to esp_err_t 5) esp_srp: Formatting changes 6) Added mbedtls_gcm instead of aes_ctr Co-authored-by: Laukik hase <laukik.hase@espressif.com>
27 lines
496 B
C
27 lines
496 B
C
/*
|
|
* 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
|
|
|
|
/**
|
|
* @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;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|