Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/crypt.c

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

revision 2831 by yutakakn, Sat Jul 9 05:16:06 2005 UTC revision 2857 by yutakakn, Sun Mar 26 17:07:18 2006 UTC
# Line 48  SOFTWARE, EVEN IF ADVISED OF THE POSSIBI Line 48  SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
48  #define DEATTACK_DETECTED       1  #define DEATTACK_DETECTED       1
49    
50  /*  /*
51   * $Id: crypt.c,v 1.4 2005-07-09 05:16:06 yutakakn Exp $ Cryptographic attack   * $Id: crypt.c,v 1.5 2006-03-26 17:07:17 yutakakn Exp $ Cryptographic attack
52   * detector for ssh - source code (C)1998 CORE-SDI, Buenos Aires Argentina   * detector for ssh - source code (C)1998 CORE-SDI, Buenos Aires Argentina
53   * Ariel Futoransky(futo@core-sdi.com) <http://www.core-sdi.com>   * Ariel Futoransky(futo@core-sdi.com) <http://www.core-sdi.com>
54   */   */
# Line 563  static BIGNUM FAR *get_bignum(unsigned c Line 563  static BIGNUM FAR *get_bignum(unsigned c
563          return BN_bin2bn(bytes + 2, (bits + 7) / 8, NULL);          return BN_bin2bn(bytes + 2, (bits + 7) / 8, NULL);
564  }  }
565    
566  static RSA FAR *make_key(PTInstVar pvar,  // make_key()を fingerprint 生成でも利用するので、staticを削除。(2006.3.27 yutaka)
567    RSA FAR *make_key(PTInstVar pvar,
568                                                   int bits, unsigned char FAR * exp,                                                   int bits, unsigned char FAR * exp,
569                                                   unsigned char FAR * mod)                                                   unsigned char FAR * mod)
570  {  {
# Line 1423  void CRYPT_free_key_pair(CRYPTKeyPair FA Line 1424  void CRYPT_free_key_pair(CRYPTKeyPair FA
1424    
1425  /*  /*
1426   * $Log: not supported by cvs2svn $   * $Log: not supported by cvs2svn $
1427     * Revision 1.4  2005/07/09 05:16:06  yutakakn
1428     * OpenSSL 0.9.8でビルドできるようにした。
1429     *
1430   * Revision 1.3  2004/12/22 17:28:14  yutakakn   * Revision 1.3  2004/12/22 17:28:14  yutakakn
1431   * SSH2公開鍵認証(RSA/DSA)をサポートした。   * SSH2公開鍵認証(RSA/DSA)をサポートした。
1432   *   *

Legend:
Removed from v.2831  
changed lines
  Added in v.2857

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