Re: Some questions regarding libgcrypt-config

2009-11-29 Thread Werner Koch
Hi!

On Sun, 29 Nov 2009 11:13:01 +0100, Werner Dittmann wrote:

 Message digest algorithms: crc md4 md5 rmd160 sha1 sha256 sha512 tiger 
 whirlpool

The names are actually those of the source files.

 Thus is it save to assume if SHA512 is avaliable then SHA384 is also
 available?

Right, SHA384 is available if SHA512 is listed
   SHA224 is available if SHA256 is listed.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Some questions regarding libgcrypt-config

2009-11-29 Thread David Shaw

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.


David


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users