diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2018-06-12 12:27:06 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2018-06-12 12:27:06 +0000 |
commit | 93c2ed5ca1af342b694fe83b0fa5778d1579fc75 (patch) | |
tree | 93c974d2f296159167b0286b0fa576d9f4730ab2 /os/hal/include/hal_crypto.h | |
parent | d96d3fbf325393f50ac10ffd92258d47dc7e3cc7 (diff) | |
download | ChibiOS-93c2ed5ca1af342b694fe83b0fa5778d1579fc75.tar.gz ChibiOS-93c2ed5ca1af342b694fe83b0fa5778d1579fc75.tar.bz2 ChibiOS-93c2ed5ca1af342b694fe83b0fa5778d1579fc75.zip |
Add crypto encryption and decryption error messages.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12088 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include/hal_crypto.h')
-rw-r--r-- | os/hal/include/hal_crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h index f29d314b3..87202403a 100644 --- a/os/hal/include/hal_crypto.h +++ b/os/hal/include/hal_crypto.h @@ -98,7 +98,9 @@ typedef enum { CRY_ERR_INV_ALGO = 1, /**< Invalid cypher/mode. */
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_INV_KEY_ID = 4, /**< Invalid key identifier. */
+ CRY_ERR_ENCRYP = 5, /**< Encryption error. */
+ CRY_ERR_DECRYP = 6 /**< Decryption error. */
} cryerror_t;
/**
|