diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-06-13 07:41:20 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-06-13 07:41:20 +0000 |
commit | 6b10290a420ae684c602f02e1f440b99e8f7b420 (patch) | |
tree | ff0128f93b43f9ea00679e7e346aaa394cb7b2db /os/hal/include | |
parent | 94c5e066cca207361d822f06bf7e3edc1eef080f (diff) | |
download | ChibiOS-6b10290a420ae684c602f02e1f440b99e8f7b420.tar.gz ChibiOS-6b10290a420ae684c602f02e1f440b99e8f7b420.tar.bz2 ChibiOS-6b10290a420ae684c602f02e1f440b99e8f7b420.zip |
Changed two error codes in a single error type.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12091 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_crypto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h index 87202403a..4152aeb2b 100644 --- a/os/hal/include/hal_crypto.h +++ b/os/hal/include/hal_crypto.h @@ -99,8 +99,7 @@ typedef enum { CRY_ERR_INV_KEY_SIZE = 2, /**< Invalid key size. */
CRY_ERR_INV_KEY_TYPE = 3, /**< Invalid key type. */
CRY_ERR_INV_KEY_ID = 4, /**< Invalid key identifier. */
- CRY_ERR_ENCRYP = 5, /**< Encryption error. */
- CRY_ERR_DECRYP = 6 /**< Decryption error. */
+ CRY_ERR_OPERATION_FAILURE = 5 /**< Requested operation failed.*/
} cryerror_t;
/**
|