php/php-src — pull request #430 by manuelm (2013-09-04 23:15:56+00:00)
Title: Add support for CryptoPro S-box for GOST

This adds a new hash identifier "gost-crypto" which uses the CryptoPro S-box tables as specified by RFC 4357, section 11.2.

GOST algorithm with CryptoPro S-Box generates different set of hash values. CryptoPro S-box is required among other for DNSSEC GOST signatures (RFC 5933).

See http://en.wikipedia.org/wiki/GOST_(hash_function)
Testdata from http://en.wikipedia.org/wiki/GOST_%28hash_function%29#Hashes_for_CryptoPro_parameters. Missing ones were generated using rhash (with --gost-cryptopro).

Please also consider this merging into 5.5 branch