]> granicus.if.org Git - php/commit
Add PBKDF2 support via openssl()
authorScott MacVicar <scottmac@php.net>
Mon, 11 Jun 2012 07:16:30 +0000 (00:16 -0700)
committerScott MacVicar <scottmac@php.net>
Mon, 11 Jun 2012 22:59:58 +0000 (15:59 -0700)
commitaadf59dfa4be09147671de33786dc157716705df
treeff678ccc4576a7d955c5be79cf577f26f8ecbacf
parentb481ebae5503c54f31d73ef0e2243f5ef9025d0d
Add PBKDF2 support via openssl()

Summary:
No easy way to put these in the hash extension since we don't really support optional
parameters to certain algorithms. Implemented in openssl for now since it has it already
and is pretty stable.

Only SHA1 is confirmed to work as an algorithm but openssl has a parameter so it can be
changed in the future.

Will backport to 5.4 potentially with Stas' approval.

Test Plan:
Ran newly added tests which came from RFC 6070
ext/openssl/openssl.c