comparison libtomcrypt/src/headers/tomcrypt_dropbear.h @ 1733:d529a52b2f7c coverity coverity

merge coverity from main
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 Jun 2020 21:07:34 +0800
parents c2c0f43ff827
children 3f4cdf839a1a
comparison
equal deleted inserted replaced
1643:b59623a64678 1733:d529a52b2f7c
8 /* Use small code where possible */ 8 /* Use small code where possible */
9 #if DROPBEAR_SMALL_CODE 9 #if DROPBEAR_SMALL_CODE
10 #define LTC_SMALL_CODE 10 #define LTC_SMALL_CODE
11 #endif 11 #endif
12 12
13 #if DROPBEAR_BLOWFISH 13 /* Fewer entries needed */
14 #define LTC_BLOWFISH 14 #define TAB_SIZE 5
15 #endif 15
16 #if DROPBEAR_AES 16 #if DROPBEAR_AES
17 #define LTC_RIJNDAEL 17 #define LTC_RIJNDAEL
18 #endif 18 #endif
19 /* _TABLES tells it to use tables during setup, _SMALL means to use the smaller scheduled key format 19 /* _TABLES tells it to use tables during setup, _SMALL means to use the smaller scheduled key format
20 * (saves 4KB of ram), _ALL_TABLES enables all tables during setup */ 20 * (saves 4KB of ram), _ALL_TABLES enables all tables during setup */
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
36 #endif 36 #endif
37 37
38 #if DROPBEAR_ENABLE_GCM_MODE
39 #define LTC_GCM_MODE
40 #endif
41
42 #if DROPBEAR_CHACHA20POLY1305
43 #define LTC_CHACHA
44 #define LTC_POLY1305
45 #endif
38 46
39 #if DROPBEAR_SHA512 47 #if DROPBEAR_SHA512
40 #define LTC_SHA512 48 #define LTC_SHA512
41 #endif 49 #endif
42 50