ARMmbed / mbed-crypto

The development of Mbed Crypto has moved to Mbed TLS. No updates will be made to the mbed-crypto repository anymore.
Apache License 2.0
103 stars 100 forks source link

Test ARIA through the cipher interface #163

Open gilles-peskine-arm opened 5 years ago

gilles-peskine-arm commented 5 years ago

Description

ARIA is tested via the mbedtls_aria_xxx functions in test_suite_aria, but not through the mbedtls_ccm_xxx, mbedtls_gcm_xxx or mbedtls_cipher_xxx functions. There should be a test_suite_cipher.aria.data for non-authenticated modes, and test_suite_{ccm,gcm}.aria.data and entries in test_suite_cipher.{ccm,gcm}.data for authenticated modes, like what exists for AES and CAMELLIA.

I'm filing this as enhancement because the risk of an undetected bug here is low, considering that this interface is also tested indirectly in mbedtls via compat.sh.

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug
ciarmcom commented 5 years ago

Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-822

adbridge commented 4 years ago

Apologies, this was closed in error by the automated bot - re-opening.