1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-27 00:01:01 +03:00

Merge pull request #3949 from bensze01/update_psa_values

Improve documentation in test_psa_constant_names.py
This commit is contained in:
Manuel Pégourié-Gonnard
2020-12-10 11:19:30 +01:00
committed by GitHub

View File

@ -94,8 +94,12 @@ class Inputs:
self.dh_groups = set(['0xff'])
self.key_types = set(['0xffff'])
self.key_usage_flags = set(['0x80000000'])
# Hard-coded value for unknown algorithms
self.hash_algorithms = set(['0x020000fe'])
# Hard-coded values for unknown algorithms
#
# These have to have values that are correct for their respective
# PSA_ALG_IS_xxx macros, but are also not currently assigned and are
# not likely to be assigned in the near future.
self.hash_algorithms = set(['0x020000fe']) # 0x020000ff is PSA_ALG_ANY_HASH
self.mac_algorithms = set(['0x0300ffff'])
self.ka_algorithms = set(['0x09fc0000'])
self.kdf_algorithms = set(['0x080000ff'])