Remove usage of PSA_ERROR_INVALID_KEY_POLICY

use PSA_ERROR_INVALID_ARGUMENT instead of INVALID_KEY_POLICY error
This commit is contained in:
mohammad1603
2018-04-16 04:38:57 -07:00
committed by itayzafrir
parent d926b88085
commit 5feda72d7a
2 changed files with 1 additions and 3 deletions

View File

@@ -89,8 +89,6 @@ typedef enum {
PSA_ERROR_INVALID_SIGNATURE,
/** The decrypted padding is incorrect. */
PSA_ERROR_INVALID_PADDING,
/** The key policy is incorrect. */
PSA_ERROR_INVALID_KEY_POLICY,
/** An error occurred that does not correspond to any defined
failure cause. */
PSA_ERROR_UNKNOWN_ERROR,