updates.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 8 May 2001 07:25:51 +0000 (07:25 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 8 May 2001 07:25:51 +0000 (07:25 +0000)
CHANGES
lib/silccrypt/rc5.c

diff --git a/CHANGES b/CHANGES
index b33162178939a9f5990d42cba286a974315d58cf..b738985de3c99bb7dd8928474c575bed12341e2f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Tue May  8 09:04:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Fixed a va_arg in silc/client_ops.c.
 
+       * Oops, RC5 routines were named AES and caused some problems
+         when not using SIM's.  Affected file lib/silccrypt/rc5.c.
+
 Sun May  6 13:59:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Added new SilcIDIP structure into the lib/silccore/id.h and
index f74dfd377d9780bdd8ce0362affbecc0b4974fce..880d1f3f2e843aa93596fa71caeb2881482a4a86 100644 (file)
@@ -47,7 +47,7 @@
 
 /* Sets the key for the cipher. */
 
-SILC_CIPHER_API_SET_KEY(aes)
+SILC_CIPHER_API_SET_KEY(rc5)
 {
   uint32 k[8];
 
@@ -60,7 +60,7 @@ SILC_CIPHER_API_SET_KEY(aes)
 /* Sets the string as a new key for the cipher. The string is first
    hashed and then used as a new key. */
 
-SILC_CIPHER_API_SET_KEY_WITH_STRING(aes)
+SILC_CIPHER_API_SET_KEY_WITH_STRING(rc5)
 {
   /*  unsigned char key[md5_hash_len];
   SilcMarsContext *ctx = (SilcMarsContext *)context;
@@ -75,7 +75,7 @@ SILC_CIPHER_API_SET_KEY_WITH_STRING(aes)
 
 /* Returns the size of the cipher context. */
 
-SILC_CIPHER_API_CONTEXT_LEN(aes)
+SILC_CIPHER_API_CONTEXT_LEN(rc5)
 {
   return sizeof(RC5Context);
 }
@@ -83,7 +83,7 @@ SILC_CIPHER_API_CONTEXT_LEN(aes)
 /* Encrypts with the cipher in CBC mode. Source and destination buffers
    maybe one and same. */
 
-SILC_CIPHER_API_ENCRYPT_CBC(aes)
+SILC_CIPHER_API_ENCRYPT_CBC(rc5)
 {
   uint32 tiv[4];
   int i;
@@ -108,7 +108,7 @@ SILC_CIPHER_API_ENCRYPT_CBC(aes)
 /* Decrypts with the cipher in CBC mode. Source and destination buffers
    maybe one and same. */
 
-SILC_CIPHER_API_DECRYPT_CBC(aes)
+SILC_CIPHER_API_DECRYPT_CBC(rc5)
 {
   uint32 tmp[4], tmp2[4], tiv[4];
   int i;