PSA_ERROR_NOT_PERMITTED macro
The requested action is denied by a policy. Implementations should return this error code when the parameters are recognized as valid and supported, and a policy explicitly denies the requested operation. If a subset of the parameters of a function call identify a forbidden operation, and another subset of the parameters are not valid or not supported, it is unspecified whether the function returns #PSA_ERROR_NOT_PERMITTED, #PSA_ERROR_NOT_SUPPORTED or