Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove references to legacy HMAC and AEAD demo programs #9973

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

Remove references to legacy HMAC and AEAD demo programs #9973

davidhorstmann-arm opened this issue Feb 12, 2025 · 0 comments
Labels
size-xs Estimated task size: extra small (a few hours at most)

Comments

@davidhorstmann-arm
Copy link
Contributor

Part of implementing #9904

TF-PSA-Crypto contains 2 particular PSA example programs: aead_demo.c and hmac_demo.c, that were written to demonstrate transitioning to the PSA API. These contain a description like the following:

/**
 * PSA API multi-part AEAD demonstration.
 *
 * This program AEAD-encrypts a message, using the algorithm and key size
 * specified on the command line, using the multi-part API.
 *
 * It comes with a companion program cipher/cipher_aead_demo.c, which does the
 * same operations with the legacy Cipher API. The goal is that comparing the
 * two programs will help people migrating to the PSA Crypto API.
 ...

The description refers to equivalent programs that use the legacy API, so as to demonstrate the transition.

In 4.0 we will remove the legacy programs, so we need to remove these references to them and rewrite the descriptions to be generic.

This task is done when the PSA example programs' descriptions do not make reference to the legacy programs.

Estimate: 1 Ideal Engineering Hour

@davidhorstmann-arm davidhorstmann-arm added the size-xs Estimated task size: extra small (a few hours at most) label Feb 12, 2025
@davidhorstmann-arm davidhorstmann-arm moved this to Implementation needed in Mbed TLS 4.0 planning Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size-xs Estimated task size: extra small (a few hours at most)
Projects
Status: Implementation needed
Development

No branches or pull requests

1 participant