hash/blake;hash/blake2: use the new name for hex2u08

This commit is contained in:
Danny Robson 2019-02-09 14:58:21 +11:00
parent 9e3fc47657
commit 55ccf4b698
2 changed files with 13 additions and 13 deletions

View File

@ -54,7 +54,7 @@ static const struct {
"NIST 8 bit zeros, default salt", "NIST 8 bit zeros, default salt",
}, },
{ {
"000102030405060708090a0b0c0d0e0f"_hex2u8, "000102030405060708090a0b0c0d0e0f"_hex2u08,
{}, {},
"41729acd98684538f559a789035bd893" "41729acd98684538f559a789035bd893"
"b644f38942a8b5614da5a8a6"_hex2array, "b644f38942a8b5614da5a8a6"_hex2array,
@ -74,7 +74,7 @@ static const struct {
{ {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b"_hex2u8, "101112131415161718191a1b"_hex2u08,
{}, {},
"483d8043171efeb3a6d52e7387f2e90b" "483d8043171efeb3a6d52e7387f2e90b"
"c81ebeeb647412aa8837b063"_hex2array, "c81ebeeb647412aa8837b063"_hex2array,
@ -113,7 +113,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e"_hex2u8, "303132333435363738393a3b3c3d3e"_hex2u08,
{ }, { },
"0a5e8da4f27db9afe24c29a3c6f92ec8" "0a5e8da4f27db9afe24c29a3c6f92ec8"
"831113f144c59a64c37a2016"_hex2array, "831113f144c59a64c37a2016"_hex2array,
@ -134,7 +134,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"_hex2u8, "303132333435363738393a3b3c3d3e3f"_hex2u08,
{ }, { },
"08b6960d0b0d6f864c9c2a2331341dd0" "08b6960d0b0d6f864c9c2a2331341dd0"
"1745cfbfad200888cdb4b5b7"_hex2array, "1745cfbfad200888cdb4b5b7"_hex2array,

View File

@ -24,7 +24,7 @@ static const struct {
}, },
{ {
{}, {},
"00"_hex2u8, "00"_hex2u08,
"aaf42280524929171e417e77be67f9ed" "aaf42280524929171e417e77be67f9ed"
"ec3a8461bbe7b5c2bd1d9a3d0928f1db" "ec3a8461bbe7b5c2bd1d9a3d0928f1db"
"bd1f6600bb866b72f0e3b3e22282c145" "bd1f6600bb866b72f0e3b3e22282c145"
@ -36,7 +36,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e"_hex2u8, "303132333435363738393a3b3c3d3e"_hex2u08,
"e350b6f7642eea11bb1bd9c6393f9e89" "e350b6f7642eea11bb1bd9c6393f9e89"
"a0d10f9e38a754ca5f61838117ba0dd9" "a0d10f9e38a754ca5f61838117ba0dd9"
"6af3f3dbc092acc89e8a8390aee233f0" "6af3f3dbc092acc89e8a8390aee233f0"
@ -48,7 +48,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"_hex2u8, "303132333435363738393a3b3c3d3e3f"_hex2u08,
"10ebb67700b1868efb4417987acf4690" "10ebb67700b1868efb4417987acf4690"
"ae9d972fb7a590c2f02871799aaa4786" "ae9d972fb7a590c2f02871799aaa4786"
"b5e996e8f0f4eb981fc214b005f42d2f" "b5e996e8f0f4eb981fc214b005f42d2f"
@ -56,7 +56,7 @@ static const struct {
"empty, 64 byte salt", "empty, 64 byte salt",
}, },
{ {
"00"_hex2u8, "00"_hex2u08,
{}, {},
"2fa3f686df876995167e7c2e5d74c4c7" "2fa3f686df876995167e7c2e5d74c4c7"
"b6e48f8068fe0e44208344d480f7904c" "b6e48f8068fe0e44208344d480f7904c"
@ -65,7 +65,7 @@ static const struct {
"0x00, no salt" "0x00, no salt"
}, },
{ {
"000102"_hex2u8, "000102"_hex2u08,
{}, {},
"40a374727302d9a4769c17b5f409ff32" "40a374727302d9a4769c17b5f409ff32"
"f58aa24ff122d7603e4fda1509e919d4" "f58aa24ff122d7603e4fda1509e919d4"
@ -77,7 +77,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e"_hex2u8, "303132333435363738393a3b3c3d3e"_hex2u08,
{}, {},
"d10bf9a15b1c9fc8d41f89bb140bf0be" "d10bf9a15b1c9fc8d41f89bb140bf0be"
"08d2f3666176d13baac4d381358ad074" "08d2f3666176d13baac4d381358ad074"
@ -89,7 +89,7 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"_hex2u8, "303132333435363738393a3b3c3d3e3f"_hex2u08,
{}, {},
"2fc6e69fa26a89a5ed269092cb9b2a44" "2fc6e69fa26a89a5ed269092cb9b2a44"
"9a4409a7a44011eecad13d7c4b045660" "9a4409a7a44011eecad13d7c4b045660"
@ -101,11 +101,11 @@ static const struct {
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"_hex2u8, "303132333435363738393a3b3c3d3e3f"_hex2u08,
"000102030405060708090a0b0c0d0e0f" "000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f" "101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f" "202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"_hex2u8, "303132333435363738393a3b3c3d3e3f"_hex2u08,
"65676d800617972fbd87e4b9514e1c67" "65676d800617972fbd87e4b9514e1c67"
"402b7a331096d3bfac22f1abb95374ab" "402b7a331096d3bfac22f1abb95374ab"
"c942f16e9ab0ead33b87c91968a6e509" "c942f16e9ab0ead33b87c91968a6e509"