CVS update: gnupg/cipher

Werner Koch wkoch@guug.de
Sat, 13 Nov 1999 17:43:11 +0100


Date:	Saturday November 13, 1999 @ 17:43
Author:	wkoch

Update of /home/koch/cvs/gnupg/cipher
In directory sigtrap:/tmp/cvs-serv27321/cipher

Modified Files:
	ChangeLog Makefile.am blowfish.c cast5.c cipher.c des.c dsa.c 
	dynload.c elgamal.c md.c primegen.c pubkey.c random.c random.h 
	rndegd.c rndunix.c rndw32.c twofish.c 
Removed Files:
	g10c.c 
Log Message:
Sat Nov 13 17:44:23 CET 1999  Werner Koch  <wk@gnupg.de>

	* pubkey.c (disable_pubkey_algo): Made static.
	(gcry_pk_ctl): New.

	* random.c (get_random_bits): Renamed to ...
	(get_random_bytes): ... this and made static.
	(gcry_random_bytes): New.
	(gcry_random_bytes_secure): New.
	(randomize_buffer): Renamed to ...
	(gcry_randomize): ...this.

	* md.c (gcry_md_hash_buffer): New.

	* pubkey.c (gcry_pk_algo_info): 4 new commands.
	(pubkey_get_npkey): Made static.
	(pubkey_get_nskey): Made static.
	(pubkey_get_nsig): Made static.
	(pubkey_get_nenc): Made static.

	* pubkey.c: Removed all G10ERR_xxx.
	* cipher.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_CIPHER_ALGO.
	* md.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_MD_ALGO.
	* cast5.c (cast_setkey): Changed errocodes to GCRYERR_xxx.
	* blowfish.c: Ditto.
	* des.c: Ditto.
	* twofish.c: Ditto.
	* dsa.c: Ditto.
	* elgamal.c: Ditto.

	* g10c.c: Removed

	* cipher.c (gcry_cipher_open): Replaced alloc functions and return NULL
	if we are out of core.
	* dynload.c: Replaced all memory allocation functions.
	* md.c: Ditto.
	* primegen.c: Ditto.
	* pubkey.c: Ditto.
	* random.c: Ditto.
	* rndw32.c: Ditto.
	* elgamal.c: Ditto.
	* dsa.c: Ditto.


File: ChangeLog        	Status: Up-to-date
File: Makefile.am      	Status: Up-to-date
File: blowfish.c       	Status: Up-to-date
File: cast5.c          	Status: Up-to-date
File: cipher.c         	Status: Up-to-date
File: des.c            	Status: Up-to-date
File: dsa.c            	Status: Up-to-date
File: dynload.c        	Status: Up-to-date
File: elgamal.c        	Status: Up-to-date
File: md.c             	Status: Up-to-date
File: primegen.c       	Status: Up-to-date
File: pubkey.c         	Status: Up-to-date
File: random.c         	Status: Up-to-date
File: random.h         	Status: Up-to-date
File: no file rndegd.c		Status: Needs Checkout
File: no file rndunix.c		Status: Needs Checkout
File: no file rndw32.c		Status: Needs Checkout
File: no file twofish.c		Status: Needs Checkout
File: no file g10c.c		Status: Up-to-date