1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2026-01-06 11:41:12 +03:00

New utility program psa/psa_constant_names

Print the symbolic name corresponding to a numerical value.

Supported types: status values, algorithms, elliptic curves,
key types, key usage masks.

The program is partly generated from parsing psa/crypto.h with a few
hard-coded assumptions. This isn't ideal but it works and requires
little machinery.
This commit is contained in:
Gilles Peskine
2018-07-16 23:13:37 +02:00
committed by itayzafrir
parent 55728b0e70
commit 029b5d648d
4 changed files with 474 additions and 2 deletions

2
programs/.gitignore vendored
View File

@@ -29,6 +29,8 @@ pkey/rsa_sign
pkey/rsa_sign_pss
pkey/rsa_verify
pkey/rsa_verify_pss
psa/psa_constant_names
psa/psa_constant_names_generated.c
random/gen_entropy
random/gen_random_ctr_drbg
random/gen_random_havege