Skip to content

Conversation

manuelm
Copy link
Contributor

@manuelm manuelm commented Sep 4, 2013

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

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

edy commented Sep 5, 2013

👍

php-pulls pushed a commit that referenced this pull request Oct 3, 2013
Merge branch 'master' of github.com:manuelm/php-src

* 'master' of github.com:manuelm/php-src:
  fix failing tests
  fix indention
  Add support for CryptoPro S-box for GOST
@php-pulls php-pulls merged commit 7dbb1bb into php:master Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants