[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.2 and 1.3

version 1.2.4.2, 2004/03/04 18:18:15 version 1.3, 2003/11/21 11:57:03
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, EVP_CIPHER_CTX_key_length(ctx) * 8,                  AES_set_encrypt_key(key, ctx->key_len * 8, &c->aes_ctx);
                      &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.2  
changed lines
  Added in v.1.3