Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt_dropbear.h @ 1673:e0871128e61f
CBC mode cleanup (#95)
* Fix CBC mode can't be fully disabled
* Fix CBC mode can't be the only mode
author | Vladislav Grishenko <themiron@users.noreply.github.com> |
---|---|
date | Mon, 25 May 2020 20:55:13 +0500 |
parents | 3a97f14c0235 |
children | e9dba7abd939 |
comparison
equal
deleted
inserted
replaced
1672:3a97f14c0235 | 1673:e0871128e61f |
---|---|
25 | 25 |
26 #if DROPBEAR_3DES | 26 #if DROPBEAR_3DES |
27 #define LTC_DES | 27 #define LTC_DES |
28 #endif | 28 #endif |
29 | 29 |
30 #if DROPBEAR_ENABLE_CTR_MODE | 30 #if DROPBEAR_ENABLE_CBC_MODE |
31 #define LTC_CBC_MODE | 31 #define LTC_CBC_MODE |
32 #endif | 32 #endif |
33 | 33 |
34 #if DROPBEAR_ENABLE_CTR_MODE | 34 #if DROPBEAR_ENABLE_CTR_MODE |
35 #define LTC_CTR_MODE | 35 #define LTC_CTR_MODE |