summaryrefslogtreecommitdiff
path: root/cipher/des.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-10-27 13:08:05 +0000
committerWerner Koch <wk@gnupg.org>2003-10-27 13:08:05 +0000
commitcc0fe4e847c7855e90b9af730f1ce092bb35993f (patch)
treee6d82f503cf6b493e4486b508ea5e763d8eefbac /cipher/des.c
parent5733ae5616a765660408683ec6dca22c912e11ae (diff)
downloadlibgcrypt-cc0fe4e847c7855e90b9af730f1ce092bb35993f.tar.gz
* configure.ac: Give a hint on where libgpg-error is available.
Reformatted long lines. Don't include gcrypt-defs.h. * ac.c (ac_key_identifiers): Made static. * random.c (getfnc_gather_random,getfnc_fast_random_poll): Move prototypes to .. * rand-internal.h: .. here * random.c (getfnc_gather_random): Include rndw32 gatherer. * rndunix.c, rndw32.c, rndegd.c: Include them here. * rndlinux.c (_gcry_rndlinux_gather_random): Prepend the _gcry_ prefix. Changed all callers. * rndegd.c (_gcry_rndegd_gather_random): Likewise. (_gcry_rndegd_connect_socket): Likewise. * rndunix.c (_gcry_rndunix_gather_random): Likewise. (waitpid): Made static. * rndw32.c: Removed the old and unused winseed.dll cruft. (_gcry_rndw32_gather_random_fast): Renamed from gather_random_fast. (_gcry_rndw32_gather_random): Renamed from gather_random. Note, that the changes 2003-04-08 somehow got lost. * sha512.c (sha512_init, sha384_init): Made static. * cipher.c (do_ctr_decrypt): Removed "return" from this void function. * gcrypt.h (gcry_pk_testkey): Doc fix. * libgcrypt.def: Manually wrote this file. * build-def: This file should not be used anymore.
Diffstat (limited to 'cipher/des.c')
-rw-r--r--cipher/des.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/des.c b/cipher/des.c
index c408d851..7e3d0841 100644
--- a/cipher/des.c
+++ b/cipher/des.c
@@ -1066,7 +1066,7 @@ do_des_decrypt( void *context, byte *outbuf, const byte *inbuf )
_gcry_burn_stack (32);
}
-gcry_cipher_spec_t cipher_spec_des =
+gcry_cipher_spec_t _gcry_cipher_spec_des =
{
"DES", NULL, NULL, 8, 64, sizeof (struct _des_ctx),
do_des_setkey, do_des_encrypt, do_des_decrypt
@@ -1080,7 +1080,7 @@ static gcry_cipher_oid_spec_t oids_tripledes[] =
{ NULL }
};
-gcry_cipher_spec_t cipher_spec_tripledes =
+gcry_cipher_spec_t _gcry_cipher_spec_tripledes =
{
"3DES", NULL, oids_tripledes, 8, 192, sizeof (struct _tripledes_ctx),
do_tripledes_setkey, do_tripledes_encrypt, do_tripledes_decrypt