components/mbedtls: modify hardware encryption feature

rename "flag" and "keybites" in aes file,
rename "xxx_starts" and add license in sha file.
This commit is contained in:
liuhan
2016-08-31 11:43:48 +08:00
committed by Wu Jian Gang
parent 2d80fada70
commit 1900c50d3b
7 changed files with 36 additions and 27 deletions

View File

@@ -40,8 +40,8 @@ extern "C" {
#define ERR_AES_INVALID_INPUT_LENGTH -0x0022 /**< Invalid data input length. */
typedef struct{
bool flag;
uint16_t keybites;
bool keyflag;
uint16_t keybits;
uint8_t key[32];
}key_context, KEY_CTX;