Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TF-PSA-Crypto/programs/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (9 sloc)
1.19 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PSA cryptography example programs | |
================================= | |
This subdirectory mostly contains sample programs that illustrate specific features of the library, as well as a few test and support programs. | |
## PSA cryptography examples | |
* [`psa/aead_demo.c`](psa/aead_demo.c): PSA multi-part AEAD demonstration. This program AEAD-encrypts a message, using the algorithm and key size specified on the command line, using the PSA AEAD multi-part API. | |
* [`psa/crypto_examples.c`](psa/crypto_examples.c): PSA single and multi part unauthenticated cipher encryption and decryption demonstration. | |
* [`psa/hmac_demo.c`](psa/hmac_demo.c): PSA API multi-part HMAC demonstration. This programs computes the HMAC of two messages using the multi-part API. | |
* [`psa/key_ladder_demo.c`](psa/key_ladder_demo.c): PSA API key derivation demonstration. This program calculates a key ladder: a chain of secret material, each derived from the previous one in a deterministic way based on a label. Two keys are identical if and only if they are derived from the same key using the same label. | |
* [`psa/psa_constant_names.c`](psa/psa_constant_names.c): This programs prints the PSA symbolic name of a numerical value given its type. |