[svn] gcry - r1426 - in trunk: doc tests
svn author wk
cvs at cvs.gnupg.org
Tue Apr 6 12:37:14 CEST 2010
Author: wk
Date: 2010-04-06 12:37:13 +0200 (Tue, 06 Apr 2010)
New Revision: 1426
Modified:
trunk/doc/gcrypt.texi
trunk/tests/ChangeLog
trunk/tests/aeswrap.c
trunk/tests/basic.c
trunk/tests/hmac.c
Log:
Typo fixes
Modified: trunk/tests/ChangeLog
===================================================================
--- trunk/tests/ChangeLog 2010-03-26 14:06:43 UTC (rev 1425)
+++ trunk/tests/ChangeLog 2010-04-06 10:37:13 UTC (rev 1426)
@@ -1,3 +1,7 @@
+2010-04-06 Brad Hards <bradh at frogmouth.net> (wk)
+
+ * aeswrap.c, hmac.c, basic.c: Typo fixes.
+
2010-03-26 Werner Koch <wk at g10code.com>
* basic.c (check_digests): Add tests for TIGER1 and TIGER2 from
Modified: trunk/doc/gcrypt.texi
===================================================================
--- trunk/doc/gcrypt.texi 2010-03-26 14:06:43 UTC (rev 1425)
+++ trunk/doc/gcrypt.texi 2010-04-06 10:37:13 UTC (rev 1426)
@@ -748,7 +748,7 @@
do this basic intialization is by calling gcry_check_version.
@item GCRYCTL_INITIALIZATION_FINISHED; Arguments: none
-This command tells the libray that the application has finished the
+This command tells the library that the application has finished the
intialization.
@item GCRYCTL_INITIALIZATION_FINISHED_P; Arguments: none
@@ -5464,7 +5464,7 @@
context is saved in the context and another block is generated to be
returned to the caller. Each block is compared against the saved
block and then stored in the context. If a duplicated block is
-detected an error is signaled and the libray is put into the
+detected an error is signaled and the library is put into the
``Fatal-Error'' state.
(@code{random/@/random-fips.c:@/x931_aes_driver})
Modified: trunk/tests/aeswrap.c
===================================================================
--- trunk/tests/aeswrap.c 2010-03-26 14:06:43 UTC (rev 1425)
+++ trunk/tests/aeswrap.c 2010-04-06 10:37:13 UTC (rev 1426)
@@ -69,14 +69,14 @@
err = gcry_cipher_open (&hd, algo, GCRY_CIPHER_MODE_AESWRAP, 0);
if (err)
{
- fail ("gcrypt_cipher_open failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_open failed: %s\n", gpg_strerror (err));
return;
}
err = gcry_cipher_setkey (hd, kek, keklen);
if (err)
{
- fail ("grcy_cipher_setkey failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_setkey failed: %s\n", gpg_strerror (err));
return;
}
@@ -87,7 +87,7 @@
err = gcry_cipher_encrypt (hd, outbuf, outbuflen, data, datalen);
if (err)
{
- fail ("grcy_cipher_encrypt failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_encrypt failed: %s\n", gpg_strerror (err));
return;
}
@@ -114,7 +114,7 @@
err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
if (err)
{
- fail ("grcy_cipher_decrypt failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_decrypt failed: %s\n", gpg_strerror (err));
return;
}
@@ -143,7 +143,7 @@
err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
if (err)
{
- fail ("grcy_cipher_decrypt(2) failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_decrypt(2) failed: %s\n", gpg_strerror (err));
return;
}
@@ -158,7 +158,7 @@
err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
if (err)
{
- fail ("grcy_cipher_decrypt(3) failed: %s\n", gpg_strerror (err));
+ fail ("gcry_cipher_decrypt(3) failed: %s\n", gpg_strerror (err));
return;
}
Modified: trunk/tests/basic.c
===================================================================
--- trunk/tests/basic.c 2010-03-26 14:06:43 UTC (rev 1425)
+++ trunk/tests/basic.c 2010-04-06 10:37:13 UTC (rev 1426)
@@ -141,7 +141,7 @@
GCRY_CIPHER_MODE_CBC, GCRY_CIPHER_CBC_MAC);
if (!hd)
{
- fail ("cbc-mac algo %d, grcy_open_cipher failed: %s\n",
+ fail ("cbc-mac algo %d, gcry_cipher_open failed: %s\n",
tv[i].algo, gpg_strerror (err));
return;
}
@@ -264,7 +264,7 @@
GCRY_CIPHER_MODE_CBC, GCRY_CIPHER_CBC_CTS);
if (err)
{
- fail ("aes-cbc-cts, grcy_open_cipher failed: %s\n", gpg_strerror (err));
+ fail ("aes-cbc-cts, gcry_cipher_open failed: %s\n", gpg_strerror (err));
return;
}
@@ -417,7 +417,7 @@
err = gcry_cipher_open (&hdd, tv[i].algo, GCRY_CIPHER_MODE_CTR, 0);
if (err)
{
- fail ("aes-ctr, grcy_open_cipher failed: %s\n", gpg_strerror (err));
+ fail ("aes-ctr, gcry_cipher_open failed: %s\n", gpg_strerror (err));
return;
}
@@ -661,7 +661,7 @@
err = gcry_cipher_open (&hdd, tv[i].algo, GCRY_CIPHER_MODE_CFB, 0);
if (err)
{
- fail ("aes-cfb, grcy_open_cipher failed: %s\n", gpg_strerror (err));
+ fail ("aes-cfb, gcry_cipher_open failed: %s\n", gpg_strerror (err));
return;
}
@@ -823,7 +823,7 @@
err = gcry_cipher_open (&hdd, tv[i].algo, GCRY_CIPHER_MODE_OFB, 0);
if (err)
{
- fail ("aes-ofb, grcy_open_cipher failed: %s\n", gpg_strerror (err));
+ fail ("aes-ofb, gcry_cipher_open failed: %s\n", gpg_strerror (err));
return;
}
@@ -994,7 +994,7 @@
err = gcry_cipher_open (&hd, algo, mode, flags);
if (err)
{
- fail ("algo %d, mode %d, grcy_open_cipher failed: %s\n",
+ fail ("algo %d, mode %d, gcry_cipher_open failed: %s\n",
algo, mode, gpg_strerror (err));
return;
}
@@ -1174,14 +1174,14 @@
err = gcry_md_open (&hd, algo, 0);
if (err)
{
- fail ("algo %d, grcy_md_open failed: %s\n", algo, gpg_strerror (err));
+ fail ("algo %d, gcry_md_open failed: %s\n", algo, gpg_strerror (err));
return;
}
mdlen = gcry_md_get_algo_dlen (algo);
if (mdlen < 1 || mdlen > 500)
{
- fail ("algo %d, grcy_md_get_algo_dlen failed: %d\n", algo, mdlen);
+ fail ("algo %d, gcry_md_get_algo_dlen failed: %d\n", algo, mdlen);
return;
}
@@ -1495,14 +1495,14 @@
err = gcry_md_open (&hd, algo, GCRY_MD_FLAG_HMAC);
if (err)
{
- fail ("algo %d, grcy_md_open failed: %s\n", algo, gpg_strerror (err));
+ fail ("algo %d, gcry_md_open failed: %s\n", algo, gpg_strerror (err));
return;
}
mdlen = gcry_md_get_algo_dlen (algo);
if (mdlen < 1 || mdlen > 500)
{
- fail ("algo %d, grcy_md_get_algo_dlen failed: %d\n", algo, mdlen);
+ fail ("algo %d, gcry_md_get_algo_dlen failed: %d\n", algo, mdlen);
return;
}
Modified: trunk/tests/hmac.c
===================================================================
--- trunk/tests/hmac.c 2010-03-26 14:06:43 UTC (rev 1425)
+++ trunk/tests/hmac.c 2010-04-06 10:37:13 UTC (rev 1426)
@@ -70,21 +70,21 @@
err = gcry_md_open (&hd, algo, GCRY_MD_FLAG_HMAC);
if (err)
{
- fail ("algo %d, grcy_md_open failed: %s\n", algo, gpg_strerror (err));
+ fail ("algo %d, gcry_md_open failed: %s\n", algo, gpg_strerror (err));
return;
}
mdlen = gcry_md_get_algo_dlen (algo);
if (mdlen < 1 || mdlen > 500)
{
- fail ("algo %d, grcy_md_get_algo_dlen failed: %d\n", algo, mdlen);
+ fail ("algo %d, gcry_md_get_algo_dlen failed: %d\n", algo, mdlen);
return;
}
err = gcry_md_setkey (hd, key, keylen);
if (err)
{
- fail ("algo %d, grcy_md_setkey failed: %s\n", algo, gpg_strerror (err));
+ fail ("algo %d, gcry_md_setkey failed: %s\n", algo, gpg_strerror (err));
return;
}
More information about the Gnupg-commits
mailing list