[BACK]Return to cipher-ctr.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/cipher-ctr.c between version 1.2.4.1 and 1.2.4.2

version 1.2.4.1, 2003/09/16 20:50:42 version 1.2.4.2, 2004/03/04 18:18:15
Line 90 
Line 90 
                 EVP_CIPHER_CTX_set_app_data(ctx, c);                  EVP_CIPHER_CTX_set_app_data(ctx, c);
         }          }
         if (key != NULL)          if (key != NULL)
                 AES_set_encrypt_key(key, ctx->key_len * 8, &c->aes_ctx);                  AES_set_encrypt_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8,
                        &c->aes_ctx);
         if (iv != NULL)          if (iv != NULL)
                 memcpy(c->aes_counter, iv, AES_BLOCK_SIZE);                  memcpy(c->aes_counter, iv, AES_BLOCK_SIZE);
         return (1);          return (1);

Legend:
Removed from v.1.2.4.1  
changed lines
  Added in v.1.2.4.2