[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS shishi/lib
From: |
shishi-commit |
Subject: |
CVS shishi/lib |
Date: |
Tue, 05 Oct 2004 20:54:43 +0200 |
Update of /home/cvs/shishi/lib
In directory dopio:/tmp/cvs-serv17010/lib
Modified Files:
ap.c crypto-ctx.c crypto.c libgcrypt.c nettle.c
Log Message:
Gnulib update.
Fix callers.
--- /home/cvs/shishi/lib/ap.c 2004/09/10 10:00:00 1.68
+++ /home/cvs/shishi/lib/ap.c 2004/10/05 18:54:42 1.69
@@ -607,7 +607,7 @@
const char *authenticatorcksumdata,
size_t authenticatorcksumdatalen)
{
- ap->authenticatorcksumdata = xclone (authenticatorcksumdata,
+ ap->authenticatorcksumdata = xmemdup (authenticatorcksumdata,
authenticatorcksumdatalen);
ap->authenticatorcksumdatalen = authenticatorcksumdatalen;
}
@@ -633,7 +633,7 @@
size_t authenticatorcksumrawlen)
{
shishi_ap_authenticator_cksumtype_set (ap, authenticatorcksumtype);
- ap->authenticatorcksumraw = xclone (authenticatorcksumraw,
+ ap->authenticatorcksumraw = xmemdup (authenticatorcksumraw,
authenticatorcksumrawlen);
ap->authenticatorcksumrawlen = authenticatorcksumrawlen;
}
--- /home/cvs/shishi/lib/crypto-ctx.c 2003/12/21 06:03:42 1.6
+++ /home/cvs/shishi/lib/crypto-ctx.c 2004/10/05 18:54:42 1.7
@@ -72,7 +72,7 @@
ctx->keyusage = keyusage;
ctx->etype = etype;
if (iv)
- ctx->iv = xclone (iv, ivlen);
+ ctx->iv = xmemdup (iv, ivlen);
else
ctx->iv = NULL;
ctx->ivlen = ivlen;
--- /home/cvs/shishi/lib/crypto.c 2004/08/01 17:33:12 1.102
+++ /home/cvs/shishi/lib/crypto.c 2004/10/05 18:54:42 1.103
@@ -1776,7 +1776,7 @@
to yield a n-bit result denoted <X>_n.
*/
- a = xclone (in, m);
+ a = xmemdup (in, m);
lcmmn = lcm (m, n);
--- /home/cvs/shishi/lib/libgcrypt.c 2004/04/18 10:36:29 1.28
+++ /home/cvs/shishi/lib/libgcrypt.c 2004/10/05 18:54:42 1.29
@@ -134,7 +134,7 @@
return SHISHI_CRYPTO_INTERNAL_ERROR;
}
- *out = xclone (p, gcry_md_get_algo_dlen (GCRY_MD_MD4));
+ *out = xmemdup (p, gcry_md_get_algo_dlen (GCRY_MD_MD4));
gcry_md_close (hd);
@@ -165,7 +165,7 @@
return SHISHI_CRYPTO_INTERNAL_ERROR;
}
- *out = xclone (p, gcry_md_get_algo_dlen (GCRY_MD_MD5));
+ *out = xmemdup (p, gcry_md_get_algo_dlen (GCRY_MD_MD5));
gcry_md_close (hd);
@@ -207,7 +207,7 @@
return SHISHI_CRYPTO_INTERNAL_ERROR;
}
- *outhash = xclone (hash, hlen);
+ *outhash = xmemdup (hash, hlen);
gcry_md_close (mdh);
@@ -249,7 +249,7 @@
return SHISHI_CRYPTO_INTERNAL_ERROR;
}
- *outhash = xclone (hash, hlen);
+ *outhash = xmemdup (hash, hlen);
gcry_md_close (mdh);
--- /home/cvs/shishi/lib/nettle.c 2004/08/01 18:14:34 1.23
+++ /home/cvs/shishi/lib/nettle.c 2004/10/05 18:54:42 1.24
@@ -484,7 +484,7 @@
CBC_ENCRYPT (&des, des_encrypt, inlen, *out, in);
if (ivout)
- *ivout = xclone (des.iv, DES_BLOCK_SIZE);
+ *ivout = xmemdup (des.iv, DES_BLOCK_SIZE);
return SHISHI_OK;
}
@@ -535,7 +535,7 @@
CBC_ENCRYPT (&des3, des3_encrypt, inlen, *out, in);
if (ivout)
- *ivout = xclone (des3.iv, DES3_BLOCK_SIZE);
+ *ivout = xmemdup (des3.iv, DES3_BLOCK_SIZE);
return SHISHI_OK;
}
@@ -590,7 +590,7 @@
/* XXX what is the output iv for CBC-CTS mode?
but is this value useful at all for that mode anyway?
Mostly it is DES apps that want the updated iv, so this is ok. */
- *ivout = xclone (aes.iv, AES_BLOCK_SIZE);
+ *ivout = xmemdup (aes.iv, AES_BLOCK_SIZE);
return SHISHI_OK;
}
- CVS shishi/lib,
shishi-commit <=
- CVS shishi/lib, shishi-commit, 2004/10/14
- CVS shishi/lib, shishi-commit, 2004/10/14
- CVS shishi/lib, shishi-commit, 2004/10/14
- CVS shishi/lib, shishi-commit, 2004/10/15
- CVS shishi/lib, shishi-commit, 2004/10/15
- CVS shishi/lib, shishi-commit, 2004/10/29