Skip to content

Conversation

@sylvioalves
Copy link
Contributor

@sylvioalves sylvioalves commented Oct 22, 2025

This PR updates the crypto test cases:

  1. Extend crypto_hash test scenarios
  2. Add crypto_aes test case

Split from #97991

@sylvioalves sylvioalves force-pushed the feature/crypto-tests-aes-sha branch from 70d1f45 to e552fca Compare October 24, 2025 18:07
Make sure all crypto driver returns proper error
when feature is not supported.

Signed-off-by: Sylvio Alves <[email protected]>
Select SHA24, SHA256 and SHA384 as part of the shim driver.

Signed-off-by: Sylvio Alves <[email protected]>
Refactor hash tests to support SHA-224, SHA-256, SHA-384, and SHA-512
algorithms with a unified test vector framework.

This improves test coverage and makes it easier to verify hardware
crypto drivers that support multiple SHA variants.

Signed-off-by: Sylvio Alves <[email protected]>
@sylvioalves sylvioalves force-pushed the feature/crypto-tests-aes-sha branch from e552fca to 170402d Compare October 24, 2025 18:13
Add AES test cases for ECB, CBC, CCM, and GCM modes with standard
test vectors from FIPS-197 and NIST specifications.

Signed-off-by: Sylvio Alves <[email protected]>
Add ESP32 devkits in testcases.

Signed-off-by: Sylvio Alves <[email protected]>
@sylvioalves sylvioalves force-pushed the feature/crypto-tests-aes-sha branch from 170402d to 92f3f4d Compare October 24, 2025 18:22
@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Crypto / RNG area: Tests Issues related to a particular existing or missing test platform: ITE ITE platform: Microchip MEC Microchip MEC Platform platform: Nuvoton NPCX Nuvoton NPCX platform: Realtek EC platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond platform: STM32 ST Micro STM32 platform: TI SimpleLink Texas Instruments SimpleLink MCU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants