diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-10-20 07:52:52 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-10-24 09:10:51 -0400 |
commit | 963ae397f33282d704bd187b83f515a6fb46edb6 (patch) | |
tree | 34dd1b861c8d50582636e7836c29cddf77045fdd /crypto/testmgr.h | |
parent | be6314b4cc9b6f2e6bb4dea43f8470613ddaa060 (diff) |
crypto: testmgr - expand blowfish test vectors
AVX2 implementation of blowfish cipher processes 32 blocks parallel, so
we need to make test vectors larger to check parallel code paths.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r-- | crypto/testmgr.h | 1000 |
1 files changed, 962 insertions, 38 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index e36cb6d57e7a..09f9131304f9 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -2492,17 +2492,133 @@ static struct cipher_testvec bf_enc_tv_template[] = { | |||
2492 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 2492 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2493 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 2493 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2494 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 2494 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2495 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 2495 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2496 | .ilen = 40, | 2496 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
2497 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
2498 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
2499 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
2500 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
2501 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
2502 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
2503 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
2504 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
2505 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
2506 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
2507 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
2508 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
2509 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
2510 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
2511 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
2512 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
2513 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
2514 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
2515 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
2516 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
2517 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
2518 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
2519 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
2520 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
2521 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
2522 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
2523 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
2524 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
2525 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
2526 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
2527 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
2528 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
2529 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
2530 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
2531 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
2532 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
2533 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
2534 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
2535 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
2536 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
2537 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
2538 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
2539 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
2540 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
2541 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
2542 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
2543 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
2544 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
2545 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
2546 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
2547 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
2548 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
2549 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
2550 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
2551 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
2552 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
2553 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
2554 | .ilen = 504, | ||
2497 | .result = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F" | 2555 | .result = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F" |
2498 | "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D" | 2556 | "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D" |
2499 | "\xD7\x87\xA1\xF2\xDF\x51\x71\x26" | 2557 | "\xD7\x87\xA1\xF2\xDF\x51\x71\x26" |
2500 | "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40" | 2558 | "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40" |
2501 | "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B", | 2559 | "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B" |
2502 | .rlen = 40, | 2560 | "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9" |
2561 | "\xCD\xF3\x88\x39\x39\x7A\xDF\x19" | ||
2562 | "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86" | ||
2563 | "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5" | ||
2564 | "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D" | ||
2565 | "\x6E\x66\xAF\x38\x6C\xD3\x13\xED" | ||
2566 | "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A" | ||
2567 | "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B" | ||
2568 | "\x9D\x5B\x54\x65\x4F\x16\x8A\x97" | ||
2569 | "\xF3\xF6\xD4\xAA\x87\x36\x77\x72" | ||
2570 | "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D" | ||
2571 | "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F" | ||
2572 | "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8" | ||
2573 | "\x47\x82\x98\x23\x33\x36\xBC\x1B" | ||
2574 | "\x36\xE7\xF6\xCF\x97\x37\x16\xC0" | ||
2575 | "\x87\x31\x8B\xB0\xDB\x19\x42\xA5" | ||
2576 | "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9" | ||
2577 | "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71" | ||
2578 | "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B" | ||
2579 | "\x60\x00\x55\x57\x06\x8B\xD5\xB3" | ||
2580 | "\x86\x30\x78\xDA\x33\x9A\x9D\xCC" | ||
2581 | "\xBA\x0B\x81\x06\x77\x43\xC7\xC9" | ||
2582 | "\xDB\x37\x60\x11\x45\x59\x6D\x2D" | ||
2583 | "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C" | ||
2584 | "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B" | ||
2585 | "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9" | ||
2586 | "\x98\xE4\x7F\xC3\x6E\x51\x24\x70" | ||
2587 | "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3" | ||
2588 | "\xE0\x8A\x44\xA2\x5C\x94\x74\x34" | ||
2589 | "\x37\x52\x7C\x03\xE8\x8E\x97\xE1" | ||
2590 | "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F" | ||
2591 | "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45" | ||
2592 | "\x55\xC5\xA7\xA3\x19\x80\x28\x51" | ||
2593 | "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB" | ||
2594 | "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC" | ||
2595 | "\x3E\x42\x14\x49\x88\x51\xBF\x68" | ||
2596 | "\x45\x75\x27\x1B\x0A\x72\xED\xAF" | ||
2597 | "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3" | ||
2598 | "\x34\xDD\x91\x19\x42\x3A\xCB\xDA" | ||
2599 | "\x38\xFA\x3C\x93\x62\xF2\xE3\x81" | ||
2600 | "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09" | ||
2601 | "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2" | ||
2602 | "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E" | ||
2603 | "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC" | ||
2604 | "\x36\x56\x6E\x85\x73\xD7\x52\xBA" | ||
2605 | "\x35\x5E\x32\x89\x5D\x42\xF5\x36" | ||
2606 | "\x52\x8D\x46\x7D\xC8\x71\xAD\x33" | ||
2607 | "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC" | ||
2608 | "\xFE\x88\xE6\x16\xE4\xC8\x13\x00" | ||
2609 | "\x3C\xDA\x59\x32\x38\x19\xD5\xEB" | ||
2610 | "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C" | ||
2611 | "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B" | ||
2612 | "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29" | ||
2613 | "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D" | ||
2614 | "\xC9\x0D\x59\x82\x27\x57\x9D\x42" | ||
2615 | "\x54\x59\x09\xA5\x3D\xC5\x84\x68" | ||
2616 | "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5" | ||
2617 | "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4", | ||
2618 | .rlen = 504, | ||
2503 | .also_non_np = 1, | 2619 | .also_non_np = 1, |
2504 | .np = 2, | 2620 | .np = 2, |
2505 | .tap = { 40 - 8, 8 }, | 2621 | .tap = { 504 - 8, 8 }, |
2506 | }, | 2622 | }, |
2507 | }; | 2623 | }; |
2508 | 2624 | ||
@@ -2568,17 +2684,133 @@ static struct cipher_testvec bf_dec_tv_template[] = { | |||
2568 | "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D" | 2684 | "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D" |
2569 | "\xD7\x87\xA1\xF2\xDF\x51\x71\x26" | 2685 | "\xD7\x87\xA1\xF2\xDF\x51\x71\x26" |
2570 | "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40" | 2686 | "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40" |
2571 | "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B", | 2687 | "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B" |
2572 | .ilen = 40, | 2688 | "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9" |
2689 | "\xCD\xF3\x88\x39\x39\x7A\xDF\x19" | ||
2690 | "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86" | ||
2691 | "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5" | ||
2692 | "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D" | ||
2693 | "\x6E\x66\xAF\x38\x6C\xD3\x13\xED" | ||
2694 | "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A" | ||
2695 | "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B" | ||
2696 | "\x9D\x5B\x54\x65\x4F\x16\x8A\x97" | ||
2697 | "\xF3\xF6\xD4\xAA\x87\x36\x77\x72" | ||
2698 | "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D" | ||
2699 | "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F" | ||
2700 | "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8" | ||
2701 | "\x47\x82\x98\x23\x33\x36\xBC\x1B" | ||
2702 | "\x36\xE7\xF6\xCF\x97\x37\x16\xC0" | ||
2703 | "\x87\x31\x8B\xB0\xDB\x19\x42\xA5" | ||
2704 | "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9" | ||
2705 | "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71" | ||
2706 | "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B" | ||
2707 | "\x60\x00\x55\x57\x06\x8B\xD5\xB3" | ||
2708 | "\x86\x30\x78\xDA\x33\x9A\x9D\xCC" | ||
2709 | "\xBA\x0B\x81\x06\x77\x43\xC7\xC9" | ||
2710 | "\xDB\x37\x60\x11\x45\x59\x6D\x2D" | ||
2711 | "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C" | ||
2712 | "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B" | ||
2713 | "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9" | ||
2714 | "\x98\xE4\x7F\xC3\x6E\x51\x24\x70" | ||
2715 | "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3" | ||
2716 | "\xE0\x8A\x44\xA2\x5C\x94\x74\x34" | ||
2717 | "\x37\x52\x7C\x03\xE8\x8E\x97\xE1" | ||
2718 | "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F" | ||
2719 | "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45" | ||
2720 | "\x55\xC5\xA7\xA3\x19\x80\x28\x51" | ||
2721 | "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB" | ||
2722 | "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC" | ||
2723 | "\x3E\x42\x14\x49\x88\x51\xBF\x68" | ||
2724 | "\x45\x75\x27\x1B\x0A\x72\xED\xAF" | ||
2725 | "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3" | ||
2726 | "\x34\xDD\x91\x19\x42\x3A\xCB\xDA" | ||
2727 | "\x38\xFA\x3C\x93\x62\xF2\xE3\x81" | ||
2728 | "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09" | ||
2729 | "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2" | ||
2730 | "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E" | ||
2731 | "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC" | ||
2732 | "\x36\x56\x6E\x85\x73\xD7\x52\xBA" | ||
2733 | "\x35\x5E\x32\x89\x5D\x42\xF5\x36" | ||
2734 | "\x52\x8D\x46\x7D\xC8\x71\xAD\x33" | ||
2735 | "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC" | ||
2736 | "\xFE\x88\xE6\x16\xE4\xC8\x13\x00" | ||
2737 | "\x3C\xDA\x59\x32\x38\x19\xD5\xEB" | ||
2738 | "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C" | ||
2739 | "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B" | ||
2740 | "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29" | ||
2741 | "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D" | ||
2742 | "\xC9\x0D\x59\x82\x27\x57\x9D\x42" | ||
2743 | "\x54\x59\x09\xA5\x3D\xC5\x84\x68" | ||
2744 | "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5" | ||
2745 | "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4", | ||
2746 | .ilen = 504, | ||
2573 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 2747 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
2574 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 2748 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2575 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 2749 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2576 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 2750 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2577 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 2751 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2578 | .rlen = 40, | 2752 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
2753 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
2754 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
2755 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
2756 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
2757 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
2758 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
2759 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
2760 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
2761 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
2762 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
2763 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
2764 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
2765 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
2766 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
2767 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
2768 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
2769 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
2770 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
2771 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
2772 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
2773 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
2774 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
2775 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
2776 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
2777 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
2778 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
2779 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
2780 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
2781 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
2782 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
2783 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
2784 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
2785 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
2786 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
2787 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
2788 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
2789 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
2790 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
2791 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
2792 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
2793 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
2794 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
2795 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
2796 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
2797 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
2798 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
2799 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
2800 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
2801 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
2802 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
2803 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
2804 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
2805 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
2806 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
2807 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
2808 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
2809 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
2810 | .rlen = 504, | ||
2579 | .also_non_np = 1, | 2811 | .also_non_np = 1, |
2580 | .np = 2, | 2812 | .np = 2, |
2581 | .tap = { 40 - 8, 8 }, | 2813 | .tap = { 504 - 8, 8 }, |
2582 | }, | 2814 | }, |
2583 | }; | 2815 | }; |
2584 | 2816 | ||
@@ -2609,17 +2841,133 @@ static struct cipher_testvec bf_cbc_enc_tv_template[] = { | |||
2609 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 2841 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2610 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 2842 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2611 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 2843 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2612 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 2844 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2613 | .ilen = 40, | 2845 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
2846 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
2847 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
2848 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
2849 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
2850 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
2851 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
2852 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
2853 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
2854 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
2855 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
2856 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
2857 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
2858 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
2859 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
2860 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
2861 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
2862 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
2863 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
2864 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
2865 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
2866 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
2867 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
2868 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
2869 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
2870 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
2871 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
2872 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
2873 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
2874 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
2875 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
2876 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
2877 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
2878 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
2879 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
2880 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
2881 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
2882 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
2883 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
2884 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
2885 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
2886 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
2887 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
2888 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
2889 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
2890 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
2891 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
2892 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
2893 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
2894 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
2895 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
2896 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
2897 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
2898 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
2899 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
2900 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
2901 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
2902 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
2903 | .ilen = 504, | ||
2614 | .result = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06" | 2904 | .result = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06" |
2615 | "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62" | 2905 | "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62" |
2616 | "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E" | 2906 | "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E" |
2617 | "\x1B\xD9\x02\xB6\x48\xB0\x87\x25" | 2907 | "\x1B\xD9\x02\xB6\x48\xB0\x87\x25" |
2618 | "\x01\x9C\x93\x63\x51\x60\x82\xD2", | 2908 | "\x01\x9C\x93\x63\x51\x60\x82\xD2" |
2619 | .rlen = 40, | 2909 | "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD" |
2910 | "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F" | ||
2911 | "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69" | ||
2912 | "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5" | ||
2913 | "\x43\x29\x9D\x94\xF4\x2F\x0A\x65" | ||
2914 | "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A" | ||
2915 | "\x60\xD3\x52\xA8\xED\x91\xDF\xE1" | ||
2916 | "\x91\x73\x7C\x28\xA1\x14\xC3\x4C" | ||
2917 | "\x82\x72\x4B\x7D\x7D\x32\xD5\x19" | ||
2918 | "\xE8\xB8\x6B\x30\x21\x09\x0E\x27" | ||
2919 | "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6" | ||
2920 | "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13" | ||
2921 | "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69" | ||
2922 | "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C" | ||
2923 | "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40" | ||
2924 | "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43" | ||
2925 | "\x65\xFE\x15\x40\xD0\x62\x41\x02" | ||
2926 | "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE" | ||
2927 | "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C" | ||
2928 | "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B" | ||
2929 | "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A" | ||
2930 | "\xC2\x6D\xBD\x5E\x89\x95\x86\x43" | ||
2931 | "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24" | ||
2932 | "\x04\xF0\x86\x08\x78\x18\x42\xE0" | ||
2933 | "\x39\x1B\x22\x9E\x89\x4C\x04\x6B" | ||
2934 | "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7" | ||
2935 | "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC" | ||
2936 | "\xF0\x51\xCC\x93\x68\xFC\xE9\x19" | ||
2937 | "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC" | ||
2938 | "\x97\x18\x92\xFF\x15\x11\xCE\xED" | ||
2939 | "\x04\x41\x05\xA3\x92\xFF\x3B\xE6" | ||
2940 | "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04" | ||
2941 | "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68" | ||
2942 | "\xEF\xB3\x61\x18\xDB\x83\x9B\x39" | ||
2943 | "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02" | ||
2944 | "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35" | ||
2945 | "\x75\x6F\x06\x81\x0A\x97\x4D\xF0" | ||
2946 | "\x43\x12\x73\x77\xDB\x91\x83\x5B" | ||
2947 | "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50" | ||
2948 | "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F" | ||
2949 | "\x7E\x12\x40\xB2\x3E\x19\x23\xF1" | ||
2950 | "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87" | ||
2951 | "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88" | ||
2952 | "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A" | ||
2953 | "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76" | ||
2954 | "\x14\x48\x2E\xDE\x2A\x44\x5E\x45" | ||
2955 | "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A" | ||
2956 | "\xED\x73\xD3\x79\xF7\x38\x1D\xD0" | ||
2957 | "\xC5\xF8\x69\x83\x28\x84\x87\x56" | ||
2958 | "\x3F\xAE\x81\x04\x79\x1F\xD1\x09" | ||
2959 | "\xC5\xE5\x05\x0D\x64\x16\xCE\x42" | ||
2960 | "\xC5\xF8\xDB\x57\x89\x33\x22\xFC" | ||
2961 | "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90" | ||
2962 | "\x02\xBA\x55\x1E\x24\x3E\x02\x1D" | ||
2963 | "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51" | ||
2964 | "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9" | ||
2965 | "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0" | ||
2966 | "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4", | ||
2967 | .rlen = 504, | ||
2620 | .also_non_np = 1, | 2968 | .also_non_np = 1, |
2621 | .np = 2, | 2969 | .np = 2, |
2622 | .tap = { 40 - 8, 8 }, | 2970 | .tap = { 504 - 8, 8 }, |
2623 | }, | 2971 | }, |
2624 | }; | 2972 | }; |
2625 | 2973 | ||
@@ -2650,17 +2998,133 @@ static struct cipher_testvec bf_cbc_dec_tv_template[] = { | |||
2650 | "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62" | 2998 | "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62" |
2651 | "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E" | 2999 | "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E" |
2652 | "\x1B\xD9\x02\xB6\x48\xB0\x87\x25" | 3000 | "\x1B\xD9\x02\xB6\x48\xB0\x87\x25" |
2653 | "\x01\x9C\x93\x63\x51\x60\x82\xD2", | 3001 | "\x01\x9C\x93\x63\x51\x60\x82\xD2" |
2654 | .ilen = 40, | 3002 | "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD" |
3003 | "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F" | ||
3004 | "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69" | ||
3005 | "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5" | ||
3006 | "\x43\x29\x9D\x94\xF4\x2F\x0A\x65" | ||
3007 | "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A" | ||
3008 | "\x60\xD3\x52\xA8\xED\x91\xDF\xE1" | ||
3009 | "\x91\x73\x7C\x28\xA1\x14\xC3\x4C" | ||
3010 | "\x82\x72\x4B\x7D\x7D\x32\xD5\x19" | ||
3011 | "\xE8\xB8\x6B\x30\x21\x09\x0E\x27" | ||
3012 | "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6" | ||
3013 | "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13" | ||
3014 | "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69" | ||
3015 | "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C" | ||
3016 | "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40" | ||
3017 | "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43" | ||
3018 | "\x65\xFE\x15\x40\xD0\x62\x41\x02" | ||
3019 | "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE" | ||
3020 | "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C" | ||
3021 | "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B" | ||
3022 | "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A" | ||
3023 | "\xC2\x6D\xBD\x5E\x89\x95\x86\x43" | ||
3024 | "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24" | ||
3025 | "\x04\xF0\x86\x08\x78\x18\x42\xE0" | ||
3026 | "\x39\x1B\x22\x9E\x89\x4C\x04\x6B" | ||
3027 | "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7" | ||
3028 | "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC" | ||
3029 | "\xF0\x51\xCC\x93\x68\xFC\xE9\x19" | ||
3030 | "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC" | ||
3031 | "\x97\x18\x92\xFF\x15\x11\xCE\xED" | ||
3032 | "\x04\x41\x05\xA3\x92\xFF\x3B\xE6" | ||
3033 | "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04" | ||
3034 | "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68" | ||
3035 | "\xEF\xB3\x61\x18\xDB\x83\x9B\x39" | ||
3036 | "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02" | ||
3037 | "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35" | ||
3038 | "\x75\x6F\x06\x81\x0A\x97\x4D\xF0" | ||
3039 | "\x43\x12\x73\x77\xDB\x91\x83\x5B" | ||
3040 | "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50" | ||
3041 | "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F" | ||
3042 | "\x7E\x12\x40\xB2\x3E\x19\x23\xF1" | ||
3043 | "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87" | ||
3044 | "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88" | ||
3045 | "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A" | ||
3046 | "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76" | ||
3047 | "\x14\x48\x2E\xDE\x2A\x44\x5E\x45" | ||
3048 | "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A" | ||
3049 | "\xED\x73\xD3\x79\xF7\x38\x1D\xD0" | ||
3050 | "\xC5\xF8\x69\x83\x28\x84\x87\x56" | ||
3051 | "\x3F\xAE\x81\x04\x79\x1F\xD1\x09" | ||
3052 | "\xC5\xE5\x05\x0D\x64\x16\xCE\x42" | ||
3053 | "\xC5\xF8\xDB\x57\x89\x33\x22\xFC" | ||
3054 | "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90" | ||
3055 | "\x02\xBA\x55\x1E\x24\x3E\x02\x1D" | ||
3056 | "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51" | ||
3057 | "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9" | ||
3058 | "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0" | ||
3059 | "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4", | ||
3060 | .ilen = 504, | ||
2655 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 3061 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
2656 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 3062 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2657 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 3063 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2658 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 3064 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2659 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 3065 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2660 | .rlen = 40, | 3066 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
3067 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
3068 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
3069 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
3070 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
3071 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
3072 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
3073 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
3074 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
3075 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
3076 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
3077 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
3078 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
3079 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
3080 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
3081 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
3082 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
3083 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
3084 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
3085 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
3086 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
3087 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
3088 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
3089 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
3090 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
3091 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
3092 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
3093 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
3094 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
3095 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
3096 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
3097 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
3098 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
3099 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
3100 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
3101 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
3102 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
3103 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
3104 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
3105 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
3106 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
3107 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
3108 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
3109 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
3110 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
3111 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
3112 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
3113 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
3114 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
3115 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
3116 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
3117 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
3118 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
3119 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
3120 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
3121 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
3122 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
3123 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
3124 | .rlen = 504, | ||
2661 | .also_non_np = 1, | 3125 | .also_non_np = 1, |
2662 | .np = 2, | 3126 | .np = 2, |
2663 | .tap = { 40 - 8, 8 }, | 3127 | .tap = { 504 - 8, 8 }, |
2664 | }, | 3128 | }, |
2665 | }; | 3129 | }; |
2666 | 3130 | ||
@@ -2676,14 +3140,130 @@ static struct cipher_testvec bf_ctr_enc_tv_template[] = { | |||
2676 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 3140 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2677 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 3141 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2678 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 3142 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2679 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 3143 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2680 | .ilen = 40, | 3144 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
3145 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
3146 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
3147 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
3148 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
3149 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
3150 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
3151 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
3152 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
3153 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
3154 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
3155 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
3156 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
3157 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
3158 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
3159 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
3160 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
3161 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
3162 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
3163 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
3164 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
3165 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
3166 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
3167 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
3168 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
3169 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
3170 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
3171 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
3172 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
3173 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
3174 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
3175 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
3176 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
3177 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
3178 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
3179 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
3180 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
3181 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
3182 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
3183 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
3184 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
3185 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
3186 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
3187 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
3188 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
3189 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
3190 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
3191 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
3192 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
3193 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
3194 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
3195 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
3196 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
3197 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
3198 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
3199 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
3200 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
3201 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
3202 | .ilen = 504, | ||
2681 | .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D" | 3203 | .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D" |
2682 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" | 3204 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" |
2683 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" | 3205 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" |
2684 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" | 3206 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" |
2685 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC", | 3207 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" |
2686 | .rlen = 40, | 3208 | "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE" |
3209 | "\x99\x38\x07\xCA\x1D\x21\xC1\x11" | ||
3210 | "\x97\xEB\x98\x75\xC4\x73\x45\x83" | ||
3211 | "\x46\x1C\x9C\x91\x87\xC1\xA0\x56" | ||
3212 | "\x98\xA1\x8B\xDB\x22\x76\xBD\x62" | ||
3213 | "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13" | ||
3214 | "\x13\xD2\x96\x68\x69\x10\x67\x0C" | ||
3215 | "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93" | ||
3216 | "\xA6\x82\x20\xCF\x0F\xA6\x47\x79" | ||
3217 | "\x88\x09\x40\x59\xBD\x12\x64\xB5" | ||
3218 | "\x19\x38\x0D\xFF\x86\xD9\x42\x20" | ||
3219 | "\x81\x0D\x96\x99\xAF\x22\x1F\x94" | ||
3220 | "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09" | ||
3221 | "\x43\x19\x7F\xD0\xBB\x10\xC2\x49" | ||
3222 | "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3" | ||
3223 | "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04" | ||
3224 | "\xFD\x29\x1A\xAC\xC0\x92\x48\x34" | ||
3225 | "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A" | ||
3226 | "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01" | ||
3227 | "\x03\x6A\x45\xDD\x07\x71\x5F\x5B" | ||
3228 | "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC" | ||
3229 | "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28" | ||
3230 | "\xE3\x05\xD2\x94\x78\x4C\x33\x1B" | ||
3231 | "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86" | ||
3232 | "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC" | ||
3233 | "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F" | ||
3234 | "\x60\x51\x14\x65\xF9\x91\xE9\xDA" | ||
3235 | "\x9A\xBC\xFC\x19\x29\x67\xAA\x63" | ||
3236 | "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4" | ||
3237 | "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0" | ||
3238 | "\xED\x52\xAE\x90\x8F\x5B\x98\x34" | ||
3239 | "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6" | ||
3240 | "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02" | ||
3241 | "\xC1\x90\xA4\x72\x31\x6B\x24\x51" | ||
3242 | "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D" | ||
3243 | "\x41\xE0\x37\x6D\xBE\x41\x58\xDE" | ||
3244 | "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F" | ||
3245 | "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2" | ||
3246 | "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86" | ||
3247 | "\x82\x63\x11\xB3\x54\x49\x00\x08" | ||
3248 | "\x07\xF2\xE8\x1F\x34\x49\x61\xF4" | ||
3249 | "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F" | ||
3250 | "\x66\x99\x08\x06\xF2\xE8\x2D\xD1" | ||
3251 | "\xD0\x67\xBA\x32\x1F\x02\x86\x7B" | ||
3252 | "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF" | ||
3253 | "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B" | ||
3254 | "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE" | ||
3255 | "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC" | ||
3256 | "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA" | ||
3257 | "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5" | ||
3258 | "\x91\x04\x94\x99\x03\x3B\x42\x6D" | ||
3259 | "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8" | ||
3260 | "\x5C\x97\x2E\x4D\x79\x67\x71\xAF" | ||
3261 | "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E" | ||
3262 | "\x23\x8D\xD6\xA6\x68\x10\x78\x9A" | ||
3263 | "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5" | ||
3264 | "\x32\x44\x96\x1C\xD8\xEB\x95\xD2" | ||
3265 | "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29", | ||
3266 | .rlen = 504, | ||
2687 | }, { /* Generated with Crypto++ */ | 3267 | }, { /* Generated with Crypto++ */ |
2688 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 3268 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
2689 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 3269 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -2696,18 +3276,132 @@ static struct cipher_testvec bf_ctr_enc_tv_template[] = { | |||
2696 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 3276 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2697 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 3277 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2698 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" | 3278 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2699 | "\x6D\x04\x9B", | 3279 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
2700 | .ilen = 43, | 3280 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" |
3281 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
3282 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
3283 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
3284 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
3285 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
3286 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
3287 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
3288 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
3289 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
3290 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
3291 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
3292 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
3293 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
3294 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
3295 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
3296 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
3297 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
3298 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
3299 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
3300 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
3301 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
3302 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
3303 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
3304 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
3305 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
3306 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
3307 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
3308 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
3309 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
3310 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
3311 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
3312 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
3313 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
3314 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
3315 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
3316 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
3317 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
3318 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
3319 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
3320 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
3321 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
3322 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
3323 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
3324 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
3325 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
3326 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
3327 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
3328 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
3329 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
3330 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
3331 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
3332 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
3333 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
3334 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
3335 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
3336 | "\x2B\xC2\x59\xF0\x64\xFB\x92", | ||
3337 | .ilen = 503, | ||
2701 | .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D" | 3338 | .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D" |
2702 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" | 3339 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" |
2703 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" | 3340 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" |
2704 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" | 3341 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" |
2705 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" | 3342 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" |
2706 | "\x3D\xA7\xE9", | 3343 | "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE" |
2707 | .rlen = 43, | 3344 | "\x99\x38\x07\xCA\x1D\x21\xC1\x11" |
3345 | "\x97\xEB\x98\x75\xC4\x73\x45\x83" | ||
3346 | "\x46\x1C\x9C\x91\x87\xC1\xA0\x56" | ||
3347 | "\x98\xA1\x8B\xDB\x22\x76\xBD\x62" | ||
3348 | "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13" | ||
3349 | "\x13\xD2\x96\x68\x69\x10\x67\x0C" | ||
3350 | "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93" | ||
3351 | "\xA6\x82\x20\xCF\x0F\xA6\x47\x79" | ||
3352 | "\x88\x09\x40\x59\xBD\x12\x64\xB5" | ||
3353 | "\x19\x38\x0D\xFF\x86\xD9\x42\x20" | ||
3354 | "\x81\x0D\x96\x99\xAF\x22\x1F\x94" | ||
3355 | "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09" | ||
3356 | "\x43\x19\x7F\xD0\xBB\x10\xC2\x49" | ||
3357 | "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3" | ||
3358 | "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04" | ||
3359 | "\xFD\x29\x1A\xAC\xC0\x92\x48\x34" | ||
3360 | "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A" | ||
3361 | "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01" | ||
3362 | "\x03\x6A\x45\xDD\x07\x71\x5F\x5B" | ||
3363 | "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC" | ||
3364 | "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28" | ||
3365 | "\xE3\x05\xD2\x94\x78\x4C\x33\x1B" | ||
3366 | "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86" | ||
3367 | "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC" | ||
3368 | "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F" | ||
3369 | "\x60\x51\x14\x65\xF9\x91\xE9\xDA" | ||
3370 | "\x9A\xBC\xFC\x19\x29\x67\xAA\x63" | ||
3371 | "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4" | ||
3372 | "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0" | ||
3373 | "\xED\x52\xAE\x90\x8F\x5B\x98\x34" | ||
3374 | "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6" | ||
3375 | "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02" | ||
3376 | "\xC1\x90\xA4\x72\x31\x6B\x24\x51" | ||
3377 | "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D" | ||
3378 | "\x41\xE0\x37\x6D\xBE\x41\x58\xDE" | ||
3379 | "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F" | ||
3380 | "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2" | ||
3381 | "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86" | ||
3382 | "\x82\x63\x11\xB3\x54\x49\x00\x08" | ||
3383 | "\x07\xF2\xE8\x1F\x34\x49\x61\xF4" | ||
3384 | "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F" | ||
3385 | "\x66\x99\x08\x06\xF2\xE8\x2D\xD1" | ||
3386 | "\xD0\x67\xBA\x32\x1F\x02\x86\x7B" | ||
3387 | "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF" | ||
3388 | "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B" | ||
3389 | "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE" | ||
3390 | "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC" | ||
3391 | "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA" | ||
3392 | "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5" | ||
3393 | "\x91\x04\x94\x99\x03\x3B\x42\x6D" | ||
3394 | "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8" | ||
3395 | "\x5C\x97\x2E\x4D\x79\x67\x71\xAF" | ||
3396 | "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E" | ||
3397 | "\x23\x8D\xD6\xA6\x68\x10\x78\x9A" | ||
3398 | "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5" | ||
3399 | "\x32\x44\x96\x1C\xD8\xEB\x95\xD2" | ||
3400 | "\xF3\x71\xEF\xEB\x4E\xBB\x4D", | ||
3401 | .rlen = 503, | ||
2708 | .also_non_np = 1, | 3402 | .also_non_np = 1, |
2709 | .np = 2, | 3403 | .np = 2, |
2710 | .tap = { 43 - 8, 8 }, | 3404 | .tap = { 503 - 8, 8 }, |
2711 | }, { /* Generated with Crypto++ */ | 3405 | }, { /* Generated with Crypto++ */ |
2712 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 3406 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
2713 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 3407 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -2858,14 +3552,130 @@ static struct cipher_testvec bf_ctr_dec_tv_template[] = { | |||
2858 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" | 3552 | "\x9E\xDF\x38\x18\x83\x07\xEF\xC1" |
2859 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" | 3553 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" |
2860 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" | 3554 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" |
2861 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC", | 3555 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" |
2862 | .ilen = 40, | 3556 | "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE" |
3557 | "\x99\x38\x07\xCA\x1D\x21\xC1\x11" | ||
3558 | "\x97\xEB\x98\x75\xC4\x73\x45\x83" | ||
3559 | "\x46\x1C\x9C\x91\x87\xC1\xA0\x56" | ||
3560 | "\x98\xA1\x8B\xDB\x22\x76\xBD\x62" | ||
3561 | "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13" | ||
3562 | "\x13\xD2\x96\x68\x69\x10\x67\x0C" | ||
3563 | "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93" | ||
3564 | "\xA6\x82\x20\xCF\x0F\xA6\x47\x79" | ||
3565 | "\x88\x09\x40\x59\xBD\x12\x64\xB5" | ||
3566 | "\x19\x38\x0D\xFF\x86\xD9\x42\x20" | ||
3567 | "\x81\x0D\x96\x99\xAF\x22\x1F\x94" | ||
3568 | "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09" | ||
3569 | "\x43\x19\x7F\xD0\xBB\x10\xC2\x49" | ||
3570 | "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3" | ||
3571 | "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04" | ||
3572 | "\xFD\x29\x1A\xAC\xC0\x92\x48\x34" | ||
3573 | "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A" | ||
3574 | "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01" | ||
3575 | "\x03\x6A\x45\xDD\x07\x71\x5F\x5B" | ||
3576 | "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC" | ||
3577 | "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28" | ||
3578 | "\xE3\x05\xD2\x94\x78\x4C\x33\x1B" | ||
3579 | "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86" | ||
3580 | "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC" | ||
3581 | "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F" | ||
3582 | "\x60\x51\x14\x65\xF9\x91\xE9\xDA" | ||
3583 | "\x9A\xBC\xFC\x19\x29\x67\xAA\x63" | ||
3584 | "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4" | ||
3585 | "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0" | ||
3586 | "\xED\x52\xAE\x90\x8F\x5B\x98\x34" | ||
3587 | "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6" | ||
3588 | "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02" | ||
3589 | "\xC1\x90\xA4\x72\x31\x6B\x24\x51" | ||
3590 | "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D" | ||
3591 | "\x41\xE0\x37\x6D\xBE\x41\x58\xDE" | ||
3592 | "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F" | ||
3593 | "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2" | ||
3594 | "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86" | ||
3595 | "\x82\x63\x11\xB3\x54\x49\x00\x08" | ||
3596 | "\x07\xF2\xE8\x1F\x34\x49\x61\xF4" | ||
3597 | "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F" | ||
3598 | "\x66\x99\x08\x06\xF2\xE8\x2D\xD1" | ||
3599 | "\xD0\x67\xBA\x32\x1F\x02\x86\x7B" | ||
3600 | "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF" | ||
3601 | "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B" | ||
3602 | "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE" | ||
3603 | "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC" | ||
3604 | "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA" | ||
3605 | "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5" | ||
3606 | "\x91\x04\x94\x99\x03\x3B\x42\x6D" | ||
3607 | "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8" | ||
3608 | "\x5C\x97\x2E\x4D\x79\x67\x71\xAF" | ||
3609 | "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E" | ||
3610 | "\x23\x8D\xD6\xA6\x68\x10\x78\x9A" | ||
3611 | "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5" | ||
3612 | "\x32\x44\x96\x1C\xD8\xEB\x95\xD2" | ||
3613 | "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29", | ||
3614 | .ilen = 504, | ||
2863 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 3615 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
2864 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 3616 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2865 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 3617 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2866 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 3618 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2867 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9", | 3619 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2868 | .rlen = 40, | 3620 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
3621 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" | ||
3622 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
3623 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
3624 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
3625 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
3626 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
3627 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
3628 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
3629 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
3630 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
3631 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
3632 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
3633 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
3634 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
3635 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
3636 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
3637 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
3638 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
3639 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
3640 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
3641 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
3642 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
3643 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
3644 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
3645 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
3646 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
3647 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
3648 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
3649 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
3650 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
3651 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
3652 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
3653 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
3654 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
3655 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
3656 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
3657 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
3658 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
3659 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
3660 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
3661 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
3662 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
3663 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
3664 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
3665 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
3666 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
3667 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
3668 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
3669 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
3670 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
3671 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
3672 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
3673 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
3674 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
3675 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
3676 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
3677 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06", | ||
3678 | .rlen = 504, | ||
2869 | }, { /* Generated with Crypto++ */ | 3679 | }, { /* Generated with Crypto++ */ |
2870 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 3680 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
2871 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 3681 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -2878,18 +3688,132 @@ static struct cipher_testvec bf_ctr_dec_tv_template[] = { | |||
2878 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" | 3688 | "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC" |
2879 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" | 3689 | "\x0D\x70\x86\x5A\x44\xAD\x85\x17" |
2880 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" | 3690 | "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC" |
2881 | "\x3D\xA7\xE9", | 3691 | "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE" |
2882 | .ilen = 43, | 3692 | "\x99\x38\x07\xCA\x1D\x21\xC1\x11" |
3693 | "\x97\xEB\x98\x75\xC4\x73\x45\x83" | ||
3694 | "\x46\x1C\x9C\x91\x87\xC1\xA0\x56" | ||
3695 | "\x98\xA1\x8B\xDB\x22\x76\xBD\x62" | ||
3696 | "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13" | ||
3697 | "\x13\xD2\x96\x68\x69\x10\x67\x0C" | ||
3698 | "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93" | ||
3699 | "\xA6\x82\x20\xCF\x0F\xA6\x47\x79" | ||
3700 | "\x88\x09\x40\x59\xBD\x12\x64\xB5" | ||
3701 | "\x19\x38\x0D\xFF\x86\xD9\x42\x20" | ||
3702 | "\x81\x0D\x96\x99\xAF\x22\x1F\x94" | ||
3703 | "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09" | ||
3704 | "\x43\x19\x7F\xD0\xBB\x10\xC2\x49" | ||
3705 | "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3" | ||
3706 | "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04" | ||
3707 | "\xFD\x29\x1A\xAC\xC0\x92\x48\x34" | ||
3708 | "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A" | ||
3709 | "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01" | ||
3710 | "\x03\x6A\x45\xDD\x07\x71\x5F\x5B" | ||
3711 | "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC" | ||
3712 | "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28" | ||
3713 | "\xE3\x05\xD2\x94\x78\x4C\x33\x1B" | ||
3714 | "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86" | ||
3715 | "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC" | ||
3716 | "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F" | ||
3717 | "\x60\x51\x14\x65\xF9\x91\xE9\xDA" | ||
3718 | "\x9A\xBC\xFC\x19\x29\x67\xAA\x63" | ||
3719 | "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4" | ||
3720 | "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0" | ||
3721 | "\xED\x52\xAE\x90\x8F\x5B\x98\x34" | ||
3722 | "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6" | ||
3723 | "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02" | ||
3724 | "\xC1\x90\xA4\x72\x31\x6B\x24\x51" | ||
3725 | "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D" | ||
3726 | "\x41\xE0\x37\x6D\xBE\x41\x58\xDE" | ||
3727 | "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F" | ||
3728 | "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2" | ||
3729 | "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86" | ||
3730 | "\x82\x63\x11\xB3\x54\x49\x00\x08" | ||
3731 | "\x07\xF2\xE8\x1F\x34\x49\x61\xF4" | ||
3732 | "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F" | ||
3733 | "\x66\x99\x08\x06\xF2\xE8\x2D\xD1" | ||
3734 | "\xD0\x67\xBA\x32\x1F\x02\x86\x7B" | ||
3735 | "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF" | ||
3736 | "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B" | ||
3737 | "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE" | ||
3738 | "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC" | ||
3739 | "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA" | ||
3740 | "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5" | ||
3741 | "\x91\x04\x94\x99\x03\x3B\x42\x6D" | ||
3742 | "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8" | ||
3743 | "\x5C\x97\x2E\x4D\x79\x67\x71\xAF" | ||
3744 | "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E" | ||
3745 | "\x23\x8D\xD6\xA6\x68\x10\x78\x9A" | ||
3746 | "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5" | ||
3747 | "\x32\x44\x96\x1C\xD8\xEB\x95\xD2" | ||
3748 | "\xF3\x71\xEF\xEB\x4E\xBB\x4D", | ||
3749 | .ilen = 503, | ||
2883 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 3750 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
2884 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 3751 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
2885 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 3752 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
2886 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" | 3753 | "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87" |
2887 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" | 3754 | "\x1E\x92\x29\xC0\x34\xCB\x62\xF9" |
2888 | "\x6D\x04\x9B", | 3755 | "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48" |
2889 | .rlen = 43, | 3756 | "\xDF\x76\x0D\x81\x18\xAF\x23\xBA" |
3757 | "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C" | ||
3758 | "\xC3\x37\xCE\x65\xFC\x70\x07\x9E" | ||
3759 | "\x12\xA9\x40\xD7\x4B\xE2\x79\x10" | ||
3760 | "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F" | ||
3761 | "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1" | ||
3762 | "\x68\xFF\x73\x0A\xA1\x15\xAC\x43" | ||
3763 | "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5" | ||
3764 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | ||
3765 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | ||
3766 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | ||
3767 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | ||
3768 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" | ||
3769 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
3770 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
3771 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
3772 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
3773 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
3774 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
3775 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
3776 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
3777 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
3778 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
3779 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
3780 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
3781 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
3782 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
3783 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
3784 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
3785 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
3786 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
3787 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
3788 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
3789 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
3790 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
3791 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
3792 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
3793 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
3794 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
3795 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
3796 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
3797 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
3798 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
3799 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
3800 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
3801 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
3802 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
3803 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
3804 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
3805 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
3806 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
3807 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
3808 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
3809 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
3810 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
3811 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
3812 | "\x2B\xC2\x59\xF0\x64\xFB\x92", | ||
3813 | .rlen = 503, | ||
2890 | .also_non_np = 1, | 3814 | .also_non_np = 1, |
2891 | .np = 2, | 3815 | .np = 2, |
2892 | .tap = { 43 - 8, 8 }, | 3816 | .tap = { 503 - 8, 8 }, |
2893 | }, { /* Generated with Crypto++ */ | 3817 | }, { /* Generated with Crypto++ */ |
2894 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 3818 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
2895 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 3819 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |