Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4378 by maya, Tue Mar 8 14:19:03 2011 UTC revision 4422 by doda, Fri Apr 8 07:13:27 2011 UTC
# Line 333  typedef enum { Line 333  typedef enum {
333          HMAC_NONE,      /* disabled line */          HMAC_NONE,      /* disabled line */
334          HMAC_SHA1,          HMAC_SHA1,
335          HMAC_MD5,          HMAC_MD5,
336            HMAC_SHA1_96,
337            HMAC_MD5_96,
338          HMAC_UNKNOWN,          HMAC_UNKNOWN,
339          HMAC_MAX = HMAC_UNKNOWN,          HMAC_MAX = HMAC_UNKNOWN,
340  } hmac_type;  } hmac_type;
# Line 345  typedef struct ssh2_mac { Line 347  typedef struct ssh2_mac {
347  } ssh2_mac_t;  } ssh2_mac_t;
348    
349  static ssh2_mac_t ssh2_macs[] = {  static ssh2_mac_t ssh2_macs[] = {
350          {HMAC_SHA1,    "hmac-sha1", EVP_sha1, 0},          {HMAC_SHA1,    "hmac-sha1",    EVP_sha1, 0},
351          {HMAC_MD5,     "hmac-md5",  EVP_md5,  0},          {HMAC_MD5,     "hmac-md5",     EVP_md5,  0},
352          {HMAC_NONE,    NULL,        NULL,     0},          {HMAC_SHA1_96, "hmac-sha1-96", EVP_sha1, 96},
353            {HMAC_MD5_96,  "hmac-md5-96",  EVP_md5,  96},
354            {HMAC_NONE,    NULL,           NULL,     0},
355  };  };
356    
357    

Legend:
Removed from v.4378  
changed lines
  Added in v.4422

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26