Skip to content

Commit c625045

Browse files
committed
Tighten up language regarding direct use of the IANA registry values
1 parent c6f03ef commit c625045

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

include/psa/crypto_types.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,29 @@ typedef uint32_t psa_key_type_t;
6767

6868
/** The type of PSA elliptic curve identifiers.
6969
*
70-
* The encoding of curve identifiers is aligned with the
70+
* The encoding of curve identifiers is taken from the
7171
* TLS Supported Groups Registry (formerly known as the
7272
* TLS EC Named Curve Registry)
7373
* https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8
7474
* The values are defined by RFC 8422 and RFC 7027.
75+
*
76+
* This specification defines identifiers for some of the curves in the IANA
77+
* registry. Implementations that support other curves that are in the IANA
78+
* registry should use the IANA value and a implementation-specific identifier.
7579
*/
7680
typedef uint16_t psa_ecc_curve_t;
7781

7882
/** The type of PSA Diffie-Hellman group identifiers.
7983
*
80-
* The encoding of group identifiers is aligned with the
84+
* The encoding of group identifiers is taken from the
8185
* TLS Supported Groups Registry (formerly known as the
8286
* TLS EC Named Curve Registry)
8387
* https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8
8488
* The values are defined by RFC 7919.
89+
*
90+
* This specification defines identifiers for some of the groups in the IANA
91+
* registry. Implementations that support other groups that are in the IANA
92+
* registry should use the IANA value and a implementation-specific identifier.
8593
*/
8694
typedef uint16_t psa_dh_group_t;
8795

0 commit comments

Comments
 (0)