mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 03:15:43 +01:00
Rename test hash_finish_bad_paths to hash_finish_bad_args
Test dependency moved to .function file.
This commit is contained in:
parent
f86548d674
commit
b2dd5ed1e6
@ -363,9 +363,8 @@ PSA hash verify: bad paths
|
||||
depends_on:MBEDTLS_SHA256_C
|
||||
hash_verify_bad_paths:
|
||||
|
||||
PSA hash finish: bad paths
|
||||
depends_on:MBEDTLS_SHA256_C
|
||||
hash_finish_bad_paths:
|
||||
PSA hash finish: bad arguments
|
||||
hash_finish_bad_args:
|
||||
|
||||
PSA MAC setup: good, HMAC-SHA-256
|
||||
depends_on:MBEDTLS_MD_C:MBEDTLS_SHA256_C
|
||||
|
@ -1655,11 +1655,11 @@ exit:
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void hash_finish_bad_paths( )
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_SHA256_C */
|
||||
void hash_finish_bad_args( )
|
||||
{
|
||||
psa_algorithm_t alg = PSA_ALG_SHA_256;
|
||||
unsigned char hash[PSA_HASH_MAX_SIZE] = { 0 };
|
||||
unsigned char hash[PSA_HASH_MAX_SIZE];
|
||||
size_t expected_size = PSA_HASH_SIZE( alg );
|
||||
psa_hash_operation_t operation;
|
||||
size_t hash_len;
|
||||
|
Loading…
Reference in New Issue
Block a user