diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/testmgr.h | 780 |
1 files changed, 742 insertions, 38 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index 09f9131304f9..fd593d2f948e 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -6763,8 +6763,52 @@ static struct cipher_testvec serpent_enc_tv_template[] = { | |||
6763 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 6763 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
6764 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 6764 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
6765 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 6765 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
6766 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 6766 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
6767 | .ilen = 144, | 6767 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
6768 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
6769 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
6770 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
6771 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
6772 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
6773 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
6774 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
6775 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
6776 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
6777 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
6778 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
6779 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
6780 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
6781 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
6782 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
6783 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
6784 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
6785 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
6786 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
6787 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
6788 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
6789 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
6790 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
6791 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
6792 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
6793 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
6794 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
6795 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
6796 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
6797 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
6798 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
6799 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
6800 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
6801 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
6802 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
6803 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
6804 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
6805 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
6806 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
6807 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
6808 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
6809 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
6810 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
6811 | .ilen = 496, | ||
6768 | .result = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB" | 6812 | .result = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB" |
6769 | "\xB1\x80\x10\x43\xDE\x62\x70\xBD" | 6813 | "\xB1\x80\x10\x43\xDE\x62\x70\xBD" |
6770 | "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7" | 6814 | "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7" |
@@ -6782,11 +6826,55 @@ static struct cipher_testvec serpent_enc_tv_template[] = { | |||
6782 | "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD" | 6826 | "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD" |
6783 | "\x69\xDA\x7A\x01\xF5\x6A\x70\x39" | 6827 | "\x69\xDA\x7A\x01\xF5\x6A\x70\x39" |
6784 | "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39" | 6828 | "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39" |
6785 | "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6", | 6829 | "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6" |
6786 | .rlen = 144, | 6830 | "\xB6\x31\x36\x34\x38\x3C\x1D\x69" |
6831 | "\x9F\x47\x28\x9A\x1D\x96\x70\x54" | ||
6832 | "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A" | ||
6833 | "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A" | ||
6834 | "\x23\x9C\x9B\x79\xC7\x75\xC8\x39" | ||
6835 | "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D" | ||
6836 | "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B" | ||
6837 | "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F" | ||
6838 | "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8" | ||
6839 | "\xEF\x50\x22\x20\x93\x30\xBE\xE2" | ||
6840 | "\x38\x05\x65\xAF\xBA\xB6\xE4\x72" | ||
6841 | "\xA9\xEE\x05\x42\x88\xBD\x9D\x49" | ||
6842 | "\xAD\x93\xCA\x4D\x45\x11\x43\x4D" | ||
6843 | "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4" | ||
6844 | "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD" | ||
6845 | "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6" | ||
6846 | "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69" | ||
6847 | "\x73\x65\x65\x51\xD6\x0B\x4E\x8C" | ||
6848 | "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B" | ||
6849 | "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39" | ||
6850 | "\xE8\x10\x93\x16\xC8\x68\x4C\x60" | ||
6851 | "\x87\x70\x14\xD0\x01\x57\xCB\x42" | ||
6852 | "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7" | ||
6853 | "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE" | ||
6854 | "\xFD\x72\xEC\xD7\x6F\x97\x14\x90" | ||
6855 | "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE" | ||
6856 | "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B" | ||
6857 | "\x71\x80\x05\x35\x3F\x40\x0B\x21" | ||
6858 | "\x76\xE5\xEF\x42\x6C\xDB\x31\x05" | ||
6859 | "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2" | ||
6860 | "\x49\x03\x5E\x77\x2E\x20\xBA\xA1" | ||
6861 | "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E" | ||
6862 | "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F" | ||
6863 | "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6" | ||
6864 | "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1" | ||
6865 | "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00" | ||
6866 | "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF" | ||
6867 | "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45" | ||
6868 | "\x91\x76\xE7\x6E\x65\x3D\x15\x86" | ||
6869 | "\x10\xF8\xDB\x66\x97\x7C\x43\x4D" | ||
6870 | "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A" | ||
6871 | "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02" | ||
6872 | "\x75\x55\x9B\xFF\x36\x73\xAB\x7C" | ||
6873 | "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7", | ||
6874 | .rlen = 496, | ||
6787 | .also_non_np = 1, | 6875 | .also_non_np = 1, |
6788 | .np = 2, | 6876 | .np = 2, |
6789 | .tap = { 144 - 16, 16 }, | 6877 | .tap = { 496 - 16, 16 }, |
6790 | }, | 6878 | }, |
6791 | }; | 6879 | }; |
6792 | 6880 | ||
@@ -6901,8 +6989,52 @@ static struct cipher_testvec serpent_dec_tv_template[] = { | |||
6901 | "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD" | 6989 | "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD" |
6902 | "\x69\xDA\x7A\x01\xF5\x6A\x70\x39" | 6990 | "\x69\xDA\x7A\x01\xF5\x6A\x70\x39" |
6903 | "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39" | 6991 | "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39" |
6904 | "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6", | 6992 | "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6" |
6905 | .ilen = 144, | 6993 | "\xB6\x31\x36\x34\x38\x3C\x1D\x69" |
6994 | "\x9F\x47\x28\x9A\x1D\x96\x70\x54" | ||
6995 | "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A" | ||
6996 | "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A" | ||
6997 | "\x23\x9C\x9B\x79\xC7\x75\xC8\x39" | ||
6998 | "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D" | ||
6999 | "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B" | ||
7000 | "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F" | ||
7001 | "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8" | ||
7002 | "\xEF\x50\x22\x20\x93\x30\xBE\xE2" | ||
7003 | "\x38\x05\x65\xAF\xBA\xB6\xE4\x72" | ||
7004 | "\xA9\xEE\x05\x42\x88\xBD\x9D\x49" | ||
7005 | "\xAD\x93\xCA\x4D\x45\x11\x43\x4D" | ||
7006 | "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4" | ||
7007 | "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD" | ||
7008 | "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6" | ||
7009 | "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69" | ||
7010 | "\x73\x65\x65\x51\xD6\x0B\x4E\x8C" | ||
7011 | "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B" | ||
7012 | "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39" | ||
7013 | "\xE8\x10\x93\x16\xC8\x68\x4C\x60" | ||
7014 | "\x87\x70\x14\xD0\x01\x57\xCB\x42" | ||
7015 | "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7" | ||
7016 | "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE" | ||
7017 | "\xFD\x72\xEC\xD7\x6F\x97\x14\x90" | ||
7018 | "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE" | ||
7019 | "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B" | ||
7020 | "\x71\x80\x05\x35\x3F\x40\x0B\x21" | ||
7021 | "\x76\xE5\xEF\x42\x6C\xDB\x31\x05" | ||
7022 | "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2" | ||
7023 | "\x49\x03\x5E\x77\x2E\x20\xBA\xA1" | ||
7024 | "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E" | ||
7025 | "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F" | ||
7026 | "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6" | ||
7027 | "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1" | ||
7028 | "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00" | ||
7029 | "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF" | ||
7030 | "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45" | ||
7031 | "\x91\x76\xE7\x6E\x65\x3D\x15\x86" | ||
7032 | "\x10\xF8\xDB\x66\x97\x7C\x43\x4D" | ||
7033 | "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A" | ||
7034 | "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02" | ||
7035 | "\x75\x55\x9B\xFF\x36\x73\xAB\x7C" | ||
7036 | "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7", | ||
7037 | .ilen = 496, | ||
6906 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 7038 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
6907 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 7039 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
6908 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 7040 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -6920,11 +7052,55 @@ static struct cipher_testvec serpent_dec_tv_template[] = { | |||
6920 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 7052 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
6921 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7053 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
6922 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7054 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
6923 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 7055 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
6924 | .rlen = 144, | 7056 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7057 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
7058 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7059 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7060 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7061 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7062 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7063 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7064 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7065 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7066 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7067 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7068 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7069 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7070 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7071 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7072 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7073 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7074 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7075 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7076 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7077 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7078 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7079 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7080 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7081 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7082 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7083 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7084 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7085 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7086 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7087 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7088 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7089 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7090 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7091 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7092 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7093 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7094 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7095 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7096 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7097 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7098 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7099 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
7100 | .rlen = 496, | ||
6925 | .also_non_np = 1, | 7101 | .also_non_np = 1, |
6926 | .np = 2, | 7102 | .np = 2, |
6927 | .tap = { 144 - 16, 16 }, | 7103 | .tap = { 496 - 16, 16 }, |
6928 | }, | 7104 | }, |
6929 | }; | 7105 | }; |
6930 | 7106 | ||
@@ -6995,8 +7171,52 @@ static struct cipher_testvec serpent_cbc_enc_tv_template[] = { | |||
6995 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 7171 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
6996 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7172 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
6997 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7173 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
6998 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 7174 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
6999 | .ilen = 144, | 7175 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7176 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
7177 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7178 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7179 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7180 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7181 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7182 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7183 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7184 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7185 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7186 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7187 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7188 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7189 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7190 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7191 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7192 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7193 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7194 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7195 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7196 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7197 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7198 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7199 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7200 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7201 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7202 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7203 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7204 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7205 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7206 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7207 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7208 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7209 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7210 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7211 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7212 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7213 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7214 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7215 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7216 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7217 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7218 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
7219 | .ilen = 496, | ||
7000 | .result = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C" | 7220 | .result = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C" |
7001 | "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E" | 7221 | "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E" |
7002 | "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD" | 7222 | "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD" |
@@ -7014,11 +7234,55 @@ static struct cipher_testvec serpent_cbc_enc_tv_template[] = { | |||
7014 | "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2" | 7234 | "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2" |
7015 | "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB" | 7235 | "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB" |
7016 | "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A" | 7236 | "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A" |
7017 | "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C", | 7237 | "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C" |
7018 | .rlen = 144, | 7238 | "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A" |
7239 | "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC" | ||
7240 | "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97" | ||
7241 | "\x5A\x5E\x7E\x96\x52\x20\xDC\x25" | ||
7242 | "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C" | ||
7243 | "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B" | ||
7244 | "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9" | ||
7245 | "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5" | ||
7246 | "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B" | ||
7247 | "\xA1\xC0\x12\x54\x4E\xC9\x20\x92" | ||
7248 | "\x11\x00\x10\x4E\xB3\x7C\xCA\x63" | ||
7249 | "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7" | ||
7250 | "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D" | ||
7251 | "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7" | ||
7252 | "\x81\x92\x66\x67\x15\x1E\x39\x98" | ||
7253 | "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A" | ||
7254 | "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05" | ||
7255 | "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B" | ||
7256 | "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C" | ||
7257 | "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3" | ||
7258 | "\x96\xC6\x66\x49\xDA\x0D\x71\xAC" | ||
7259 | "\x04\x05\x46\xD3\x90\x0F\x64\x64" | ||
7260 | "\x01\x66\x2C\x62\x5D\x34\xD1\xCB" | ||
7261 | "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97" | ||
7262 | "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D" | ||
7263 | "\x62\xA6\x19\x28\x9E\x26\xB4\x3F" | ||
7264 | "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0" | ||
7265 | "\x7D\xE9\x95\x45\x86\xED\xB1\xE0" | ||
7266 | "\x8D\xE9\xC5\x86\x13\x24\x28\x7D" | ||
7267 | "\x74\xEF\xCA\x50\x12\x7E\x64\x8F" | ||
7268 | "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7" | ||
7269 | "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA" | ||
7270 | "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2" | ||
7271 | "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E" | ||
7272 | "\xE6\x75\x0D\x54\x64\x11\xA3\x3A" | ||
7273 | "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E" | ||
7274 | "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4" | ||
7275 | "\xBA\x23\x2D\x8D\x29\x07\x12\xCF" | ||
7276 | "\x34\xCD\x72\x7F\x01\x30\xE7\xA0" | ||
7277 | "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2" | ||
7278 | "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4" | ||
7279 | "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF" | ||
7280 | "\xFC\x66\xAA\x37\xF2\x37\x39\x6B" | ||
7281 | "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1", | ||
7282 | .rlen = 496, | ||
7019 | .also_non_np = 1, | 7283 | .also_non_np = 1, |
7020 | .np = 2, | 7284 | .np = 2, |
7021 | .tap = { 144 - 16, 16 }, | 7285 | .tap = { 496 - 16, 16 }, |
7022 | }, | 7286 | }, |
7023 | }; | 7287 | }; |
7024 | 7288 | ||
@@ -7048,8 +7312,52 @@ static struct cipher_testvec serpent_cbc_dec_tv_template[] = { | |||
7048 | "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2" | 7312 | "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2" |
7049 | "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB" | 7313 | "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB" |
7050 | "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A" | 7314 | "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A" |
7051 | "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C", | 7315 | "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C" |
7052 | .ilen = 144, | 7316 | "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A" |
7317 | "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC" | ||
7318 | "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97" | ||
7319 | "\x5A\x5E\x7E\x96\x52\x20\xDC\x25" | ||
7320 | "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C" | ||
7321 | "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B" | ||
7322 | "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9" | ||
7323 | "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5" | ||
7324 | "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B" | ||
7325 | "\xA1\xC0\x12\x54\x4E\xC9\x20\x92" | ||
7326 | "\x11\x00\x10\x4E\xB3\x7C\xCA\x63" | ||
7327 | "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7" | ||
7328 | "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D" | ||
7329 | "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7" | ||
7330 | "\x81\x92\x66\x67\x15\x1E\x39\x98" | ||
7331 | "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A" | ||
7332 | "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05" | ||
7333 | "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B" | ||
7334 | "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C" | ||
7335 | "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3" | ||
7336 | "\x96\xC6\x66\x49\xDA\x0D\x71\xAC" | ||
7337 | "\x04\x05\x46\xD3\x90\x0F\x64\x64" | ||
7338 | "\x01\x66\x2C\x62\x5D\x34\xD1\xCB" | ||
7339 | "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97" | ||
7340 | "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D" | ||
7341 | "\x62\xA6\x19\x28\x9E\x26\xB4\x3F" | ||
7342 | "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0" | ||
7343 | "\x7D\xE9\x95\x45\x86\xED\xB1\xE0" | ||
7344 | "\x8D\xE9\xC5\x86\x13\x24\x28\x7D" | ||
7345 | "\x74\xEF\xCA\x50\x12\x7E\x64\x8F" | ||
7346 | "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7" | ||
7347 | "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA" | ||
7348 | "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2" | ||
7349 | "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E" | ||
7350 | "\xE6\x75\x0D\x54\x64\x11\xA3\x3A" | ||
7351 | "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E" | ||
7352 | "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4" | ||
7353 | "\xBA\x23\x2D\x8D\x29\x07\x12\xCF" | ||
7354 | "\x34\xCD\x72\x7F\x01\x30\xE7\xA0" | ||
7355 | "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2" | ||
7356 | "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4" | ||
7357 | "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF" | ||
7358 | "\xFC\x66\xAA\x37\xF2\x37\x39\x6B" | ||
7359 | "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1", | ||
7360 | .ilen = 496, | ||
7053 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 7361 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
7054 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 7362 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
7055 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 7363 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -7067,11 +7375,55 @@ static struct cipher_testvec serpent_cbc_dec_tv_template[] = { | |||
7067 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 7375 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
7068 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7376 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
7069 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7377 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
7070 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 7378 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
7071 | .rlen = 144, | 7379 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7380 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
7381 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7382 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7383 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7384 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7385 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7386 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7387 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7388 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7389 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7390 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7391 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7392 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7393 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7394 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7395 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7396 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7397 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7398 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7399 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7400 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7401 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7402 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7403 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7404 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7405 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7406 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7407 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7408 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7409 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7410 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7411 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7412 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7413 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7414 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7415 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7416 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7417 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7418 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7419 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7420 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7421 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7422 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
7423 | .rlen = 496, | ||
7072 | .also_non_np = 1, | 7424 | .also_non_np = 1, |
7073 | .np = 2, | 7425 | .np = 2, |
7074 | .tap = { 144 - 16, 16 }, | 7426 | .tap = { 496 - 16, 16 }, |
7075 | }, | 7427 | }, |
7076 | }; | 7428 | }; |
7077 | 7429 | ||
@@ -7101,8 +7453,52 @@ static struct cipher_testvec serpent_ctr_enc_tv_template[] = { | |||
7101 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 7453 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
7102 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7454 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
7103 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7455 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
7104 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 7456 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
7105 | .ilen = 144, | 7457 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7458 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
7459 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7460 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7461 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7462 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7463 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7464 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7465 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7466 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7467 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7468 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7469 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7470 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7471 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7472 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7473 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7474 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7475 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7476 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7477 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7478 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7479 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7480 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7481 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7482 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7483 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7484 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7485 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7486 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7487 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7488 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7489 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7490 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7491 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7492 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7493 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7494 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7495 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7496 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7497 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7498 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7499 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7500 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
7501 | .ilen = 496, | ||
7106 | .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA" | 7502 | .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA" |
7107 | "\x37\x69\xE3\x3A\x22\x85\x48\x46" | 7503 | "\x37\x69\xE3\x3A\x22\x85\x48\x46" |
7108 | "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E" | 7504 | "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E" |
@@ -7120,8 +7516,52 @@ static struct cipher_testvec serpent_ctr_enc_tv_template[] = { | |||
7120 | "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5" | 7516 | "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5" |
7121 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" | 7517 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" |
7122 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" | 7518 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" |
7123 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9", | 7519 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" |
7124 | .rlen = 144, | 7520 | "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A" |
7521 | "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86" | ||
7522 | "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C" | ||
7523 | "\xAE\x82\xD3\x73\x31\x09\xCB\xB3" | ||
7524 | "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55" | ||
7525 | "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2" | ||
7526 | "\x8A\xF2\x26\xCD\x63\x38\x35\xF7" | ||
7527 | "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C" | ||
7528 | "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF" | ||
7529 | "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C" | ||
7530 | "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA" | ||
7531 | "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2" | ||
7532 | "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61" | ||
7533 | "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC" | ||
7534 | "\x2E\xE0\x48\x67\x09\x42\xCC\x91" | ||
7535 | "\xBE\x20\x38\xC0\x5E\x3B\x95\x00" | ||
7536 | "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7" | ||
7537 | "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71" | ||
7538 | "\x07\x97\x38\x4B\x5C\x56\x98\x67" | ||
7539 | "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90" | ||
7540 | "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D" | ||
7541 | "\x18\x06\x15\x9D\x5A\x10\x13\x37" | ||
7542 | "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12" | ||
7543 | "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF" | ||
7544 | "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C" | ||
7545 | "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1" | ||
7546 | "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27" | ||
7547 | "\x37\xDC\x35\xF3\x79\x01\x53\xA4" | ||
7548 | "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB" | ||
7549 | "\x9B\x1E\x8C\x07\xA7\x52\x49\x50" | ||
7550 | "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD" | ||
7551 | "\x7A\xC9\x36\xAE\xDE\x21\x48\x64" | ||
7552 | "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C" | ||
7553 | "\x98\x52\xCC\x04\xBD\x5E\x61\x26" | ||
7554 | "\x10\xD3\x21\xD9\x6E\x25\x98\x77" | ||
7555 | "\x8E\x98\x63\xF6\xF6\x52\xFB\x13" | ||
7556 | "\xAA\x30\xF2\xB9\xA4\x43\x53\x39" | ||
7557 | "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43" | ||
7558 | "\xA6\x71\x6B\x66\x8F\x58\x3F\x71" | ||
7559 | "\x90\x47\x40\x92\xE6\x69\xD1\x96" | ||
7560 | "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56" | ||
7561 | "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B" | ||
7562 | "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50" | ||
7563 | "\x40\x53\x77\x8C\x15\xF8\x8D\x13", | ||
7564 | .rlen = 496, | ||
7125 | }, { /* Generated with Crypto++ */ | 7565 | }, { /* Generated with Crypto++ */ |
7126 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 7566 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
7127 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 7567 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -7148,8 +7588,52 @@ static struct cipher_testvec serpent_ctr_enc_tv_template[] = { | |||
7148 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7588 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
7149 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7589 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
7150 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | 7590 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
7151 | "\xF1\x65\xFC", | 7591 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7152 | .ilen = 147, | 7592 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" |
7593 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7594 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7595 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7596 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7597 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7598 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7599 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7600 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7601 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7602 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7603 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7604 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7605 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7606 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7607 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7608 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7609 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7610 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7611 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7612 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7613 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7614 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7615 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7616 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7617 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7618 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7619 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7620 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7621 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7622 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7623 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7624 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7625 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7626 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7627 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7628 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7629 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7630 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7631 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7632 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7633 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7634 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
7635 | "\x2B\xC2\x59", | ||
7636 | .ilen = 499, | ||
7153 | .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA" | 7637 | .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA" |
7154 | "\x37\x69\xE3\x3A\x22\x85\x48\x46" | 7638 | "\x37\x69\xE3\x3A\x22\x85\x48\x46" |
7155 | "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E" | 7639 | "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E" |
@@ -7168,11 +7652,55 @@ static struct cipher_testvec serpent_ctr_enc_tv_template[] = { | |||
7168 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" | 7652 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" |
7169 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" | 7653 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" |
7170 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" | 7654 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" |
7171 | "\xE6\xD0\x97", | 7655 | "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A" |
7172 | .rlen = 147, | 7656 | "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86" |
7657 | "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C" | ||
7658 | "\xAE\x82\xD3\x73\x31\x09\xCB\xB3" | ||
7659 | "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55" | ||
7660 | "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2" | ||
7661 | "\x8A\xF2\x26\xCD\x63\x38\x35\xF7" | ||
7662 | "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C" | ||
7663 | "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF" | ||
7664 | "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C" | ||
7665 | "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA" | ||
7666 | "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2" | ||
7667 | "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61" | ||
7668 | "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC" | ||
7669 | "\x2E\xE0\x48\x67\x09\x42\xCC\x91" | ||
7670 | "\xBE\x20\x38\xC0\x5E\x3B\x95\x00" | ||
7671 | "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7" | ||
7672 | "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71" | ||
7673 | "\x07\x97\x38\x4B\x5C\x56\x98\x67" | ||
7674 | "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90" | ||
7675 | "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D" | ||
7676 | "\x18\x06\x15\x9D\x5A\x10\x13\x37" | ||
7677 | "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12" | ||
7678 | "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF" | ||
7679 | "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C" | ||
7680 | "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1" | ||
7681 | "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27" | ||
7682 | "\x37\xDC\x35\xF3\x79\x01\x53\xA4" | ||
7683 | "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB" | ||
7684 | "\x9B\x1E\x8C\x07\xA7\x52\x49\x50" | ||
7685 | "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD" | ||
7686 | "\x7A\xC9\x36\xAE\xDE\x21\x48\x64" | ||
7687 | "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C" | ||
7688 | "\x98\x52\xCC\x04\xBD\x5E\x61\x26" | ||
7689 | "\x10\xD3\x21\xD9\x6E\x25\x98\x77" | ||
7690 | "\x8E\x98\x63\xF6\xF6\x52\xFB\x13" | ||
7691 | "\xAA\x30\xF2\xB9\xA4\x43\x53\x39" | ||
7692 | "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43" | ||
7693 | "\xA6\x71\x6B\x66\x8F\x58\x3F\x71" | ||
7694 | "\x90\x47\x40\x92\xE6\x69\xD1\x96" | ||
7695 | "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56" | ||
7696 | "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B" | ||
7697 | "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50" | ||
7698 | "\x40\x53\x77\x8C\x15\xF8\x8D\x13" | ||
7699 | "\x38\xE2\xE5", | ||
7700 | .rlen = 499, | ||
7173 | .also_non_np = 1, | 7701 | .also_non_np = 1, |
7174 | .np = 2, | 7702 | .np = 2, |
7175 | .tap = { 147 - 16, 16 }, | 7703 | .tap = { 499 - 16, 16 }, |
7176 | }, { /* Generated with Crypto++ */ | 7704 | }, { /* Generated with Crypto++ */ |
7177 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 7705 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
7178 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 7706 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -7336,8 +7864,52 @@ static struct cipher_testvec serpent_ctr_dec_tv_template[] = { | |||
7336 | "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5" | 7864 | "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5" |
7337 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" | 7865 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" |
7338 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" | 7866 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" |
7339 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9", | 7867 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" |
7340 | .ilen = 144, | 7868 | "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A" |
7869 | "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86" | ||
7870 | "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C" | ||
7871 | "\xAE\x82\xD3\x73\x31\x09\xCB\xB3" | ||
7872 | "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55" | ||
7873 | "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2" | ||
7874 | "\x8A\xF2\x26\xCD\x63\x38\x35\xF7" | ||
7875 | "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C" | ||
7876 | "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF" | ||
7877 | "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C" | ||
7878 | "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA" | ||
7879 | "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2" | ||
7880 | "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61" | ||
7881 | "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC" | ||
7882 | "\x2E\xE0\x48\x67\x09\x42\xCC\x91" | ||
7883 | "\xBE\x20\x38\xC0\x5E\x3B\x95\x00" | ||
7884 | "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7" | ||
7885 | "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71" | ||
7886 | "\x07\x97\x38\x4B\x5C\x56\x98\x67" | ||
7887 | "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90" | ||
7888 | "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D" | ||
7889 | "\x18\x06\x15\x9D\x5A\x10\x13\x37" | ||
7890 | "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12" | ||
7891 | "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF" | ||
7892 | "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C" | ||
7893 | "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1" | ||
7894 | "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27" | ||
7895 | "\x37\xDC\x35\xF3\x79\x01\x53\xA4" | ||
7896 | "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB" | ||
7897 | "\x9B\x1E\x8C\x07\xA7\x52\x49\x50" | ||
7898 | "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD" | ||
7899 | "\x7A\xC9\x36\xAE\xDE\x21\x48\x64" | ||
7900 | "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C" | ||
7901 | "\x98\x52\xCC\x04\xBD\x5E\x61\x26" | ||
7902 | "\x10\xD3\x21\xD9\x6E\x25\x98\x77" | ||
7903 | "\x8E\x98\x63\xF6\xF6\x52\xFB\x13" | ||
7904 | "\xAA\x30\xF2\xB9\xA4\x43\x53\x39" | ||
7905 | "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43" | ||
7906 | "\xA6\x71\x6B\x66\x8F\x58\x3F\x71" | ||
7907 | "\x90\x47\x40\x92\xE6\x69\xD1\x96" | ||
7908 | "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56" | ||
7909 | "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B" | ||
7910 | "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50" | ||
7911 | "\x40\x53\x77\x8C\x15\xF8\x8D\x13", | ||
7912 | .ilen = 496, | ||
7341 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 7913 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
7342 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 7914 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
7343 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 7915 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -7355,8 +7927,52 @@ static struct cipher_testvec serpent_ctr_dec_tv_template[] = { | |||
7355 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" | 7927 | "\x29\xC0\x57\xEE\x62\xF9\x90\x04" |
7356 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 7928 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
7357 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 7929 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
7358 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A", | 7930 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
7359 | .rlen = 144, | 7931 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7932 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" | ||
7933 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
7934 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
7935 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
7936 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
7937 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
7938 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
7939 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
7940 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
7941 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
7942 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
7943 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
7944 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
7945 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
7946 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
7947 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
7948 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
7949 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
7950 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
7951 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
7952 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
7953 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
7954 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
7955 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
7956 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
7957 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
7958 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
7959 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
7960 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
7961 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
7962 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
7963 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
7964 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
7965 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
7966 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
7967 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
7968 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
7969 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
7970 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
7971 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
7972 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
7973 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
7974 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7", | ||
7975 | .rlen = 496, | ||
7360 | }, { /* Generated with Crypto++ */ | 7976 | }, { /* Generated with Crypto++ */ |
7361 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 7977 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
7362 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 7978 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |
@@ -7383,8 +7999,52 @@ static struct cipher_testvec serpent_ctr_dec_tv_template[] = { | |||
7383 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" | 7999 | "\x7C\xB5\x12\x89\xED\xBF\xB6\x09" |
7384 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" | 8000 | "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC" |
7385 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" | 8001 | "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9" |
7386 | "\xE6\xD0\x97", | 8002 | "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A" |
7387 | .ilen = 147, | 8003 | "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86" |
8004 | "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C" | ||
8005 | "\xAE\x82\xD3\x73\x31\x09\xCB\xB3" | ||
8006 | "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55" | ||
8007 | "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2" | ||
8008 | "\x8A\xF2\x26\xCD\x63\x38\x35\xF7" | ||
8009 | "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C" | ||
8010 | "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF" | ||
8011 | "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C" | ||
8012 | "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA" | ||
8013 | "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2" | ||
8014 | "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61" | ||
8015 | "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC" | ||
8016 | "\x2E\xE0\x48\x67\x09\x42\xCC\x91" | ||
8017 | "\xBE\x20\x38\xC0\x5E\x3B\x95\x00" | ||
8018 | "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7" | ||
8019 | "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71" | ||
8020 | "\x07\x97\x38\x4B\x5C\x56\x98\x67" | ||
8021 | "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90" | ||
8022 | "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D" | ||
8023 | "\x18\x06\x15\x9D\x5A\x10\x13\x37" | ||
8024 | "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12" | ||
8025 | "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF" | ||
8026 | "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C" | ||
8027 | "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1" | ||
8028 | "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27" | ||
8029 | "\x37\xDC\x35\xF3\x79\x01\x53\xA4" | ||
8030 | "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB" | ||
8031 | "\x9B\x1E\x8C\x07\xA7\x52\x49\x50" | ||
8032 | "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD" | ||
8033 | "\x7A\xC9\x36\xAE\xDE\x21\x48\x64" | ||
8034 | "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C" | ||
8035 | "\x98\x52\xCC\x04\xBD\x5E\x61\x26" | ||
8036 | "\x10\xD3\x21\xD9\x6E\x25\x98\x77" | ||
8037 | "\x8E\x98\x63\xF6\xF6\x52\xFB\x13" | ||
8038 | "\xAA\x30\xF2\xB9\xA4\x43\x53\x39" | ||
8039 | "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43" | ||
8040 | "\xA6\x71\x6B\x66\x8F\x58\x3F\x71" | ||
8041 | "\x90\x47\x40\x92\xE6\x69\xD1\x96" | ||
8042 | "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56" | ||
8043 | "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B" | ||
8044 | "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50" | ||
8045 | "\x40\x53\x77\x8C\x15\xF8\x8D\x13" | ||
8046 | "\x38\xE2\xE5", | ||
8047 | .ilen = 499, | ||
7388 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" | 8048 | .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31" |
7389 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" | 8049 | "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3" |
7390 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" | 8050 | "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15" |
@@ -7403,11 +8063,55 @@ static struct cipher_testvec serpent_ctr_dec_tv_template[] = { | |||
7403 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" | 8063 | "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76" |
7404 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" | 8064 | "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8" |
7405 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" | 8065 | "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A" |
7406 | "\xF1\x65\xFC", | 8066 | "\xF1\x65\xFC\x93\x07\x9E\x35\xCC" |
7407 | .rlen = 147, | 8067 | "\x40\xD7\x6E\x05\x79\x10\xA7\x1B" |
8068 | "\xB2\x49\xE0\x54\xEB\x82\x19\x8D" | ||
8069 | "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF" | ||
8070 | "\x96\x0A\xA1\x38\xCF\x43\xDA\x71" | ||
8071 | "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3" | ||
8072 | "\x57\xEE\x85\x1C\x90\x27\xBE\x32" | ||
8073 | "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4" | ||
8074 | "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16" | ||
8075 | "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88" | ||
8076 | "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA" | ||
8077 | "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49" | ||
8078 | "\xE0\x77\x0E\x82\x19\xB0\x24\xBB" | ||
8079 | "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D" | ||
8080 | "\xC4\x38\xCF\x66\xFD\x71\x08\x9F" | ||
8081 | "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11" | ||
8082 | "\x85\x1C\xB3\x27\xBE\x55\xEC\x60" | ||
8083 | "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2" | ||
8084 | "\x69\x00\x74\x0B\xA2\x16\xAD\x44" | ||
8085 | "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6" | ||
8086 | "\x2A\xC1\x58\xEF\x63\xFA\x91\x05" | ||
8087 | "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77" | ||
8088 | "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9" | ||
8089 | "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B" | ||
8090 | "\xF2\x66\xFD\x94\x08\x9F\x36\xCD" | ||
8091 | "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C" | ||
8092 | "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E" | ||
8093 | "\x25\xBC\x30\xC7\x5E\xF5\x69\x00" | ||
8094 | "\x97\x0B\xA2\x39\xD0\x44\xDB\x72" | ||
8095 | "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4" | ||
8096 | "\x58\xEF\x86\x1D\x91\x28\xBF\x33" | ||
8097 | "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5" | ||
8098 | "\x3C\xD3\x47\xDE\x75\x0C\x80\x17" | ||
8099 | "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89" | ||
8100 | "\x20\x94\x2B\xC2\x36\xCD\x64\xFB" | ||
8101 | "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A" | ||
8102 | "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC" | ||
8103 | "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E" | ||
8104 | "\xC5\x39\xD0\x67\xFE\x72\x09\xA0" | ||
8105 | "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12" | ||
8106 | "\x86\x1D\xB4\x28\xBF\x56\xED\x61" | ||
8107 | "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3" | ||
8108 | "\x6A\x01\x75\x0C\xA3\x17\xAE\x45" | ||
8109 | "\xDC\x50\xE7\x7E\x15\x89\x20\xB7" | ||
8110 | "\x2B\xC2\x59", | ||
8111 | .rlen = 499, | ||
7408 | .also_non_np = 1, | 8112 | .also_non_np = 1, |
7409 | .np = 2, | 8113 | .np = 2, |
7410 | .tap = { 147 - 16, 16 }, | 8114 | .tap = { 499 - 16, 16 }, |
7411 | }, { /* Generated with Crypto++ */ | 8115 | }, { /* Generated with Crypto++ */ |
7412 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" | 8116 | .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9" |
7413 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" | 8117 | "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A" |