diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-11-08 11:40:32 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2016-11-08 15:17:38 +0800 |
commit | 50d144a7305c6f454a8f8f1a10ac7234eac2ceeb (patch) | |
tree | 4a5ccf4b14bed75689d97b01de47b77d2819fdbb /src/protocol/internal/ssh_crypto_common.h | |
parent | 0a817b9fcb8e7a1bf5c4a910eb0de1a549b5ba9f (diff) | |
download | fqterm-50d144a7305c6f454a8f8f1a10ac7234eac2ceeb.tar.xz |
add aes-ctr cipher support
Diffstat (limited to 'src/protocol/internal/ssh_crypto_common.h')
-rw-r--r-- | src/protocol/internal/ssh_crypto_common.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/protocol/internal/ssh_crypto_common.h b/src/protocol/internal/ssh_crypto_common.h new file mode 100644 index 0000000..c50029c --- /dev/null +++ b/src/protocol/internal/ssh_crypto_common.h @@ -0,0 +1,20 @@ +#ifndef SSH_CRYPTO_COMMON_H +#define SSH_CRYPTO_COMMON_H + +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct + { + const char *name; + void *f; + } *name_sp, name_list[]; /* Do not write as *name_list!!! */ + + int search_name(name_list l, const char *s); + +#ifdef __cplusplus +} +#endif + +#endif |