mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Rename hash max sizes for consistency
Use "hash" throughout the library, not "md" as in Mbed TLS.
This commit is contained in:
committed by
itayzafrir
parent
dec7261df1
commit
b3e6e5deeb
@ -1,7 +1,6 @@
|
||||
/* BEGIN_HEADER */
|
||||
#include <stdint.h>
|
||||
#include "psa/crypto.h"
|
||||
#include "mbedtls/md.h"
|
||||
|
||||
#if(UINT32_MAX > SIZE_MAX)
|
||||
#define PSA_CRYPTO_TEST_SIZE_T_RANGE( x ) ( ( x ) <= SIZE_MAX )
|
||||
@ -212,7 +211,7 @@ exit:
|
||||
void hash_finish( int alg_arg, data_t *input, data_t *expected_hash )
|
||||
{
|
||||
psa_algorithm_t alg = alg_arg;
|
||||
unsigned char actual_hash[MBEDTLS_MD_MAX_SIZE];
|
||||
unsigned char actual_hash[PSA_HASH_MAX_SIZE];
|
||||
size_t actual_hash_length;
|
||||
psa_hash_operation_t operation;
|
||||
|
||||
|
Reference in New Issue
Block a user