aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2018-06-12 12:27:06 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2018-06-12 12:27:06 +0000
commit93c2ed5ca1af342b694fe83b0fa5778d1579fc75 (patch)
tree93c974d2f296159167b0286b0fa576d9f4730ab2 /os
parentd96d3fbf325393f50ac10ffd92258d47dc7e3cc7 (diff)
downloadChibiOS-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')
-rw-r--r--os/hal/include/hal_crypto.h4
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;
/**