mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Add comment for skipped AES-192 test condition
This commit is contained in:
parent
2a078da134
commit
d3e7e7d83f
2 changed files with 20 additions and 0 deletions
|
|
@ -757,6 +757,11 @@ int mbedtls_gcm_self_test( int verbose )
|
|||
|
||||
ret = mbedtls_gcm_setkey( &ctx, cipher, key[key_index[i]],
|
||||
key_len );
|
||||
/*
|
||||
* AES-192 is an optional feature that may be unavailable when
|
||||
* there is an alternative underlying implementation i.e. when
|
||||
* MBEDTLS_AES_ALT is defined.
|
||||
*/
|
||||
if( ret == MBEDTLS_ERR_AES_FEATURE_UNAVAILABLE && key_len == 192 )
|
||||
{
|
||||
mbedtls_printf( "skipped\n" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue