PSA_KEY_USAGE_ENCRYPT macro
Whether the key may be used to encrypt a message. This flag allows the key to be used for a symmetric encryption operation, for an AEAD encryption-and-authentication operation, or for an asymmetric encryption operation, if otherwise permitted by the key's type and policy. For a key pair, this concerns the public key.