mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 08:56:50 -04:00
Restore test guards
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
91e832168f
commit
641288bc1e
@ -5971,6 +5971,7 @@ void aead_multipart_state_test(int key_type_arg, data_t *key_data,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Test for calling set lengths with a plaintext length of SIZE_MAX, after setting nonce */
|
/* Test for calling set lengths with a plaintext length of SIZE_MAX, after setting nonce */
|
||||||
|
#if SIZE_MAX > UINT32_MAX
|
||||||
PSA_ASSERT(psa_aead_encrypt_setup(&operation, key, alg));
|
PSA_ASSERT(psa_aead_encrypt_setup(&operation, key, alg));
|
||||||
|
|
||||||
PSA_ASSERT(psa_aead_set_nonce(&operation, nonce->x, nonce->len));
|
PSA_ASSERT(psa_aead_set_nonce(&operation, nonce->x, nonce->len));
|
||||||
@ -5985,6 +5986,7 @@ void aead_multipart_state_test(int key_type_arg, data_t *key_data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
psa_aead_abort(&operation);
|
psa_aead_abort(&operation);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ------------------------------------------------------- */
|
/* ------------------------------------------------------- */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user