mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-15 19:34:03 +00:00
components/mbedtls: MBEDTLS Handshake result check
modify esp_config.h add some feature for support http2.0 protocol, TLS Handshake OK.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#ifndef ESP_AES_H
|
||||
#define ESP_AES_H
|
||||
|
||||
#include "c_types.h"
|
||||
#include "esp_types.h"
|
||||
#include "rom/ets_sys.h"
|
||||
#include "rom/aes.h"
|
||||
|
||||
@@ -41,8 +41,8 @@ extern "C" {
|
||||
|
||||
typedef struct{
|
||||
bool flag;
|
||||
uint16 keybites;
|
||||
uint8 key[32];
|
||||
uint16_t keybites;
|
||||
uint8_t key[32];
|
||||
}key_context, KEY_CTX;
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef _ESP_BIGNUM_H
|
||||
#define _ESP_BIGNUM_H
|
||||
|
||||
#include "c_types.h"
|
||||
#include "esp_types.h"
|
||||
#include "rom/ets_sys.h"
|
||||
#include "rom/bigint.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _MULTI_CRYPTO_H_
|
||||
#define _MULTI_CRYPTO_H_
|
||||
|
||||
#include "c_types.h"
|
||||
#include "esp_types.h"
|
||||
#include "rom/ets_sys.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef _ESP_SHA_H_
|
||||
#define _ESP_SHA_H_
|
||||
|
||||
#include "c_types.h"
|
||||
#include "esp_types.h"
|
||||
#include "rom/ets_sys.h"
|
||||
#include "rom/sha.h"
|
||||
|
||||
@@ -164,6 +164,8 @@ typedef sha_context SHA512_CTX;
|
||||
*/
|
||||
void esp_sha512_init( SHA512_CTX *ctx );
|
||||
|
||||
void esp_sha512_process( SHA512_CTX *ctx, const unsigned char data[128] );
|
||||
|
||||
/**
|
||||
* \brief Clear SHA-512 context
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user