/[rdesktop]/sourceforge.net/trunk/rdesktop/crypto/rc4_skey.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/crypto/rc4_skey.c

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

revision 11 by matty, Tue Aug 15 10:32:09 2000 UTC revision 32 by matty, Sat Sep 15 09:37:17 2001 UTC
# Line 1  Line 1 
1  /* crypto/rc4/rc4_enc.org */  /* crypto/rc4/rc4_skey.c */
2  /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)  /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3   * All rights reserved.   * All rights reserved.
4   *   *
5   * This package is an SSL implementation written   * This package is an SSL implementation written
# Line 57  Line 57 
57   */   */
58    
59  #include "rc4.h"  #include "rc4.h"
 #include "rc4_locl.h"  
   
 /* char *RC4_version="RC4 part of SSLeay 0.8.2b 08-Jan-1998"; */  
60    
61  /* RC4 as implemented from a posting from  /* RC4 as implemented from a posting from
62   * Newsgroups: sci.crypt   * Newsgroups: sci.crypt
# Line 69  Line 66 
66   * Date: Wed, 14 Sep 1994 06:35:31 GMT   * Date: Wed, 14 Sep 1994 06:35:31 GMT
67   */   */
68    
69  void RC4_set_key(key, len, data)  void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data)
 RC4_KEY *key;  
 int len;  
 register unsigned char *data;  
70          {          {
71          register RC4_INT tmp;          register RC4_INT tmp;
72          register int id1,id2;          register int id1,id2;

Legend:
Removed from v.11  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26