diff --git a/NEWS b/NEWS index a0f4fb2ffe8..b27adf6308f 100644 --- a/NEWS +++ b/NEWS @@ -6,4 +6,7 @@ Standard . Implemented FR #55716 (Add an option to pass a custom stream context to get_headers()). (Ferenc) +Hash + . Added SHA3 fixed mode algorithms (224, 256, 384, and 512 bit). (Sara) + <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>> diff --git a/ext/hash/hash_sha3.c b/ext/hash/hash_sha3.c index 2fb24b316ba..e82bd240276 100644 --- a/ext/hash/hash_sha3.c +++ b/ext/hash/hash_sha3.c @@ -1,3 +1,21 @@ +/* + +----------------------------------------------------------------------+ + | PHP Version 7 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-2015 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.01 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.php.net/license/3_01.txt | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Author: Sara Golemon | + +----------------------------------------------------------------------+ +*/ + #include "php_hash_sha3.h" #if (defined(__APPLE__) || defined(__APPLE_CC__)) && \ diff --git a/ext/hash/php_hash_sha3.h b/ext/hash/php_hash_sha3.h index 65196ab7f1a..c95efc9104f 100644 --- a/ext/hash/php_hash_sha3.h +++ b/ext/hash/php_hash_sha3.h @@ -49,3 +49,11 @@ PHP_HASH_API void PHP_SHA3512Update(PHP_SHA3_512_CTX*, const unsigned char*, uns PHP_HASH_API void PHP_SAH3512Final(unsigned char[32], PHP_SHA3_512_CTX*); #endif +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: sw=4 ts=4 fdm=marker + * vim<600: sw=4 ts=4 + */