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:
liuhan
2016-08-30 20:40:58 +08:00
committed by Wu Jian Gang
parent 0f83831c74
commit 2d80fada70
11 changed files with 659 additions and 86 deletions

View File

@@ -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
*