diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-02 17:53:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-02 17:53:12 -0400 |
commit | 797994f81a8b2bdca2eecffa415c1e7a89a4f961 (patch) | |
tree | 1383dc469c26ad37fdf960f682d9a48c782935c5 /crypto/testmgr.h | |
parent | c8d8566952fda026966784a62f324c8352f77430 (diff) | |
parent | 3862de1f6c442d53bd828d39f86d07d933a70605 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto update from Herbert Xu:
- XTS mode optimisation for twofish/cast6/camellia/aes on x86
- AVX2/x86_64 implementation for blowfish/twofish/serpent/camellia
- SSSE3/AVX/AVX2 optimisations for sha256/sha512
- Added driver for SAHARA2 crypto accelerator
- Fix for GMAC when used in non-IPsec secnarios
- Added generic CMAC implementation (including IPsec glue)
- IP update for crypto/atmel
- Support for more than one device in hwrng/timeriomem
- Added Broadcom BCM2835 RNG driver
- Misc fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (59 commits)
crypto: caam - fix job ring cleanup code
crypto: camellia - add AVX2/AES-NI/x86_64 assembler implementation of camellia cipher
crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipher
crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher
crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher
crypto: tcrypt - add async cipher speed tests for blowfish
crypto: testmgr - extend camellia test-vectors for camellia-aesni/avx2
crypto: aesni_intel - fix Kconfig problem with CRYPTO_GLUE_HELPER_X86
crypto: aesni_intel - add more optimized XTS mode for x86-64
crypto: x86/camellia-aesni-avx - add more optimized XTS code
crypto: cast6-avx: use new optimized XTS code
crypto: x86/twofish-avx - use optimized XTS code
crypto: x86 - add more optimized XTS-mode for serpent-avx
xfrm: add rfc4494 AES-CMAC-96 support
crypto: add CMAC support to CryptoAPI
crypto: testmgr - add empty test vectors for null ciphers
crypto: testmgr - add AES GMAC test vectors
crypto: gcm - fix rfc4543 to handle async crypto correctly
crypto: gcm - make GMAC work when dst and src are different
hwrng: timeriomem - added devicetree hooks
...
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r-- | crypto/testmgr.h | 1314 |
1 files changed, 1276 insertions, 38 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index 3db1b7591559..1e701bc075b9 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -1639,6 +1639,131 @@ static struct hash_testvec hmac_sha256_tv_template[] = { | |||
1639 | }, | 1639 | }, |
1640 | }; | 1640 | }; |
1641 | 1641 | ||
1642 | #define CMAC_AES_TEST_VECTORS 6 | ||
1643 | |||
1644 | static struct hash_testvec aes_cmac128_tv_template[] = { | ||
1645 | { /* From NIST Special Publication 800-38B, AES-128 */ | ||
1646 | .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6" | ||
1647 | "\xab\xf7\x15\x88\x09\xcf\x4f\x3c", | ||
1648 | .plaintext = zeroed_string, | ||
1649 | .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28" | ||
1650 | "\x7f\xa3\x7d\x12\x9b\x75\x67\x46", | ||
1651 | .psize = 0, | ||
1652 | .ksize = 16, | ||
1653 | }, { | ||
1654 | .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6" | ||
1655 | "\xab\xf7\x15\x88\x09\xcf\x4f\x3c", | ||
1656 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1657 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a", | ||
1658 | .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44" | ||
1659 | "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c", | ||
1660 | .psize = 16, | ||
1661 | .ksize = 16, | ||
1662 | }, { | ||
1663 | .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6" | ||
1664 | "\xab\xf7\x15\x88\x09\xcf\x4f\x3c", | ||
1665 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1666 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" | ||
1667 | "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" | ||
1668 | "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" | ||
1669 | "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11", | ||
1670 | .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30" | ||
1671 | "\x30\xca\x32\x61\x14\x97\xc8\x27", | ||
1672 | .psize = 40, | ||
1673 | .ksize = 16, | ||
1674 | }, { | ||
1675 | .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6" | ||
1676 | "\xab\xf7\x15\x88\x09\xcf\x4f\x3c", | ||
1677 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1678 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" | ||
1679 | "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" | ||
1680 | "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" | ||
1681 | "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11" | ||
1682 | "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" | ||
1683 | "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" | ||
1684 | "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", | ||
1685 | .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92" | ||
1686 | "\xfc\x49\x74\x17\x79\x36\x3c\xfe", | ||
1687 | .psize = 64, | ||
1688 | .ksize = 16, | ||
1689 | }, { /* From NIST Special Publication 800-38B, AES-256 */ | ||
1690 | .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe" | ||
1691 | "\x2b\x73\xae\xf0\x85\x7d\x77\x81" | ||
1692 | "\x1f\x35\x2c\x07\x3b\x61\x08\xd7" | ||
1693 | "\x2d\x98\x10\xa3\x09\x14\xdf\xf4", | ||
1694 | .plaintext = zeroed_string, | ||
1695 | .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e" | ||
1696 | "\xfc\x6b\x55\x1f\x46\x67\xd9\x83", | ||
1697 | .psize = 0, | ||
1698 | .ksize = 32, | ||
1699 | }, { | ||
1700 | .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe" | ||
1701 | "\x2b\x73\xae\xf0\x85\x7d\x77\x81" | ||
1702 | "\x1f\x35\x2c\x07\x3b\x61\x08\xd7" | ||
1703 | "\x2d\x98\x10\xa3\x09\x14\xdf\xf4", | ||
1704 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1705 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" | ||
1706 | "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" | ||
1707 | "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" | ||
1708 | "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11" | ||
1709 | "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" | ||
1710 | "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" | ||
1711 | "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", | ||
1712 | .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5" | ||
1713 | "\x69\x6a\x2c\x05\x6c\x31\x54\x10", | ||
1714 | .psize = 64, | ||
1715 | .ksize = 32, | ||
1716 | } | ||
1717 | }; | ||
1718 | |||
1719 | #define CMAC_DES3_EDE_TEST_VECTORS 4 | ||
1720 | |||
1721 | static struct hash_testvec des3_ede_cmac64_tv_template[] = { | ||
1722 | /* | ||
1723 | * From NIST Special Publication 800-38B, Three Key TDEA | ||
1724 | * Corrected test vectors from: | ||
1725 | * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf | ||
1726 | */ | ||
1727 | { | ||
1728 | .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62" | ||
1729 | "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58" | ||
1730 | "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5", | ||
1731 | .plaintext = zeroed_string, | ||
1732 | .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95", | ||
1733 | .psize = 0, | ||
1734 | .ksize = 24, | ||
1735 | }, { | ||
1736 | .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62" | ||
1737 | "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58" | ||
1738 | "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5", | ||
1739 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96", | ||
1740 | .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97", | ||
1741 | .psize = 8, | ||
1742 | .ksize = 24, | ||
1743 | }, { | ||
1744 | .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62" | ||
1745 | "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58" | ||
1746 | "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5", | ||
1747 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1748 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" | ||
1749 | "\xae\x2d\x8a\x57", | ||
1750 | .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed", | ||
1751 | .psize = 20, | ||
1752 | .ksize = 24, | ||
1753 | }, { | ||
1754 | .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62" | ||
1755 | "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58" | ||
1756 | "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5", | ||
1757 | .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" | ||
1758 | "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" | ||
1759 | "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" | ||
1760 | "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51", | ||
1761 | .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5", | ||
1762 | .psize = 32, | ||
1763 | .ksize = 24, | ||
1764 | } | ||
1765 | }; | ||
1766 | |||
1642 | #define XCBC_AES_TEST_VECTORS 6 | 1767 | #define XCBC_AES_TEST_VECTORS 6 |
1643 | 1768 | ||
1644 | static struct hash_testvec aes_xcbc128_tv_template[] = { | 1769 | static struct hash_testvec aes_xcbc128_tv_template[] = { |
@@ -12680,6 +12805,8 @@ static struct cipher_testvec cast6_xts_dec_tv_template[] = { | |||
12680 | #define AES_GCM_DEC_TEST_VECTORS 8 | 12805 | #define AES_GCM_DEC_TEST_VECTORS 8 |
12681 | #define AES_GCM_4106_ENC_TEST_VECTORS 7 | 12806 | #define AES_GCM_4106_ENC_TEST_VECTORS 7 |
12682 | #define AES_GCM_4106_DEC_TEST_VECTORS 7 | 12807 | #define AES_GCM_4106_DEC_TEST_VECTORS 7 |
12808 | #define AES_GCM_4543_ENC_TEST_VECTORS 1 | ||
12809 | #define AES_GCM_4543_DEC_TEST_VECTORS 2 | ||
12683 | #define AES_CCM_ENC_TEST_VECTORS 7 | 12810 | #define AES_CCM_ENC_TEST_VECTORS 7 |
12684 | #define AES_CCM_DEC_TEST_VECTORS 7 | 12811 | #define AES_CCM_DEC_TEST_VECTORS 7 |
12685 | #define AES_CCM_4309_ENC_TEST_VECTORS 7 | 12812 | #define AES_CCM_4309_ENC_TEST_VECTORS 7 |
@@ -18193,6 +18320,93 @@ static struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = { | |||
18193 | } | 18320 | } |
18194 | }; | 18321 | }; |
18195 | 18322 | ||
18323 | static struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = { | ||
18324 | { /* From draft-mcgrew-gcm-test-01 */ | ||
18325 | .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda" | ||
18326 | "\x90\x6a\xc7\x3c\x36\x13\xa6\x34" | ||
18327 | "\x22\x43\x3c\x64", | ||
18328 | .klen = 20, | ||
18329 | .iv = zeroed_string, | ||
18330 | .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07", | ||
18331 | .alen = 8, | ||
18332 | .input = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18333 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18334 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18335 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18336 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18337 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18338 | "\x01\x02\x02\x01", | ||
18339 | .ilen = 52, | ||
18340 | .result = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18341 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18342 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18343 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18344 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18345 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18346 | "\x01\x02\x02\x01\xf2\xa9\xa8\x36" | ||
18347 | "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18" | ||
18348 | "\xe4\x09\x9a\xaa", | ||
18349 | .rlen = 68, | ||
18350 | } | ||
18351 | }; | ||
18352 | |||
18353 | static struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = { | ||
18354 | { /* From draft-mcgrew-gcm-test-01 */ | ||
18355 | .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda" | ||
18356 | "\x90\x6a\xc7\x3c\x36\x13\xa6\x34" | ||
18357 | "\x22\x43\x3c\x64", | ||
18358 | .klen = 20, | ||
18359 | .iv = zeroed_string, | ||
18360 | .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07", | ||
18361 | .alen = 8, | ||
18362 | .input = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18363 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18364 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18365 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18366 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18367 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18368 | "\x01\x02\x02\x01\xf2\xa9\xa8\x36" | ||
18369 | "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18" | ||
18370 | "\xe4\x09\x9a\xaa", | ||
18371 | .ilen = 68, | ||
18372 | .result = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18373 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18374 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18375 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18376 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18377 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18378 | "\x01\x02\x02\x01", | ||
18379 | .rlen = 52, | ||
18380 | }, { /* nearly same as previous, but should fail */ | ||
18381 | .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda" | ||
18382 | "\x90\x6a\xc7\x3c\x36\x13\xa6\x34" | ||
18383 | "\x22\x43\x3c\x64", | ||
18384 | .klen = 20, | ||
18385 | .iv = zeroed_string, | ||
18386 | .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07", | ||
18387 | .alen = 8, | ||
18388 | .input = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18389 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18390 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18391 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18392 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18393 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18394 | "\x01\x02\x02\x01\xf2\xa9\xa8\x36" | ||
18395 | "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18" | ||
18396 | "\x00\x00\x00\x00", | ||
18397 | .ilen = 68, | ||
18398 | .novrfy = 1, | ||
18399 | .result = "\x45\x00\x00\x30\xda\x3a\x00\x00" | ||
18400 | "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" | ||
18401 | "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" | ||
18402 | "\x02\x00\x07\x00\x61\x62\x63\x64" | ||
18403 | "\x65\x66\x67\x68\x69\x6a\x6b\x6c" | ||
18404 | "\x6d\x6e\x6f\x70\x71\x72\x73\x74" | ||
18405 | "\x01\x02\x02\x01", | ||
18406 | .rlen = 52, | ||
18407 | }, | ||
18408 | }; | ||
18409 | |||
18196 | static struct aead_testvec aes_ccm_enc_tv_template[] = { | 18410 | static struct aead_testvec aes_ccm_enc_tv_template[] = { |
18197 | { /* From RFC 3610 */ | 18411 | { /* From RFC 3610 */ |
18198 | .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" | 18412 | .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" |
@@ -20783,8 +20997,72 @@ static struct cipher_testvec camellia_enc_tv_template[] = { | |||
20783 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 20997 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
20784 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 20998 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
20785 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 20999 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
20786 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 21000 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
20787 | .ilen = 496, | 21001 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
21002 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
21003 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
21004 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
21005 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
21006 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
21007 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
21008 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
21009 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
21010 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
21011 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
21012 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
21013 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
21014 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
21015 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
21016 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
21017 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
21018 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
21019 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
21020 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
21021 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
21022 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
21023 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
21024 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
21025 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
21026 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
21027 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
21028 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
21029 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
21030 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
21031 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
21032 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
21033 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
21034 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
21035 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
21036 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
21037 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
21038 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
21039 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
21040 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
21041 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
21042 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
21043 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
21044 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
21045 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
21046 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
21047 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
21048 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
21049 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
21050 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
21051 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
21052 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
21053 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
21054 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
21055 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
21056 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
21057 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
21058 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
21059 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
21060 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
21061 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
21062 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
21063 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
21064 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
21065 | .ilen = 1008, | ||
20788 | .result = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA" | 21066 | .result = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA" |
20789 | "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7" | 21067 | "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7" |
20790 | "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04" | 21068 | "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04" |
@@ -20846,11 +21124,75 @@ static struct cipher_testvec camellia_enc_tv_template[] = { | |||
20846 | "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3" | 21124 | "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3" |
20847 | "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44" | 21125 | "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44" |
20848 | "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4" | 21126 | "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4" |
20849 | "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB", | 21127 | "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB" |
20850 | .rlen = 496, | 21128 | "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD" |
21129 | "\xF7\x90\x68\xCF\xC9\x11\x52\x3E" | ||
21130 | "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A" | ||
21131 | "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E" | ||
21132 | "\xED\x28\x39\xE9\x63\xED\x41\x70" | ||
21133 | "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB" | ||
21134 | "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60" | ||
21135 | "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B" | ||
21136 | "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5" | ||
21137 | "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E" | ||
21138 | "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23" | ||
21139 | "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9" | ||
21140 | "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7" | ||
21141 | "\xCA\xA8\xA2\x9E\x13\x87\x57\x92" | ||
21142 | "\x64\x7C\x85\x0B\xB3\x29\x37\xD8" | ||
21143 | "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF" | ||
21144 | "\x2E\x45\x83\xB6\xD8\x54\x00\x89" | ||
21145 | "\xF6\xBC\x3A\x7A\x88\x58\x51\xED" | ||
21146 | "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42" | ||
21147 | "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC" | ||
21148 | "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1" | ||
21149 | "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91" | ||
21150 | "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E" | ||
21151 | "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15" | ||
21152 | "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86" | ||
21153 | "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4" | ||
21154 | "\x7F\x95\x10\xF7\xAB\x3F\x92\x23" | ||
21155 | "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43" | ||
21156 | "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2" | ||
21157 | "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56" | ||
21158 | "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4" | ||
21159 | "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F" | ||
21160 | "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4" | ||
21161 | "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2" | ||
21162 | "\x39\x25\x55\x20\x5A\xA6\x02\x9F" | ||
21163 | "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B" | ||
21164 | "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF" | ||
21165 | "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E" | ||
21166 | "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78" | ||
21167 | "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA" | ||
21168 | "\xED\x87\x98\xAC\xFE\x48\x97\x6D" | ||
21169 | "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14" | ||
21170 | "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C" | ||
21171 | "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55" | ||
21172 | "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55" | ||
21173 | "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C" | ||
21174 | "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC" | ||
21175 | "\xF0\x33\x52\x29\x70\xF9\x5C\xE9" | ||
21176 | "\xAC\x1F\xB5\x73\x56\x66\x54\xAF" | ||
21177 | "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3" | ||
21178 | "\xAE\x47\xB6\x69\x86\xE9\x01\x31" | ||
21179 | "\x83\x18\x3D\xF4\x74\x7B\xF9\x42" | ||
21180 | "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6" | ||
21181 | "\x2B\x20\x63\xDA\x49\x65\x5E\x8B" | ||
21182 | "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34" | ||
21183 | "\xD3\x52\xFC\x68\x00\x43\x1B\x37" | ||
21184 | "\x31\x93\x51\x1C\x63\x97\x70\xB0" | ||
21185 | "\x99\x78\x83\x13\xFD\xCF\x53\x81" | ||
21186 | "\x36\x46\xB5\x42\x52\x2F\x32\xEB" | ||
21187 | "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC" | ||
21188 | "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A" | ||
21189 | "\xAE\xEF\x3E\x82\x12\x0B\x74\x72" | ||
21190 | "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55" | ||
21191 | "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66", | ||
21192 | .rlen = 1008, | ||
20851 | .also_non_np = 1, | 21193 | .also_non_np = 1, |
20852 | .np = 2, | 21194 | .np = 2, |
20853 | .tap = { 496 - 16, 16 }, | 21195 | .tap = { 1008 - 16, 16 }, |
20854 | }, | 21196 | }, |
20855 | }; | 21197 | }; |
20856 | 21198 | ||
@@ -20955,8 +21297,72 @@ static struct cipher_testvec camellia_dec_tv_template[] = { | |||
20955 | "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3" | 21297 | "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3" |
20956 | "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44" | 21298 | "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44" |
20957 | "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4" | 21299 | "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4" |
20958 | "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB", | 21300 | "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB" |
20959 | .ilen = 496, | 21301 | "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD" |
21302 | "\xF7\x90\x68\xCF\xC9\x11\x52\x3E" | ||
21303 | "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A" | ||
21304 | "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E" | ||
21305 | "\xED\x28\x39\xE9\x63\xED\x41\x70" | ||
21306 | "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB" | ||
21307 | "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60" | ||
21308 | "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B" | ||
21309 | "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5" | ||
21310 | "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E" | ||
21311 | "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23" | ||
21312 | "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9" | ||
21313 | "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7" | ||
21314 | "\xCA\xA8\xA2\x9E\x13\x87\x57\x92" | ||
21315 | "\x64\x7C\x85\x0B\xB3\x29\x37\xD8" | ||
21316 | "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF" | ||
21317 | "\x2E\x45\x83\xB6\xD8\x54\x00\x89" | ||
21318 | "\xF6\xBC\x3A\x7A\x88\x58\x51\xED" | ||
21319 | "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42" | ||
21320 | "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC" | ||
21321 | "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1" | ||
21322 | "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91" | ||
21323 | "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E" | ||
21324 | "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15" | ||
21325 | "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86" | ||
21326 | "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4" | ||
21327 | "\x7F\x95\x10\xF7\xAB\x3F\x92\x23" | ||
21328 | "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43" | ||
21329 | "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2" | ||
21330 | "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56" | ||
21331 | "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4" | ||
21332 | "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F" | ||
21333 | "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4" | ||
21334 | "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2" | ||
21335 | "\x39\x25\x55\x20\x5A\xA6\x02\x9F" | ||
21336 | "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B" | ||
21337 | "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF" | ||
21338 | "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E" | ||
21339 | "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78" | ||
21340 | "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA" | ||
21341 | "\xED\x87\x98\xAC\xFE\x48\x97\x6D" | ||
21342 | "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14" | ||
21343 | "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C" | ||
21344 | "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55" | ||
21345 | "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55" | ||
21346 | "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C" | ||
21347 | "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC" | ||
21348 | "\xF0\x33\x52\x29\x70\xF9\x5C\xE9" | ||
21349 | "\xAC\x1F\xB5\x73\x56\x66\x54\xAF" | ||
21350 | "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3" | ||
21351 | "\xAE\x47\xB6\x69\x86\xE9\x01\x31" | ||
21352 | "\x83\x18\x3D\xF4\x74\x7B\xF9\x42" | ||
21353 | "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6" | ||
21354 | "\x2B\x20\x63\xDA\x49\x65\x5E\x8B" | ||
21355 | "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34" | ||
21356 | "\xD3\x52\xFC\x68\x00\x43\x1B\x37" | ||
21357 | "\x31\x93\x51\x1C\x63\x97\x70\xB0" | ||
21358 | "\x99\x78\x83\x13\xFD\xCF\x53\x81" | ||
21359 | "\x36\x46\xB5\x42\x52\x2F\x32\xEB" | ||
21360 | "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC" | ||
21361 | "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A" | ||
21362 | "\xAE\xEF\x3E\x82\x12\x0B\x74\x72" | ||
21363 | "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55" | ||
21364 | "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66", | ||
21365 | .ilen = 1008, | ||
20960 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 21366 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
20961 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 21367 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
20962 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 21368 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -21018,11 +21424,75 @@ static struct cipher_testvec camellia_dec_tv_template[] = { | |||
21018 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 21424 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
21019 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 21425 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
21020 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 21426 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
21021 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 21427 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
21022 | .rlen = 496, | 21428 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
21429 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
21430 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
21431 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
21432 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
21433 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
21434 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
21435 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
21436 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
21437 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
21438 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
21439 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
21440 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
21441 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
21442 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
21443 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
21444 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
21445 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
21446 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
21447 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
21448 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
21449 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
21450 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
21451 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
21452 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
21453 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
21454 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
21455 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
21456 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
21457 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
21458 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
21459 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
21460 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
21461 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
21462 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
21463 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
21464 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
21465 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
21466 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
21467 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
21468 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
21469 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
21470 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
21471 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
21472 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
21473 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
21474 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
21475 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
21476 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
21477 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
21478 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
21479 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
21480 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
21481 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
21482 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
21483 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
21484 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
21485 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
21486 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
21487 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
21488 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
21489 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
21490 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
21491 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
21492 | .rlen = 1008, | ||
21023 | .also_non_np = 1, | 21493 | .also_non_np = 1, |
21024 | .np = 2, | 21494 | .np = 2, |
21025 | .tap = { 496 - 16, 16 }, | 21495 | .tap = { 1008 - 16, 16 }, |
21026 | }, | 21496 | }, |
21027 | }; | 21497 | }; |
21028 | 21498 | ||
@@ -21123,8 +21593,72 @@ static struct cipher_testvec camellia_cbc_enc_tv_template[] = { | |||
21123 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 21593 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
21124 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 21594 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
21125 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 21595 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
21126 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 21596 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
21127 | .ilen = 496, | 21597 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
21598 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
21599 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
21600 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
21601 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
21602 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
21603 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
21604 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
21605 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
21606 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
21607 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
21608 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
21609 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
21610 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
21611 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
21612 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
21613 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
21614 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
21615 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
21616 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
21617 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
21618 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
21619 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
21620 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
21621 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
21622 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
21623 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
21624 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
21625 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
21626 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
21627 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
21628 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
21629 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
21630 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
21631 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
21632 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
21633 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
21634 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
21635 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
21636 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
21637 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
21638 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
21639 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
21640 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
21641 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
21642 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
21643 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
21644 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
21645 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
21646 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
21647 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
21648 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
21649 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
21650 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
21651 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
21652 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
21653 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
21654 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
21655 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
21656 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
21657 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
21658 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
21659 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
21660 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
21661 | .ilen = 1008, | ||
21128 | .result = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77" | 21662 | .result = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77" |
21129 | "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40" | 21663 | "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40" |
21130 | "\x88\x39\xE3\xFD\x94\x4B\x25\x58" | 21664 | "\x88\x39\xE3\xFD\x94\x4B\x25\x58" |
@@ -21186,11 +21720,75 @@ static struct cipher_testvec camellia_cbc_enc_tv_template[] = { | |||
21186 | "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA" | 21720 | "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA" |
21187 | "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97" | 21721 | "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97" |
21188 | "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36" | 21722 | "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36" |
21189 | "\x5F\x74\x8C\x86\x5B\x71\xD0\x20", | 21723 | "\x5F\x74\x8C\x86\x5B\x71\xD0\x20" |
21190 | .rlen = 496, | 21724 | "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5" |
21725 | "\x21\x41\x56\x72\x13\xE1\x86\x07" | ||
21726 | "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18" | ||
21727 | "\xFE\x94\x2D\x9F\xE0\x72\x18\x65" | ||
21728 | "\xB2\xA5\x63\x48\xB4\x13\x22\xF7" | ||
21729 | "\x25\xF1\x80\xA8\x7F\x54\x86\x7B" | ||
21730 | "\x39\xAE\x95\x0C\x09\x32\x22\x2D" | ||
21731 | "\x4D\x73\x39\x0C\x09\x2C\x7C\x10" | ||
21732 | "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F" | ||
21733 | "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14" | ||
21734 | "\x65\xEE\x93\x54\xD0\x66\x15\x3C" | ||
21735 | "\x4C\x68\xFD\x64\x0F\xF9\x10\x39" | ||
21736 | "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2" | ||
21737 | "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F" | ||
21738 | "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97" | ||
21739 | "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9" | ||
21740 | "\xBE\x31\x31\x96\x8B\x40\x18\x75" | ||
21741 | "\x11\x75\x14\x32\xA5\x2D\x1B\x6B" | ||
21742 | "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4" | ||
21743 | "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6" | ||
21744 | "\x71\xB0\x12\x57\x89\x0D\xC0\x2B" | ||
21745 | "\x9F\x12\x6A\x04\x67\xF1\x95\x31" | ||
21746 | "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC" | ||
21747 | "\x09\xB0\x43\x96\x4A\x64\x80\x40" | ||
21748 | "\xB9\x72\x19\xDD\x70\x42\xFA\xB1" | ||
21749 | "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C" | ||
21750 | "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB" | ||
21751 | "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6" | ||
21752 | "\x33\x0B\xF3\xD5\x01\x38\x74\xA4" | ||
21753 | "\x67\x1E\x75\x68\xC3\xAD\x76\xE9" | ||
21754 | "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A" | ||
21755 | "\x5F\xC9\x18\x94\x4B\x86\x66\xFC" | ||
21756 | "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9" | ||
21757 | "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8" | ||
21758 | "\x43\xBC\x76\x75\xBF\x6C\x05\xB3" | ||
21759 | "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61" | ||
21760 | "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0" | ||
21761 | "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12" | ||
21762 | "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E" | ||
21763 | "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3" | ||
21764 | "\x7B\xDC\xCE\x15\x97\x27\xB2\x65" | ||
21765 | "\xBC\x0E\x47\xAB\x55\x13\x53\xAB" | ||
21766 | "\x0E\x34\x55\x02\x5F\x27\xC5\x89" | ||
21767 | "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE" | ||
21768 | "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C" | ||
21769 | "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8" | ||
21770 | "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2" | ||
21771 | "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6" | ||
21772 | "\x8D\x4D\x83\x9A\xED\x29\x4E\x14" | ||
21773 | "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A" | ||
21774 | "\x72\x22\xD5\x92\x38\xF1\xA1\x86" | ||
21775 | "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3" | ||
21776 | "\x80\x56\xC3\xD7\x65\xE1\xB3\x86" | ||
21777 | "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06" | ||
21778 | "\x01\xED\xF8\x29\x91\x19\x5C\x9A" | ||
21779 | "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F" | ||
21780 | "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72" | ||
21781 | "\x80\xE7\x29\xDC\x23\x55\x98\x54" | ||
21782 | "\xB1\xFF\x3E\x95\x56\xA8\x78\x78" | ||
21783 | "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93" | ||
21784 | "\x30\x6E\x7E\x51\xBB\x42\x5F\x03" | ||
21785 | "\x43\x94\x23\x7E\xEE\xF0\xA5\x79" | ||
21786 | "\x55\x01\xD4\x58\xB2\xF2\x85\x49" | ||
21787 | "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C", | ||
21788 | .rlen = 1008, | ||
21191 | .also_non_np = 1, | 21789 | .also_non_np = 1, |
21192 | .np = 2, | 21790 | .np = 2, |
21193 | .tap = { 496 - 16, 16 }, | 21791 | .tap = { 1008 - 16, 16 }, |
21194 | }, | 21792 | }, |
21195 | }; | 21793 | }; |
21196 | 21794 | ||
@@ -21291,8 +21889,72 @@ static struct cipher_testvec camellia_cbc_dec_tv_template[] = { | |||
21291 | "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA" | 21889 | "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA" |
21292 | "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97" | 21890 | "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97" |
21293 | "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36" | 21891 | "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36" |
21294 | "\x5F\x74\x8C\x86\x5B\x71\xD0\x20", | 21892 | "\x5F\x74\x8C\x86\x5B\x71\xD0\x20" |
21295 | .ilen = 496, | 21893 | "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5" |
21894 | "\x21\x41\x56\x72\x13\xE1\x86\x07" | ||
21895 | "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18" | ||
21896 | "\xFE\x94\x2D\x9F\xE0\x72\x18\x65" | ||
21897 | "\xB2\xA5\x63\x48\xB4\x13\x22\xF7" | ||
21898 | "\x25\xF1\x80\xA8\x7F\x54\x86\x7B" | ||
21899 | "\x39\xAE\x95\x0C\x09\x32\x22\x2D" | ||
21900 | "\x4D\x73\x39\x0C\x09\x2C\x7C\x10" | ||
21901 | "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F" | ||
21902 | "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14" | ||
21903 | "\x65\xEE\x93\x54\xD0\x66\x15\x3C" | ||
21904 | "\x4C\x68\xFD\x64\x0F\xF9\x10\x39" | ||
21905 | "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2" | ||
21906 | "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F" | ||
21907 | "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97" | ||
21908 | "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9" | ||
21909 | "\xBE\x31\x31\x96\x8B\x40\x18\x75" | ||
21910 | "\x11\x75\x14\x32\xA5\x2D\x1B\x6B" | ||
21911 | "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4" | ||
21912 | "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6" | ||
21913 | "\x71\xB0\x12\x57\x89\x0D\xC0\x2B" | ||
21914 | "\x9F\x12\x6A\x04\x67\xF1\x95\x31" | ||
21915 | "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC" | ||
21916 | "\x09\xB0\x43\x96\x4A\x64\x80\x40" | ||
21917 | "\xB9\x72\x19\xDD\x70\x42\xFA\xB1" | ||
21918 | "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C" | ||
21919 | "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB" | ||
21920 | "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6" | ||
21921 | "\x33\x0B\xF3\xD5\x01\x38\x74\xA4" | ||
21922 | "\x67\x1E\x75\x68\xC3\xAD\x76\xE9" | ||
21923 | "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A" | ||
21924 | "\x5F\xC9\x18\x94\x4B\x86\x66\xFC" | ||
21925 | "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9" | ||
21926 | "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8" | ||
21927 | "\x43\xBC\x76\x75\xBF\x6C\x05\xB3" | ||
21928 | "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61" | ||
21929 | "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0" | ||
21930 | "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12" | ||
21931 | "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E" | ||
21932 | "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3" | ||
21933 | "\x7B\xDC\xCE\x15\x97\x27\xB2\x65" | ||
21934 | "\xBC\x0E\x47\xAB\x55\x13\x53\xAB" | ||
21935 | "\x0E\x34\x55\x02\x5F\x27\xC5\x89" | ||
21936 | "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE" | ||
21937 | "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C" | ||
21938 | "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8" | ||
21939 | "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2" | ||
21940 | "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6" | ||
21941 | "\x8D\x4D\x83\x9A\xED\x29\x4E\x14" | ||
21942 | "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A" | ||
21943 | "\x72\x22\xD5\x92\x38\xF1\xA1\x86" | ||
21944 | "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3" | ||
21945 | "\x80\x56\xC3\xD7\x65\xE1\xB3\x86" | ||
21946 | "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06" | ||
21947 | "\x01\xED\xF8\x29\x91\x19\x5C\x9A" | ||
21948 | "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F" | ||
21949 | "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72" | ||
21950 | "\x80\xE7\x29\xDC\x23\x55\x98\x54" | ||
21951 | "\xB1\xFF\x3E\x95\x56\xA8\x78\x78" | ||
21952 | "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93" | ||
21953 | "\x30\x6E\x7E\x51\xBB\x42\x5F\x03" | ||
21954 | "\x43\x94\x23\x7E\xEE\xF0\xA5\x79" | ||
21955 | "\x55\x01\xD4\x58\xB2\xF2\x85\x49" | ||
21956 | "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C", | ||
21957 | .ilen = 1008, | ||
21296 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 21958 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
21297 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 21959 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
21298 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 21960 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -21354,11 +22016,75 @@ static struct cipher_testvec camellia_cbc_dec_tv_template[] = { | |||
21354 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 22016 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
21355 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 22017 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
21356 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 22018 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
21357 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 22019 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
21358 | .rlen = 496, | 22020 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
22021 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
22022 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
22023 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
22024 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
22025 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
22026 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
22027 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
22028 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
22029 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
22030 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
22031 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
22032 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
22033 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
22034 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
22035 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
22036 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
22037 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
22038 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
22039 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
22040 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
22041 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
22042 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
22043 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
22044 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
22045 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
22046 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
22047 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
22048 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
22049 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
22050 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
22051 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
22052 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
22053 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
22054 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
22055 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
22056 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
22057 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
22058 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
22059 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
22060 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
22061 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
22062 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
22063 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
22064 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
22065 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
22066 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
22067 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
22068 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
22069 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
22070 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
22071 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
22072 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
22073 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
22074 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
22075 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
22076 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
22077 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
22078 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
22079 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
22080 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
22081 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
22082 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
22083 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
22084 | .rlen = 1008, | ||
21359 | .also_non_np = 1, | 22085 | .also_non_np = 1, |
21360 | .np = 2, | 22086 | .np = 2, |
21361 | .tap = { 496 - 16, 16 }, | 22087 | .tap = { 1008 - 16, 16 }, |
21362 | }, | 22088 | }, |
21363 | }; | 22089 | }; |
21364 | 22090 | ||
@@ -21567,8 +22293,72 @@ static struct cipher_testvec camellia_ctr_enc_tv_template[] = { | |||
21567 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 22293 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
21568 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 22294 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
21569 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | 22295 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
21570 | "\x2B\xC2\x59", | 22296 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
21571 | .ilen = 499, | 22297 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" |
22298 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
22299 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
22300 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
22301 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
22302 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
22303 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
22304 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
22305 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
22306 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
22307 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
22308 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
22309 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
22310 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
22311 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
22312 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
22313 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
22314 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
22315 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
22316 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
22317 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
22318 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
22319 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
22320 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
22321 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
22322 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
22323 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
22324 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
22325 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
22326 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
22327 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
22328 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
22329 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
22330 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
22331 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
22332 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
22333 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
22334 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
22335 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
22336 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
22337 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
22338 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
22339 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
22340 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
22341 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
22342 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
22343 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
22344 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
22345 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
22346 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
22347 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
22348 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
22349 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
22350 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
22351 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
22352 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
22353 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
22354 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
22355 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
22356 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
22357 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
22358 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
22359 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D" | ||
22360 | "\xE4\x7B\x12", | ||
22361 | .ilen = 1011, | ||
21572 | .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11" | 22362 | .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11" |
21573 | "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE" | 22363 | "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE" |
21574 | "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4" | 22364 | "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4" |
@@ -21631,11 +22421,75 @@ static struct cipher_testvec camellia_ctr_enc_tv_template[] = { | |||
21631 | "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48" | 22421 | "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48" |
21632 | "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0" | 22422 | "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0" |
21633 | "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D" | 22423 | "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D" |
21634 | "\x93\x11\x1C", | 22424 | "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90" |
21635 | .rlen = 499, | 22425 | "\xE5\x41\x4A\xE2\x3C\x45\x29\x35" |
22426 | "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32" | ||
22427 | "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7" | ||
22428 | "\x1D\x8C\x02\x72\x68\x09\xE9\xB6" | ||
22429 | "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4" | ||
22430 | "\x93\x74\xA4\xCE\x20\x23\xBF\x48" | ||
22431 | "\xA5\xDE\x1B\xFA\x40\x69\x31\x98" | ||
22432 | "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5" | ||
22433 | "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA" | ||
22434 | "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4" | ||
22435 | "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F" | ||
22436 | "\xBA\x83\x34\x3C\x42\xCC\x7D\x28" | ||
22437 | "\x29\x63\x4F\xD8\x02\x17\xC5\x07" | ||
22438 | "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09" | ||
22439 | "\x81\x45\x18\xED\xE4\xCB\x42\x3B" | ||
22440 | "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD" | ||
22441 | "\x92\xE5\x02\x97\x96\xCE\xAD\xEC" | ||
22442 | "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC" | ||
22443 | "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E" | ||
22444 | "\xCC\xF8\x5F\xDD\x65\x50\x99\x69" | ||
22445 | "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F" | ||
22446 | "\x05\x93\xB2\xE6\x59\xC8\x28\xFE" | ||
22447 | "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F" | ||
22448 | "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09" | ||
22449 | "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C" | ||
22450 | "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74" | ||
22451 | "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8" | ||
22452 | "\x81\xF5\xD5\x8A\x04\x23\x51\xAC" | ||
22453 | "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B" | ||
22454 | "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA" | ||
22455 | "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB" | ||
22456 | "\x41\x1A\x67\xA6\x40\x82\x70\x8C" | ||
22457 | "\x19\x79\x08\xA4\x51\x20\x7D\xC9" | ||
22458 | "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D" | ||
22459 | "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08" | ||
22460 | "\x00\x70\x12\x56\x56\x50\xAD\x14" | ||
22461 | "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48" | ||
22462 | "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E" | ||
22463 | "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D" | ||
22464 | "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85" | ||
22465 | "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64" | ||
22466 | "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F" | ||
22467 | "\x91\x76\xE8\x15\x66\x34\x9F\xF6" | ||
22468 | "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1" | ||
22469 | "\x38\x46\x47\xC7\x9B\xCA\xE9\x42" | ||
22470 | "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3" | ||
22471 | "\x16\xA0\xED\x42\xBE\xB5\x06\x19" | ||
22472 | "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E" | ||
22473 | "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31" | ||
22474 | "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC" | ||
22475 | "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8" | ||
22476 | "\x94\x5C\x5E\x37\x18\xAD\xED\x8B" | ||
22477 | "\x44\x86\xCA\x5E\x07\xB7\x70\x8D" | ||
22478 | "\x40\x48\x19\x73\x7C\x78\x64\x0B" | ||
22479 | "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1" | ||
22480 | "\x6B\x2C\x84\x10\x45\x42\x2E\xC3" | ||
22481 | "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46" | ||
22482 | "\x74\x28\x9D\x05\x30\x20\x62\x41" | ||
22483 | "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26" | ||
22484 | "\xDF\x58\x51\xED\xFA\xDC\x87\x79" | ||
22485 | "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA" | ||
22486 | "\x45\xE3\x35\x0D\x69\x91\x54\x1C" | ||
22487 | "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C" | ||
22488 | "\xF1\x6B\xD9", | ||
22489 | .rlen = 1011, | ||
21636 | .also_non_np = 1, | 22490 | .also_non_np = 1, |
21637 | .np = 2, | 22491 | .np = 2, |
21638 | .tap = { 499 - 16, 16 }, | 22492 | .tap = { 1011 - 16, 16 }, |
21639 | }, { /* Generated with Crypto++ */ | 22493 | }, { /* Generated with Crypto++ */ |
21640 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 22494 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
21641 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 22495 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -21705,8 +22559,72 @@ static struct cipher_testvec camellia_ctr_enc_tv_template[] = { | |||
21705 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 22559 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
21706 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 22560 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
21707 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 22561 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
21708 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 22562 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
21709 | .ilen = 496, | 22563 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
22564 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
22565 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
22566 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
22567 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
22568 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
22569 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
22570 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
22571 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
22572 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
22573 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
22574 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
22575 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
22576 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
22577 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
22578 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
22579 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
22580 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
22581 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
22582 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
22583 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
22584 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
22585 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
22586 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
22587 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
22588 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
22589 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
22590 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
22591 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
22592 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
22593 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
22594 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
22595 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
22596 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
22597 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
22598 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
22599 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
22600 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
22601 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
22602 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
22603 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
22604 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
22605 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
22606 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
22607 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
22608 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
22609 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
22610 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
22611 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
22612 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
22613 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
22614 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
22615 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
22616 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
22617 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
22618 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
22619 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
22620 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
22621 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
22622 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
22623 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
22624 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
22625 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
22626 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
22627 | .ilen = 1008, | ||
21710 | .result = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9" | 22628 | .result = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9" |
21711 | "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E" | 22629 | "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E" |
21712 | "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB" | 22630 | "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB" |
@@ -21768,8 +22686,72 @@ static struct cipher_testvec camellia_ctr_enc_tv_template[] = { | |||
21768 | "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22" | 22686 | "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22" |
21769 | "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E" | 22687 | "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E" |
21770 | "\x12\xA8\x01\x64\x16\x0B\x26\x5A" | 22688 | "\x12\xA8\x01\x64\x16\x0B\x26\x5A" |
21771 | "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C", | 22689 | "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C" |
21772 | .rlen = 496, | 22690 | "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6" |
22691 | "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3" | ||
22692 | "\x3F\x23\x69\x63\x56\x96\x45\xD6" | ||
22693 | "\x74\x23\x1D\x5C\x63\xCC\xD8\x78" | ||
22694 | "\x16\xE2\x9C\xD2\x80\x02\xF2\x28" | ||
22695 | "\x69\x2F\xC4\xA8\x15\x15\x24\x3B" | ||
22696 | "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1" | ||
22697 | "\x03\x58\x1B\x33\x77\x74\x1F\xB4" | ||
22698 | "\x07\x86\xF2\x21\xB7\x41\xAE\xBF" | ||
22699 | "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4" | ||
22700 | "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D" | ||
22701 | "\xF8\x04\xBB\x6D\x62\x33\x87\x26" | ||
22702 | "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09" | ||
22703 | "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E" | ||
22704 | "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A" | ||
22705 | "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF" | ||
22706 | "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C" | ||
22707 | "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11" | ||
22708 | "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD" | ||
22709 | "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB" | ||
22710 | "\xC3\x14\x84\x72\xFD\x41\xDC\xBD" | ||
22711 | "\x75\xBE\xA8\xE5\x16\x48\x64\x39" | ||
22712 | "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D" | ||
22713 | "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D" | ||
22714 | "\x0B\x29\x10\x15\x0E\x13\x3B\xAC" | ||
22715 | "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02" | ||
22716 | "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21" | ||
22717 | "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0" | ||
22718 | "\xF8\x09\xAF\xE4\x31\x26\x92\x2F" | ||
22719 | "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34" | ||
22720 | "\xBE\x50\xB1\x02\x22\x96\xE3\x40" | ||
22721 | "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0" | ||
22722 | "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B" | ||
22723 | "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36" | ||
22724 | "\xD2\x0A\x32\x06\x97\x34\xB9\xF4" | ||
22725 | "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A" | ||
22726 | "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D" | ||
22727 | "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E" | ||
22728 | "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7" | ||
22729 | "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E" | ||
22730 | "\x2C\x07\xD2\x43\x5F\x57\x93\xCA" | ||
22731 | "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1" | ||
22732 | "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E" | ||
22733 | "\x68\xC6\x47\xB9\x76\xCC\x65\x5F" | ||
22734 | "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37" | ||
22735 | "\x5F\x41\xED\x64\x6C\xAD\x5F\xED" | ||
22736 | "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F" | ||
22737 | "\xC2\xC7\xED\x18\x43\xE1\x20\x86" | ||
22738 | "\x5D\xBC\x30\x70\x22\xA1\xDC\x53" | ||
22739 | "\x10\x3A\x8D\x47\x82\xCD\x7F\x59" | ||
22740 | "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07" | ||
22741 | "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5" | ||
22742 | "\xED\x47\x83\xBC\x5F\x62\x84\xDA" | ||
22743 | "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8" | ||
22744 | "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A" | ||
22745 | "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6" | ||
22746 | "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE" | ||
22747 | "\x37\x9E\x29\xF9\x2A\x18\x73\x0D" | ||
22748 | "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA" | ||
22749 | "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56" | ||
22750 | "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C" | ||
22751 | "\xC5\x9B\x03\x70\x29\x2A\x49\x09" | ||
22752 | "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71" | ||
22753 | "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36", | ||
22754 | .rlen = 1008, | ||
21773 | }, | 22755 | }, |
21774 | }; | 22756 | }; |
21775 | 22757 | ||
@@ -21978,8 +22960,72 @@ static struct cipher_testvec camellia_ctr_dec_tv_template[] = { | |||
21978 | "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48" | 22960 | "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48" |
21979 | "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0" | 22961 | "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0" |
21980 | "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D" | 22962 | "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D" |
21981 | "\x93\x11\x1C", | 22963 | "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90" |
21982 | .ilen = 499, | 22964 | "\xE5\x41\x4A\xE2\x3C\x45\x29\x35" |
22965 | "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32" | ||
22966 | "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7" | ||
22967 | "\x1D\x8C\x02\x72\x68\x09\xE9\xB6" | ||
22968 | "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4" | ||
22969 | "\x93\x74\xA4\xCE\x20\x23\xBF\x48" | ||
22970 | "\xA5\xDE\x1B\xFA\x40\x69\x31\x98" | ||
22971 | "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5" | ||
22972 | "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA" | ||
22973 | "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4" | ||
22974 | "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F" | ||
22975 | "\xBA\x83\x34\x3C\x42\xCC\x7D\x28" | ||
22976 | "\x29\x63\x4F\xD8\x02\x17\xC5\x07" | ||
22977 | "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09" | ||
22978 | "\x81\x45\x18\xED\xE4\xCB\x42\x3B" | ||
22979 | "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD" | ||
22980 | "\x92\xE5\x02\x97\x96\xCE\xAD\xEC" | ||
22981 | "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC" | ||
22982 | "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E" | ||
22983 | "\xCC\xF8\x5F\xDD\x65\x50\x99\x69" | ||
22984 | "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F" | ||
22985 | "\x05\x93\xB2\xE6\x59\xC8\x28\xFE" | ||
22986 | "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F" | ||
22987 | "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09" | ||
22988 | "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C" | ||
22989 | "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74" | ||
22990 | "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8" | ||
22991 | "\x81\xF5\xD5\x8A\x04\x23\x51\xAC" | ||
22992 | "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B" | ||
22993 | "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA" | ||
22994 | "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB" | ||
22995 | "\x41\x1A\x67\xA6\x40\x82\x70\x8C" | ||
22996 | "\x19\x79\x08\xA4\x51\x20\x7D\xC9" | ||
22997 | "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D" | ||
22998 | "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08" | ||
22999 | "\x00\x70\x12\x56\x56\x50\xAD\x14" | ||
23000 | "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48" | ||
23001 | "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E" | ||
23002 | "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D" | ||
23003 | "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85" | ||
23004 | "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64" | ||
23005 | "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F" | ||
23006 | "\x91\x76\xE8\x15\x66\x34\x9F\xF6" | ||
23007 | "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1" | ||
23008 | "\x38\x46\x47\xC7\x9B\xCA\xE9\x42" | ||
23009 | "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3" | ||
23010 | "\x16\xA0\xED\x42\xBE\xB5\x06\x19" | ||
23011 | "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E" | ||
23012 | "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31" | ||
23013 | "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC" | ||
23014 | "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8" | ||
23015 | "\x94\x5C\x5E\x37\x18\xAD\xED\x8B" | ||
23016 | "\x44\x86\xCA\x5E\x07\xB7\x70\x8D" | ||
23017 | "\x40\x48\x19\x73\x7C\x78\x64\x0B" | ||
23018 | "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1" | ||
23019 | "\x6B\x2C\x84\x10\x45\x42\x2E\xC3" | ||
23020 | "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46" | ||
23021 | "\x74\x28\x9D\x05\x30\x20\x62\x41" | ||
23022 | "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26" | ||
23023 | "\xDF\x58\x51\xED\xFA\xDC\x87\x79" | ||
23024 | "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA" | ||
23025 | "\x45\xE3\x35\x0D\x69\x91\x54\x1C" | ||
23026 | "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C" | ||
23027 | "\xF1\x6B\xD9", | ||
23028 | .ilen = 1011, | ||
21983 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 23029 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
21984 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 23030 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
21985 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 23031 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -22042,11 +23088,75 @@ static struct cipher_testvec camellia_ctr_dec_tv_template[] = { | |||
22042 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 23088 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
22043 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 23089 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
22044 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | 23090 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
22045 | "\x2B\xC2\x59", | 23091 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
22046 | .rlen = 499, | 23092 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" |
23093 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
23094 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
23095 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
23096 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
23097 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
23098 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
23099 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
23100 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
23101 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
23102 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
23103 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
23104 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
23105 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
23106 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
23107 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
23108 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
23109 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
23110 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
23111 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
23112 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
23113 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
23114 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
23115 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
23116 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
23117 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
23118 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
23119 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
23120 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
23121 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
23122 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
23123 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
23124 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
23125 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
23126 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
23127 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
23128 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
23129 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
23130 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
23131 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
23132 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
23133 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
23134 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
23135 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
23136 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
23137 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
23138 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
23139 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
23140 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
23141 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
23142 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
23143 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
23144 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
23145 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
23146 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
23147 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
23148 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
23149 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
23150 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
23151 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
23152 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
23153 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
23154 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D" | ||
23155 | "\xE4\x7B\x12", | ||
23156 | .rlen = 1011, | ||
22047 | .also_non_np = 1, | 23157 | .also_non_np = 1, |
22048 | .np = 2, | 23158 | .np = 2, |
22049 | .tap = { 499 - 16, 16 }, | 23159 | .tap = { 1011 - 16, 16 }, |
22050 | }, { /* Generated with Crypto++ */ | 23160 | }, { /* Generated with Crypto++ */ |
22051 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 23161 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
22052 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 23162 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -22116,8 +23226,72 @@ static struct cipher_testvec camellia_ctr_dec_tv_template[] = { | |||
22116 | "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22" | 23226 | "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22" |
22117 | "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E" | 23227 | "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E" |
22118 | "\x12\xA8\x01\x64\x16\x0B\x26\x5A" | 23228 | "\x12\xA8\x01\x64\x16\x0B\x26\x5A" |
22119 | "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C", | 23229 | "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C" |
22120 | .ilen = 496, | 23230 | "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6" |
23231 | "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3" | ||
23232 | "\x3F\x23\x69\x63\x56\x96\x45\xD6" | ||
23233 | "\x74\x23\x1D\x5C\x63\xCC\xD8\x78" | ||
23234 | "\x16\xE2\x9C\xD2\x80\x02\xF2\x28" | ||
23235 | "\x69\x2F\xC4\xA8\x15\x15\x24\x3B" | ||
23236 | "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1" | ||
23237 | "\x03\x58\x1B\x33\x77\x74\x1F\xB4" | ||
23238 | "\x07\x86\xF2\x21\xB7\x41\xAE\xBF" | ||
23239 | "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4" | ||
23240 | "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D" | ||
23241 | "\xF8\x04\xBB\x6D\x62\x33\x87\x26" | ||
23242 | "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09" | ||
23243 | "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E" | ||
23244 | "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A" | ||
23245 | "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF" | ||
23246 | "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C" | ||
23247 | "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11" | ||
23248 | "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD" | ||
23249 | "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB" | ||
23250 | "\xC3\x14\x84\x72\xFD\x41\xDC\xBD" | ||
23251 | "\x75\xBE\xA8\xE5\x16\x48\x64\x39" | ||
23252 | "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D" | ||
23253 | "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D" | ||
23254 | "\x0B\x29\x10\x15\x0E\x13\x3B\xAC" | ||
23255 | "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02" | ||
23256 | "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21" | ||
23257 | "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0" | ||
23258 | "\xF8\x09\xAF\xE4\x31\x26\x92\x2F" | ||
23259 | "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34" | ||
23260 | "\xBE\x50\xB1\x02\x22\x96\xE3\x40" | ||
23261 | "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0" | ||
23262 | "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B" | ||
23263 | "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36" | ||
23264 | "\xD2\x0A\x32\x06\x97\x34\xB9\xF4" | ||
23265 | "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A" | ||
23266 | "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D" | ||
23267 | "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E" | ||
23268 | "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7" | ||
23269 | "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E" | ||
23270 | "\x2C\x07\xD2\x43\x5F\x57\x93\xCA" | ||
23271 | "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1" | ||
23272 | "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E" | ||
23273 | "\x68\xC6\x47\xB9\x76\xCC\x65\x5F" | ||
23274 | "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37" | ||
23275 | "\x5F\x41\xED\x64\x6C\xAD\x5F\xED" | ||
23276 | "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F" | ||
23277 | "\xC2\xC7\xED\x18\x43\xE1\x20\x86" | ||
23278 | "\x5D\xBC\x30\x70\x22\xA1\xDC\x53" | ||
23279 | "\x10\x3A\x8D\x47\x82\xCD\x7F\x59" | ||
23280 | "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07" | ||
23281 | "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5" | ||
23282 | "\xED\x47\x83\xBC\x5F\x62\x84\xDA" | ||
23283 | "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8" | ||
23284 | "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A" | ||
23285 | "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6" | ||
23286 | "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE" | ||
23287 | "\x37\x9E\x29\xF9\x2A\x18\x73\x0D" | ||
23288 | "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA" | ||
23289 | "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56" | ||
23290 | "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C" | ||
23291 | "\xC5\x9B\x03\x70\x29\x2A\x49\x09" | ||
23292 | "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71" | ||
23293 | "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36", | ||
23294 | .ilen = 1008, | ||
22121 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 23295 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
22122 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 23296 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
22123 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 23297 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -22179,8 +23353,72 @@ static struct cipher_testvec camellia_ctr_dec_tv_template[] = { | |||
22179 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | 23353 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" |
22180 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | 23354 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" |
22181 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | 23355 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" |
22182 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | 23356 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" |
22183 | .rlen = 496, | 23357 | "\x2B\xC2\x59\xF0\x64\xFB\x92\x06" |
23358 | "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78" | ||
23359 | "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA" | ||
23360 | "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C" | ||
23361 | "\xF3\x67\xFE\x95\x09\xA0\x37\xCE" | ||
23362 | "\x42\xD9\x70\x07\x7B\x12\xA9\x1D" | ||
23363 | "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F" | ||
23364 | "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01" | ||
23365 | "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73" | ||
23366 | "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5" | ||
23367 | "\x59\xF0\x87\x1E\x92\x29\xC0\x34" | ||
23368 | "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6" | ||
23369 | "\x3D\xD4\x48\xDF\x76\x0D\x81\x18" | ||
23370 | "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A" | ||
23371 | "\x21\x95\x2C\xC3\x37\xCE\x65\xFC" | ||
23372 | "\x70\x07\x9E\x12\xA9\x40\xD7\x4B" | ||
23373 | "\xE2\x79\x10\x84\x1B\xB2\x26\xBD" | ||
23374 | "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F" | ||
23375 | "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1" | ||
23376 | "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13" | ||
23377 | "\x87\x1E\xB5\x29\xC0\x57\xEE\x62" | ||
23378 | "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4" | ||
23379 | "\x6B\x02\x76\x0D\xA4\x18\xAF\x46" | ||
23380 | "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8" | ||
23381 | "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07" | ||
23382 | "\x9E\x35\xCC\x40\xD7\x6E\x05\x79" | ||
23383 | "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB" | ||
23384 | "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D" | ||
23385 | "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF" | ||
23386 | "\x43\xDA\x71\x08\x7C\x13\xAA\x1E" | ||
23387 | "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90" | ||
23388 | "\x27\xBE\x32\xC9\x60\xF7\x6B\x02" | ||
23389 | "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74" | ||
23390 | "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6" | ||
23391 | "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35" | ||
23392 | "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7" | ||
23393 | "\x3E\xD5\x49\xE0\x77\x0E\x82\x19" | ||
23394 | "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B" | ||
23395 | "\x22\x96\x2D\xC4\x38\xCF\x66\xFD" | ||
23396 | "\x71\x08\x9F\x13\xAA\x41\xD8\x4C" | ||
23397 | "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE" | ||
23398 | "\x55\xEC\x60\xF7\x8E\x02\x99\x30" | ||
23399 | "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2" | ||
23400 | "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14" | ||
23401 | "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63" | ||
23402 | "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5" | ||
23403 | "\x6C\x03\x77\x0E\xA5\x19\xB0\x47" | ||
23404 | "\xDE\x52\xE9\x80\x17\x8B\x22\xB9" | ||
23405 | "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08" | ||
23406 | "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A" | ||
23407 | "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC" | ||
23408 | "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E" | ||
23409 | "\xF5\x69\x00\x97\x0B\xA2\x39\xD0" | ||
23410 | "\x44\xDB\x72\x09\x7D\x14\xAB\x1F" | ||
23411 | "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91" | ||
23412 | "\x28\xBF\x33\xCA\x61\xF8\x6C\x03" | ||
23413 | "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75" | ||
23414 | "\x0C\x80\x17\xAE\x22\xB9\x50\xE7" | ||
23415 | "\x5B\xF2\x89\x20\x94\x2B\xC2\x36" | ||
23416 | "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8" | ||
23417 | "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A" | ||
23418 | "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C" | ||
23419 | "\x00\x97\x2E\xC5\x39\xD0\x67\xFE" | ||
23420 | "\x72\x09\xA0\x14\xAB\x42\xD9\x4D", | ||
23421 | .rlen = 1008, | ||
22184 | }, | 23422 | }, |
22185 | }; | 23423 | }; |
22186 | 23424 | ||