=?UTF-8?q?Rouven=20We=C3=9Fling?=
b7f59be9f4
Refactor HashContext into an object.
...
This allows better type hinting as well as potentially adding
methods in a followup diff.
Original patch by Rouven Weßling (github.com/realityking)
Heavily modified by Sara Golemon (github.com/sgolemon)
2017-01-31 19:28:35 -08:00
Andrey Andreev
d89d149edf
Disallow non-crypto hashes in HMAC and PBKDF2
...
For this purpose add is_crypto flag to php_hash_ops.
2017-01-18 21:13:54 +01:00
Andrey Andreev
4bf7ef0806
Add hash_hkdf()
2017-01-14 13:28:21 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sara Golemon
49a7be0697
Implement FIPS 180-4 algos: sha512/256 and sha512/224
...
These algorithms are simple extensions to the existing sha512 algo
using different initialization vectors and producing truncated output.
2016-05-14 04:39:39 +00:00
Rouven Weßling
7e0459e7ce
Replace usage of php_hash_uint32 and php_hash_uint64 with uint32_t and uint64_t.
...
Remove the unused php_hash_int32 and php_hash_int64.
2016-02-04 11:57:41 +01:00
Lior Kaplan
3d5438bf7b
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
2016-01-01 20:04:31 +02:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Sara Golemon
d244b54c67
Implement SHA3 hashing algorithm
2015-10-15 20:36:49 -07:00
Anatol Belski
2d78023244
cleanup the mod version macros, round 2
2015-03-23 20:33:54 +01:00
Anatol Belski
0313394fe4
revert yet unready stuff
2015-03-23 15:09:10 +01:00
Anatol Belski
567565b24f
more fixes to the shared compilation
2015-03-23 15:09:09 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
729bce4321
fix hash
2014-08-19 22:57:07 +02:00
Rouven Weßling
2148a88b3d
Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks.
2014-03-17 09:37:28 +01:00
Michael M Slusarz
b88387d341
Fix #66698 : Add fnv1a32 and fnv1a64 hash options
2014-03-06 23:38:51 +01:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Manuel Mausz
8ca43527e8
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.
2013-09-05 01:04:25 +02:00
Michael Wallner
14caf174ff
unify stdint type usage
...
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Anthony Ferrara
6387498823
Create hash_pbkdf2 function addition
2012-06-12 09:57:11 -04:00
Michael Wallner
2d2aefe414
remove Salsa10/Salsa20, which are actually stream ciphers not hash functions
2012-01-17 16:35:32 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Martin Jansen
3842a993fe
Added Jenkins's one-at-a-time hash support to ext/hash.
2010-03-24 15:47:40 +00:00
Michael Maclean
d05ce25746
Add FNV-1 support to ext/hash
2010-03-23 22:21:39 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
6267a33aba
MFH Enable salsa hashing algorithm
2008-12-25 13:35:05 +00:00
Scott MacVicar
b83fbba9f3
Add sha224 support.
2008-06-02 12:24:23 +00:00
Antony Dovgal
7c98e674b5
[DOC] add hash_copy() to be able to copy hash resource
2008-04-21 15:37:46 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Nuno Lopes
ec66c5be3d
make the hash_ops structures const and save some memory
...
# ram memory is so expensive these days...
2007-01-08 22:29:25 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Sara Golemon
2eb308ff75
Backport md2, ripemd256, and ripemd320 algos from HEAD
2006-11-15 20:06:09 +00:00
Antony Dovgal
694042e527
MFH: fix #36038 (ext/hash compile failure on Mac OSX)
2006-01-16 23:04:23 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Sara Golemon
5fd5bead8a
Prep for release
2005-12-06 17:54:24 +00:00
Antony Dovgal
3f666e1dfe
MFH: add declarations
...
more uint -> size_t fixes
2005-12-03 23:50:33 +00:00
Sara Golemon
860c3a5a32
MFH: Add MD4
2005-12-03 01:17:48 +00:00
Ilia Alshanetsky
950de07889
Added hash extension to PHP 5.1
2005-12-02 01:59:48 +00:00