[BACK]Return to crypto_openssl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / dist / ipsec-tools / src / racoon

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c between version 1.25 and 1.26

version 1.25, 2014/02/27 08:37:58 version 1.26, 2017/06/11 22:12:56
Line 1268  eay_idea_encrypt(data, key, iv)
Line 1268  eay_idea_encrypt(data, key, iv)
         if ((res = vmalloc(data->l)) == NULL)          if ((res = vmalloc(data->l)) == NULL)
                 return NULL;                  return NULL;
   
         /* decryption data */          /* encrypt data */
         idea_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,          idea_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,
                         &ks, (unsigned char *)iv->v, IDEA_ENCRYPT);                          &ks, (unsigned char *)iv->v, IDEA_ENCRYPT);
   
Line 1366  eay_rc5_encrypt(data, key, iv)
Line 1366  eay_rc5_encrypt(data, key, iv)
         if ((res = vmalloc(data->l)) == NULL)          if ((res = vmalloc(data->l)) == NULL)
                 return NULL;                  return NULL;
   
         /* decryption data */          /* encrypt data */
         RC5_32_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,          RC5_32_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,
                 &ks, (unsigned char *)iv->v, RC5_ENCRYPT);                  &ks, (unsigned char *)iv->v, RC5_ENCRYPT);
   

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>