mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-08 15:39:22 +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
|
|
@ -161,9 +161,9 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void hmac_drbg_no_reseed( int md_alg, HexParam_t * entropy,
|
||||
HexParam_t * custom, HexParam_t * add1,
|
||||
HexParam_t * add2, HexParam_t * output )
|
||||
void hmac_drbg_no_reseed( int md_alg, data_t * entropy,
|
||||
data_t * custom, data_t * add1,
|
||||
data_t * add2, data_t * output )
|
||||
{
|
||||
unsigned char data[1024];
|
||||
unsigned char my_output[512];
|
||||
|
|
@ -209,9 +209,9 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void hmac_drbg_nopr( int md_alg, HexParam_t * entropy, HexParam_t * custom,
|
||||
HexParam_t * add1, HexParam_t * add2, HexParam_t * add3,
|
||||
HexParam_t * output )
|
||||
void hmac_drbg_nopr( int md_alg, data_t * entropy, data_t * custom,
|
||||
data_t * add1, data_t * add2, data_t * add3,
|
||||
data_t * output )
|
||||
{
|
||||
unsigned char my_output[512];
|
||||
entropy_ctx p_entropy;
|
||||
|
|
@ -242,8 +242,8 @@ exit:
|
|||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void hmac_drbg_pr( int md_alg, HexParam_t * entropy, HexParam_t * custom,
|
||||
HexParam_t * add1, HexParam_t * add2, HexParam_t * output )
|
||||
void hmac_drbg_pr( int md_alg, data_t * entropy, data_t * custom,
|
||||
data_t * add1, data_t * add2, data_t * output )
|
||||
{
|
||||
unsigned char my_output[512];
|
||||
entropy_ctx p_entropy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue