mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 17:21:09 +00:00
Fix misplaced Doxygen comment
This commit is contained in:
parent
fe11951c16
commit
61a60376b7
|
@ -414,13 +414,13 @@ typedef uint32_t psa_key_type_t;
|
||||||
#define PSA_KEY_TYPE_IS_KEYPAIR(type) \
|
#define PSA_KEY_TYPE_IS_KEYPAIR(type) \
|
||||||
(((type) & (PSA_KEY_TYPE_CATEGORY_MASK | PSA_KEY_TYPE_PAIR_FLAG)) == \
|
(((type) & (PSA_KEY_TYPE_CATEGORY_MASK | PSA_KEY_TYPE_PAIR_FLAG)) == \
|
||||||
(PSA_KEY_TYPE_CATEGORY_ASYMMETRIC | PSA_KEY_TYPE_PAIR_FLAG))
|
(PSA_KEY_TYPE_CATEGORY_ASYMMETRIC | PSA_KEY_TYPE_PAIR_FLAG))
|
||||||
/** Whether a key type is an RSA key pair or public key. */
|
|
||||||
/** The key pair type corresponding to a public key type. */
|
/** The key pair type corresponding to a public key type. */
|
||||||
#define PSA_KEY_TYPE_KEYPAIR_OF_PUBLIC_KEY(type) \
|
#define PSA_KEY_TYPE_KEYPAIR_OF_PUBLIC_KEY(type) \
|
||||||
((type) | PSA_KEY_TYPE_PAIR_FLAG)
|
((type) | PSA_KEY_TYPE_PAIR_FLAG)
|
||||||
/** The public key type corresponding to a key pair type. */
|
/** The public key type corresponding to a key pair type. */
|
||||||
#define PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) \
|
#define PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) \
|
||||||
((type) & ~PSA_KEY_TYPE_PAIR_FLAG)
|
((type) & ~PSA_KEY_TYPE_PAIR_FLAG)
|
||||||
|
/** Whether a key type is an RSA key pair or public key. */
|
||||||
#define PSA_KEY_TYPE_IS_RSA(type) \
|
#define PSA_KEY_TYPE_IS_RSA(type) \
|
||||||
(PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) == PSA_KEY_TYPE_RSA_PUBLIC_KEY)
|
(PSA_KEY_TYPE_PUBLIC_KEY_OF_KEYPAIR(type) == PSA_KEY_TYPE_RSA_PUBLIC_KEY)
|
||||||
/** Whether a key type is an elliptic curve key pair or public key. */
|
/** Whether a key type is an elliptic curve key pair or public key. */
|
||||||
|
|
Loading…
Reference in a new issue