Skip to content

Commit 9e5e9ef

Browse files
committed
add blake3 to some (not all) tests
1 parent 9acf958 commit 9e5e9ef

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

ext/hash/tests/hash-clone.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ string(16) "bebc746a33b6ab62"
143143
string(5) "joaat"
144144
string(8) "aaebf370"
145145
string(8) "aaebf370"
146+
string(6) "blake3"
147+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
148+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
146149
string(10) "haval128,3"
147150
string(32) "86362472c8895e68e223ef8b3711d8d9"
148151
string(32) "86362472c8895e68e223ef8b3711d8d9"
@@ -302,6 +305,9 @@ string(16) "893899e4415a920f"
302305
string(5) "joaat"
303306
string(8) "aaebf370"
304307
string(8) "836fb0e5"
308+
string(6) "blake3"
309+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
310+
string(64) "dbdea45e5a6c3bad18a4f96d9d4b9105e4cceaa4fc06568f69829435c47587fb"
305311
string(10) "haval128,3"
306312
string(32) "86362472c8895e68e223ef8b3711d8d9"
307313
string(32) "ebeeeb05c18af1e53d2d127b561d5e0d"

ext/hash/tests/hash_algos.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var_dump(hash_algos());
99
?>
1010
--EXPECTF--
1111
*** Testing hash_algos() : basic functionality ***
12-
array(53) {
12+
array(54) {
1313
[%d]=>
1414
string(3) "md2"
1515
[%d]=>
@@ -87,6 +87,8 @@ array(53) {
8787
[%d]=>
8888
string(5) "joaat"
8989
[%d]=>
90+
string(6) "blake3"
91+
[%d]=>
9092
string(10) "haval128,3"
9193
[%d]=>
9294
string(10) "haval160,3"

ext/hash/tests/hash_copy_001.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ string(16) "bebc746a33b6ab62"
143143
string(5) "joaat"
144144
string(8) "aaebf370"
145145
string(8) "aaebf370"
146+
string(6) "blake3"
147+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
148+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
146149
string(10) "haval128,3"
147150
string(32) "86362472c8895e68e223ef8b3711d8d9"
148151
string(32) "86362472c8895e68e223ef8b3711d8d9"
@@ -302,6 +305,9 @@ string(16) "893899e4415a920f"
302305
string(5) "joaat"
303306
string(8) "aaebf370"
304307
string(8) "836fb0e5"
308+
string(6) "blake3"
309+
string(64) "e232493e3d416e24ffc588b24a1772ccc6f80290f1920cf15f21313bc3543a51"
310+
string(64) "dbdea45e5a6c3bad18a4f96d9d4b9105e4cceaa4fc06568f69829435c47587fb"
305311
string(10) "haval128,3"
306312
string(32) "86362472c8895e68e223ef8b3711d8d9"
307313
string(32) "ebeeeb05c18af1e53d2d127b561d5e0d"

ext/hash/tests/hash_hmac_algos.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Array
3737
[%d] => snefru256
3838
[%d] => gost
3939
[%d] => gost-crypto
40+
[%d] => blake3
4041
[%d] => haval128,3
4142
[%d] => haval160,3
4243
[%d] => haval192,3

0 commit comments

Comments
 (0)