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 4422 by doda, Fri Apr 8 07:13:27 2011 UTC revision 4423 by doda, Fri Apr 8 07:34:37 2011 UTC
# Line 335  typedef enum { Line 335  typedef enum {
335          HMAC_MD5,          HMAC_MD5,
336          HMAC_SHA1_96,          HMAC_SHA1_96,
337          HMAC_MD5_96,          HMAC_MD5_96,
338            HMAC_RIPEMD160,
339          HMAC_UNKNOWN,          HMAC_UNKNOWN,
340          HMAC_MAX = HMAC_UNKNOWN,          HMAC_MAX = HMAC_UNKNOWN,
341  } hmac_type;  } hmac_type;
# Line 347  typedef struct ssh2_mac { Line 348  typedef struct ssh2_mac {
348  } ssh2_mac_t;  } ssh2_mac_t;
349    
350  static ssh2_mac_t ssh2_macs[] = {  static ssh2_mac_t ssh2_macs[] = {
351          {HMAC_SHA1,    "hmac-sha1",    EVP_sha1, 0},          {HMAC_SHA1,      "hmac-sha1",                  EVP_sha1,      0},
352          {HMAC_MD5,     "hmac-md5",     EVP_md5,  0},          {HMAC_MD5,       "hmac-md5",                   EVP_md5,       0},
353          {HMAC_SHA1_96, "hmac-sha1-96", EVP_sha1, 96},          {HMAC_SHA1_96,   "hmac-sha1-96",               EVP_sha1,      96},
354          {HMAC_MD5_96,  "hmac-md5-96",  EVP_md5,  96},          {HMAC_MD5_96,    "hmac-md5-96",                EVP_md5,       96},
355          {HMAC_NONE,    NULL,           NULL,     0},          {HMAC_RIPEMD160, "hmac-ripemd160@openssh.com", EVP_ripemd160, 0},
356            {HMAC_NONE,      NULL,                         NULL,          0},
357  };  };
358    
359    

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

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