Skip to content

Commit c26f404

Browse files
authored
Merge pull request #7463 from ColtonWilley/hmac-oversized-key-test-update
Update HMAC oversized key tests
2 parents 9d79135 + 7f19be0 commit c26f404

1 file changed

Lines changed: 95 additions & 44 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 95 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5796,16 +5796,22 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_md5_test(void)
57965796
{
57975797
"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
57985798
"Jefe",
5799+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
5800+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5801+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5802+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5803+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
57995804
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
58005805
};
58015806

5802-
testVector a, b, c;
5803-
testVector test_hmac[3];
5807+
testVector a, b, c, d;
5808+
testVector test_hmac[4];
58045809

58055810
wc_test_ret_t ret;
58065811
int times = sizeof(test_hmac) / sizeof(testVector), i;
58075812
WOLFSSL_ENTER("hmac_md5_test");
58085813

5814+
/* Following test vectors are from RFC 2202 section 2 */
58095815
a.input = "Hi There";
58105816
a.output = "\x92\x94\x72\x7a\x36\x38\xbb\x1c\x13\xf4\x8e\xf8\x15\x8b\xfc"
58115817
"\x9d";
@@ -5827,9 +5833,17 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_md5_test(void)
58275833
c.inLen = XSTRLEN(c.input);
58285834
c.outLen = WC_MD5_DIGEST_SIZE;
58295835

5836+
d.input = "Test Using Larger Than Block-Size Key - Hash Key First";
5837+
d.output = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f\x0b\x62\xe6\xce\x61\xb9\xd0"
5838+
"\xcd";
5839+
d.inLen = XSTRLEN(d.input);
5840+
d.outLen = WC_MD5_DIGEST_SIZE;
5841+
5842+
58305843
test_hmac[0] = a;
58315844
test_hmac[1] = b;
58325845
test_hmac[2] = c;
5846+
test_hmac[3] = d;
58335847

58345848
for (i = 0; i < times; ++i) {
58355849
#if defined(HAVE_FIPS) || defined(HAVE_CAVIUM)
@@ -5881,16 +5895,22 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha_test(void)
58815895
"\x0b\x0b\x0b",
58825896
"Jefe",
58835897
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5884-
"\xAA\xAA\xAA"
5898+
"\xAA\xAA\xAA",
5899+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5900+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5901+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5902+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
5903+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
58855904
};
58865905

5887-
testVector a, b, c;
5888-
testVector test_hmac[3];
5906+
testVector a, b, c, d;
5907+
testVector test_hmac[4];
58895908

58905909
wc_test_ret_t ret;
58915910
int times = sizeof(test_hmac) / sizeof(testVector), i;
58925911
WOLFSSL_ENTER("hmac_sha_test");
58935912

5913+
/* Following test vectors are from RFC 2202 section 3 */
58945914
a.input = "Hi There";
58955915
a.output = "\xb6\x17\x31\x86\x55\x05\x72\x64\xe2\x8b\xc0\xb6\xfb\x37\x8c"
58965916
"\x8e\xf1\x46\xbe\x00";
@@ -5912,9 +5932,16 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha_test(void)
59125932
c.inLen = XSTRLEN(c.input);
59135933
c.outLen = WC_SHA_DIGEST_SIZE;
59145934

5935+
d.input = "Test Using Larger Than Block-Size Key - Hash Key First";
5936+
d.output = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70\x56\x37\xce\x8a\x3b"
5937+
"\x55\xed\x40\x21\x12";
5938+
d.inLen = XSTRLEN(d.input);
5939+
d.outLen = WC_SHA_DIGEST_SIZE;
5940+
59155941
test_hmac[0] = a;
59165942
test_hmac[1] = b;
59175943
test_hmac[2] = c;
5944+
test_hmac[3] = d;
59185945
#if FIPS_VERSION3_GE(6,0,0)
59195946
int allowShortKeyWithFips = 1;
59205947
#endif
@@ -5978,11 +6005,15 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha224_test(void)
59786005
"Jefe",
59796006
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
59806007
"\xAA\xAA\xAA",
5981-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
5982-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
5983-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
5984-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
5985-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6008+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6009+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6010+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6011+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6012+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6013+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6014+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6015+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6016+
"\xAA\xAA\xAA"
59866017
};
59876018

59886019
testVector a, b, c, d;
@@ -5992,6 +6023,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha224_test(void)
59926023
int times = sizeof(test_hmac) / sizeof(testVector), i;
59936024
WOLFSSL_ENTER("hmac_sha224_test");
59946025

6026+
/* Following test vectors are from RFC 4231 section 4 */
59956027
a.input = "Hi There";
59966028
a.output = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19\x68\x32\x10\x7c\xd4\x9d\xf3"
59976029
"\x3f\x47\xb4\xb1\x16\x99\x12\xba\x4f\x53\x68\x4b\x22";
@@ -6013,9 +6045,8 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha224_test(void)
60136045
c.inLen = XSTRLEN(c.input);
60146046
c.outLen = WC_SHA224_DIGEST_SIZE;
60156047

6016-
d.input = "Big Key Input";
6017-
d.output = "\xe7\x4e\x2b\x8a\xa9\xf0\x37\x2f\xed\xae\x70\x0c\x49\x47\xf1"
6018-
"\x46\x54\xa7\x32\x6b\x55\x01\x87\xd2\xc8\x02\x0e\x3a";
6048+
d.input = "Test Using Larger Than Block-Size Key - Hash Key First";
6049+
d.output = "\x95\xe9\xa0\xdb\x96\x20\x95\xad\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2\xd4\x99\xf1\x12\xf2\xd2\xb7\x27\x3f\xa6\x87\x0e";
60196050
d.inLen = XSTRLEN(d.input);
60206051
d.outLen = WC_SHA224_DIGEST_SIZE;
60216052

@@ -6076,15 +6107,25 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha256_test(void)
60766107
"\xAA\xAA\xAA",
60776108
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
60786109
"\xAA\xAA\xAA",
6110+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6111+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6112+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6113+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6114+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6115+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6116+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6117+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6118+
"\xAA\xAA\xAA"
60796119
};
60806120

6081-
testVector a, b, c, d;
6082-
testVector test_hmac[4];
6121+
testVector a, b, c, d, e;
6122+
testVector test_hmac[5];
60836123

60846124
wc_test_ret_t ret;
60856125
int times = sizeof(test_hmac) / sizeof(testVector), i;
60866126
WOLFSSL_ENTER("hmac_sha256_test");
60876127

6128+
/* Following test vectors are from RFC 4231 section 4 */
60886129
a.input = "Hi There";
60896130
a.output = "\xb0\x34\x4c\x61\xd8\xdb\x38\x53\x5c\xa8\xaf\xce\xaf\x0b\xf1"
60906131
"\x2b\x88\x1d\xc2\x00\xc9\x83\x3d\xa7\x26\xe9\x37\x6c\x2e\x32"
@@ -6116,10 +6157,18 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha256_test(void)
61166157
d.inLen = 0;
61176158
d.outLen = WC_SHA256_DIGEST_SIZE;
61186159

6160+
e.input = "Test Using Larger Than Block-Size Key - Hash Key First";
6161+
e.output = "\x60\xe4\x31\x59\x1e\xe0\xb6\x7f\x0d\x8a\x26\xaa\xcb\xf5\xb7"
6162+
"\x7f\x8e\x0b\xc6\x21\x37\x28\xc5\x14\x05\x46\x04\x0f\x0e\xe3"
6163+
"\x7f\x54";
6164+
e.inLen = XSTRLEN(e.input);;
6165+
e.outLen = WC_SHA256_DIGEST_SIZE;
6166+
61196167
test_hmac[0] = a;
61206168
test_hmac[1] = b;
61216169
test_hmac[2] = c;
61226170
test_hmac[3] = d;
6171+
test_hmac[4] = e;
61236172

61246173
for (i = 0; i < times; ++i) {
61256174
#if defined(HAVE_FIPS) || defined(HAVE_CAVIUM)
@@ -6181,15 +6230,15 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha384_test(void)
61816230
"Jefe",
61826231
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
61836232
"\xAA\xAA\xAA",
6184-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6185-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6186-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6187-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6188-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6189-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6190-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6191-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6192-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6233+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6234+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6235+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6236+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6237+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6238+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6239+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6240+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6241+
"\xAA\xAA\xAA"
61936242
};
61946243

61956244
testVector a, b, c, d;
@@ -6199,6 +6248,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha384_test(void)
61996248
int times = sizeof(test_hmac) / sizeof(testVector), i;
62006249
WOLFSSL_ENTER("hmac_sha384_test");
62016250

6251+
/* Following test vectors are from RFC 4231 section 4 */
62026252
a.input = "Hi There";
62036253
a.output = "\xaf\xd0\x39\x44\xd8\x48\x95\x62\x6b\x08\x25\xf4\xab\x46\x90"
62046254
"\x7f\x15\xf9\xda\xdb\xe4\x10\x1e\xc6\x82\xaa\x03\x4c\x7c\xeb"
@@ -6226,11 +6276,11 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha384_test(void)
62266276
c.inLen = XSTRLEN(c.input);
62276277
c.outLen = WC_SHA384_DIGEST_SIZE;
62286278

6229-
d.input = "Big Key Input";
6230-
d.output = "\xd2\x3d\x29\x6e\xf5\x1e\x23\x23\x49\x18\xb3\xbf\x4c\x38\x7b"
6231-
"\x31\x21\x17\xbb\x09\x73\x27\xf8\x12\x9d\xe9\xc6\x5d\xf9\x54"
6232-
"\xd6\x38\x5a\x68\x53\x14\xee\xe0\xa6\x4f\x36\x7e\xb2\xf3\x1a"
6233-
"\x57\x41\x69";
6279+
d.input = "Test Using Larger Than Block-Size Key - Hash Key First";
6280+
d.output = "\x4e\xce\x08\x44\x85\x81\x3e\x90\x88\xd2\xc6\x3a\x04\x1b\xc5"
6281+
"\xb4\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f\x3c\xd1\x1f\x05\x03\x3a"
6282+
"\xc4\xc6\x0c\x2e\xf6\xab\x40\x30\xfe\x82\x96\x24\x8d\xf1\x63"
6283+
"\xf4\x49\x52";
62346284
d.inLen = XSTRLEN(d.input);
62356285
d.outLen = WC_SHA384_DIGEST_SIZE;
62366286

@@ -6289,15 +6339,15 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha512_test(void)
62896339
"Jefe",
62906340
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
62916341
"\xAA\xAA\xAA",
6292-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6293-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6294-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6295-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6296-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6297-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6298-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6299-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6300-
"\x01\x02\x03\x04\x05\x06\x07\x08\x01\x02\x03\x04\x05\x06\x07\x08"
6342+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6343+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6344+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6345+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6346+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6347+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6348+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6349+
"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
6350+
"\xAA\xAA\xAA"
63016351
};
63026352

63036353
testVector a, b, c, d;
@@ -6307,6 +6357,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha512_test(void)
63076357
int times = sizeof(test_hmac) / sizeof(testVector), i;
63086358
WOLFSSL_ENTER("hmac_sha512_test");
63096359

6360+
/* Following test vectors are from RFC 4231 section 4 */
63106361
a.input = "Hi There";
63116362
a.output = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d\x4f\xf0\xb4\x24\x1a\x1d\x6c"
63126363
"\xb0\x23\x79\xf4\xe2\xce\x4e\xc2\x78\x7a\xd0\xb3\x05\x45\xe1"
@@ -6337,12 +6388,12 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha512_test(void)
63376388
c.inLen = XSTRLEN(c.input);
63386389
c.outLen = WC_SHA512_DIGEST_SIZE;
63396390

6340-
d.input = "Big Key Input";
6341-
d.output = "\x3f\xa9\xc9\xe1\xbd\xbb\x04\x55\x1f\xef\xcc\x92\x33\x08\xeb"
6342-
"\xcf\xc1\x9a\x5b\x5b\xc0\x7c\x86\x84\xae\x8c\x40\xaf\xb1\x27"
6343-
"\x87\x38\x92\x04\xa8\xed\xd7\xd7\x07\xa9\x85\xa0\xc2\xcd\x30"
6344-
"\xc0\x56\x14\x49\xbc\x2f\x69\x15\x6a\x97\xd8\x79\x2f\xb3\x3b"
6345-
"\x1e\x18\xfe\xfa";
6391+
d.input = "Test Using Larger Than Block-Size Key - Hash Key First";
6392+
d.output = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb\xb7\x14\x93\xc1\xdd\x7b\xe8"
6393+
"\xb4\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1\x12\x1b\x01\x37\x83\xf8"
6394+
"\xf3\x52\x6b\x56\xd0\x37\xe0\x5f\x25\x98\xbd\x0f\xd2\x21\x5d"
6395+
"\x6a\x1e\x52\x95\xe6\x4f\x73\xf6\x3f\x0a\xec\x8b\x91\x5a\x98"
6396+
"\x5d\x78\x65\x98";
63466397
d.inLen = XSTRLEN(d.input);
63476398
d.outLen = WC_SHA512_DIGEST_SIZE;
63486399

0 commit comments

Comments
 (0)