Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt_custom.h @ 839:33207ed1174b
Merge in ECC
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 21 Oct 2013 22:57:21 +0800 |
parents | 70625eed40c9 |
children | 3017bc7d6238 |
comparison
equal
deleted
inserted
replaced
834:e378da7eae5d | 839:33207ed1174b |
---|---|
125 #endif | 125 #endif |
126 | 126 |
127 #ifdef DROPBEAR_SHA256 | 127 #ifdef DROPBEAR_SHA256 |
128 #define SHA256 | 128 #define SHA256 |
129 #endif | 129 #endif |
130 | 130 #ifdef DROPBEAR_SHA384 |
131 #define SHA384 | |
132 #endif | |
131 #ifdef DROPBEAR_SHA512 | 133 #ifdef DROPBEAR_SHA512 |
132 #define SHA512 | 134 #define SHA512 |
133 #endif | 135 #endif |
134 | 136 |
135 #define LTC_HMAC | 137 #define LTC_HMAC |
138 | |
139 #ifdef DROPBEAR_ECC | |
140 #define MECC | |
141 #define LTC_ECC_SHAMIR | |
142 #define LTC_ECC_TIMING_RESISTANT | |
143 #define MPI | |
144 #define LTM_DESC | |
145 #ifdef DROPBEAR_ECC_256 | |
146 #define ECC256 | |
147 #endif | |
148 #ifdef DROPBEAR_ECC_384 | |
149 #define ECC384 | |
150 #endif | |
151 #ifdef DROPBEAR_ECC_521 | |
152 #define ECC521 | |
153 #endif | |
154 #endif | |
136 | 155 |
137 /* Various tidbits of modern neatoness */ | 156 /* Various tidbits of modern neatoness */ |
138 #define BASE64 | 157 #define BASE64 |
139 | 158 |
140 /* default no pthread functions */ | 159 /* default no pthread functions */ |