Document macros that were referenced
Macros that are referenced need to be documented, otherwise Doxygen has nothing to link to.
This commit is contained in:
parent
2d59b2cd6b
commit
5e9c9cca03
1 changed files with 2 additions and 0 deletions
|
@ -446,9 +446,11 @@
|
||||||
#define PSA_KEY_TYPE_IS_ECC(type) \
|
#define PSA_KEY_TYPE_IS_ECC(type) \
|
||||||
((PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) & \
|
((PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) & \
|
||||||
~PSA_KEY_TYPE_ECC_CURVE_MASK) == PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE)
|
~PSA_KEY_TYPE_ECC_CURVE_MASK) == PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE)
|
||||||
|
/** Whether a key type is an elliptic curve key pair. */
|
||||||
#define PSA_KEY_TYPE_IS_ECC_KEYPAIR(type) \
|
#define PSA_KEY_TYPE_IS_ECC_KEYPAIR(type) \
|
||||||
(((type) & ~PSA_KEY_TYPE_ECC_CURVE_MASK) == \
|
(((type) & ~PSA_KEY_TYPE_ECC_CURVE_MASK) == \
|
||||||
PSA_KEY_TYPE_ECC_KEYPAIR_BASE)
|
PSA_KEY_TYPE_ECC_KEYPAIR_BASE)
|
||||||
|
/** Whether a key type is an elliptic curve public key. */
|
||||||
#define PSA_KEY_TYPE_IS_ECC_PUBLIC_KEY(type) \
|
#define PSA_KEY_TYPE_IS_ECC_PUBLIC_KEY(type) \
|
||||||
(((type) & ~PSA_KEY_TYPE_ECC_CURVE_MASK) == \
|
(((type) & ~PSA_KEY_TYPE_ECC_CURVE_MASK) == \
|
||||||
PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE)
|
PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE)
|
||||||
|
|
Loading…
Reference in a new issue