Restore more test guards
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
d26d7445b8
commit
a476363042
1 changed files with 2 additions and 0 deletions
|
@ -5916,6 +5916,7 @@ void aead_multipart_state_test(int key_type_arg, data_t *key_data,
|
|||
psa_aead_abort(&operation);
|
||||
|
||||
/* Test for setting nonce after calling set lengths with SIZE_MAX ad_data length */
|
||||
#if SIZE_MAX > UINT32_MAX
|
||||
PSA_ASSERT(psa_aead_encrypt_setup(&operation, key, alg));
|
||||
|
||||
if (operation.alg == PSA_ALG_CCM || operation.alg == PSA_ALG_GCM) {
|
||||
|
@ -5931,6 +5932,7 @@ void aead_multipart_state_test(int key_type_arg, data_t *key_data,
|
|||
}
|
||||
|
||||
psa_aead_abort(&operation);
|
||||
#endif
|
||||
|
||||
/* Test for calling set lengths with an ad_data length of UINT32_MAX, after setting nonce */
|
||||
|
||||
|
|
Loading…
Reference in a new issue