Req #71177 [NEW]: add sha512/224 and sha512/256
| From: | zelnaga at gmail dot com | Date: | Mon, 21 Dec 2015 00:45:56 +0000 |
| Subject: | Req #71177 [NEW]: add sha512/224 and sha512/256 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-198071@lists.php.net to get a copy of this message | ||
From: zelnaga at gmail dot com
Operating system: Ubuntu
PHP version: 7.0.1
Package: hash related
Bug Type: Feature/Change Request
Bug description:add sha512/224 and sha512/256
Description:
------------
According to http://php.net/manual/en/function.hash-algos.php
sha512/224
and sha512/256 are not supported algorithms. They were initially defined
FIPS 180-4 in March 2012:
https://www.federalregister.gov/articles/2012/03/06/2012-5400/announcing-approval-of-federal-information-processing-standard-fips-publication-180-4-secure-hash
sha224 and sha256 utilize 32-bit integers and process messages in
512-bit chunks.
sha384, sha512, sha512/224 and sha512/256 utilize 64-bit integers and
process messages in 1024-bit chunks. The only difference between these
four algorithms is that they have different initial values for the hash.
--
Edit bug report at https://bugs.php.net/bug.php?id=71177&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71177&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71177&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71177&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71177&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71177&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71177&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71177&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71177&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71177&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71177&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71177&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71177&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71177&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71177&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71177&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71177&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71177&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71177&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71177&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71177&r=mysqlcfg