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

@@ -64,7 +64,7 @@ int esp_aes_setkey_enc( AES_CTX *ctx, const unsigned char *key,
unsigned int keybits )
{
enum AES_BITS keybit;
uint16 keybyte = keybits / 8;
uint16_t keybyte = keybits / 8;
switch (keybits){
case 128:
keybit = AES128;
@@ -95,7 +95,7 @@ int esp_aes_setkey_dec( AES_CTX *ctx, const unsigned char *key,
unsigned int keybits )
{
enum AES_BITS keybit;
uint16 keybyte = keybits / 8;
uint16_t keybyte = keybits / 8;
switch (keybits){
case 128:
keybit = AES128;