aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/testmgr.c27
-rw-r--r--crypto/testmgr.h2835
2 files changed, 2862 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index b1b8ebb9c3b6..0c9844a16246 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2340,6 +2340,33 @@ static int alg_test_null(const struct alg_test_desc *desc,
2340/* Please keep this list sorted by algorithm name. */ 2340/* Please keep this list sorted by algorithm name. */
2341static const struct alg_test_desc alg_test_descs[] = { 2341static const struct alg_test_desc alg_test_descs[] = {
2342 { 2342 {
2343 .alg = "aegis128",
2344 .test = alg_test_aead,
2345 .suite = {
2346 .aead = {
2347 .enc = __VECS(aegis128_enc_tv_template),
2348 .dec = __VECS(aegis128_dec_tv_template),
2349 }
2350 }
2351 }, {
2352 .alg = "aegis128l",
2353 .test = alg_test_aead,
2354 .suite = {
2355 .aead = {
2356 .enc = __VECS(aegis128l_enc_tv_template),
2357 .dec = __VECS(aegis128l_dec_tv_template),
2358 }
2359 }
2360 }, {
2361 .alg = "aegis256",
2362 .test = alg_test_aead,
2363 .suite = {
2364 .aead = {
2365 .enc = __VECS(aegis256_enc_tv_template),
2366 .dec = __VECS(aegis256_dec_tv_template),
2367 }
2368 }
2369 }, {
2343 .alg = "ansi_cprng", 2370 .alg = "ansi_cprng",
2344 .test = alg_test_cprng, 2371 .test = alg_test_cprng,
2345 .suite = { 2372 .suite = {
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index a20231f53024..a62d03b291b9 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -27377,6 +27377,2841 @@ static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
27377 }, 27377 },
27378}; 27378};
27379 27379
27380static const struct aead_testvec aegis128_enc_tv_template[] = {
27381 {
27382 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
27383 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
27384 .klen = 16,
27385 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
27386 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
27387 .assoc = "",
27388 .alen = 0,
27389 .input = "",
27390 .ilen = 0,
27391 .result = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
27392 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
27393 .rlen = 16,
27394 }, {
27395 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
27396 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
27397 .klen = 16,
27398 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
27399 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
27400 .assoc = "",
27401 .alen = 0,
27402 .input = "\x79",
27403 .ilen = 1,
27404 .result = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
27405 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
27406 "\xcc",
27407 .rlen = 17,
27408 }, {
27409 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
27410 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
27411 .klen = 16,
27412 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
27413 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
27414 .assoc = "",
27415 .alen = 0,
27416 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
27417 "\x82\x8e\x16\xb4\xed\x6d\x47",
27418 .ilen = 15,
27419 .result = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
27420 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
27421 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
27422 "\x7a\x21\x16\xb3\xe6\x67\x66",
27423 .rlen = 31,
27424 }, {
27425 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
27426 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
27427 .klen = 16,
27428 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
27429 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
27430 .assoc = "",
27431 .alen = 0,
27432 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
27433 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
27434 .ilen = 16,
27435 .result = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
27436 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
27437 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
27438 "\x51\x10\x16\x27\x70\x9b\x64\x29",
27439 .rlen = 32,
27440 }, {
27441 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
27442 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
27443 .klen = 16,
27444 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
27445 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
27446 .assoc = "",
27447 .alen = 0,
27448 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
27449 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
27450 "\xd3",
27451 .ilen = 17,
27452 .result = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
27453 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
27454 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
27455 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
27456 "\x3b",
27457 .rlen = 33,
27458 }, {
27459 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
27460 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
27461 .klen = 16,
27462 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
27463 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
27464 .assoc = "",
27465 .alen = 0,
27466 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
27467 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
27468 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
27469 "\x88\x11\x39\x12\x1c\x3a\xbb",
27470 .ilen = 31,
27471 .result = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
27472 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
27473 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
27474 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
27475 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
27476 "\x75\xc4\x53\x01\x89\x45\x59",
27477 .rlen = 47,
27478 }, {
27479 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
27480 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
27481 .klen = 16,
27482 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
27483 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
27484 .assoc = "",
27485 .alen = 0,
27486 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
27487 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
27488 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
27489 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
27490 .ilen = 32,
27491 .result = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
27492 "\x95\xf4\x58\x38\x14\x83\x27\x01"
27493 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
27494 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
27495 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
27496 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
27497 .rlen = 48,
27498 }, {
27499 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
27500 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
27501 .klen = 16,
27502 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
27503 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
27504 .assoc = "\xd5",
27505 .alen = 1,
27506 .input = "",
27507 .ilen = 0,
27508 .result = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
27509 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
27510 .rlen = 16,
27511 }, {
27512 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
27513 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
27514 .klen = 16,
27515 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
27516 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
27517 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
27518 "\x68\x75\x16\xf8\xcb\x7e\xa7",
27519 .alen = 15,
27520 .input = "",
27521 .ilen = 0,
27522 .result = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
27523 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
27524 .rlen = 16,
27525 }, {
27526 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
27527 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
27528 .klen = 16,
27529 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
27530 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
27531 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
27532 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
27533 .alen = 16,
27534 .input = "",
27535 .ilen = 0,
27536 .result = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
27537 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
27538 .rlen = 16,
27539 }, {
27540 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
27541 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
27542 .klen = 16,
27543 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
27544 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
27545 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
27546 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
27547 "\x07",
27548 .alen = 17,
27549 .input = "",
27550 .ilen = 0,
27551 .result = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
27552 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
27553 .rlen = 16,
27554 }, {
27555 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
27556 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
27557 .klen = 16,
27558 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
27559 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
27560 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
27561 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
27562 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
27563 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
27564 .alen = 31,
27565 .input = "",
27566 .ilen = 0,
27567 .result = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
27568 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
27569 .rlen = 16,
27570 }, {
27571 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
27572 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
27573 .klen = 16,
27574 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
27575 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
27576 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
27577 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
27578 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
27579 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
27580 .alen = 32,
27581 .input = "",
27582 .ilen = 0,
27583 .result = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
27584 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
27585 .rlen = 16,
27586 }, {
27587 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
27588 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
27589 .klen = 16,
27590 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
27591 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
27592 .assoc = "\x40",
27593 .alen = 1,
27594 .input = "\x4f",
27595 .ilen = 1,
27596 .result = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
27597 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
27598 "\x39",
27599 .rlen = 17,
27600 }, {
27601 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
27602 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
27603 .klen = 16,
27604 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
27605 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
27606 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
27607 "\x6d\x92\x42\x61\xa7\x58\x37",
27608 .alen = 15,
27609 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
27610 "\x8d\xc8\x6e\x85\xa5\x21\x67",
27611 .ilen = 15,
27612 .result = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
27613 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
27614 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
27615 "\x98\xbd\x71\x7a\xef\xa4\xfa",
27616 .rlen = 31,
27617 }, {
27618 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
27619 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
27620 .klen = 16,
27621 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
27622 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
27623 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
27624 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
27625 .alen = 16,
27626 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
27627 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
27628 .ilen = 16,
27629 .result = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
27630 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
27631 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
27632 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
27633 .rlen = 32,
27634 }, {
27635 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
27636 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
27637 .klen = 16,
27638 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
27639 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
27640 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
27641 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
27642 "\x05",
27643 .alen = 17,
27644 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
27645 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
27646 "\xd0",
27647 .ilen = 17,
27648 .result = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
27649 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
27650 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
27651 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
27652 "\x93",
27653 .rlen = 33,
27654 }, {
27655 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
27656 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
27657 .klen = 16,
27658 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
27659 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
27660 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
27661 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
27662 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
27663 "\x68\x28\x73\x40\x9f\x96\x4a",
27664 .alen = 31,
27665 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
27666 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
27667 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
27668 "\x98\x34\xab\x37\x56\xae\x32",
27669 .ilen = 31,
27670 .result = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
27671 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
27672 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
27673 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
27674 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
27675 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
27676 .rlen = 47,
27677 }, {
27678 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
27679 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
27680 .klen = 16,
27681 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
27682 "\x50\xc4\xde\x82\x90\x21\x11\x73",
27683 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
27684 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
27685 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
27686 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
27687 .alen = 32,
27688 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
27689 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
27690 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
27691 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
27692 .ilen = 32,
27693 .result = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
27694 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
27695 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
27696 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
27697 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
27698 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
27699 .rlen = 48,
27700 }, {
27701 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
27702 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
27703 .klen = 16,
27704 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
27705 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
27706 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
27707 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
27708 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
27709 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
27710 "\x9d",
27711 .alen = 33,
27712 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
27713 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
27714 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
27715 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
27716 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
27717 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
27718 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
27719 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
27720 "\xbd",
27721 .ilen = 65,
27722 .result = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
27723 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
27724 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
27725 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
27726 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
27727 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
27728 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
27729 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
27730 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
27731 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
27732 "\x3f",
27733 .rlen = 81,
27734 }, {
27735 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
27736 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
27737 .klen = 16,
27738 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
27739 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
27740 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
27741 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
27742 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
27743 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
27744 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
27745 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
27746 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
27747 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
27748 "\x54",
27749 .alen = 65,
27750 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
27751 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
27752 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
27753 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
27754 "\x2f",
27755 .ilen = 33,
27756 .result = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
27757 "\x77\x09\xac\x74\xef\xd2\x56\xae"
27758 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
27759 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
27760 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
27761 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
27762 "\x39",
27763 .rlen = 49,
27764 }, {
27765 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
27766 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
27767 .klen = 16,
27768 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
27769 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
27770 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
27771 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
27772 .alen = 16,
27773 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
27774 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
27775 .ilen = 16,
27776 .result = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
27777 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
27778 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
27779 "\xde\x20\x59\x77\xc1\x74\x90",
27780 .rlen = 31,
27781 }, {
27782 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
27783 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
27784 .klen = 16,
27785 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
27786 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
27787 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
27788 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
27789 .alen = 16,
27790 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
27791 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
27792 .ilen = 16,
27793 .result = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
27794 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
27795 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
27796 "\xe9\xe0\x17\x45\x70\x12",
27797 .rlen = 30,
27798 }, {
27799 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
27800 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
27801 .klen = 16,
27802 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
27803 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
27804 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
27805 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
27806 .alen = 16,
27807 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
27808 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
27809 .ilen = 16,
27810 .result = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
27811 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
27812 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
27813 .rlen = 24,
27814 },
27815};
27816
27817/*
27818 * AEGIS-128 test vectors - generated via reference implementation from
27819 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
27820 *
27821 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
27822 * (see crypto_aead/aegis128/)
27823 */
27824static const struct aead_testvec aegis128_dec_tv_template[] = {
27825 {
27826 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
27827 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
27828 .klen = 16,
27829 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
27830 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
27831 .assoc = "",
27832 .alen = 0,
27833 .input = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
27834 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
27835 .ilen = 16,
27836 .result = "",
27837 .rlen = 0,
27838 }, {
27839 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
27840 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
27841 .klen = 16,
27842 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
27843 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
27844 .assoc = "",
27845 .alen = 0,
27846 .input = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
27847 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
27848 "\xcc",
27849 .ilen = 17,
27850 .result = "\x79",
27851 .rlen = 1,
27852 }, {
27853 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
27854 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
27855 .klen = 16,
27856 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
27857 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
27858 .assoc = "",
27859 .alen = 0,
27860 .input = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
27861 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
27862 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
27863 "\x7a\x21\x16\xb3\xe6\x67\x66",
27864 .ilen = 31,
27865 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
27866 "\x82\x8e\x16\xb4\xed\x6d\x47",
27867 .rlen = 15,
27868 }, {
27869 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
27870 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
27871 .klen = 16,
27872 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
27873 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
27874 .assoc = "",
27875 .alen = 0,
27876 .input = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
27877 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
27878 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
27879 "\x51\x10\x16\x27\x70\x9b\x64\x29",
27880 .ilen = 32,
27881 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
27882 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
27883 .rlen = 16,
27884 }, {
27885 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
27886 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
27887 .klen = 16,
27888 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
27889 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
27890 .assoc = "",
27891 .alen = 0,
27892 .input = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
27893 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
27894 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
27895 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
27896 "\x3b",
27897 .ilen = 33,
27898 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
27899 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
27900 "\xd3",
27901 .rlen = 17,
27902 }, {
27903 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
27904 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
27905 .klen = 16,
27906 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
27907 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
27908 .assoc = "",
27909 .alen = 0,
27910 .input = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
27911 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
27912 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
27913 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
27914 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
27915 "\x75\xc4\x53\x01\x89\x45\x59",
27916 .ilen = 47,
27917 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
27918 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
27919 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
27920 "\x88\x11\x39\x12\x1c\x3a\xbb",
27921 .rlen = 31,
27922 }, {
27923 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
27924 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
27925 .klen = 16,
27926 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
27927 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
27928 .assoc = "",
27929 .alen = 0,
27930 .input = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
27931 "\x95\xf4\x58\x38\x14\x83\x27\x01"
27932 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
27933 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
27934 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
27935 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
27936 .ilen = 48,
27937 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
27938 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
27939 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
27940 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
27941 .rlen = 32,
27942 }, {
27943 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
27944 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
27945 .klen = 16,
27946 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
27947 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
27948 .assoc = "\xd5",
27949 .alen = 1,
27950 .input = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
27951 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
27952 .ilen = 16,
27953 .result = "",
27954 .rlen = 0,
27955 }, {
27956 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
27957 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
27958 .klen = 16,
27959 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
27960 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
27961 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
27962 "\x68\x75\x16\xf8\xcb\x7e\xa7",
27963 .alen = 15,
27964 .input = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
27965 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
27966 .ilen = 16,
27967 .result = "",
27968 .rlen = 0,
27969 }, {
27970 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
27971 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
27972 .klen = 16,
27973 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
27974 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
27975 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
27976 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
27977 .alen = 16,
27978 .input = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
27979 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
27980 .ilen = 16,
27981 .result = "",
27982 .rlen = 0,
27983 }, {
27984 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
27985 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
27986 .klen = 16,
27987 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
27988 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
27989 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
27990 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
27991 "\x07",
27992 .alen = 17,
27993 .input = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
27994 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
27995 .ilen = 16,
27996 .result = "",
27997 .rlen = 0,
27998 }, {
27999 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
28000 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
28001 .klen = 16,
28002 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
28003 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
28004 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
28005 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
28006 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
28007 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
28008 .alen = 31,
28009 .input = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
28010 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
28011 .ilen = 16,
28012 .result = "",
28013 .rlen = 0,
28014 }, {
28015 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
28016 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
28017 .klen = 16,
28018 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
28019 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
28020 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
28021 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
28022 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
28023 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
28024 .alen = 32,
28025 .input = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
28026 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
28027 .ilen = 16,
28028 .result = "",
28029 .rlen = 0,
28030 }, {
28031 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
28032 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
28033 .klen = 16,
28034 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
28035 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
28036 .assoc = "\x40",
28037 .alen = 1,
28038 .input = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
28039 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
28040 "\x39",
28041 .ilen = 17,
28042 .result = "\x4f",
28043 .rlen = 1,
28044 }, {
28045 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
28046 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
28047 .klen = 16,
28048 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
28049 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
28050 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
28051 "\x6d\x92\x42\x61\xa7\x58\x37",
28052 .alen = 15,
28053 .input = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
28054 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
28055 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
28056 "\x98\xbd\x71\x7a\xef\xa4\xfa",
28057 .ilen = 31,
28058 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
28059 "\x8d\xc8\x6e\x85\xa5\x21\x67",
28060 .rlen = 15,
28061 }, {
28062 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
28063 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
28064 .klen = 16,
28065 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
28066 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
28067 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
28068 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
28069 .alen = 16,
28070 .input = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
28071 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
28072 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
28073 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
28074 .ilen = 32,
28075 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
28076 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
28077 .rlen = 16,
28078 }, {
28079 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
28080 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
28081 .klen = 16,
28082 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
28083 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
28084 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
28085 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
28086 "\x05",
28087 .alen = 17,
28088 .input = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
28089 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
28090 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
28091 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
28092 "\x93",
28093 .ilen = 33,
28094 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
28095 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
28096 "\xd0",
28097 .rlen = 17,
28098 }, {
28099 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
28100 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
28101 .klen = 16,
28102 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
28103 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
28104 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
28105 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
28106 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
28107 "\x68\x28\x73\x40\x9f\x96\x4a",
28108 .alen = 31,
28109 .input = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
28110 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
28111 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
28112 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
28113 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
28114 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
28115 .ilen = 47,
28116 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
28117 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
28118 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
28119 "\x98\x34\xab\x37\x56\xae\x32",
28120 .rlen = 31,
28121 }, {
28122 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
28123 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
28124 .klen = 16,
28125 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
28126 "\x50\xc4\xde\x82\x90\x21\x11\x73",
28127 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
28128 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
28129 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
28130 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
28131 .alen = 32,
28132 .input = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
28133 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
28134 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
28135 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
28136 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
28137 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
28138 .ilen = 48,
28139 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
28140 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
28141 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
28142 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
28143 .rlen = 32,
28144 }, {
28145 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
28146 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
28147 .klen = 16,
28148 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
28149 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
28150 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
28151 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
28152 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
28153 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
28154 "\x9d",
28155 .alen = 33,
28156 .input = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
28157 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
28158 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
28159 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
28160 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
28161 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
28162 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
28163 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
28164 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
28165 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
28166 "\x3f",
28167 .ilen = 81,
28168 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
28169 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
28170 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
28171 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
28172 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
28173 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
28174 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
28175 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
28176 "\xbd",
28177 .rlen = 65,
28178 }, {
28179 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
28180 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
28181 .klen = 16,
28182 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
28183 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
28184 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
28185 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
28186 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
28187 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
28188 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
28189 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
28190 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
28191 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
28192 "\x54",
28193 .alen = 65,
28194 .input = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
28195 "\x77\x09\xac\x74\xef\xd2\x56\xae"
28196 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
28197 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
28198 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
28199 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
28200 "\x39",
28201 .ilen = 49,
28202 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
28203 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
28204 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
28205 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
28206 "\x2f",
28207 .rlen = 33,
28208 }, {
28209 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
28210 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
28211 .klen = 16,
28212 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
28213 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
28214 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
28215 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
28216 .alen = 16,
28217 .input = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
28218 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
28219 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
28220 "\xde\x20\x59\x77\xc1\x74\x90",
28221 .ilen = 31,
28222 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
28223 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
28224 .rlen = 16,
28225 }, {
28226 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
28227 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
28228 .klen = 16,
28229 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
28230 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
28231 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
28232 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
28233 .alen = 16,
28234 .input = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
28235 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
28236 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
28237 "\xe9\xe0\x17\x45\x70\x12",
28238 .ilen = 30,
28239 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
28240 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
28241 .rlen = 16,
28242 }, {
28243 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
28244 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
28245 .klen = 16,
28246 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
28247 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
28248 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
28249 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
28250 .alen = 16,
28251 .input = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
28252 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
28253 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
28254 .ilen = 24,
28255 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
28256 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
28257 .rlen = 16,
28258 },
28259};
28260
28261/*
28262 * AEGIS-128L test vectors - generated via reference implementation from
28263 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
28264 *
28265 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
28266 * (see crypto_aead/aegis128l/)
28267 */
28268static const struct aead_testvec aegis128l_enc_tv_template[] = {
28269 {
28270 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
28271 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
28272 .klen = 16,
28273 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
28274 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
28275 .assoc = "",
28276 .alen = 0,
28277 .input = "",
28278 .ilen = 0,
28279 .result = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
28280 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
28281 .rlen = 16,
28282 }, {
28283 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
28284 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
28285 .klen = 16,
28286 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
28287 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
28288 .assoc = "",
28289 .alen = 0,
28290 .input = "\x79",
28291 .ilen = 1,
28292 .result = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
28293 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
28294 "\x6d",
28295 .rlen = 17,
28296 }, {
28297 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
28298 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
28299 .klen = 16,
28300 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
28301 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
28302 .assoc = "",
28303 .alen = 0,
28304 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
28305 "\x82\x8e\x16\xb4\xed\x6d\x47",
28306 .ilen = 15,
28307 .result = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
28308 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
28309 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
28310 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
28311 .rlen = 31,
28312 }, {
28313 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
28314 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
28315 .klen = 16,
28316 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
28317 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
28318 .assoc = "",
28319 .alen = 0,
28320 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
28321 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
28322 .ilen = 16,
28323 .result = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
28324 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
28325 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
28326 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
28327 .rlen = 32,
28328 }, {
28329 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
28330 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
28331 .klen = 16,
28332 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
28333 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
28334 .assoc = "",
28335 .alen = 0,
28336 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
28337 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
28338 "\xd3",
28339 .ilen = 17,
28340 .result = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
28341 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
28342 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
28343 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
28344 "\xf8",
28345 .rlen = 33,
28346 }, {
28347 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
28348 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
28349 .klen = 16,
28350 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
28351 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
28352 .assoc = "",
28353 .alen = 0,
28354 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
28355 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
28356 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
28357 "\x88\x11\x39\x12\x1c\x3a\xbb",
28358 .ilen = 31,
28359 .result = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
28360 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
28361 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
28362 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
28363 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
28364 "\x59\x28\x88\x3c\x79\x10\x6b",
28365 .rlen = 47,
28366 }, {
28367 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
28368 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
28369 .klen = 16,
28370 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
28371 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
28372 .assoc = "",
28373 .alen = 0,
28374 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
28375 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
28376 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
28377 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
28378 .ilen = 32,
28379 .result = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
28380 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
28381 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
28382 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
28383 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
28384 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
28385 .rlen = 48,
28386 }, {
28387 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
28388 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
28389 .klen = 16,
28390 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
28391 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
28392 .assoc = "\xd5",
28393 .alen = 1,
28394 .input = "",
28395 .ilen = 0,
28396 .result = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
28397 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
28398 .rlen = 16,
28399 }, {
28400 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
28401 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
28402 .klen = 16,
28403 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
28404 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
28405 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
28406 "\x68\x75\x16\xf8\xcb\x7e\xa7",
28407 .alen = 15,
28408 .input = "",
28409 .ilen = 0,
28410 .result = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
28411 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
28412 .rlen = 16,
28413 }, {
28414 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
28415 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
28416 .klen = 16,
28417 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
28418 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
28419 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
28420 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
28421 .alen = 16,
28422 .input = "",
28423 .ilen = 0,
28424 .result = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
28425 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
28426 .rlen = 16,
28427 }, {
28428 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
28429 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
28430 .klen = 16,
28431 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
28432 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
28433 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
28434 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
28435 "\x07",
28436 .alen = 17,
28437 .input = "",
28438 .ilen = 0,
28439 .result = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
28440 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
28441 .rlen = 16,
28442 }, {
28443 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
28444 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
28445 .klen = 16,
28446 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
28447 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
28448 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
28449 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
28450 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
28451 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
28452 .alen = 31,
28453 .input = "",
28454 .ilen = 0,
28455 .result = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
28456 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
28457 .rlen = 16,
28458 }, {
28459 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
28460 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
28461 .klen = 16,
28462 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
28463 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
28464 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
28465 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
28466 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
28467 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
28468 .alen = 32,
28469 .input = "",
28470 .ilen = 0,
28471 .result = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
28472 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
28473 .rlen = 16,
28474 }, {
28475 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
28476 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
28477 .klen = 16,
28478 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
28479 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
28480 .assoc = "\x40",
28481 .alen = 1,
28482 .input = "\x4f",
28483 .ilen = 1,
28484 .result = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
28485 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
28486 "\xf4",
28487 .rlen = 17,
28488 }, {
28489 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
28490 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
28491 .klen = 16,
28492 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
28493 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
28494 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
28495 "\x6d\x92\x42\x61\xa7\x58\x37",
28496 .alen = 15,
28497 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
28498 "\x8d\xc8\x6e\x85\xa5\x21\x67",
28499 .ilen = 15,
28500 .result = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
28501 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
28502 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
28503 "\x20\x63\x0b\x49\x7e\x97\x08",
28504 .rlen = 31,
28505 }, {
28506 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
28507 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
28508 .klen = 16,
28509 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
28510 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
28511 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
28512 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
28513 .alen = 16,
28514 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
28515 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
28516 .ilen = 16,
28517 .result = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
28518 "\x78\x08\x12\xec\x09\xaf\x53\x14"
28519 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
28520 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
28521 .rlen = 32,
28522 }, {
28523 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
28524 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
28525 .klen = 16,
28526 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
28527 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
28528 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
28529 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
28530 "\x05",
28531 .alen = 17,
28532 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
28533 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
28534 "\xd0",
28535 .ilen = 17,
28536 .result = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
28537 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
28538 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
28539 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
28540 "\x7d",
28541 .rlen = 33,
28542 }, {
28543 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
28544 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
28545 .klen = 16,
28546 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
28547 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
28548 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
28549 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
28550 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
28551 "\x68\x28\x73\x40\x9f\x96\x4a",
28552 .alen = 31,
28553 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
28554 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
28555 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
28556 "\x98\x34\xab\x37\x56\xae\x32",
28557 .ilen = 31,
28558 .result = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
28559 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
28560 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
28561 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
28562 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
28563 "\xed\x90\xce\xb9\xcd\xcc\xa1",
28564 .rlen = 47,
28565 }, {
28566 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
28567 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
28568 .klen = 16,
28569 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
28570 "\x50\xc4\xde\x82\x90\x21\x11\x73",
28571 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
28572 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
28573 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
28574 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
28575 .alen = 32,
28576 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
28577 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
28578 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
28579 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
28580 .ilen = 32,
28581 .result = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
28582 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
28583 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
28584 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
28585 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
28586 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
28587 .rlen = 48,
28588 }, {
28589 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
28590 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
28591 .klen = 16,
28592 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
28593 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
28594 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
28595 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
28596 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
28597 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
28598 "\x9d",
28599 .alen = 33,
28600 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
28601 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
28602 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
28603 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
28604 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
28605 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
28606 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
28607 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
28608 "\xbd",
28609 .ilen = 65,
28610 .result = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
28611 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
28612 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
28613 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
28614 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
28615 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
28616 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
28617 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
28618 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
28619 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
28620 "\x01",
28621 .rlen = 81,
28622 }, {
28623 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
28624 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
28625 .klen = 16,
28626 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
28627 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
28628 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
28629 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
28630 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
28631 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
28632 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
28633 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
28634 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
28635 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
28636 "\x54",
28637 .alen = 65,
28638 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
28639 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
28640 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
28641 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
28642 "\x2f",
28643 .ilen = 33,
28644 .result = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
28645 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
28646 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
28647 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
28648 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
28649 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
28650 "\x9f",
28651 .rlen = 49,
28652 }, {
28653 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
28654 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
28655 .klen = 16,
28656 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
28657 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
28658 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
28659 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
28660 .alen = 16,
28661 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
28662 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
28663 .ilen = 16,
28664 .result = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
28665 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
28666 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
28667 "\x05\xa8\x31\x50\x11\x19\x44",
28668 .rlen = 31,
28669 }, {
28670 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
28671 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
28672 .klen = 16,
28673 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
28674 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
28675 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
28676 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
28677 .alen = 16,
28678 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
28679 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
28680 .ilen = 16,
28681 .result = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
28682 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
28683 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
28684 "\x21\x93\x2e\x31\x84\x83",
28685 .rlen = 30,
28686 }, {
28687 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
28688 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
28689 .klen = 16,
28690 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
28691 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
28692 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
28693 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
28694 .alen = 16,
28695 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
28696 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
28697 .ilen = 16,
28698 .result = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
28699 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
28700 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
28701 .rlen = 24,
28702 },
28703};
28704
28705static const struct aead_testvec aegis128l_dec_tv_template[] = {
28706 {
28707 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
28708 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
28709 .klen = 16,
28710 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
28711 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
28712 .assoc = "",
28713 .alen = 0,
28714 .input = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
28715 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
28716 .ilen = 16,
28717 .result = "",
28718 .rlen = 0,
28719 }, {
28720 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
28721 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
28722 .klen = 16,
28723 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
28724 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
28725 .assoc = "",
28726 .alen = 0,
28727 .input = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
28728 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
28729 "\x6d",
28730 .ilen = 17,
28731 .result = "\x79",
28732 .rlen = 1,
28733 }, {
28734 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
28735 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
28736 .klen = 16,
28737 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
28738 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
28739 .assoc = "",
28740 .alen = 0,
28741 .input = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
28742 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
28743 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
28744 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
28745 .ilen = 31,
28746 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
28747 "\x82\x8e\x16\xb4\xed\x6d\x47",
28748 .rlen = 15,
28749 }, {
28750 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
28751 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
28752 .klen = 16,
28753 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
28754 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
28755 .assoc = "",
28756 .alen = 0,
28757 .input = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
28758 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
28759 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
28760 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
28761 .ilen = 32,
28762 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
28763 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
28764 .rlen = 16,
28765 }, {
28766 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
28767 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
28768 .klen = 16,
28769 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
28770 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
28771 .assoc = "",
28772 .alen = 0,
28773 .input = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
28774 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
28775 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
28776 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
28777 "\xf8",
28778 .ilen = 33,
28779 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
28780 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
28781 "\xd3",
28782 .rlen = 17,
28783 }, {
28784 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
28785 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
28786 .klen = 16,
28787 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
28788 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
28789 .assoc = "",
28790 .alen = 0,
28791 .input = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
28792 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
28793 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
28794 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
28795 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
28796 "\x59\x28\x88\x3c\x79\x10\x6b",
28797 .ilen = 47,
28798 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
28799 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
28800 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
28801 "\x88\x11\x39\x12\x1c\x3a\xbb",
28802 .rlen = 31,
28803 }, {
28804 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
28805 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
28806 .klen = 16,
28807 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
28808 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
28809 .assoc = "",
28810 .alen = 0,
28811 .input = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
28812 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
28813 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
28814 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
28815 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
28816 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
28817 .ilen = 48,
28818 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
28819 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
28820 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
28821 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
28822 .rlen = 32,
28823 }, {
28824 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
28825 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
28826 .klen = 16,
28827 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
28828 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
28829 .assoc = "\xd5",
28830 .alen = 1,
28831 .input = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
28832 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
28833 .ilen = 16,
28834 .result = "",
28835 .rlen = 0,
28836 }, {
28837 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
28838 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
28839 .klen = 16,
28840 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
28841 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
28842 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
28843 "\x68\x75\x16\xf8\xcb\x7e\xa7",
28844 .alen = 15,
28845 .input = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
28846 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
28847 .ilen = 16,
28848 .result = "",
28849 .rlen = 0,
28850 }, {
28851 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
28852 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
28853 .klen = 16,
28854 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
28855 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
28856 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
28857 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
28858 .alen = 16,
28859 .input = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
28860 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
28861 .ilen = 16,
28862 .result = "",
28863 .rlen = 0,
28864 }, {
28865 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
28866 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
28867 .klen = 16,
28868 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
28869 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
28870 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
28871 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
28872 "\x07",
28873 .alen = 17,
28874 .input = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
28875 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
28876 .ilen = 16,
28877 .result = "",
28878 .rlen = 0,
28879 }, {
28880 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
28881 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
28882 .klen = 16,
28883 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
28884 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
28885 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
28886 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
28887 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
28888 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
28889 .alen = 31,
28890 .input = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
28891 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
28892 .ilen = 16,
28893 .result = "",
28894 .rlen = 0,
28895 }, {
28896 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
28897 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
28898 .klen = 16,
28899 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
28900 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
28901 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
28902 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
28903 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
28904 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
28905 .alen = 32,
28906 .input = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
28907 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
28908 .ilen = 16,
28909 .result = "",
28910 .rlen = 0,
28911 }, {
28912 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
28913 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
28914 .klen = 16,
28915 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
28916 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
28917 .assoc = "\x40",
28918 .alen = 1,
28919 .input = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
28920 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
28921 "\xf4",
28922 .ilen = 17,
28923 .result = "\x4f",
28924 .rlen = 1,
28925 }, {
28926 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
28927 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
28928 .klen = 16,
28929 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
28930 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
28931 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
28932 "\x6d\x92\x42\x61\xa7\x58\x37",
28933 .alen = 15,
28934 .input = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
28935 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
28936 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
28937 "\x20\x63\x0b\x49\x7e\x97\x08",
28938 .ilen = 31,
28939 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
28940 "\x8d\xc8\x6e\x85\xa5\x21\x67",
28941 .rlen = 15,
28942 }, {
28943 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
28944 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
28945 .klen = 16,
28946 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
28947 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
28948 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
28949 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
28950 .alen = 16,
28951 .input = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
28952 "\x78\x08\x12\xec\x09\xaf\x53\x14"
28953 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
28954 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
28955 .ilen = 32,
28956 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
28957 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
28958 .rlen = 16,
28959 }, {
28960 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
28961 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
28962 .klen = 16,
28963 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
28964 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
28965 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
28966 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
28967 "\x05",
28968 .alen = 17,
28969 .input = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
28970 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
28971 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
28972 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
28973 "\x7d",
28974 .ilen = 33,
28975 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
28976 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
28977 "\xd0",
28978 .rlen = 17,
28979 }, {
28980 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
28981 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
28982 .klen = 16,
28983 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
28984 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
28985 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
28986 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
28987 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
28988 "\x68\x28\x73\x40\x9f\x96\x4a",
28989 .alen = 31,
28990 .input = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
28991 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
28992 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
28993 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
28994 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
28995 "\xed\x90\xce\xb9\xcd\xcc\xa1",
28996 .ilen = 47,
28997 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
28998 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
28999 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
29000 "\x98\x34\xab\x37\x56\xae\x32",
29001 .rlen = 31,
29002 }, {
29003 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
29004 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
29005 .klen = 16,
29006 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
29007 "\x50\xc4\xde\x82\x90\x21\x11\x73",
29008 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
29009 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
29010 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
29011 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
29012 .alen = 32,
29013 .input = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
29014 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
29015 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
29016 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
29017 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
29018 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
29019 .ilen = 48,
29020 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
29021 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
29022 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
29023 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
29024 .rlen = 32,
29025 }, {
29026 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
29027 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
29028 .klen = 16,
29029 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
29030 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
29031 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
29032 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
29033 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
29034 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
29035 "\x9d",
29036 .alen = 33,
29037 .input = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
29038 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
29039 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
29040 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
29041 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
29042 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
29043 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
29044 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
29045 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
29046 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
29047 "\x01",
29048 .ilen = 81,
29049 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
29050 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
29051 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
29052 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
29053 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
29054 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
29055 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
29056 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
29057 "\xbd",
29058 .rlen = 65,
29059 }, {
29060 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
29061 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
29062 .klen = 16,
29063 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
29064 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
29065 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
29066 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
29067 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
29068 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
29069 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
29070 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
29071 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
29072 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
29073 "\x54",
29074 .alen = 65,
29075 .input = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
29076 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
29077 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
29078 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
29079 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
29080 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
29081 "\x9f",
29082 .ilen = 49,
29083 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
29084 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
29085 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
29086 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
29087 "\x2f",
29088 .rlen = 33,
29089 }, {
29090 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
29091 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
29092 .klen = 16,
29093 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
29094 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
29095 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
29096 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
29097 .alen = 16,
29098 .input = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
29099 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
29100 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
29101 "\x05\xa8\x31\x50\x11\x19\x44",
29102 .ilen = 31,
29103 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
29104 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
29105 .rlen = 16,
29106 }, {
29107 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
29108 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
29109 .klen = 16,
29110 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
29111 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
29112 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
29113 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
29114 .alen = 16,
29115 .input = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
29116 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
29117 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
29118 "\x21\x93\x2e\x31\x84\x83",
29119 .ilen = 30,
29120 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
29121 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
29122 .rlen = 16,
29123 }, {
29124 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
29125 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
29126 .klen = 16,
29127 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
29128 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
29129 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
29130 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
29131 .alen = 16,
29132 .input = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
29133 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
29134 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
29135 .ilen = 24,
29136 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
29137 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
29138 .rlen = 16,
29139 },
29140};
29141
29142/*
29143 * AEGIS-256 test vectors - generated via reference implementation from
29144 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
29145 *
29146 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
29147 * (see crypto_aead/aegis256/)
29148 */
29149static const struct aead_testvec aegis256_enc_tv_template[] = {
29150 {
29151 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
29152 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
29153 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
29154 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
29155 .klen = 32,
29156 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
29157 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
29158 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
29159 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
29160 .assoc = "",
29161 .alen = 0,
29162 .input = "",
29163 .ilen = 0,
29164 .result = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
29165 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
29166 .rlen = 16,
29167 }, {
29168 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
29169 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
29170 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
29171 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
29172 .klen = 32,
29173 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
29174 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
29175 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
29176 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
29177 .assoc = "",
29178 .alen = 0,
29179 .input = "\x79",
29180 .ilen = 1,
29181 .result = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
29182 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
29183 "\x8b",
29184 .rlen = 17,
29185 }, {
29186 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
29187 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
29188 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
29189 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
29190 .klen = 32,
29191 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
29192 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
29193 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
29194 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
29195 .assoc = "",
29196 .alen = 0,
29197 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
29198 "\x82\x8e\x16\xb4\xed\x6d\x47",
29199 .ilen = 15,
29200 .result = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
29201 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
29202 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
29203 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
29204 .rlen = 31,
29205 }, {
29206 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
29207 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
29208 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
29209 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
29210 .klen = 32,
29211 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
29212 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
29213 "\x14\xa8\x28\xce\x92\x30\x46\x59"
29214 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
29215 .assoc = "",
29216 .alen = 0,
29217 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
29218 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
29219 .ilen = 16,
29220 .result = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
29221 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
29222 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
29223 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
29224 .rlen = 32,
29225 }, {
29226 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
29227 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
29228 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
29229 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
29230 .klen = 32,
29231 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
29232 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
29233 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
29234 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
29235 .assoc = "",
29236 .alen = 0,
29237 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
29238 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
29239 "\xd3",
29240 .ilen = 17,
29241 .result = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
29242 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
29243 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
29244 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
29245 "\xad",
29246 .rlen = 33,
29247 }, {
29248 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
29249 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
29250 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
29251 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
29252 .klen = 32,
29253 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
29254 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
29255 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
29256 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
29257 .assoc = "",
29258 .alen = 0,
29259 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
29260 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
29261 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
29262 "\x88\x11\x39\x12\x1c\x3a\xbb",
29263 .ilen = 31,
29264 .result = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
29265 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
29266 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
29267 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
29268 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
29269 "\xc4\x1f\x12\x27\xcf\x77\x90",
29270 .rlen = 47,
29271 }, {
29272 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
29273 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
29274 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
29275 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
29276 .klen = 32,
29277 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
29278 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
29279 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
29280 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
29281 .assoc = "",
29282 .alen = 0,
29283 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
29284 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
29285 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
29286 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
29287 .ilen = 32,
29288 .result = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
29289 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
29290 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
29291 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
29292 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
29293 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
29294 .rlen = 48,
29295 }, {
29296 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
29297 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
29298 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
29299 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
29300 .klen = 32,
29301 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
29302 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
29303 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
29304 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
29305 .assoc = "\xd5",
29306 .alen = 1,
29307 .input = "",
29308 .ilen = 0,
29309 .result = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
29310 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
29311 .rlen = 16,
29312 }, {
29313 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
29314 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
29315 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
29316 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
29317 .klen = 32,
29318 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
29319 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
29320 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
29321 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
29322 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
29323 "\x68\x75\x16\xf8\xcb\x7e\xa7",
29324 .alen = 15,
29325 .input = "",
29326 .ilen = 0,
29327 .result = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
29328 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
29329 .rlen = 16,
29330 }, {
29331 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
29332 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
29333 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
29334 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
29335 .klen = 32,
29336 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
29337 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
29338 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
29339 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
29340 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
29341 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
29342 .alen = 16,
29343 .input = "",
29344 .ilen = 0,
29345 .result = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
29346 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
29347 .rlen = 16,
29348 }, {
29349 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
29350 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
29351 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
29352 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
29353 .klen = 32,
29354 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
29355 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
29356 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
29357 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
29358 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
29359 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
29360 "\x07",
29361 .alen = 17,
29362 .input = "",
29363 .ilen = 0,
29364 .result = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
29365 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
29366 .rlen = 16,
29367 }, {
29368 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
29369 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
29370 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
29371 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
29372 .klen = 32,
29373 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
29374 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
29375 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
29376 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
29377 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
29378 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
29379 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
29380 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
29381 .alen = 31,
29382 .input = "",
29383 .ilen = 0,
29384 .result = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
29385 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
29386 .rlen = 16,
29387 }, {
29388 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
29389 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
29390 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
29391 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
29392 .klen = 32,
29393 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
29394 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
29395 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
29396 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
29397 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
29398 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
29399 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
29400 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
29401 .alen = 32,
29402 .input = "",
29403 .ilen = 0,
29404 .result = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
29405 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
29406 .rlen = 16,
29407 }, {
29408 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
29409 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
29410 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
29411 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
29412 .klen = 32,
29413 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
29414 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
29415 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
29416 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
29417 .assoc = "\x40",
29418 .alen = 1,
29419 .input = "\x4f",
29420 .ilen = 1,
29421 .result = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
29422 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
29423 "\xc7",
29424 .rlen = 17,
29425 }, {
29426 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
29427 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
29428 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
29429 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
29430 .klen = 32,
29431 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
29432 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
29433 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
29434 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
29435 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
29436 "\x6d\x92\x42\x61\xa7\x58\x37",
29437 .alen = 15,
29438 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
29439 "\x8d\xc8\x6e\x85\xa5\x21\x67",
29440 .ilen = 15,
29441 .result = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
29442 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
29443 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
29444 "\x14\x80\x6a\xa7\x1b\xae\x1d",
29445 .rlen = 31,
29446 }, {
29447 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
29448 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
29449 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
29450 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
29451 .klen = 32,
29452 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
29453 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
29454 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
29455 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
29456 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
29457 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
29458 .alen = 16,
29459 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
29460 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
29461 .ilen = 16,
29462 .result = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
29463 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
29464 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
29465 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
29466 .rlen = 32,
29467 }, {
29468 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
29469 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
29470 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
29471 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
29472 .klen = 32,
29473 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
29474 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
29475 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
29476 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
29477 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
29478 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
29479 "\x05",
29480 .alen = 17,
29481 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
29482 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
29483 "\xd0",
29484 .ilen = 17,
29485 .result = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
29486 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
29487 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
29488 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
29489 "\x55",
29490 .rlen = 33,
29491 }, {
29492 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
29493 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
29494 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
29495 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
29496 .klen = 32,
29497 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
29498 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
29499 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
29500 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
29501 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
29502 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
29503 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
29504 "\x68\x28\x73\x40\x9f\x96\x4a",
29505 .alen = 31,
29506 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
29507 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
29508 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
29509 "\x98\x34\xab\x37\x56\xae\x32",
29510 .ilen = 31,
29511 .result = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
29512 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
29513 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
29514 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
29515 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
29516 "\xdf\xb8\xea\xd8\xa9\x38\xed",
29517 .rlen = 47,
29518 }, {
29519 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
29520 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
29521 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
29522 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
29523 .klen = 32,
29524 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
29525 "\x50\xc4\xde\x82\x90\x21\x11\x73"
29526 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
29527 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
29528 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
29529 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
29530 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
29531 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
29532 .alen = 32,
29533 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
29534 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
29535 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
29536 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
29537 .ilen = 32,
29538 .result = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
29539 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
29540 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
29541 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
29542 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
29543 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
29544 .rlen = 48,
29545 }, {
29546 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
29547 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
29548 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
29549 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
29550 .klen = 32,
29551 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
29552 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
29553 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
29554 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
29555 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
29556 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
29557 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
29558 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
29559 "\x9d",
29560 .alen = 33,
29561 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
29562 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
29563 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
29564 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
29565 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
29566 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
29567 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
29568 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
29569 "\xbd",
29570 .ilen = 65,
29571 .result = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
29572 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
29573 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
29574 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
29575 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
29576 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
29577 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
29578 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
29579 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
29580 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
29581 "\x65",
29582 .rlen = 81,
29583 }, {
29584 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
29585 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
29586 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
29587 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
29588 .klen = 32,
29589 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
29590 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
29591 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
29592 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
29593 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
29594 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
29595 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
29596 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
29597 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
29598 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
29599 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
29600 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
29601 "\x54",
29602 .alen = 65,
29603 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
29604 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
29605 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
29606 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
29607 "\x2f",
29608 .ilen = 33,
29609 .result = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
29610 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
29611 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
29612 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
29613 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
29614 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
29615 "\xda",
29616 .rlen = 49,
29617 }, {
29618 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
29619 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
29620 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
29621 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
29622 .klen = 32,
29623 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
29624 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
29625 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
29626 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
29627 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
29628 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
29629 .alen = 16,
29630 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
29631 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
29632 .ilen = 16,
29633 .result = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
29634 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
29635 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
29636 "\xc7\xff\xbd\xbc\x85\x09\x0b",
29637 .rlen = 31,
29638 }, {
29639 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
29640 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
29641 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
29642 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
29643 .klen = 32,
29644 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
29645 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
29646 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
29647 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
29648 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
29649 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
29650 .alen = 16,
29651 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
29652 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
29653 .ilen = 16,
29654 .result = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
29655 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
29656 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
29657 "\x62\xd5\xc8\xf0\x46\x1a",
29658 .rlen = 30,
29659 }, {
29660 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
29661 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
29662 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
29663 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
29664 .klen = 32,
29665 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
29666 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
29667 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
29668 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
29669 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
29670 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
29671 .alen = 16,
29672 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
29673 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
29674 .ilen = 16,
29675 .result = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
29676 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
29677 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
29678 .rlen = 24,
29679 },
29680};
29681
29682static const struct aead_testvec aegis256_dec_tv_template[] = {
29683 {
29684 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
29685 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
29686 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
29687 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
29688 .klen = 32,
29689 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
29690 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
29691 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
29692 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
29693 .assoc = "",
29694 .alen = 0,
29695 .input = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
29696 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
29697 .ilen = 16,
29698 .result = "",
29699 .rlen = 0,
29700 }, {
29701 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
29702 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
29703 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
29704 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
29705 .klen = 32,
29706 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
29707 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
29708 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
29709 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
29710 .assoc = "",
29711 .alen = 0,
29712 .input = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
29713 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
29714 "\x8b",
29715 .ilen = 17,
29716 .result = "\x79",
29717 .rlen = 1,
29718 }, {
29719 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
29720 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
29721 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
29722 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
29723 .klen = 32,
29724 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
29725 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
29726 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
29727 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
29728 .assoc = "",
29729 .alen = 0,
29730 .input = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
29731 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
29732 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
29733 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
29734 .ilen = 31,
29735 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
29736 "\x82\x8e\x16\xb4\xed\x6d\x47",
29737 .rlen = 15,
29738 }, {
29739 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
29740 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
29741 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
29742 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
29743 .klen = 32,
29744 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
29745 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
29746 "\x14\xa8\x28\xce\x92\x30\x46\x59"
29747 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
29748 .assoc = "",
29749 .alen = 0,
29750 .input = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
29751 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
29752 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
29753 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
29754 .ilen = 32,
29755 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
29756 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
29757 .rlen = 16,
29758 }, {
29759 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
29760 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
29761 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
29762 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
29763 .klen = 32,
29764 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
29765 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
29766 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
29767 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
29768 .assoc = "",
29769 .alen = 0,
29770 .input = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
29771 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
29772 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
29773 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
29774 "\xad",
29775 .ilen = 33,
29776 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
29777 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
29778 "\xd3",
29779 .rlen = 17,
29780 }, {
29781 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
29782 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
29783 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
29784 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
29785 .klen = 32,
29786 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
29787 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
29788 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
29789 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
29790 .assoc = "",
29791 .alen = 0,
29792 .input = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
29793 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
29794 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
29795 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
29796 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
29797 "\xc4\x1f\x12\x27\xcf\x77\x90",
29798 .ilen = 47,
29799 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
29800 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
29801 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
29802 "\x88\x11\x39\x12\x1c\x3a\xbb",
29803 .rlen = 31,
29804 }, {
29805 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
29806 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
29807 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
29808 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
29809 .klen = 32,
29810 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
29811 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
29812 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
29813 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
29814 .assoc = "",
29815 .alen = 0,
29816 .input = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
29817 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
29818 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
29819 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
29820 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
29821 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
29822 .ilen = 48,
29823 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
29824 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
29825 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
29826 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
29827 .rlen = 32,
29828 }, {
29829 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
29830 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
29831 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
29832 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
29833 .klen = 32,
29834 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
29835 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
29836 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
29837 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
29838 .assoc = "\xd5",
29839 .alen = 1,
29840 .input = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
29841 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
29842 .ilen = 16,
29843 .result = "",
29844 .rlen = 0,
29845 }, {
29846 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
29847 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
29848 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
29849 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
29850 .klen = 32,
29851 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
29852 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
29853 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
29854 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
29855 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
29856 "\x68\x75\x16\xf8\xcb\x7e\xa7",
29857 .alen = 15,
29858 .input = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
29859 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
29860 .ilen = 16,
29861 .result = "",
29862 .rlen = 0,
29863 }, {
29864 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
29865 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
29866 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
29867 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
29868 .klen = 32,
29869 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
29870 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
29871 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
29872 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
29873 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
29874 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
29875 .alen = 16,
29876 .input = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
29877 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
29878 .ilen = 16,
29879 .result = "",
29880 .rlen = 0,
29881 }, {
29882 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
29883 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
29884 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
29885 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
29886 .klen = 32,
29887 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
29888 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
29889 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
29890 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
29891 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
29892 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
29893 "\x07",
29894 .alen = 17,
29895 .input = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
29896 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
29897 .ilen = 16,
29898 .result = "",
29899 .rlen = 0,
29900 }, {
29901 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
29902 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
29903 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
29904 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
29905 .klen = 32,
29906 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
29907 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
29908 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
29909 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
29910 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
29911 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
29912 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
29913 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
29914 .alen = 31,
29915 .input = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
29916 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
29917 .ilen = 16,
29918 .result = "",
29919 .rlen = 0,
29920 }, {
29921 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
29922 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
29923 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
29924 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
29925 .klen = 32,
29926 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
29927 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
29928 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
29929 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
29930 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
29931 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
29932 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
29933 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
29934 .alen = 32,
29935 .input = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
29936 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
29937 .ilen = 16,
29938 .result = "",
29939 .rlen = 0,
29940 }, {
29941 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
29942 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
29943 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
29944 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
29945 .klen = 32,
29946 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
29947 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
29948 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
29949 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
29950 .assoc = "\x40",
29951 .alen = 1,
29952 .input = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
29953 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
29954 "\xc7",
29955 .ilen = 17,
29956 .result = "\x4f",
29957 .rlen = 1,
29958 }, {
29959 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
29960 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
29961 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
29962 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
29963 .klen = 32,
29964 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
29965 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
29966 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
29967 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
29968 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
29969 "\x6d\x92\x42\x61\xa7\x58\x37",
29970 .alen = 15,
29971 .input = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
29972 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
29973 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
29974 "\x14\x80\x6a\xa7\x1b\xae\x1d",
29975 .ilen = 31,
29976 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
29977 "\x8d\xc8\x6e\x85\xa5\x21\x67",
29978 .rlen = 15,
29979 }, {
29980 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
29981 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
29982 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
29983 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
29984 .klen = 32,
29985 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
29986 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
29987 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
29988 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
29989 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
29990 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
29991 .alen = 16,
29992 .input = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
29993 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
29994 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
29995 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
29996 .ilen = 32,
29997 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
29998 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
29999 .rlen = 16,
30000 }, {
30001 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
30002 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
30003 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
30004 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
30005 .klen = 32,
30006 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
30007 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
30008 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
30009 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
30010 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
30011 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
30012 "\x05",
30013 .alen = 17,
30014 .input = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
30015 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
30016 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
30017 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
30018 "\x55",
30019 .ilen = 33,
30020 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
30021 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
30022 "\xd0",
30023 .rlen = 17,
30024 }, {
30025 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
30026 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
30027 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
30028 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
30029 .klen = 32,
30030 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
30031 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
30032 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
30033 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
30034 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
30035 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
30036 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
30037 "\x68\x28\x73\x40\x9f\x96\x4a",
30038 .alen = 31,
30039 .input = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
30040 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
30041 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
30042 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
30043 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
30044 "\xdf\xb8\xea\xd8\xa9\x38\xed",
30045 .ilen = 47,
30046 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
30047 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
30048 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
30049 "\x98\x34\xab\x37\x56\xae\x32",
30050 .rlen = 31,
30051 }, {
30052 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
30053 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
30054 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
30055 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
30056 .klen = 32,
30057 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
30058 "\x50\xc4\xde\x82\x90\x21\x11\x73"
30059 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
30060 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
30061 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
30062 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
30063 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
30064 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
30065 .alen = 32,
30066 .input = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
30067 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
30068 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
30069 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
30070 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
30071 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
30072 .ilen = 48,
30073 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
30074 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
30075 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
30076 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
30077 .rlen = 32,
30078 }, {
30079 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
30080 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
30081 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
30082 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
30083 .klen = 32,
30084 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
30085 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
30086 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
30087 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
30088 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
30089 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
30090 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
30091 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
30092 "\x9d",
30093 .alen = 33,
30094 .input = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
30095 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
30096 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
30097 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
30098 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
30099 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
30100 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
30101 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
30102 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
30103 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
30104 "\x65",
30105 .ilen = 81,
30106 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
30107 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
30108 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
30109 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
30110 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
30111 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
30112 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
30113 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
30114 "\xbd",
30115 .rlen = 65,
30116 }, {
30117 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
30118 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
30119 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
30120 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
30121 .klen = 32,
30122 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
30123 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
30124 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
30125 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
30126 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
30127 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
30128 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
30129 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
30130 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
30131 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
30132 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
30133 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
30134 "\x54",
30135 .alen = 65,
30136 .input = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
30137 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
30138 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
30139 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
30140 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
30141 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
30142 "\xda",
30143 .ilen = 49,
30144 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
30145 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
30146 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
30147 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
30148 "\x2f",
30149 .rlen = 33,
30150 }, {
30151 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
30152 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
30153 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
30154 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
30155 .klen = 32,
30156 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
30157 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
30158 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
30159 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
30160 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
30161 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
30162 .alen = 16,
30163 .input = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
30164 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
30165 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
30166 "\xc7\xff\xbd\xbc\x85\x09\x0b",
30167 .ilen = 31,
30168 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
30169 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
30170 .rlen = 16,
30171 }, {
30172 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
30173 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
30174 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
30175 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
30176 .klen = 32,
30177 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
30178 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
30179 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
30180 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
30181 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
30182 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
30183 .alen = 16,
30184 .input = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
30185 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
30186 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
30187 "\x62\xd5\xc8\xf0\x46\x1a",
30188 .ilen = 30,
30189 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
30190 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
30191 .rlen = 16,
30192 }, {
30193 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
30194 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
30195 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
30196 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
30197 .klen = 32,
30198 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
30199 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
30200 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
30201 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
30202 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
30203 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
30204 .alen = 16,
30205 .input = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
30206 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
30207 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
30208 .ilen = 24,
30209 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
30210 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
30211 .rlen = 16,
30212 },
30213};
30214
27380/* 30215/*
27381 * All key wrapping test vectors taken from 30216 * All key wrapping test vectors taken from
27382 * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip 30217 * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip