diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2018-06-06 14:01:31 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2018-06-06 14:01:31 +0000 |
commit | 4563b9555899fd86d790fb6412a22317a805550f (patch) | |
tree | 35885e460942e5c0c43f71905eab12e282cba0b2 /os | |
parent | 8143b7257b2eee01c20fa7459f85972ff13e16de (diff) | |
download | ChibiOS-4563b9555899fd86d790fb6412a22317a805550f.tar.gz ChibiOS-4563b9555899fd86d790fb6412a22317a805550f.tar.bz2 ChibiOS-4563b9555899fd86d790fb6412a22317a805550f.zip |
Fixed Crypto hal source code. Remove undefine variables.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12081 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/src/hal_crypto.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/src/hal_crypto.c b/os/hal/src/hal_crypto.c index e0ffc2f16..ff6931074 100644 --- a/os/hal/src/hal_crypto.c +++ b/os/hal/src/hal_crypto.c @@ -623,8 +623,7 @@ cryerror_t cryEncryptAES_CTR(CRYDriver *cryp, (void)size;
(void)in;
(void)out;
- (void)nonce;
- (void)cnt;
+ (void)iv;
return CRY_ERR_INV_ALGO;
#endif
@@ -678,8 +677,7 @@ cryerror_t cryDecryptAES_CTR(CRYDriver *cryp, (void)size;
(void)in;
(void)out;
- (void)nonce;
- (void)cnt;
+ (void)iv;
return CRY_ERR_INV_ALGO;
#endif
|