Rename HexParam_t -> data_t for consistent coding style

This commit is contained in:
Azim Khan 2018-06-29 11:05:32 +01:00 committed by Mohammad Azim Khan
parent 62a5d7d65a
commit 5fcca46a3a
36 changed files with 248 additions and 248 deletions

View file

@ -8,8 +8,8 @@
*/
/* BEGIN_CASE */
void aes_encrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
HexParam_t * hex_dst_string, int setkey_result )
void aes_encrypt_ecb( data_t * key_str, data_t * src_str,
data_t * hex_dst_string, int setkey_result )
{
unsigned char output[100];
mbedtls_aes_context ctx;
@ -32,8 +32,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE */
void aes_decrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
HexParam_t * hex_dst_string, int setkey_result )
void aes_decrypt_ecb( data_t * key_str, data_t * src_str,
data_t * hex_dst_string, int setkey_result )
{
unsigned char output[100];
mbedtls_aes_context ctx;
@ -56,8 +56,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
void aes_encrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string,
void aes_encrypt_cbc( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string,
int cbc_result )
{
unsigned char output[100];
@ -81,8 +81,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
void aes_decrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string,
void aes_decrypt_cbc( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string,
int cbc_result )
{
unsigned char output[100];
@ -230,8 +230,8 @@ exit:
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
void aes_encrypt_cfb128( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string )
void aes_encrypt_cfb128( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_aes_context ctx;
@ -252,8 +252,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
void aes_decrypt_cfb128( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string )
void aes_decrypt_cfb128( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_aes_context ctx;
@ -274,8 +274,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
void aes_encrypt_cfb8( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string )
void aes_encrypt_cfb8( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_aes_context ctx;
@ -295,8 +295,8 @@ exit:
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
void aes_decrypt_cfb8( HexParam_t * key_str, HexParam_t * iv_str,
HexParam_t * src_str, HexParam_t * hex_dst_string )
void aes_decrypt_cfb8( data_t * key_str, data_t * iv_str,
data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_aes_context ctx;