|
421 | 421 | #define PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE ((psa_key_type_t)0x60030000)
|
422 | 422 | #define PSA_KEY_TYPE_ECC_KEY_PAIR_BASE ((psa_key_type_t)0x70030000)
|
423 | 423 | #define PSA_KEY_TYPE_ECC_CURVE_MASK ((psa_key_type_t)0x0000ffff)
|
424 |
| -/** Elliptic curve key pair. */ |
| 424 | +/** Elliptic curve key pair. |
| 425 | + * |
| 426 | + * \param curve A value of type ::psa_ecc_curve_t that identifies the |
| 427 | + * ECC curve to be used. |
| 428 | + */ |
425 | 429 | #define PSA_KEY_TYPE_ECC_KEY_PAIR(curve) \
|
426 | 430 | (PSA_KEY_TYPE_ECC_KEY_PAIR_BASE | (curve))
|
427 |
| -/** Elliptic curve public key. */ |
| 431 | +/** Elliptic curve public key. |
| 432 | + * |
| 433 | + * \param curve A value of type ::psa_ecc_curve_t that identifies the |
| 434 | + * ECC curve to be used. |
| 435 | + */ |
428 | 436 | #define PSA_KEY_TYPE_ECC_PUBLIC_KEY(curve) \
|
429 | 437 | (PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE | (curve))
|
430 | 438 |
|
|
511 | 519 | #define PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE ((psa_key_type_t)0x60040000)
|
512 | 520 | #define PSA_KEY_TYPE_DH_KEY_PAIR_BASE ((psa_key_type_t)0x70040000)
|
513 | 521 | #define PSA_KEY_TYPE_DH_GROUP_MASK ((psa_key_type_t)0x0000ffff)
|
514 |
| -/** Diffie-Hellman key pair. */ |
| 522 | +/** Diffie-Hellman key pair. |
| 523 | + * |
| 524 | + * \param group A value of type ::psa_dh_group_t that identifies the |
| 525 | + * Diffie-Hellman group to be used. |
| 526 | + */ |
515 | 527 | #define PSA_KEY_TYPE_DH_KEY_PAIR(group) \
|
516 | 528 | (PSA_KEY_TYPE_DH_KEY_PAIR_BASE | (group))
|
517 |
| -/** Diffie-Hellman public key. */ |
| 529 | +/** Diffie-Hellman public key. |
| 530 | + * |
| 531 | + * \param group A value of type ::psa_dh_group_t that identifies the |
| 532 | + * Diffie-Hellman group to be used. |
| 533 | + */ |
518 | 534 | #define PSA_KEY_TYPE_DH_PUBLIC_KEY(group) \
|
519 | 535 | (PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE | (group))
|
520 | 536 |
|
|
0 commit comments