diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 12:38:01 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 12:38:01 +0000 |
commit | 491a69769cb9db97e6566679b6ac0887bdda3292 (patch) | |
tree | a33f1caa6affb164e64ac463b53cf747159532aa /tools/plink/ssh.h | |
parent | 79b0bee7c7af3c5035cddde18497e54d38cf8dbc (diff) | |
download | vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.tar.gz vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.tar.bz2 vcxsrv-491a69769cb9db97e6566679b6ac0887bdda3292.zip |
Updated to revision 9025 of putty
Diffstat (limited to 'tools/plink/ssh.h')
-rw-r--r-- | tools/plink/ssh.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/plink/ssh.h b/tools/plink/ssh.h index 814939c2b..86c402965 100644 --- a/tools/plink/ssh.h +++ b/tools/plink/ssh.h @@ -71,8 +71,12 @@ unsigned char *rsa_public_blob(struct RSAKey *key, int *len); int rsa_public_blob_len(void *data, int maxlen);
void freersakey(struct RSAKey *key);
-typedef unsigned int word32;
+#ifndef PUTTY_UINT32_DEFINED
+/* This makes assumptions about the int type. */
typedef unsigned int uint32;
+#define PUTTY_UINT32_DEFINED
+#endif
+typedef uint32 word32;
unsigned long crc32_compute(const void *s, size_t len);
unsigned long crc32_update(unsigned long crc_input, const void *s, size_t len);
@@ -290,6 +294,14 @@ extern const struct ssh_mac ssh_hmac_sha1_buggy; extern const struct ssh_mac ssh_hmac_sha1_96;
extern const struct ssh_mac ssh_hmac_sha1_96_buggy;
+void *aes_make_context(void);
+void aes_free_context(void *handle);
+void aes128_key(void *handle, unsigned char *key);
+void aes192_key(void *handle, unsigned char *key);
+void aes256_key(void *handle, unsigned char *key);
+void aes_iv(void *handle, unsigned char *iv);
+void aes_ssh2_encrypt_blk(void *handle, unsigned char *blk, int len);
+void aes_ssh2_decrypt_blk(void *handle, unsigned char *blk, int len);
/*
* PuTTY version number formatted as an SSH version string.
|