mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-10 08:28:51 +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
|
|
@ -119,13 +119,13 @@ void mbedtls_cmac_setkey( int cipher_type, int key_size, int result )
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void mbedtls_cmac_multiple_blocks( int cipher_type, HexParam_t * key,
|
||||
void mbedtls_cmac_multiple_blocks( int cipher_type, data_t * key,
|
||||
int keybits, int block_size,
|
||||
HexParam_t * block1, int block1_len,
|
||||
HexParam_t * block2, int block2_len,
|
||||
HexParam_t * block3, int block3_len,
|
||||
HexParam_t * block4, int block4_len,
|
||||
HexParam_t * expected_result )
|
||||
data_t * block1, int block1_len,
|
||||
data_t * block2, int block2_len,
|
||||
data_t * block3, int block3_len,
|
||||
data_t * block4, int block4_len,
|
||||
data_t * expected_result )
|
||||
{
|
||||
const mbedtls_cipher_info_t *cipher_info;
|
||||
mbedtls_cipher_context_t ctx;
|
||||
|
|
@ -184,22 +184,22 @@ exit:
|
|||
|
||||
/* BEGIN_CASE */
|
||||
void mbedtls_cmac_multiple_operations_same_key( int cipher_type,
|
||||
HexParam_t * key, int keybits,
|
||||
data_t * key, int keybits,
|
||||
int block_size,
|
||||
HexParam_t * block_a1,
|
||||
data_t * block_a1,
|
||||
int block_a1_len,
|
||||
HexParam_t * block_a2,
|
||||
data_t * block_a2,
|
||||
int block_a2_len,
|
||||
HexParam_t * block_a3,
|
||||
data_t * block_a3,
|
||||
int block_a3_len,
|
||||
HexParam_t * expected_result_a,
|
||||
HexParam_t * block_b1,
|
||||
data_t * expected_result_a,
|
||||
data_t * block_b1,
|
||||
int block_b1_len,
|
||||
HexParam_t * block_b2,
|
||||
data_t * block_b2,
|
||||
int block_b2_len,
|
||||
HexParam_t * block_b3,
|
||||
data_t * block_b3,
|
||||
int block_b3_len,
|
||||
HexParam_t * expected_result_b
|
||||
data_t * expected_result_b
|
||||
)
|
||||
{
|
||||
const mbedtls_cipher_info_t *cipher_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue