mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 08:16:33 +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
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
/* BEGIN_CASE */
|
||||
void gcm_bad_parameters( int cipher_id, int direction,
|
||||
HexParam_t *key_str, HexParam_t *src_str,
|
||||
HexParam_t *iv_str, HexParam_t *add_str,
|
||||
data_t *key_str, data_t *src_str,
|
||||
data_t *iv_str, data_t *add_str,
|
||||
int tag_len_bits, int gcm_result )
|
||||
{
|
||||
unsigned char output[128];
|
||||
|
|
@ -33,10 +33,10 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void gcm_encrypt_and_tag( int cipher_id, HexParam_t * key_str,
|
||||
HexParam_t * src_str, HexParam_t * iv_str,
|
||||
HexParam_t * add_str, HexParam_t * hex_dst_string,
|
||||
int tag_len_bits, HexParam_t * hex_tag_string,
|
||||
void gcm_encrypt_and_tag( int cipher_id, data_t * key_str,
|
||||
data_t * src_str, data_t * iv_str,
|
||||
data_t * add_str, data_t * hex_dst_string,
|
||||
int tag_len_bits, data_t * hex_tag_string,
|
||||
int init_result )
|
||||
{
|
||||
unsigned char output[128];
|
||||
|
|
@ -65,11 +65,11 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void gcm_decrypt_and_verify( int cipher_id, HexParam_t * key_str,
|
||||
HexParam_t * src_str, HexParam_t * iv_str,
|
||||
HexParam_t * add_str, int tag_len_bits,
|
||||
HexParam_t * tag_str, char * result,
|
||||
HexParam_t * pt_result, int init_result )
|
||||
void gcm_decrypt_and_verify( int cipher_id, data_t * key_str,
|
||||
data_t * src_str, data_t * iv_str,
|
||||
data_t * add_str, int tag_len_bits,
|
||||
data_t * tag_str, char * result,
|
||||
data_t * pt_result, int init_result )
|
||||
{
|
||||
unsigned char output[128];
|
||||
mbedtls_gcm_context ctx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue