Some questions regarding libgcrypt-config

David Shaw dshaw at
Sun Nov 29 18:10:41 CET 2009

On Nov 29, 2009, at 5:13 AM, Werner Dittmann wrote:

> All,
> to set-up configuration script I use the libgcrypt-config command
> to determine parameters about libgcrypt. During tests I get a
> confusing result :-) when checking available algorithms:
> To check the availabe algorithms I do:
> libgcrypt-config --algorithms
> Symmetric cipher algorithms: arcfour blowfish cast5 des aes twofish  
> serpent rfc2268 seed camellia
> Public-key cipher algorithms: dsa elgamal rsa ecc
> Message digest algorithms: crc md4 md5 rmd160 sha1 sha256 sha512  
> tiger whirlpool
> My program uses SHA384 from libgcrypt but this algorithm is no listed.
> Thus is it save to assume if SHA512 is avaliable then SHA384 is also
> available?

Yes, the two algorithms go together.  SHA384 and SHA512 are  
essentially the same algorithm.  SHA384 is really SHA512 with a  
different initialization and 128 bits chopped off.


More information about the Gnupg-users mailing list