|
495 | 495 | */
|
496 | 496 | #define PSA_ECC_CURVE_CURVE448 ((psa_ecc_curve_t) 0x001e)
|
497 | 497 |
|
| 498 | +/** Minimum value for a vendor-defined ECC curve identifier |
| 499 | + * |
| 500 | + * The range for vendor-defined curve identifiers is a subset of the IANA |
| 501 | + * registry private use range, `0xfe00` - `0xfeff`. |
| 502 | + */ |
| 503 | +#define PSA_ECC_CURVE_VENDOR_MIN ((psa_ecc_curve_t) 0xfe00) |
| 504 | +/** Maximum value for a vendor-defined ECC curve identifier |
| 505 | + * |
| 506 | + * The range for vendor-defined curve identifiers is a subset of the IANA |
| 507 | + * registry private use range, `0xfe00` - `0xfeff`. |
| 508 | + */ |
| 509 | +#define PSA_ECC_CURVE_VENDOR_MAX ((psa_ecc_curve_t) 0xfe7f) |
| 510 | + |
498 | 511 | #define PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE ((psa_key_type_t)0x60040000)
|
499 | 512 | #define PSA_KEY_TYPE_DH_KEY_PAIR_BASE ((psa_key_type_t)0x70040000)
|
500 | 513 | #define PSA_KEY_TYPE_DH_GROUP_MASK ((psa_key_type_t)0x0000ffff)
|
|
535 | 548 | #define PSA_DH_GROUP_FFDHE6144 ((psa_dh_group_t) 0x0103)
|
536 | 549 | #define PSA_DH_GROUP_FFDHE8192 ((psa_dh_group_t) 0x0104)
|
537 | 550 |
|
| 551 | +/** Minimum value for a vendor-defined Diffie Hellman group identifier |
| 552 | + * |
| 553 | + * The range for vendor-defined group identifiers is a subset of the IANA |
| 554 | + * registry private use range, `0x01fc` - `0x01ff`. |
| 555 | + */ |
| 556 | +#define PSA_DH_GROUP_VENDOR_MIN ((psa_dh_group_t) 0x01fc) |
| 557 | +/** Maximum value for a vendor-defined Diffie Hellman group identifier |
| 558 | + * |
| 559 | + * The range for vendor-defined group identifiers is a subset of the IANA |
| 560 | + * registry private use range, `0x01fc` - `0x01ff`. |
| 561 | + */ |
| 562 | +#define PSA_DH_GROUP_VENDOR_MAX ((psa_dh_group_t) 0x01fd) |
| 563 | + |
538 | 564 | /** The block size of a block cipher.
|
539 | 565 | *
|
540 | 566 | * \param type A cipher key type (value of type #psa_key_type_t).
|
|
0 commit comments