Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create AES implementation discovery API and program #10012

Open
davidhorstmann-arm opened this issue Feb 25, 2025 · 0 comments
Open

Create AES implementation discovery API and program #10012

davidhorstmann-arm opened this issue Feb 25, 2025 · 0 comments
Labels
size-s Estimated task size: small (~2d)

Comments

@davidhorstmann-arm
Copy link
Contributor

davidhorstmann-arm commented Feb 25, 2025

Part of implementing #9904

Create a simple function internal to TF-PSA-Crypto that provides information on the type of AES implementation that is selected and used. It should be declared in aes.h and defined in aes.c. It should return a value indicating which implementation of AES is being used (i.e. software AES, AESNI, AESCE, and whether intrinsics or assembly are being used).

Create a very simple program in TF-PSA-Crypto that calls the function to find out which AES implementation is used and prints out the result. This program will be used in testing to ensure that we are building and testing the correct AES implementation.

See also this comment in a discussion that originated this task.

Estimate: 6 IEH

@davidhorstmann-arm davidhorstmann-arm added size-m Estimated task size: medium (~1w) size-s Estimated task size: small (~2d) and removed size-m Estimated task size: medium (~1w) labels Feb 25, 2025
@davidhorstmann-arm davidhorstmann-arm moved this to Implementation needed in Mbed TLS 4.0 planning Feb 25, 2025
@davidhorstmann-arm davidhorstmann-arm changed the title Create AES printout API and program Create AES implementation discovery API and program Feb 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
size-s Estimated task size: small (~2d)
Projects
Status: Implementation needed
Development

No branches or pull requests

1 participant