Change PSA_DH_GROUP_CUSTOM to not be in the vendor-defined range
This commit is contained in:
parent
6e59505bb2
commit
43326f0d1e
1 changed files with 3 additions and 2 deletions
|
@ -428,8 +428,9 @@ psa_status_t mbedtls_psa_inject_entropy(const uint8_t *seed,
|
||||||
* #PSA_KEY_TYPE_DH_KEY_PAIR(#PSA_DH_GROUP_CUSTOM), the group data comes
|
* #PSA_KEY_TYPE_DH_KEY_PAIR(#PSA_DH_GROUP_CUSTOM), the group data comes
|
||||||
* from domain parameters set by psa_set_key_domain_parameters().
|
* from domain parameters set by psa_set_key_domain_parameters().
|
||||||
*/
|
*/
|
||||||
/* This value is reserved for private use in the TLS named group registry. */
|
/* This value is a deprecated value meaning an explicit curve in the IANA
|
||||||
#define PSA_DH_GROUP_CUSTOM ((psa_dh_group_t) 0x01fc)
|
* registry. */
|
||||||
|
#define PSA_DH_GROUP_CUSTOM ((psa_dh_group_t) 0xff01)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue