Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 306 |
static void normalize_mac_order(char FAR * buf) |
static void normalize_mac_order(char FAR * buf) |
| 307 |
{ |
{ |
| 308 |
static char default_strings[] = { |
static char default_strings[] = { |
| 309 |
|
#ifdef HMAC_SHA2_DRAFT // HMAC-SHA2 support |
| 310 |
|
HMAC_SHA2_512, |
| 311 |
|
HMAC_SHA2_256, |
| 312 |
|
#endif // HMAC-SHA2 support |
| 313 |
HMAC_SHA1, |
HMAC_SHA1, |
| 314 |
HMAC_RIPEMD160, |
HMAC_RIPEMD160, |
| 315 |
HMAC_MD5, |
HMAC_MD5, |
| 316 |
HMAC_NONE, |
HMAC_NONE, |
|
HMAC_SHA1_96, |
|
|
HMAC_MD5_96, |
|
| 317 |
#ifdef HMAC_SHA2_DRAFT // HMAC-SHA2 support |
#ifdef HMAC_SHA2_DRAFT // HMAC-SHA2 support |
|
HMAC_SHA2_256, |
|
|
HMAC_SHA2_256_96, |
|
|
HMAC_SHA2_512, |
|
| 318 |
HMAC_SHA2_512_96, |
HMAC_SHA2_512_96, |
| 319 |
|
HMAC_SHA2_256_96, |
| 320 |
#endif // HMAC-SHA2 support |
#endif // HMAC-SHA2 support |
| 321 |
|
HMAC_SHA1_96, |
| 322 |
|
HMAC_MD5_96, |
| 323 |
}; |
}; |
| 324 |
|
|
| 325 |
normalize_generic_order(buf, default_strings, NUM_ELEM(default_strings)); |
normalize_generic_order(buf, default_strings, NUM_ELEM(default_strings)); |
|
|
Legend:
| Removed from v.4433 |
|
| changed lines |
| |
Added in v.4434 |
|
|
| |