diff options
author | Scott MacVicar <scottmac@php.net> | 2008-12-25 13:35:05 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2008-12-25 13:35:05 +0000 |
commit | 6267a33aba22ab5ac733d8d3e1962a768ce28cce (patch) | |
tree | cfa5b38b06711ead9ce7f297642b9c5aea319f86 /ext/hash/hash.c | |
parent | be4a8abd0ca343315481422b16197f78a5f0c931 (diff) | |
download | php-git-6267a33aba22ab5ac733d8d3e1962a768ce28cce.tar.gz |
MFH Enable salsa hashing algorithm
Diffstat (limited to 'ext/hash/hash.c')
-rw-r--r-- | ext/hash/hash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 70e1915f6a..f4c7baf4d8 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -825,6 +825,8 @@ PHP_MINIT_FUNCTION(hash) php_hash_register_algo("adler32", &php_hash_adler32_ops); php_hash_register_algo("crc32", &php_hash_crc32_ops); php_hash_register_algo("crc32b", &php_hash_crc32b_ops); + php_hash_register_algo("salsa10", &php_hash_salsa10_ops); + php_hash_register_algo("salsa20", &php_hash_salsa20_ops); PHP_HASH_HAVAL_REGISTER(3,128); PHP_HASH_HAVAL_REGISTER(3,160); |