Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.h
Parent Directory
| Revision Log
| Patch
| 554 |
|
|
| 555 |
typedef struct ssh_digest { |
typedef struct ssh_digest { |
| 556 |
digest_algorithm id; |
digest_algorithm id; |
| 557 |
const char *name; |
char *name; |
| 558 |
} ssh_digest_t; |
} ssh_digest_t; |
| 559 |
|
|
| 560 |
/* NB. Indexed directly by algorithm number */ |
/* NB. Indexed directly by algorithm number */ |
| 561 |
static ssh_digest_t ssh_digests[] = { |
static ssh_digest_t ssh_digests[] = { |
| 562 |
{ SSH_DIGEST_MD5, "MD5" }, |
{ SSH_DIGEST_MD5, "MD5" }, |
| 563 |
{ SSH_DIGEST_RIPEMD160, "RIPEMD160" }, |
{ SSH_DIGEST_RIPEMD160, "RIPEMD160" }, |
| 564 |
{ SSH_DIGEST_SHA1, "SHA1" }, |
{ SSH_DIGEST_SHA1, "SHA1" }, |
| 565 |
{ SSH_DIGEST_SHA256, "SHA256" }, |
{ SSH_DIGEST_SHA256, "SHA256" }, |
| 566 |
{ SSH_DIGEST_SHA384, "SHA384" }, |
{ SSH_DIGEST_SHA384, "SHA384" }, |
| 567 |
{ SSH_DIGEST_SHA512, "SHA512" }, |
{ SSH_DIGEST_SHA512, "SHA512" }, |
| 568 |
{ SSH_DIGEST_MAX, NULL }, |
{ SSH_DIGEST_MAX, NULL }, |
| 569 |
}; |
}; |
| 570 |
|
|
| 571 |
enum scp_dir { |
enum scp_dir { |
|
|
Legend:
| Removed from v.6144 |
|
| changed lines |
| |
Added in v.6157 |
|
|
| |