mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-17 02:43:26 +00:00
Update documentation
Add further information about PSA hashing to the comment at the beginning of the code. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
a68ef95394
commit
86f9795b00
@ -33,11 +33,15 @@
|
||||
#include "mbedtls/build_info.h"
|
||||
#include "mbedtls/platform.h"
|
||||
|
||||
/* The algorithm used by this demo is SHA 256.
|
||||
/* Information about hashing with the PSA API can be
|
||||
* found here:
|
||||
* https://arm-software.github.io/psa-api/crypto/1.1/api/ops/hashes.html
|
||||
*
|
||||
* The algorithm used by this demo is SHA 256.
|
||||
* Please see include/psa/crypto_values.h to see the other
|
||||
* algorithms that are supported. If you switch to a different
|
||||
* algorithm you will need to update the hash data in the
|
||||
* SAMPLE_HASH_DATA macro below.*/
|
||||
* algorithms that are supported by Mbed TLS.
|
||||
* If you switch to a different algorithm you will need to update
|
||||
* the hash data in the SAMPLE_HASH_DATA macro below. */
|
||||
|
||||
#define HASH_ALG PSA_ALG_SHA_256
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user