werner committed to libgcrypt/src

cvs@cvs.gnupg.org cvs@cvs.gnupg.org
Thu, 02 May 2002 16:07:31 +0200


Date:	Thursday May 2, 2002 @ 16:07
Author:	werner

Update of /cvs/gnupg/libgcrypt/src
In directory trithemius:/tmp/cvs-serv2459

Modified Files:
	ChangeLog Makefile.am g10lib.h gcrypt.h global.c secmem.c 
	stdmem.c 
Added Files:
	mutex.h 
Log Message:
* gcrypt.h (GCRYCTL_DISABLE_INTERNAL_LOCKING): New.
* global.c (gcry_control): Implement it.
(_gcry_no_internal_locking): New.
* mutex.h: Prefixed all fucntions with _gcry_.  Bypass all
functions when desired.

* gcrypt.h (GCRYCTL_DISABLE_SECMEM): New.
* global.c (gcry_control,gcry_malloc_secure,gcry_is_secure):
Implement it here.
* secmem.c (_gcry_private_is_secure): Return false if the pool is
not initialized.

* gcrypt.h (GCRYCTL_INITIALIZATION_FINISHED): New.

* gcrypt.h (gcry_cipher_algos): Replaced RINDAEL by AES and change
the macros to expand from rijdael to aes.

* stdmem.c (_gcry_private_malloc): Return NULL for 0 byte allocation.
(_gcry_private_malloc_secure): Ditto.

* g10lib.h:  Copied the JNLIB_GCC macros from ../jnlib/mischelp.h
and removed the inclusion of that file.

File: mutex.h          	Status: Up-to-date
File: ChangeLog        	Status: Up-to-date
File: Makefile.am      	Status: Up-to-date
File: g10lib.h         	Status: Up-to-date
File: gcrypt.h         	Status: Up-to-date
File: global.c         	Status: Up-to-date
File: secmem.c         	Status: Up-to-date
File: stdmem.c         	Status: Up-to-date