mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-26 09:16:47 +01:00
Rename HexParam_t -> data_t for consistent coding style
This commit is contained in:
parent
62a5d7d65a
commit
5fcca46a3a
36 changed files with 248 additions and 248 deletions
|
|
@ -8,8 +8,8 @@
|
|||
*/
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void camellia_encrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
|
||||
HexParam_t * hex_dst_string, int setkey_result )
|
||||
void camellia_encrypt_ecb( data_t * key_str, data_t * src_str,
|
||||
data_t * hex_dst_string, int setkey_result )
|
||||
{
|
||||
unsigned char output[100];
|
||||
mbedtls_camellia_context ctx;
|
||||
|
|
@ -32,8 +32,8 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void camellia_decrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
|
||||
HexParam_t * hex_dst_string, int setkey_result )
|
||||
void camellia_decrypt_ecb( data_t * key_str, data_t * src_str,
|
||||
data_t * hex_dst_string, int setkey_result )
|
||||
{
|
||||
unsigned char output[100];
|
||||
mbedtls_camellia_context ctx;
|
||||
|
|
@ -56,8 +56,8 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
|
||||
void camellia_encrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
|
||||
HexParam_t * src_str, HexParam_t * hex_dst_string,
|
||||
void camellia_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 camellia_decrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
|
||||
HexParam_t * src_str, HexParam_t * hex_dst_string,
|
||||
void camellia_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];
|
||||
|
|
@ -106,9 +106,9 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
|
||||
void camellia_encrypt_cfb128( HexParam_t * key_str, HexParam_t * iv_str,
|
||||
HexParam_t * src_str,
|
||||
HexParam_t * hex_dst_string )
|
||||
void camellia_encrypt_cfb128( data_t * key_str, data_t * iv_str,
|
||||
data_t * src_str,
|
||||
data_t * hex_dst_string )
|
||||
{
|
||||
unsigned char output[100];
|
||||
mbedtls_camellia_context ctx;
|
||||
|
|
@ -129,9 +129,9 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CFB */
|
||||
void camellia_decrypt_cfb128( HexParam_t * key_str, HexParam_t * iv_str,
|
||||
HexParam_t * src_str,
|
||||
HexParam_t * hex_dst_string )
|
||||
void camellia_decrypt_cfb128( data_t * key_str, data_t * iv_str,
|
||||
data_t * src_str,
|
||||
data_t * hex_dst_string )
|
||||
{
|
||||
unsigned char output[100];
|
||||
mbedtls_camellia_context ctx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue