[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.3 and 1.4

version 1.3, 2003/11/21 11:57:03 version 1.4, 2004/02/06 23:41:13
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.3  
changed lines
  Added in v.1.4