summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/testmgr.h')
-rw-r--r--crypto/testmgr.h7466
1 files changed, 1134 insertions, 6332 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index 8d1c2dfe3bec..95297240b0f1 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -76,23 +76,45 @@ struct cipher_testvec {
76 bool generates_iv; 76 bool generates_iv;
77}; 77};
78 78
79/*
80 * aead_testvec: structure to describe an AEAD test
81 * @key: Pointer to key
82 * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
83 * @ptext: Pointer to plaintext
84 * @assoc: Pointer to associated data
85 * @ctext: Pointer to the full authenticated ciphertext. For AEADs that
86 * produce a separate "ciphertext" and "authentication tag", these
87 * two parts are concatenated: ciphertext || tag.
88 * @tap: How to distribute ptext data in @np SGs
89 * @atap: How to distribute assoc data in @anp SGs
90 * @np: Numbers of SG to distribute ptext data in
91 * @anp: Numbers of SG to distribute assoc data in
92 * @fail: setkey() failure expected?
93 * @novrfy: Decryption verification failure expected?
94 * @wk: Does the test need CRYPTO_TFM_REQ_WEAK_KEY?
95 * (e.g. setkey() needs to fail due to a weak key)
96 * @klen: Length of @key in bytes
97 * @plen: Length of @ptext in bytes
98 * @alen: Length of @assoc in bytes
99 * @clen: Length of @ctext in bytes
100 */
79struct aead_testvec { 101struct aead_testvec {
80 const char *key; 102 const char *key;
81 const char *iv; 103 const char *iv;
82 const char *input; 104 const char *ptext;
83 const char *assoc; 105 const char *assoc;
84 const char *result; 106 const char *ctext;
85 unsigned char tap[MAX_TAP]; 107 unsigned char tap[MAX_TAP];
86 unsigned char atap[MAX_TAP]; 108 unsigned char atap[MAX_TAP];
87 int np; 109 int np;
88 int anp; 110 int anp;
89 bool fail; 111 bool fail;
90 unsigned char novrfy; /* ccm dec verification failure expected */ 112 unsigned char novrfy;
91 unsigned char wk; /* weak key flag */ 113 unsigned char wk;
92 unsigned char klen; 114 unsigned char klen;
93 unsigned short ilen; 115 unsigned short plen;
116 unsigned short clen;
94 unsigned short alen; 117 unsigned short alen;
95 unsigned short rlen;
96}; 118};
97 119
98struct cprng_testvec { 120struct cprng_testvec {
@@ -12898,7 +12920,7 @@ static const struct cipher_testvec aes_cfb_tv_template[] = {
12898 }, 12920 },
12899}; 12921};
12900 12922
12901static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = { 12923static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
12902 { /* Input data from RFC 2410 Case 1 */ 12924 { /* Input data from RFC 2410 Case 1 */
12903#ifdef __LITTLE_ENDIAN 12925#ifdef __LITTLE_ENDIAN
12904 .key = "\x08\x00" /* rta length */ 12926 .key = "\x08\x00" /* rta length */
@@ -12912,12 +12934,12 @@ static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
12912 "\x00\x00\x00\x00\x00\x00\x00\x00", 12934 "\x00\x00\x00\x00\x00\x00\x00\x00",
12913 .klen = 8 + 16 + 0, 12935 .klen = 8 + 16 + 0,
12914 .iv = "", 12936 .iv = "",
12915 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef", 12937 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
12916 .ilen = 8, 12938 .plen = 8,
12917 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef" 12939 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
12918 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a" 12940 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
12919 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae", 12941 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
12920 .rlen = 8 + 16, 12942 .clen = 8 + 16,
12921 }, { /* Input data from RFC 2410 Case 2 */ 12943 }, { /* Input data from RFC 2410 Case 2 */
12922#ifdef __LITTLE_ENDIAN 12944#ifdef __LITTLE_ENDIAN
12923 .key = "\x08\x00" /* rta length */ 12945 .key = "\x08\x00" /* rta length */
@@ -12931,58 +12953,16 @@ static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
12931 "\x00\x00\x00\x00\x00\x00\x00\x00", 12953 "\x00\x00\x00\x00\x00\x00\x00\x00",
12932 .klen = 8 + 16 + 0, 12954 .klen = 8 + 16 + 0,
12933 .iv = "", 12955 .iv = "",
12934 .input = "Network Security People Have A Strange Sense Of Humor", 12956 .ptext = "Network Security People Have A Strange Sense Of Humor",
12935 .ilen = 53, 12957 .plen = 53,
12936 .result = "Network Security People Have A Strange Sense Of Humor" 12958 .ctext = "Network Security People Have A Strange Sense Of Humor"
12937 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
12938 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
12939 .rlen = 53 + 16,
12940 },
12941};
12942
12943static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
12944 {
12945#ifdef __LITTLE_ENDIAN
12946 .key = "\x08\x00" /* rta length */
12947 "\x01\x00" /* rta type */
12948#else
12949 .key = "\x00\x08" /* rta length */
12950 "\x00\x01" /* rta type */
12951#endif
12952 "\x00\x00\x00\x00" /* enc key length */
12953 "\x00\x00\x00\x00\x00\x00\x00\x00"
12954 "\x00\x00\x00\x00\x00\x00\x00\x00",
12955 .klen = 8 + 16 + 0,
12956 .iv = "",
12957 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
12958 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
12959 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
12960 .ilen = 8 + 16,
12961 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
12962 .rlen = 8,
12963 }, {
12964#ifdef __LITTLE_ENDIAN
12965 .key = "\x08\x00" /* rta length */
12966 "\x01\x00" /* rta type */
12967#else
12968 .key = "\x00\x08" /* rta length */
12969 "\x00\x01" /* rta type */
12970#endif
12971 "\x00\x00\x00\x00" /* enc key length */
12972 "\x00\x00\x00\x00\x00\x00\x00\x00"
12973 "\x00\x00\x00\x00\x00\x00\x00\x00",
12974 .klen = 8 + 16 + 0,
12975 .iv = "",
12976 .input = "Network Security People Have A Strange Sense Of Humor"
12977 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a" 12959 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
12978 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23", 12960 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
12979 .ilen = 53 + 16, 12961 .clen = 53 + 16,
12980 .result = "Network Security People Have A Strange Sense Of Humor",
12981 .rlen = 53,
12982 }, 12962 },
12983}; 12963};
12984 12964
12985static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = { 12965static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
12986 { /* RFC 3602 Case 1 */ 12966 { /* RFC 3602 Case 1 */
12987#ifdef __LITTLE_ENDIAN 12967#ifdef __LITTLE_ENDIAN
12988 .key = "\x08\x00" /* rta length */ 12968 .key = "\x08\x00" /* rta length */
@@ -13003,14 +12983,14 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13003 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" 12983 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13004 "\xb4\x22\xda\x80\x2c\x9f\xac\x41", 12984 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13005 .alen = 16, 12985 .alen = 16,
13006 .input = "Single block msg", 12986 .ptext = "Single block msg",
13007 .ilen = 16, 12987 .plen = 16,
13008 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8" 12988 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13009 "\x27\x08\x94\x2d\xbe\x77\x18\x1a" 12989 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13010 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c" 12990 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
13011 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5" 12991 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
13012 "\x03\x71\xa2\x06", 12992 "\x03\x71\xa2\x06",
13013 .rlen = 16 + 20, 12993 .clen = 16 + 20,
13014 }, { /* RFC 3602 Case 2 */ 12994 }, { /* RFC 3602 Case 2 */
13015#ifdef __LITTLE_ENDIAN 12995#ifdef __LITTLE_ENDIAN
13016 .key = "\x08\x00" /* rta length */ 12996 .key = "\x08\x00" /* rta length */
@@ -13031,19 +13011,19 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13031 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" 13011 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13032 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58", 13012 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13033 .alen = 16, 13013 .alen = 16,
13034 .input = "\x00\x01\x02\x03\x04\x05\x06\x07" 13014 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13035 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13015 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13036 "\x10\x11\x12\x13\x14\x15\x16\x17" 13016 "\x10\x11\x12\x13\x14\x15\x16\x17"
13037 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f", 13017 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13038 .ilen = 32, 13018 .plen = 32,
13039 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a" 13019 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13040 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a" 13020 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13041 "\x75\x86\x60\x2d\x25\x3c\xff\xf9" 13021 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13042 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1" 13022 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13043 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae" 13023 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
13044 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58" 13024 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
13045 "\x65\x39\xf8\xde", 13025 "\x65\x39\xf8\xde",
13046 .rlen = 32 + 20, 13026 .clen = 32 + 20,
13047 }, { /* RFC 3602 Case 3 */ 13027 }, { /* RFC 3602 Case 3 */
13048#ifdef __LITTLE_ENDIAN 13028#ifdef __LITTLE_ENDIAN
13049 .key = "\x08\x00" /* rta length */ 13029 .key = "\x08\x00" /* rta length */
@@ -13064,9 +13044,9 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13064 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" 13044 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13065 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81", 13045 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13066 .alen = 16, 13046 .alen = 16,
13067 .input = "This is a 48-byte message (exactly 3 AES blocks)", 13047 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13068 .ilen = 48, 13048 .plen = 48,
13069 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53" 13049 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
13070 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86" 13050 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13071 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7" 13051 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13072 "\x50\x69\x39\x27\x67\x72\xf8\xd5" 13052 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
@@ -13075,7 +13055,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13075 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca" 13055 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
13076 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f" 13056 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
13077 "\x8d\x62\xf2\x1e", 13057 "\x8d\x62\xf2\x1e",
13078 .rlen = 48 + 20, 13058 .clen = 48 + 20,
13079 }, { /* RFC 3602 Case 4 */ 13059 }, { /* RFC 3602 Case 4 */
13080#ifdef __LITTLE_ENDIAN 13060#ifdef __LITTLE_ENDIAN
13081 .key = "\x08\x00" /* rta length */ 13061 .key = "\x08\x00" /* rta length */
@@ -13096,7 +13076,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13096 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" 13076 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13097 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9", 13077 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13098 .alen = 16, 13078 .alen = 16,
13099 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7" 13079 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13100 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf" 13080 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13101 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7" 13081 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13102 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf" 13082 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
@@ -13104,8 +13084,8 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13104 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf" 13084 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13105 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7" 13085 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13106 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf", 13086 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
13107 .ilen = 64, 13087 .plen = 64,
13108 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e" 13088 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
13109 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa" 13089 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13110 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6" 13090 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13111 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e" 13091 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
@@ -13116,7 +13096,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13116 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d" 13096 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
13117 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d" 13097 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
13118 "\x1d\xbe\xc6\xe9", 13098 "\x1d\xbe\xc6\xe9",
13119 .rlen = 64 + 20, 13099 .clen = 64 + 20,
13120 }, { /* RFC 3602 Case 5 */ 13100 }, { /* RFC 3602 Case 5 */
13121#ifdef __LITTLE_ENDIAN 13101#ifdef __LITTLE_ENDIAN
13122 .key = "\x08\x00" /* rta length */ 13102 .key = "\x08\x00" /* rta length */
@@ -13138,7 +13118,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13138 "\xe9\x6e\x8c\x08\xab\x46\x57\x63" 13118 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13139 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93", 13119 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13140 .alen = 24, 13120 .alen = 24,
13141 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00" 13121 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
13142 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00" 13122 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
13143 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13123 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13144 "\x10\x11\x12\x13\x14\x15\x16\x17" 13124 "\x10\x11\x12\x13\x14\x15\x16\x17"
@@ -13148,8 +13128,8 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13148 "\x30\x31\x32\x33\x34\x35\x36\x37" 13128 "\x30\x31\x32\x33\x34\x35\x36\x37"
13149 "\x01\x02\x03\x04\x05\x06\x07\x08" 13129 "\x01\x02\x03\x04\x05\x06\x07\x08"
13150 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01", 13130 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
13151 .ilen = 80, 13131 .plen = 80,
13152 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6" 13132 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
13153 "\xa9\x45\x3e\x19\x4e\x12\x08\x49" 13133 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13154 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65" 13134 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13155 "\x33\x00\x13\xb4\x89\x8d\xc8\x56" 13135 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
@@ -13162,7 +13142,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13162 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c" 13142 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
13163 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8" 13143 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
13164 "\x85\xe1\x59\xf7", 13144 "\x85\xe1\x59\xf7",
13165 .rlen = 80 + 20, 13145 .clen = 80 + 20,
13166 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */ 13146 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13167#ifdef __LITTLE_ENDIAN 13147#ifdef __LITTLE_ENDIAN
13168 .key = "\x08\x00" /* rta length */ 13148 .key = "\x08\x00" /* rta length */
@@ -13184,7 +13164,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13184 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13164 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13185 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13165 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13186 .alen = 16, 13166 .alen = 16,
13187 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13167 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13188 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13168 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13189 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13169 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13190 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13170 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13192,8 +13172,8 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13192 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13172 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13193 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13173 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13194 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13174 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13195 .ilen = 64, 13175 .plen = 64,
13196 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d" 13176 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13197 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8" 13177 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13198 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4" 13178 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13199 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a" 13179 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
@@ -13204,7 +13184,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13204 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4" 13184 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
13205 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36" 13185 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
13206 "\x47\x4c\xfc\x36", 13186 "\x47\x4c\xfc\x36",
13207 .rlen = 64 + 20, 13187 .clen = 64 + 20,
13208 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */ 13188 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13209#ifdef __LITTLE_ENDIAN 13189#ifdef __LITTLE_ENDIAN
13210 .key = "\x08\x00" /* rta length */ 13190 .key = "\x08\x00" /* rta length */
@@ -13227,7 +13207,7 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13227 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13207 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13228 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13208 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13229 .alen = 16, 13209 .alen = 16,
13230 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13210 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13231 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13211 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13232 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13212 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13233 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13213 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13235,8 +13215,8 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13235 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13215 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13236 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13216 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13237 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13217 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13238 .ilen = 64, 13218 .plen = 64,
13239 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba" 13219 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13240 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6" 13220 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13241 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d" 13221 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13242 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d" 13222 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
@@ -13247,11 +13227,11 @@ static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
13247 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde" 13227 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
13248 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87" 13228 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
13249 "\x51\xee\xd6\x4e", 13229 "\x51\xee\xd6\x4e",
13250 .rlen = 64 + 20, 13230 .clen = 64 + 20,
13251 }, 13231 },
13252}; 13232};
13253 13233
13254static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = { 13234static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
13255 { /* Input data from RFC 2410 Case 1 */ 13235 { /* Input data from RFC 2410 Case 1 */
13256#ifdef __LITTLE_ENDIAN 13236#ifdef __LITTLE_ENDIAN
13257 .key = "\x08\x00" /* rta length */ 13237 .key = "\x08\x00" /* rta length */
@@ -13266,13 +13246,13 @@ static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
13266 "\x00\x00\x00\x00", 13246 "\x00\x00\x00\x00",
13267 .klen = 8 + 20 + 0, 13247 .klen = 8 + 20 + 0,
13268 .iv = "", 13248 .iv = "",
13269 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef", 13249 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
13270 .ilen = 8, 13250 .plen = 8,
13271 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef" 13251 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13272 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab" 13252 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
13273 "\x99\x5e\x19\x04\xd1\x72\xef\xb8" 13253 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
13274 "\x8c\x5e\xe4\x08", 13254 "\x8c\x5e\xe4\x08",
13275 .rlen = 8 + 20, 13255 .clen = 8 + 20,
13276 }, { /* Input data from RFC 2410 Case 2 */ 13256 }, { /* Input data from RFC 2410 Case 2 */
13277#ifdef __LITTLE_ENDIAN 13257#ifdef __LITTLE_ENDIAN
13278 .key = "\x08\x00" /* rta length */ 13258 .key = "\x08\x00" /* rta length */
@@ -13287,63 +13267,17 @@ static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
13287 "\x00\x00\x00\x00", 13267 "\x00\x00\x00\x00",
13288 .klen = 8 + 20 + 0, 13268 .klen = 8 + 20 + 0,
13289 .iv = "", 13269 .iv = "",
13290 .input = "Network Security People Have A Strange Sense Of Humor", 13270 .ptext = "Network Security People Have A Strange Sense Of Humor",
13291 .ilen = 53, 13271 .plen = 53,
13292 .result = "Network Security People Have A Strange Sense Of Humor" 13272 .ctext = "Network Security People Have A Strange Sense Of Humor"
13293 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2" 13273 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
13294 "\x65\x47\xee\x8e\x1a\xef\x16\xf6" 13274 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
13295 "\x91\x56\xe4\xd6", 13275 "\x91\x56\xe4\xd6",
13296 .rlen = 53 + 20, 13276 .clen = 53 + 20,
13297 }, 13277 },
13298}; 13278};
13299 13279
13300static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = { 13280static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
13301 {
13302#ifdef __LITTLE_ENDIAN
13303 .key = "\x08\x00" /* rta length */
13304 "\x01\x00" /* rta type */
13305#else
13306 .key = "\x00\x08" /* rta length */
13307 "\x00\x01" /* rta type */
13308#endif
13309 "\x00\x00\x00\x00" /* enc key length */
13310 "\x00\x00\x00\x00\x00\x00\x00\x00"
13311 "\x00\x00\x00\x00\x00\x00\x00\x00"
13312 "\x00\x00\x00\x00",
13313 .klen = 8 + 20 + 0,
13314 .iv = "",
13315 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13316 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
13317 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
13318 "\x8c\x5e\xe4\x08",
13319 .ilen = 8 + 20,
13320 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
13321 .rlen = 8,
13322 }, {
13323#ifdef __LITTLE_ENDIAN
13324 .key = "\x08\x00" /* rta length */
13325 "\x01\x00" /* rta type */
13326#else
13327 .key = "\x00\x08" /* rta length */
13328 "\x00\x01" /* rta type */
13329#endif
13330 "\x00\x00\x00\x00" /* enc key length */
13331 "\x00\x00\x00\x00\x00\x00\x00\x00"
13332 "\x00\x00\x00\x00\x00\x00\x00\x00"
13333 "\x00\x00\x00\x00",
13334 .klen = 8 + 20 + 0,
13335 .iv = "",
13336 .input = "Network Security People Have A Strange Sense Of Humor"
13337 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
13338 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
13339 "\x91\x56\xe4\xd6",
13340 .ilen = 53 + 20,
13341 .result = "Network Security People Have A Strange Sense Of Humor",
13342 .rlen = 53,
13343 },
13344};
13345
13346static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13347 { /* RFC 3602 Case 1 */ 13281 { /* RFC 3602 Case 1 */
13348#ifdef __LITTLE_ENDIAN 13282#ifdef __LITTLE_ENDIAN
13349 .key = "\x08\x00" /* rta length */ 13283 .key = "\x08\x00" /* rta length */
@@ -13365,15 +13299,15 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13365 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" 13299 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13366 "\xb4\x22\xda\x80\x2c\x9f\xac\x41", 13300 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13367 .alen = 16, 13301 .alen = 16,
13368 .input = "Single block msg", 13302 .ptext = "Single block msg",
13369 .ilen = 16, 13303 .plen = 16,
13370 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8" 13304 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13371 "\x27\x08\x94\x2d\xbe\x77\x18\x1a" 13305 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13372 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc" 13306 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
13373 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b" 13307 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
13374 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5" 13308 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
13375 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5", 13309 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
13376 .rlen = 16 + 32, 13310 .clen = 16 + 32,
13377 }, { /* RFC 3602 Case 2 */ 13311 }, { /* RFC 3602 Case 2 */
13378#ifdef __LITTLE_ENDIAN 13312#ifdef __LITTLE_ENDIAN
13379 .key = "\x08\x00" /* rta length */ 13313 .key = "\x08\x00" /* rta length */
@@ -13395,12 +13329,12 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13395 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" 13329 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13396 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58", 13330 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13397 .alen = 16, 13331 .alen = 16,
13398 .input = "\x00\x01\x02\x03\x04\x05\x06\x07" 13332 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13399 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13333 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13400 "\x10\x11\x12\x13\x14\x15\x16\x17" 13334 "\x10\x11\x12\x13\x14\x15\x16\x17"
13401 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f", 13335 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13402 .ilen = 32, 13336 .plen = 32,
13403 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a" 13337 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13404 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a" 13338 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13405 "\x75\x86\x60\x2d\x25\x3c\xff\xf9" 13339 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13406 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1" 13340 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
@@ -13408,7 +13342,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13408 "\x0e\x06\x58\x8f\xba\xf6\x06\xda" 13342 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
13409 "\x49\x69\x0d\x5b\xd4\x36\x06\x62" 13343 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
13410 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf", 13344 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
13411 .rlen = 32 + 32, 13345 .clen = 32 + 32,
13412 }, { /* RFC 3602 Case 3 */ 13346 }, { /* RFC 3602 Case 3 */
13413#ifdef __LITTLE_ENDIAN 13347#ifdef __LITTLE_ENDIAN
13414 .key = "\x08\x00" /* rta length */ 13348 .key = "\x08\x00" /* rta length */
@@ -13430,9 +13364,9 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13430 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" 13364 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13431 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81", 13365 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13432 .alen = 16, 13366 .alen = 16,
13433 .input = "This is a 48-byte message (exactly 3 AES blocks)", 13367 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13434 .ilen = 48, 13368 .plen = 48,
13435 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53" 13369 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
13436 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86" 13370 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13437 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7" 13371 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13438 "\x50\x69\x39\x27\x67\x72\xf8\xd5" 13372 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
@@ -13442,7 +13376,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13442 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d" 13376 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
13443 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40" 13377 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
13444 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a", 13378 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
13445 .rlen = 48 + 32, 13379 .clen = 48 + 32,
13446 }, { /* RFC 3602 Case 4 */ 13380 }, { /* RFC 3602 Case 4 */
13447#ifdef __LITTLE_ENDIAN 13381#ifdef __LITTLE_ENDIAN
13448 .key = "\x08\x00" /* rta length */ 13382 .key = "\x08\x00" /* rta length */
@@ -13464,7 +13398,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13464 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" 13398 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13465 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9", 13399 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13466 .alen = 16, 13400 .alen = 16,
13467 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7" 13401 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13468 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf" 13402 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13469 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7" 13403 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13470 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf" 13404 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
@@ -13472,8 +13406,8 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13472 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf" 13406 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13473 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7" 13407 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13474 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf", 13408 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
13475 .ilen = 64, 13409 .plen = 64,
13476 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e" 13410 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
13477 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa" 13411 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13478 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6" 13412 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13479 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e" 13413 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
@@ -13485,7 +13419,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13485 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8" 13419 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
13486 "\x3f\x54\xe2\x49\x39\xe3\x71\x25" 13420 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
13487 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64", 13421 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
13488 .rlen = 64 + 32, 13422 .clen = 64 + 32,
13489 }, { /* RFC 3602 Case 5 */ 13423 }, { /* RFC 3602 Case 5 */
13490#ifdef __LITTLE_ENDIAN 13424#ifdef __LITTLE_ENDIAN
13491 .key = "\x08\x00" /* rta length */ 13425 .key = "\x08\x00" /* rta length */
@@ -13508,7 +13442,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13508 "\xe9\x6e\x8c\x08\xab\x46\x57\x63" 13442 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13509 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93", 13443 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13510 .alen = 24, 13444 .alen = 24,
13511 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00" 13445 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
13512 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00" 13446 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
13513 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13447 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13514 "\x10\x11\x12\x13\x14\x15\x16\x17" 13448 "\x10\x11\x12\x13\x14\x15\x16\x17"
@@ -13518,8 +13452,8 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13518 "\x30\x31\x32\x33\x34\x35\x36\x37" 13452 "\x30\x31\x32\x33\x34\x35\x36\x37"
13519 "\x01\x02\x03\x04\x05\x06\x07\x08" 13453 "\x01\x02\x03\x04\x05\x06\x07\x08"
13520 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01", 13454 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
13521 .ilen = 80, 13455 .plen = 80,
13522 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6" 13456 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
13523 "\xa9\x45\x3e\x19\x4e\x12\x08\x49" 13457 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13524 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65" 13458 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13525 "\x33\x00\x13\xb4\x89\x8d\xc8\x56" 13459 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
@@ -13533,7 +13467,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13533 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7" 13467 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
13534 "\x73\xc3\x46\x20\x2c\xb1\xef\x68" 13468 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
13535 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf", 13469 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
13536 .rlen = 80 + 32, 13470 .clen = 80 + 32,
13537 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */ 13471 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13538#ifdef __LITTLE_ENDIAN 13472#ifdef __LITTLE_ENDIAN
13539 .key = "\x08\x00" /* rta length */ 13473 .key = "\x08\x00" /* rta length */
@@ -13556,7 +13490,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13556 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13490 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13557 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13491 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13558 .alen = 16, 13492 .alen = 16,
13559 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13493 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13560 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13494 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13561 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13495 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13562 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13496 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13564,8 +13498,8 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13564 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13498 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13565 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13499 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13566 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13500 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13567 .ilen = 64, 13501 .plen = 64,
13568 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d" 13502 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13569 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8" 13503 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13570 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4" 13504 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13571 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a" 13505 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
@@ -13577,7 +13511,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13577 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb" 13511 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
13578 "\xca\x71\x85\x93\xf7\x85\x55\x8b" 13512 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
13579 "\x7a\xe4\x94\xca\x8b\xba\x19\x33", 13513 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
13580 .rlen = 64 + 32, 13514 .clen = 64 + 32,
13581 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */ 13515 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13582#ifdef __LITTLE_ENDIAN 13516#ifdef __LITTLE_ENDIAN
13583 .key = "\x08\x00" /* rta length */ 13517 .key = "\x08\x00" /* rta length */
@@ -13601,7 +13535,7 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13601 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13535 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13602 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13536 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13603 .alen = 16, 13537 .alen = 16,
13604 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13538 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13605 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13539 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13606 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13540 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13607 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13541 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13609,8 +13543,8 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13609 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13543 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13610 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13544 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13611 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13545 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13612 .ilen = 64, 13546 .plen = 64,
13613 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba" 13547 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13614 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6" 13548 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13615 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d" 13549 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13616 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d" 13550 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
@@ -13622,11 +13556,11 @@ static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
13622 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f" 13556 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
13623 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0" 13557 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
13624 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f", 13558 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
13625 .rlen = 64 + 32, 13559 .clen = 64 + 32,
13626 }, 13560 },
13627}; 13561};
13628 13562
13629static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = { 13563static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
13630 { /* RFC 3602 Case 1 */ 13564 { /* RFC 3602 Case 1 */
13631#ifdef __LITTLE_ENDIAN 13565#ifdef __LITTLE_ENDIAN
13632 .key = "\x08\x00" /* rta length */ 13566 .key = "\x08\x00" /* rta length */
@@ -13652,9 +13586,9 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13652 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" 13586 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13653 "\xb4\x22\xda\x80\x2c\x9f\xac\x41", 13587 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13654 .alen = 16, 13588 .alen = 16,
13655 .input = "Single block msg", 13589 .ptext = "Single block msg",
13656 .ilen = 16, 13590 .plen = 16,
13657 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8" 13591 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13658 "\x27\x08\x94\x2d\xbe\x77\x18\x1a" 13592 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13659 "\x3f\xdc\xad\x90\x03\x63\x5e\x68" 13593 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
13660 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7" 13594 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
@@ -13664,7 +13598,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13664 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2" 13598 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
13665 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16" 13599 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
13666 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a", 13600 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
13667 .rlen = 16 + 64, 13601 .clen = 16 + 64,
13668 }, { /* RFC 3602 Case 2 */ 13602 }, { /* RFC 3602 Case 2 */
13669#ifdef __LITTLE_ENDIAN 13603#ifdef __LITTLE_ENDIAN
13670 .key = "\x08\x00" /* rta length */ 13604 .key = "\x08\x00" /* rta length */
@@ -13690,12 +13624,12 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13690 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" 13624 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13691 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58", 13625 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13692 .alen = 16, 13626 .alen = 16,
13693 .input = "\x00\x01\x02\x03\x04\x05\x06\x07" 13627 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13694 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13628 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13695 "\x10\x11\x12\x13\x14\x15\x16\x17" 13629 "\x10\x11\x12\x13\x14\x15\x16\x17"
13696 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f", 13630 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13697 .ilen = 32, 13631 .plen = 32,
13698 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a" 13632 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13699 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a" 13633 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13700 "\x75\x86\x60\x2d\x25\x3c\xff\xf9" 13634 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13701 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1" 13635 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
@@ -13707,7 +13641,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13707 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9" 13641 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
13708 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8" 13642 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
13709 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d", 13643 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
13710 .rlen = 32 + 64, 13644 .clen = 32 + 64,
13711 }, { /* RFC 3602 Case 3 */ 13645 }, { /* RFC 3602 Case 3 */
13712#ifdef __LITTLE_ENDIAN 13646#ifdef __LITTLE_ENDIAN
13713 .key = "\x08\x00" /* rta length */ 13647 .key = "\x08\x00" /* rta length */
@@ -13733,9 +13667,9 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13733 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" 13667 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13734 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81", 13668 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13735 .alen = 16, 13669 .alen = 16,
13736 .input = "This is a 48-byte message (exactly 3 AES blocks)", 13670 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13737 .ilen = 48, 13671 .plen = 48,
13738 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53" 13672 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
13739 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86" 13673 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13740 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7" 13674 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13741 "\x50\x69\x39\x27\x67\x72\xf8\xd5" 13675 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
@@ -13749,7 +13683,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13749 "\x08\xea\x29\x6c\x74\x67\x3f\xb0" 13683 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
13750 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66" 13684 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
13751 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2", 13685 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
13752 .rlen = 48 + 64, 13686 .clen = 48 + 64,
13753 }, { /* RFC 3602 Case 4 */ 13687 }, { /* RFC 3602 Case 4 */
13754#ifdef __LITTLE_ENDIAN 13688#ifdef __LITTLE_ENDIAN
13755 .key = "\x08\x00" /* rta length */ 13689 .key = "\x08\x00" /* rta length */
@@ -13775,7 +13709,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13775 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" 13709 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13776 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9", 13710 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13777 .alen = 16, 13711 .alen = 16,
13778 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7" 13712 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13779 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf" 13713 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13780 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7" 13714 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13781 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf" 13715 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
@@ -13783,8 +13717,8 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13783 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf" 13717 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13784 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7" 13718 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13785 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf", 13719 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
13786 .ilen = 64, 13720 .plen = 64,
13787 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e" 13721 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
13788 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa" 13722 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13789 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6" 13723 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13790 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e" 13724 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
@@ -13800,7 +13734,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13800 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c" 13734 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
13801 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf" 13735 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
13802 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda", 13736 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
13803 .rlen = 64 + 64, 13737 .clen = 64 + 64,
13804 }, { /* RFC 3602 Case 5 */ 13738 }, { /* RFC 3602 Case 5 */
13805#ifdef __LITTLE_ENDIAN 13739#ifdef __LITTLE_ENDIAN
13806 .key = "\x08\x00" /* rta length */ 13740 .key = "\x08\x00" /* rta length */
@@ -13827,7 +13761,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13827 "\xe9\x6e\x8c\x08\xab\x46\x57\x63" 13761 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13828 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93", 13762 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13829 .alen = 24, 13763 .alen = 24,
13830 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00" 13764 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
13831 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00" 13765 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
13832 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 13766 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13833 "\x10\x11\x12\x13\x14\x15\x16\x17" 13767 "\x10\x11\x12\x13\x14\x15\x16\x17"
@@ -13837,8 +13771,8 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13837 "\x30\x31\x32\x33\x34\x35\x36\x37" 13771 "\x30\x31\x32\x33\x34\x35\x36\x37"
13838 "\x01\x02\x03\x04\x05\x06\x07\x08" 13772 "\x01\x02\x03\x04\x05\x06\x07\x08"
13839 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01", 13773 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
13840 .ilen = 80, 13774 .plen = 80,
13841 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6" 13775 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
13842 "\xa9\x45\x3e\x19\x4e\x12\x08\x49" 13776 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13843 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65" 13777 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13844 "\x33\x00\x13\xb4\x89\x8d\xc8\x56" 13778 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
@@ -13856,7 +13790,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13856 "\x92\x26\xc1\x76\x20\x11\xeb\xba" 13790 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
13857 "\x62\x4f\x9a\x62\x25\xc3\x75\x80" 13791 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
13858 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14", 13792 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
13859 .rlen = 80 + 64, 13793 .clen = 80 + 64,
13860 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */ 13794 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13861#ifdef __LITTLE_ENDIAN 13795#ifdef __LITTLE_ENDIAN
13862 .key = "\x08\x00" /* rta length */ 13796 .key = "\x08\x00" /* rta length */
@@ -13883,7 +13817,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13883 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13817 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13884 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13818 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13885 .alen = 16, 13819 .alen = 16,
13886 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13820 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13887 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13821 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13888 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13822 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13889 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13823 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13891,8 +13825,8 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13891 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13825 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13892 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13826 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13893 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13827 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13894 .ilen = 64, 13828 .plen = 64,
13895 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d" 13829 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13896 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8" 13830 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13897 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4" 13831 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13898 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a" 13832 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
@@ -13908,7 +13842,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13908 "\xba\x03\xd5\x32\xfa\x5f\x41\x58" 13842 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
13909 "\x8d\x43\x98\xa7\x94\x16\x07\x02" 13843 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
13910 "\x0f\xb6\x81\x50\x28\x95\x2e\x75", 13844 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
13911 .rlen = 64 + 64, 13845 .clen = 64 + 64,
13912 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */ 13846 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13913#ifdef __LITTLE_ENDIAN 13847#ifdef __LITTLE_ENDIAN
13914 .key = "\x08\x00" /* rta length */ 13848 .key = "\x08\x00" /* rta length */
@@ -13936,7 +13870,7 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13936 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 13870 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13937 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f", 13871 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13938 .alen = 16, 13872 .alen = 16,
13939 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96" 13873 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13940 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 13874 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13941 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c" 13875 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13942 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51" 13876 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
@@ -13944,8 +13878,8 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13944 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef" 13878 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13945 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17" 13879 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13946 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10", 13880 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13947 .ilen = 64, 13881 .plen = 64,
13948 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba" 13882 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13949 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6" 13883 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13950 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d" 13884 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13951 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d" 13885 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
@@ -13961,11 +13895,11 @@ static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
13961 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c" 13895 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
13962 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2" 13896 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
13963 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21", 13897 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
13964 .rlen = 64 + 64, 13898 .clen = 64 + 64,
13965 }, 13899 },
13966}; 13900};
13967 13901
13968static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = { 13902static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
13969 { /*Generated with cryptopp*/ 13903 { /*Generated with cryptopp*/
13970#ifdef __LITTLE_ENDIAN 13904#ifdef __LITTLE_ENDIAN
13971 .key = "\x08\x00" /* rta length */ 13905 .key = "\x08\x00" /* rta length */
@@ -13984,7 +13918,7 @@ static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
13984 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 13918 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13985 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 13919 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
13986 .alen = 16, 13920 .alen = 16,
13987 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 13921 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
13988 "\x53\x20\x63\x65\x65\x72\x73\x74" 13922 "\x53\x20\x63\x65\x65\x72\x73\x74"
13989 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 13923 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
13990 "\x20\x79\x65\x53\x72\x63\x74\x65" 13924 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14000,8 +13934,8 @@ static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
14000 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 13934 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14001 "\x63\x65\x65\x72\x73\x74\x54\x20" 13935 "\x63\x65\x65\x72\x73\x74\x54\x20"
14002 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 13936 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14003 .ilen = 128, 13937 .plen = 128,
14004 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8" 13938 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
14005 "\x54\x31\x85\x37\xed\x6b\x01\x8d" 13939 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14006 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1" 13940 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14007 "\x41\xaa\x33\x91\xa7\x7d\x99\x88" 13941 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
@@ -14020,11 +13954,11 @@ static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
14020 "\x95\x16\x20\x09\xf5\x95\x19\xfd" 13954 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
14021 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa" 13955 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
14022 "\x5c\x44\xa9\x37", 13956 "\x5c\x44\xa9\x37",
14023 .rlen = 128 + 20, 13957 .clen = 128 + 20,
14024 }, 13958 },
14025}; 13959};
14026 13960
14027static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = { 13961static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
14028 { /*Generated with cryptopp*/ 13962 { /*Generated with cryptopp*/
14029#ifdef __LITTLE_ENDIAN 13963#ifdef __LITTLE_ENDIAN
14030 .key = "\x08\x00" /* rta length */ 13964 .key = "\x08\x00" /* rta length */
@@ -14043,7 +13977,7 @@ static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
14043 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 13977 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14044 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 13978 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14045 .alen = 16, 13979 .alen = 16,
14046 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 13980 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14047 "\x53\x20\x63\x65\x65\x72\x73\x74" 13981 "\x53\x20\x63\x65\x65\x72\x73\x74"
14048 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 13982 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14049 "\x20\x79\x65\x53\x72\x63\x74\x65" 13983 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14059,8 +13993,8 @@ static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
14059 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 13993 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14060 "\x63\x65\x65\x72\x73\x74\x54\x20" 13994 "\x63\x65\x65\x72\x73\x74\x54\x20"
14061 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 13995 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14062 .ilen = 128, 13996 .plen = 128,
14063 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8" 13997 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
14064 "\x54\x31\x85\x37\xed\x6b\x01\x8d" 13998 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14065 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1" 13999 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14066 "\x41\xaa\x33\x91\xa7\x7d\x99\x88" 14000 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
@@ -14079,11 +14013,11 @@ static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
14079 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a" 14013 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
14080 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91" 14014 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
14081 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7", 14015 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
14082 .rlen = 128 + 24, 14016 .clen = 128 + 24,
14083 }, 14017 },
14084}; 14018};
14085 14019
14086static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = { 14020static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
14087 { /*Generated with cryptopp*/ 14021 { /*Generated with cryptopp*/
14088#ifdef __LITTLE_ENDIAN 14022#ifdef __LITTLE_ENDIAN
14089 .key = "\x08\x00" /* rta length */ 14023 .key = "\x08\x00" /* rta length */
@@ -14103,7 +14037,7 @@ static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
14103 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14037 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14104 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14038 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14105 .alen = 16, 14039 .alen = 16,
14106 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14040 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14107 "\x53\x20\x63\x65\x65\x72\x73\x74" 14041 "\x53\x20\x63\x65\x65\x72\x73\x74"
14108 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14042 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14109 "\x20\x79\x65\x53\x72\x63\x74\x65" 14043 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14119,8 +14053,8 @@ static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
14119 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14053 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14120 "\x63\x65\x65\x72\x73\x74\x54\x20" 14054 "\x63\x65\x65\x72\x73\x74\x54\x20"
14121 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14055 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14122 .ilen = 128, 14056 .plen = 128,
14123 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8" 14057 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
14124 "\x54\x31\x85\x37\xed\x6b\x01\x8d" 14058 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14125 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1" 14059 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14126 "\x41\xaa\x33\x91\xa7\x7d\x99\x88" 14060 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
@@ -14140,11 +14074,11 @@ static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
14140 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e" 14074 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
14141 "\xde\x63\xde\x76\x52\xde\x9f\xba" 14075 "\xde\x63\xde\x76\x52\xde\x9f\xba"
14142 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00", 14076 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
14143 .rlen = 128 + 32, 14077 .clen = 128 + 32,
14144 }, 14078 },
14145}; 14079};
14146 14080
14147static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = { 14081static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
14148 { /*Generated with cryptopp*/ 14082 { /*Generated with cryptopp*/
14149#ifdef __LITTLE_ENDIAN 14083#ifdef __LITTLE_ENDIAN
14150 .key = "\x08\x00" /* rta length */ 14084 .key = "\x08\x00" /* rta length */
@@ -14166,7 +14100,7 @@ static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
14166 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14100 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14167 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14101 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14168 .alen = 16, 14102 .alen = 16,
14169 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14103 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14170 "\x53\x20\x63\x65\x65\x72\x73\x74" 14104 "\x53\x20\x63\x65\x65\x72\x73\x74"
14171 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14105 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14172 "\x20\x79\x65\x53\x72\x63\x74\x65" 14106 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14182,8 +14116,8 @@ static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
14182 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14116 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14183 "\x63\x65\x65\x72\x73\x74\x54\x20" 14117 "\x63\x65\x65\x72\x73\x74\x54\x20"
14184 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14118 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14185 .ilen = 128, 14119 .plen = 128,
14186 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8" 14120 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
14187 "\x54\x31\x85\x37\xed\x6b\x01\x8d" 14121 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14188 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1" 14122 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14189 "\x41\xaa\x33\x91\xa7\x7d\x99\x88" 14123 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
@@ -14205,11 +14139,11 @@ static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
14205 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61" 14139 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
14206 "\x6a\x95\x26\x75\xcc\x53\x89\xf3" 14140 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
14207 "\x74\xc9\x2a\x76\x20\xa2\x64\x62", 14141 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
14208 .rlen = 128 + 48, 14142 .clen = 128 + 48,
14209 }, 14143 },
14210}; 14144};
14211 14145
14212static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = { 14146static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
14213 { /*Generated with cryptopp*/ 14147 { /*Generated with cryptopp*/
14214#ifdef __LITTLE_ENDIAN 14148#ifdef __LITTLE_ENDIAN
14215 .key = "\x08\x00" /* rta length */ 14149 .key = "\x08\x00" /* rta length */
@@ -14233,7 +14167,7 @@ static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
14233 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14167 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14234 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14168 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14235 .alen = 16, 14169 .alen = 16,
14236 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14170 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14237 "\x53\x20\x63\x65\x65\x72\x73\x74" 14171 "\x53\x20\x63\x65\x65\x72\x73\x74"
14238 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14172 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14239 "\x20\x79\x65\x53\x72\x63\x74\x65" 14173 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14249,8 +14183,8 @@ static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
14249 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14183 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14250 "\x63\x65\x65\x72\x73\x74\x54\x20" 14184 "\x63\x65\x65\x72\x73\x74\x54\x20"
14251 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14185 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14252 .ilen = 128, 14186 .plen = 128,
14253 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8" 14187 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
14254 "\x54\x31\x85\x37\xed\x6b\x01\x8d" 14188 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14255 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1" 14189 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14256 "\x41\xaa\x33\x91\xa7\x7d\x99\x88" 14190 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
@@ -14274,11 +14208,11 @@ static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
14274 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee" 14208 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
14275 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96" 14209 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
14276 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b", 14210 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
14277 .rlen = 128 + 64, 14211 .clen = 128 + 64,
14278 }, 14212 },
14279}; 14213};
14280 14214
14281static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = { 14215static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
14282 { /*Generated with cryptopp*/ 14216 { /*Generated with cryptopp*/
14283#ifdef __LITTLE_ENDIAN 14217#ifdef __LITTLE_ENDIAN
14284 .key = "\x08\x00" /* rta length */ 14218 .key = "\x08\x00" /* rta length */
@@ -14299,7 +14233,7 @@ static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
14299 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14233 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14300 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14234 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14301 .alen = 16, 14235 .alen = 16,
14302 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14236 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14303 "\x53\x20\x63\x65\x65\x72\x73\x74" 14237 "\x53\x20\x63\x65\x65\x72\x73\x74"
14304 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14238 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14305 "\x20\x79\x65\x53\x72\x63\x74\x65" 14239 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14315,8 +14249,8 @@ static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
14315 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14249 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14316 "\x63\x65\x65\x72\x73\x74\x54\x20" 14250 "\x63\x65\x65\x72\x73\x74\x54\x20"
14317 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14251 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14318 .ilen = 128, 14252 .plen = 128,
14319 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4" 14253 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
14320 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49" 14254 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14321 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed" 14255 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14322 "\x12\x56\x5c\x53\x96\xb6\x00\x7d" 14256 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
@@ -14335,11 +14269,11 @@ static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
14335 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6" 14269 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
14336 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf" 14270 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
14337 "\xd1\x60\x91\xb3", 14271 "\xd1\x60\x91\xb3",
14338 .rlen = 128 + 20, 14272 .clen = 128 + 20,
14339 }, 14273 },
14340}; 14274};
14341 14275
14342static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = { 14276static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
14343 { /*Generated with cryptopp*/ 14277 { /*Generated with cryptopp*/
14344#ifdef __LITTLE_ENDIAN 14278#ifdef __LITTLE_ENDIAN
14345 .key = "\x08\x00" /* rta length */ 14279 .key = "\x08\x00" /* rta length */
@@ -14360,7 +14294,7 @@ static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
14360 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14294 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14361 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14295 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14362 .alen = 16, 14296 .alen = 16,
14363 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14297 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14364 "\x53\x20\x63\x65\x65\x72\x73\x74" 14298 "\x53\x20\x63\x65\x65\x72\x73\x74"
14365 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14299 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14366 "\x20\x79\x65\x53\x72\x63\x74\x65" 14300 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14376,8 +14310,8 @@ static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
14376 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14310 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14377 "\x63\x65\x65\x72\x73\x74\x54\x20" 14311 "\x63\x65\x65\x72\x73\x74\x54\x20"
14378 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14312 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14379 .ilen = 128, 14313 .plen = 128,
14380 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4" 14314 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
14381 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49" 14315 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14382 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed" 14316 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14383 "\x12\x56\x5c\x53\x96\xb6\x00\x7d" 14317 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
@@ -14396,11 +14330,11 @@ static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
14396 "\x15\x24\x7f\x5a\x45\x4a\x66\xce" 14330 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
14397 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c" 14331 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
14398 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0", 14332 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
14399 .rlen = 128 + 24, 14333 .clen = 128 + 24,
14400 }, 14334 },
14401}; 14335};
14402 14336
14403static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = { 14337static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
14404 { /*Generated with cryptopp*/ 14338 { /*Generated with cryptopp*/
14405#ifdef __LITTLE_ENDIAN 14339#ifdef __LITTLE_ENDIAN
14406 .key = "\x08\x00" /* rta length */ 14340 .key = "\x08\x00" /* rta length */
@@ -14422,7 +14356,7 @@ static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
14422 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14356 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14423 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14357 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14424 .alen = 16, 14358 .alen = 16,
14425 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14359 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14426 "\x53\x20\x63\x65\x65\x72\x73\x74" 14360 "\x53\x20\x63\x65\x65\x72\x73\x74"
14427 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14361 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14428 "\x20\x79\x65\x53\x72\x63\x74\x65" 14362 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14438,8 +14372,8 @@ static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
14438 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14372 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14439 "\x63\x65\x65\x72\x73\x74\x54\x20" 14373 "\x63\x65\x65\x72\x73\x74\x54\x20"
14440 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14374 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14441 .ilen = 128, 14375 .plen = 128,
14442 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4" 14376 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
14443 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49" 14377 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14444 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed" 14378 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14445 "\x12\x56\x5c\x53\x96\xb6\x00\x7d" 14379 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
@@ -14459,11 +14393,11 @@ static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
14459 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71" 14393 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
14460 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f" 14394 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
14461 "\xca\x43\x95\xdf\x80\x61\x81\xa9", 14395 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
14462 .rlen = 128 + 32, 14396 .clen = 128 + 32,
14463 }, 14397 },
14464}; 14398};
14465 14399
14466static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = { 14400static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
14467 { /*Generated with cryptopp*/ 14401 { /*Generated with cryptopp*/
14468#ifdef __LITTLE_ENDIAN 14402#ifdef __LITTLE_ENDIAN
14469 .key = "\x08\x00" /* rta length */ 14403 .key = "\x08\x00" /* rta length */
@@ -14487,7 +14421,7 @@ static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
14487 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14421 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14488 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14422 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14489 .alen = 16, 14423 .alen = 16,
14490 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14424 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14491 "\x53\x20\x63\x65\x65\x72\x73\x74" 14425 "\x53\x20\x63\x65\x65\x72\x73\x74"
14492 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14426 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14493 "\x20\x79\x65\x53\x72\x63\x74\x65" 14427 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14503,8 +14437,8 @@ static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
14503 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14437 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14504 "\x63\x65\x65\x72\x73\x74\x54\x20" 14438 "\x63\x65\x65\x72\x73\x74\x54\x20"
14505 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14439 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14506 .ilen = 128, 14440 .plen = 128,
14507 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4" 14441 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
14508 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49" 14442 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14509 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed" 14443 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14510 "\x12\x56\x5c\x53\x96\xb6\x00\x7d" 14444 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
@@ -14526,11 +14460,11 @@ static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
14526 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39" 14460 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
14527 "\x36\x5d\x13\x2f\x86\x10\x78\xd6" 14461 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
14528 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b", 14462 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
14529 .rlen = 128 + 48, 14463 .clen = 128 + 48,
14530 }, 14464 },
14531}; 14465};
14532 14466
14533static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = { 14467static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
14534 { /*Generated with cryptopp*/ 14468 { /*Generated with cryptopp*/
14535#ifdef __LITTLE_ENDIAN 14469#ifdef __LITTLE_ENDIAN
14536 .key = "\x08\x00" /* rta length */ 14470 .key = "\x08\x00" /* rta length */
@@ -14556,7 +14490,7 @@ static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
14556 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01" 14490 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14557 "\x7D\x33\x88\x93\x0F\x93\xB2\x42", 14491 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14558 .alen = 16, 14492 .alen = 16,
14559 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e" 14493 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
14560 "\x53\x20\x63\x65\x65\x72\x73\x74" 14494 "\x53\x20\x63\x65\x65\x72\x73\x74"
14561 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61" 14495 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14562 "\x20\x79\x65\x53\x72\x63\x74\x65" 14496 "\x20\x79\x65\x53\x72\x63\x74\x65"
@@ -14572,8 +14506,8 @@ static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
14572 "\x20\x6f\x61\x4d\x79\x6e\x53\x20" 14506 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14573 "\x63\x65\x65\x72\x73\x74\x54\x20" 14507 "\x63\x65\x65\x72\x73\x74\x54\x20"
14574 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79", 14508 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
14575 .ilen = 128, 14509 .plen = 128,
14576 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4" 14510 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
14577 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49" 14511 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14578 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed" 14512 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14579 "\x12\x56\x5c\x53\x96\xb6\x00\x7d" 14513 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
@@ -14597,7 +14531,7 @@ static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
14597 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2" 14531 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
14598 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2" 14532 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
14599 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb", 14533 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
14600 .rlen = 128 + 64, 14534 .clen = 128 + 64,
14601 }, 14535 },
14602}; 14536};
14603 14537
@@ -16732,30 +16666,30 @@ static const struct cipher_testvec aes_ofb_tv_template[] = {
16732 } 16666 }
16733}; 16667};
16734 16668
16735static const struct aead_testvec aes_gcm_enc_tv_template[] = { 16669static const struct aead_testvec aes_gcm_tv_template[] = {
16736 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */ 16670 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
16737 .key = zeroed_string, 16671 .key = zeroed_string,
16738 .klen = 16, 16672 .klen = 16,
16739 .result = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61" 16673 .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
16740 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a", 16674 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
16741 .rlen = 16, 16675 .clen = 16,
16742 }, { 16676 }, {
16743 .key = zeroed_string, 16677 .key = zeroed_string,
16744 .klen = 16, 16678 .klen = 16,
16745 .input = zeroed_string, 16679 .ptext = zeroed_string,
16746 .ilen = 16, 16680 .plen = 16,
16747 .result = "\x03\x88\xda\xce\x60\xb6\xa3\x92" 16681 .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
16748 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78" 16682 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
16749 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd" 16683 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
16750 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf", 16684 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
16751 .rlen = 32, 16685 .clen = 32,
16752 }, { 16686 }, {
16753 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16687 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16754 "\x6d\x6a\x8f\x94\x67\x30\x83\x08", 16688 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
16755 .klen = 16, 16689 .klen = 16,
16756 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16690 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16757 "\xde\xca\xf8\x88", 16691 "\xde\xca\xf8\x88",
16758 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16692 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16759 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16693 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16760 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16694 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16761 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16695 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16763,8 +16697,8 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16763 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16697 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16764 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16698 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16765 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55", 16699 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
16766 .ilen = 64, 16700 .plen = 64,
16767 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24" 16701 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
16768 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c" 16702 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
16769 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0" 16703 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
16770 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e" 16704 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
@@ -16774,14 +16708,14 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16774 "\x3d\x58\xe0\x91\x47\x3f\x59\x85" 16708 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
16775 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6" 16709 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
16776 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4", 16710 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
16777 .rlen = 80, 16711 .clen = 80,
16778 }, { 16712 }, {
16779 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16713 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16780 "\x6d\x6a\x8f\x94\x67\x30\x83\x08", 16714 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
16781 .klen = 16, 16715 .klen = 16,
16782 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16716 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16783 "\xde\xca\xf8\x88", 16717 "\xde\xca\xf8\x88",
16784 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16718 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16785 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16719 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16786 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16720 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16787 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16721 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16789,12 +16723,12 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16789 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16723 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16790 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16724 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16791 "\xba\x63\x7b\x39", 16725 "\xba\x63\x7b\x39",
16792 .ilen = 60, 16726 .plen = 60,
16793 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16727 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16794 "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16728 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16795 "\xab\xad\xda\xd2", 16729 "\xab\xad\xda\xd2",
16796 .alen = 20, 16730 .alen = 20,
16797 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24" 16731 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
16798 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c" 16732 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
16799 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0" 16733 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
16800 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e" 16734 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
@@ -16804,23 +16738,23 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16804 "\x3d\x58\xe0\x91" 16738 "\x3d\x58\xe0\x91"
16805 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb" 16739 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
16806 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47", 16740 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
16807 .rlen = 76, 16741 .clen = 76,
16808 }, { 16742 }, {
16809 .key = zeroed_string, 16743 .key = zeroed_string,
16810 .klen = 24, 16744 .klen = 24,
16811 .result = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b" 16745 .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
16812 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35", 16746 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
16813 .rlen = 16, 16747 .clen = 16,
16814 }, { 16748 }, {
16815 .key = zeroed_string, 16749 .key = zeroed_string,
16816 .klen = 24, 16750 .klen = 24,
16817 .input = zeroed_string, 16751 .ptext = zeroed_string,
16818 .ilen = 16, 16752 .plen = 16,
16819 .result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41" 16753 .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
16820 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00" 16754 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
16821 "\x2f\xf5\x8d\x80\x03\x39\x27\xab" 16755 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
16822 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb", 16756 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
16823 .rlen = 32, 16757 .clen = 32,
16824 }, { 16758 }, {
16825 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16759 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16826 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16760 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
@@ -16828,7 +16762,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16828 .klen = 24, 16762 .klen = 24,
16829 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16763 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16830 "\xde\xca\xf8\x88", 16764 "\xde\xca\xf8\x88",
16831 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16765 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16832 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16766 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16833 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16767 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16834 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16768 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16836,8 +16770,8 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16836 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16770 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16837 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16771 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16838 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55", 16772 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
16839 .ilen = 64, 16773 .plen = 64,
16840 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41" 16774 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
16841 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57" 16775 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
16842 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84" 16776 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
16843 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c" 16777 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
@@ -16847,7 +16781,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16847 "\xcc\xda\x27\x10\xac\xad\xe2\x56" 16781 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
16848 "\x99\x24\xa7\xc8\x58\x73\x36\xbf" 16782 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
16849 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14", 16783 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
16850 .rlen = 80, 16784 .clen = 80,
16851 }, { 16785 }, {
16852 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16786 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16853 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16787 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
@@ -16855,7 +16789,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16855 .klen = 24, 16789 .klen = 24,
16856 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16790 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16857 "\xde\xca\xf8\x88", 16791 "\xde\xca\xf8\x88",
16858 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16792 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16859 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16793 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16860 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16794 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16861 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16795 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16863,12 +16797,12 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16863 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16797 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16864 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16798 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16865 "\xba\x63\x7b\x39", 16799 "\xba\x63\x7b\x39",
16866 .ilen = 60, 16800 .plen = 60,
16867 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16801 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16868 "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16802 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16869 "\xab\xad\xda\xd2", 16803 "\xab\xad\xda\xd2",
16870 .alen = 20, 16804 .alen = 20,
16871 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41" 16805 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
16872 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57" 16806 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
16873 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84" 16807 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
16874 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c" 16808 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
@@ -16878,7 +16812,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16878 "\xcc\xda\x27\x10" 16812 "\xcc\xda\x27\x10"
16879 "\x25\x19\x49\x8e\x80\xf1\x47\x8f" 16813 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
16880 "\x37\xba\x55\xbd\x6d\x27\x61\x8c", 16814 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
16881 .rlen = 76, 16815 .clen = 76,
16882 .np = 2, 16816 .np = 2,
16883 .tap = { 32, 28 }, 16817 .tap = { 32, 28 },
16884 .anp = 2, 16818 .anp = 2,
@@ -16886,19 +16820,19 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16886 }, { 16820 }, {
16887 .key = zeroed_string, 16821 .key = zeroed_string,
16888 .klen = 32, 16822 .klen = 32,
16889 .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9" 16823 .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
16890 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b", 16824 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
16891 .rlen = 16, 16825 .clen = 16,
16892 }, { 16826 }, {
16893 .key = zeroed_string, 16827 .key = zeroed_string,
16894 .klen = 32, 16828 .klen = 32,
16895 .input = zeroed_string, 16829 .ptext = zeroed_string,
16896 .ilen = 16, 16830 .plen = 16,
16897 .result = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e" 16831 .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
16898 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18" 16832 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
16899 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0" 16833 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
16900 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19", 16834 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
16901 .rlen = 32, 16835 .clen = 32,
16902 }, { 16836 }, {
16903 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16837 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16904 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16838 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
@@ -16907,7 +16841,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16907 .klen = 32, 16841 .klen = 32,
16908 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16842 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16909 "\xde\xca\xf8\x88", 16843 "\xde\xca\xf8\x88",
16910 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16844 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16911 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16845 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16912 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16846 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16913 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16847 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16915,8 +16849,8 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16915 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16849 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16916 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16850 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16917 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55", 16851 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
16918 .ilen = 64, 16852 .plen = 64,
16919 .result = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07" 16853 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
16920 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d" 16854 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
16921 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9" 16855 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
16922 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa" 16856 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
@@ -16926,7 +16860,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16926 "\xbc\xc9\xf6\x62\x89\x80\x15\xad" 16860 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
16927 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd" 16861 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
16928 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c", 16862 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
16929 .rlen = 80, 16863 .clen = 80,
16930 }, { 16864 }, {
16931 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16865 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16932 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16866 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
@@ -16935,7 +16869,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16935 .klen = 32, 16869 .klen = 32,
16936 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16870 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16937 "\xde\xca\xf8\x88", 16871 "\xde\xca\xf8\x88",
16938 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16872 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16939 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16873 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16940 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16874 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16941 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16875 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -16943,12 +16877,12 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16943 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16877 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16944 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16878 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16945 "\xba\x63\x7b\x39", 16879 "\xba\x63\x7b\x39",
16946 .ilen = 60, 16880 .plen = 60,
16947 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16881 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16948 "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16882 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16949 "\xab\xad\xda\xd2", 16883 "\xab\xad\xda\xd2",
16950 .alen = 20, 16884 .alen = 20,
16951 .result = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07" 16885 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
16952 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d" 16886 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
16953 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9" 16887 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
16954 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa" 16888 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
@@ -16958,7 +16892,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16958 "\xbc\xc9\xf6\x62" 16892 "\xbc\xc9\xf6\x62"
16959 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68" 16893 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
16960 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b", 16894 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
16961 .rlen = 76, 16895 .clen = 76,
16962 .np = 2, 16896 .np = 2,
16963 .tap = { 48, 12 }, 16897 .tap = { 48, 12 },
16964 .anp = 3, 16898 .anp = 3,
@@ -16970,96 +16904,7 @@ static const struct aead_testvec aes_gcm_enc_tv_template[] = {
16970 .klen = 24, 16904 .klen = 24,
16971 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" 16905 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16972 "\xde\xca\xf8\x88", 16906 "\xde\xca\xf8\x88",
16973 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16907 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
16974 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16975 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16976 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16977 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16978 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16979 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16980 "\xba\x63\x7b\x39",
16981 .ilen = 60,
16982 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16983 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16984 "\xab\xad\xda\xd2",
16985 .alen = 20,
16986 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
16987 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
16988 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
16989 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
16990 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
16991 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
16992 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
16993 "\xcc\xda\x27\x10"
16994 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
16995 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
16996 .rlen = 76,
16997 }
16998};
16999
17000static const struct aead_testvec aes_gcm_dec_tv_template[] = {
17001 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
17002 .key = zeroed_string,
17003 .klen = 32,
17004 .input = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
17005 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
17006 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
17007 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
17008 .ilen = 32,
17009 .result = zeroed_string,
17010 .rlen = 16,
17011 }, {
17012 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17013 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17014 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17015 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17016 .klen = 32,
17017 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17018 "\xde\xca\xf8\x88",
17019 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
17020 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
17021 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
17022 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
17023 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
17024 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
17025 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
17026 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
17027 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
17028 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
17029 .ilen = 80,
17030 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17031 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17032 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17033 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17034 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17035 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17036 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17037 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17038 .rlen = 64,
17039 }, {
17040 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17041 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17042 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17043 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17044 .klen = 32,
17045 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17046 "\xde\xca\xf8\x88",
17047 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
17048 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
17049 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
17050 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
17051 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
17052 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
17053 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
17054 "\xbc\xc9\xf6\x62"
17055 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
17056 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
17057 .ilen = 76,
17058 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17059 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17060 "\xab\xad\xda\xd2",
17061 .alen = 20,
17062 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17063 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a" 16908 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17064 "\x86\xa7\xa9\x53\x15\x34\xf7\xda" 16909 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17065 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 16910 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
@@ -17067,112 +16912,12 @@ static const struct aead_testvec aes_gcm_dec_tv_template[] = {
17067 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 16912 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17068 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57" 16913 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17069 "\xba\x63\x7b\x39", 16914 "\xba\x63\x7b\x39",
17070 .rlen = 60, 16915 .plen = 60,
17071 .np = 2,
17072 .tap = { 48, 28 },
17073 .anp = 3,
17074 .atap = { 8, 8, 4 }
17075 }, {
17076 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17077 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17078 .klen = 16,
17079 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17080 "\xde\xca\xf8\x88",
17081 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17082 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17083 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17084 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17085 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17086 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17087 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17088 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
17089 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
17090 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
17091 .ilen = 80,
17092 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17093 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17094 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17095 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17096 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17097 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17098 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17099 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17100 .rlen = 64,
17101 }, {
17102 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17103 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17104 .klen = 16,
17105 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17106 "\xde\xca\xf8\x88",
17107 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17108 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17109 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17110 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17111 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17112 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17113 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17114 "\x3d\x58\xe0\x91"
17115 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
17116 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
17117 .ilen = 76,
17118 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16916 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17119 "\xfe\xed\xfa\xce\xde\xad\xbe\xef" 16917 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17120 "\xab\xad\xda\xd2", 16918 "\xab\xad\xda\xd2",
17121 .alen = 20, 16919 .alen = 20,
17122 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 16920 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17123 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17124 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17125 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17126 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17127 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17128 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17129 "\xba\x63\x7b\x39",
17130 .rlen = 60,
17131 }, {
17132 .key = zeroed_string,
17133 .klen = 24,
17134 .input = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
17135 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
17136 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
17137 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
17138 .ilen = 32,
17139 .result = zeroed_string,
17140 .rlen = 16,
17141 }, {
17142 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17143 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17144 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17145 .klen = 24,
17146 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17147 "\xde\xca\xf8\x88",
17148 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17149 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17150 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17151 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17152 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17153 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17154 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17155 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
17156 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
17157 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
17158 .ilen = 80,
17159 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17160 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17161 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17162 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17163 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17164 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17165 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17166 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17167 .rlen = 64,
17168 }, {
17169 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17170 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17171 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17172 .klen = 24,
17173 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17174 "\xde\xca\xf8\x88",
17175 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17176 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57" 16921 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17177 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84" 16922 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17178 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c" 16923 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
@@ -17182,53 +16927,40 @@ static const struct aead_testvec aes_gcm_dec_tv_template[] = {
17182 "\xcc\xda\x27\x10" 16927 "\xcc\xda\x27\x10"
17183 "\x25\x19\x49\x8e\x80\xf1\x47\x8f" 16928 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
17184 "\x37\xba\x55\xbd\x6d\x27\x61\x8c", 16929 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
17185 .ilen = 76, 16930 .clen = 76,
17186 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17187 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17188 "\xab\xad\xda\xd2",
17189 .alen = 20,
17190 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17191 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17192 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17193 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17194 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17195 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17196 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17197 "\xba\x63\x7b\x39",
17198 .rlen = 60,
17199 } 16931 }
17200}; 16932};
17201 16933
17202static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = { 16934static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
17203 { /* Generated using Crypto++ */ 16935 { /* Generated using Crypto++ */
17204 .key = zeroed_string, 16936 .key = zeroed_string,
17205 .klen = 20, 16937 .klen = 20,
17206 .iv = zeroed_string, 16938 .iv = zeroed_string,
17207 .input = zeroed_string, 16939 .ptext = zeroed_string,
17208 .ilen = 16, 16940 .plen = 16,
17209 .assoc = zeroed_string, 16941 .assoc = zeroed_string,
17210 .alen = 16, 16942 .alen = 16,
17211 .result = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92" 16943 .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
17212 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78" 16944 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
17213 "\x97\xFE\x4C\x23\x37\x42\x01\xE0" 16945 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
17214 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B", 16946 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
17215 .rlen = 32, 16947 .clen = 32,
17216 },{ 16948 },{
17217 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16949 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17218 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16950 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17219 "\x00\x00\x00\x00", 16951 "\x00\x00\x00\x00",
17220 .klen = 20, 16952 .klen = 20,
17221 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 16953 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17222 .input = zeroed_string, 16954 .ptext = zeroed_string,
17223 .ilen = 16, 16955 .plen = 16,
17224 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00" 16956 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
17225 "\x00\x00\x00\x00\x00\x00\x00\x01", 16957 "\x00\x00\x00\x00\x00\x00\x00\x01",
17226 .alen = 16, 16958 .alen = 16,
17227 .result = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18" 16959 .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
17228 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28" 16960 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
17229 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D" 16961 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
17230 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF", 16962 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
17231 .rlen = 32, 16963 .clen = 32,
17232 16964
17233 }, { 16965 }, {
17234 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16966 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
@@ -17236,57 +16968,57 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17236 "\x00\x00\x00\x00", 16968 "\x00\x00\x00\x00",
17237 .klen = 20, 16969 .klen = 20,
17238 .iv = zeroed_string, 16970 .iv = zeroed_string,
17239 .input = "\x01\x01\x01\x01\x01\x01\x01\x01" 16971 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17240 "\x01\x01\x01\x01\x01\x01\x01\x01", 16972 "\x01\x01\x01\x01\x01\x01\x01\x01",
17241 .ilen = 16, 16973 .plen = 16,
17242 .assoc = zeroed_string, 16974 .assoc = zeroed_string,
17243 .alen = 16, 16975 .alen = 16,
17244 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE" 16976 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17245 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC" 16977 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17246 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C" 16978 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
17247 "\xB1\x68\xFD\x14\x52\x64\x61\xB2", 16979 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
17248 .rlen = 32, 16980 .clen = 32,
17249 }, { 16981 }, {
17250 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16982 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17251 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 16983 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17252 "\x00\x00\x00\x00", 16984 "\x00\x00\x00\x00",
17253 .klen = 20, 16985 .klen = 20,
17254 .iv = zeroed_string, 16986 .iv = zeroed_string,
17255 .input = "\x01\x01\x01\x01\x01\x01\x01\x01" 16987 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17256 "\x01\x01\x01\x01\x01\x01\x01\x01", 16988 "\x01\x01\x01\x01\x01\x01\x01\x01",
17257 .ilen = 16, 16989 .plen = 16,
17258 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 16990 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17259 "\x00\x00\x00\x00\x00\x00\x00\x00", 16991 "\x00\x00\x00\x00\x00\x00\x00\x00",
17260 .alen = 16, 16992 .alen = 16,
17261 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE" 16993 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17262 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC" 16994 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17263 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63" 16995 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
17264 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5", 16996 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
17265 .rlen = 32, 16997 .clen = 32,
17266 }, { 16998 }, {
17267 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 16999 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17268 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 17000 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17269 "\x00\x00\x00\x00", 17001 "\x00\x00\x00\x00",
17270 .klen = 20, 17002 .klen = 20,
17271 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 17003 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17272 .input = "\x01\x01\x01\x01\x01\x01\x01\x01" 17004 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17273 "\x01\x01\x01\x01\x01\x01\x01\x01", 17005 "\x01\x01\x01\x01\x01\x01\x01\x01",
17274 .ilen = 16, 17006 .plen = 16,
17275 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 17007 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17276 "\x00\x00\x00\x00\x00\x00\x00\x01", 17008 "\x00\x00\x00\x00\x00\x00\x00\x01",
17277 .alen = 16, 17009 .alen = 16,
17278 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19" 17010 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
17279 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29" 17011 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17280 "\x64\x50\xF9\x32\x13\xFB\x74\x61" 17012 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
17281 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C", 17013 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
17282 .rlen = 32, 17014 .clen = 32,
17283 }, { 17015 }, {
17284 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 17016 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17285 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 17017 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17286 "\x00\x00\x00\x00", 17018 "\x00\x00\x00\x00",
17287 .klen = 20, 17019 .klen = 20,
17288 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 17020 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17289 .input = "\x01\x01\x01\x01\x01\x01\x01\x01" 17021 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17290 "\x01\x01\x01\x01\x01\x01\x01\x01" 17022 "\x01\x01\x01\x01\x01\x01\x01\x01"
17291 "\x01\x01\x01\x01\x01\x01\x01\x01" 17023 "\x01\x01\x01\x01\x01\x01\x01\x01"
17292 "\x01\x01\x01\x01\x01\x01\x01\x01" 17024 "\x01\x01\x01\x01\x01\x01\x01\x01"
@@ -17294,11 +17026,11 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17294 "\x01\x01\x01\x01\x01\x01\x01\x01" 17026 "\x01\x01\x01\x01\x01\x01\x01\x01"
17295 "\x01\x01\x01\x01\x01\x01\x01\x01" 17027 "\x01\x01\x01\x01\x01\x01\x01\x01"
17296 "\x01\x01\x01\x01\x01\x01\x01\x01", 17028 "\x01\x01\x01\x01\x01\x01\x01\x01",
17297 .ilen = 64, 17029 .plen = 64,
17298 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 17030 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17299 "\x00\x00\x00\x00\x00\x00\x00\x01", 17031 "\x00\x00\x00\x00\x00\x00\x00\x01",
17300 .alen = 16, 17032 .alen = 16,
17301 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19" 17033 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
17302 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29" 17034 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17303 "\x98\x14\xA1\x42\x37\x80\xFD\x90" 17035 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
17304 "\x68\x12\x01\xA8\x91\x89\xB9\x83" 17036 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
@@ -17308,14 +17040,14 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17308 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD" 17040 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
17309 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85" 17041 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
17310 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD", 17042 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
17311 .rlen = 80, 17043 .clen = 80,
17312 }, { 17044 }, {
17313 .key = "\x00\x01\x02\x03\x04\x05\x06\x07" 17045 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
17314 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 17046 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17315 "\x00\x00\x00\x00", 17047 "\x00\x00\x00\x00",
17316 .klen = 20, 17048 .klen = 20,
17317 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef", 17049 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
17318 .input = "\xff\xff\xff\xff\xff\xff\xff\xff" 17050 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
17319 "\xff\xff\xff\xff\xff\xff\xff\xff" 17051 "\xff\xff\xff\xff\xff\xff\xff\xff"
17320 "\xff\xff\xff\xff\xff\xff\xff\xff" 17052 "\xff\xff\xff\xff\xff\xff\xff\xff"
17321 "\xff\xff\xff\xff\xff\xff\xff\xff" 17053 "\xff\xff\xff\xff\xff\xff\xff\xff"
@@ -17339,12 +17071,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17339 "\xff\xff\xff\xff\xff\xff\xff\xff" 17071 "\xff\xff\xff\xff\xff\xff\xff\xff"
17340 "\xff\xff\xff\xff\xff\xff\xff\xff" 17072 "\xff\xff\xff\xff\xff\xff\xff\xff"
17341 "\xff\xff\xff\xff\xff\xff\xff\xff", 17073 "\xff\xff\xff\xff\xff\xff\xff\xff",
17342 .ilen = 192, 17074 .plen = 192,
17343 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa" 17075 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
17344 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67" 17076 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
17345 "\x89\xab\xcd\xef", 17077 "\x89\xab\xcd\xef",
17346 .alen = 20, 17078 .alen = 20,
17347 .result = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE" 17079 .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
17348 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A" 17080 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
17349 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01" 17081 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
17350 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82" 17082 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
@@ -17370,14 +17102,14 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17370 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B" 17102 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
17371 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46" 17103 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
17372 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C", 17104 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
17373 .rlen = 208, 17105 .clen = 208,
17374 }, { /* From draft-mcgrew-gcm-test-01 */ 17106 }, { /* From draft-mcgrew-gcm-test-01 */
17375 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA" 17107 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17376 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34" 17108 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17377 "\x2E\x44\x3B\x68", 17109 "\x2E\x44\x3B\x68",
17378 .klen = 20, 17110 .klen = 20,
17379 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE", 17111 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
17380 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00" 17112 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
17381 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02" 17113 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
17382 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56" 17114 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
17383 "\x38\xD3\x01\x00\x00\x01\x00\x00" 17115 "\x38\xD3\x01\x00\x00\x01\x00\x00"
@@ -17386,12 +17118,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17386 "\x69\x70\x09\x63\x79\x62\x65\x72" 17118 "\x69\x70\x09\x63\x79\x62\x65\x72"
17387 "\x63\x69\x74\x79\x02\x64\x6B\x00" 17119 "\x63\x69\x74\x79\x02\x64\x6B\x00"
17388 "\x00\x21\x00\x01\x01\x02\x02\x01", 17120 "\x00\x21\x00\x01\x01\x02\x02\x01",
17389 .ilen = 72, 17121 .plen = 72,
17390 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21" 17122 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
17391 "\x00\x00\x00\x00\x49\x56\xED\x7E" 17123 "\x00\x00\x00\x00\x49\x56\xED\x7E"
17392 "\x3B\x24\x4C\xFE", 17124 "\x3B\x24\x4C\xFE",
17393 .alen = 20, 17125 .alen = 20,
17394 .result = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07" 17126 .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
17395 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76" 17127 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
17396 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD" 17128 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
17397 "\x34\x85\x09\xFA\x13\xCE\xAC\x34" 17129 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
@@ -17402,14 +17134,14 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17402 "\x61\xBC\x17\xD7\x68\xFD\x97\x32" 17134 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
17403 "\x45\x90\x18\x14\x8F\x6C\xBE\x72" 17135 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
17404 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4", 17136 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
17405 .rlen = 88, 17137 .clen = 88,
17406 }, { 17138 }, {
17407 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C" 17139 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17408 "\x6D\x6A\x8F\x94\x67\x30\x83\x08" 17140 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
17409 "\xCA\xFE\xBA\xBE", 17141 "\xCA\xFE\xBA\xBE",
17410 .klen = 20, 17142 .klen = 20,
17411 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 17143 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17412 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00" 17144 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
17413 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02" 17145 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
17414 "\xC0\xA8\x01\x01\x0A\x98\x00\x35" 17146 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
17415 "\x00\x2A\x23\x43\xB2\xD0\x01\x00" 17147 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
@@ -17417,11 +17149,11 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17417 "\x03\x73\x69\x70\x09\x63\x79\x62" 17149 "\x03\x73\x69\x70\x09\x63\x79\x62"
17418 "\x65\x72\x63\x69\x74\x79\x02\x64" 17150 "\x65\x72\x63\x69\x74\x79\x02\x64"
17419 "\x6B\x00\x00\x01\x00\x01\x00\x01", 17151 "\x6B\x00\x00\x01\x00\x01\x00\x01",
17420 .ilen = 64, 17152 .plen = 64,
17421 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A" 17153 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17422 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 17154 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17423 .alen = 16, 17155 .alen = 16,
17424 .result = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1" 17156 .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
17425 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04" 17157 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
17426 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F" 17158 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
17427 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C" 17159 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
@@ -17431,7 +17163,7 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17431 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1" 17163 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
17432 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4" 17164 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
17433 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A", 17165 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
17434 .rlen = 80, 17166 .clen = 80,
17435 }, { 17167 }, {
17436 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 17168 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17437 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 17169 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -17440,18 +17172,18 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17440 "\x11\x22\x33\x44", 17172 "\x11\x22\x33\x44",
17441 .klen = 36, 17173 .klen = 36,
17442 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08", 17174 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
17443 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00" 17175 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
17444 "\x80\x06\x26\x90\xC0\xA8\x01\x02" 17176 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
17445 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B" 17177 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
17446 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00" 17178 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
17447 "\x70\x02\x40\x00\x20\xBF\x00\x00" 17179 "\x70\x02\x40\x00\x20\xBF\x00\x00"
17448 "\x02\x04\x05\xB4\x01\x01\x04\x02" 17180 "\x02\x04\x05\xB4\x01\x01\x04\x02"
17449 "\x01\x02\x02\x01", 17181 "\x01\x02\x02\x01",
17450 .ilen = 52, 17182 .plen = 52,
17451 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02" 17183 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
17452 "\x01\x02\x03\x04\x05\x06\x07\x08", 17184 "\x01\x02\x03\x04\x05\x06\x07\x08",
17453 .alen = 16, 17185 .alen = 16,
17454 .result = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF" 17186 .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
17455 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D" 17187 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
17456 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF" 17188 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
17457 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63" 17189 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
@@ -17460,14 +17192,14 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17460 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE" 17192 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
17461 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49" 17193 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
17462 "\x15\x95\x6C\x96", 17194 "\x15\x95\x6C\x96",
17463 .rlen = 68, 17195 .clen = 68,
17464 }, { 17196 }, {
17465 .key = "\x00\x00\x00\x00\x00\x00\x00\x00" 17197 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
17466 "\x00\x00\x00\x00\x00\x00\x00\x00" 17198 "\x00\x00\x00\x00\x00\x00\x00\x00"
17467 "\x00\x00\x00\x00", 17199 "\x00\x00\x00\x00",
17468 .klen = 20, 17200 .klen = 20,
17469 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", 17201 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17470 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00" 17202 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
17471 "\x80\x01\xCB\x7A\x40\x67\x93\x18" 17203 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
17472 "\x01\x01\x01\x01\x08\x00\x07\x5C" 17204 "\x01\x01\x01\x01\x08\x00\x07\x5C"
17473 "\x02\x00\x44\x00\x61\x62\x63\x64" 17205 "\x02\x00\x44\x00\x61\x62\x63\x64"
@@ -17475,11 +17207,11 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17475 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 17207 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17476 "\x75\x76\x77\x61\x62\x63\x64\x65" 17208 "\x75\x76\x77\x61\x62\x63\x64\x65"
17477 "\x66\x67\x68\x69\x01\x02\x02\x01", 17209 "\x66\x67\x68\x69\x01\x02\x02\x01",
17478 .ilen = 64, 17210 .plen = 64,
17479 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01" 17211 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
17480 "\x00\x00\x00\x00\x00\x00\x00\x00", 17212 "\x00\x00\x00\x00\x00\x00\x00\x00",
17481 .alen = 16, 17213 .alen = 16,
17482 .result = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92" 17214 .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
17483 "\x73\x29\x09\xC3\x31\xD5\x6D\x60" 17215 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
17484 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F" 17216 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
17485 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84" 17217 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
@@ -17489,14 +17221,14 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17489 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3" 17221 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
17490 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9" 17222 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
17491 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D", 17223 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
17492 .rlen = 80, 17224 .clen = 80,
17493 }, { 17225 }, {
17494 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 17226 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17495 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 17227 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17496 "\x57\x69\x0E\x43", 17228 "\x57\x69\x0E\x43",
17497 .klen = 20, 17229 .klen = 20,
17498 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 17230 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17499 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00" 17231 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
17500 "\x80\x01\xCB\x7C\x40\x67\x93\x18" 17232 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
17501 "\x01\x01\x01\x01\x08\x00\x08\x5C" 17233 "\x01\x01\x01\x01\x08\x00\x08\x5C"
17502 "\x02\x00\x43\x00\x61\x62\x63\x64" 17234 "\x02\x00\x43\x00\x61\x62\x63\x64"
@@ -17504,12 +17236,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17504 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 17236 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17505 "\x75\x76\x77\x61\x62\x63\x64\x65" 17237 "\x75\x76\x77\x61\x62\x63\x64\x65"
17506 "\x66\x67\x68\x69\x01\x02\x02\x01", 17238 "\x66\x67\x68\x69\x01\x02\x02\x01",
17507 .ilen = 64, 17239 .plen = 64,
17508 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 17240 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17509 "\x10\x10\x10\x10\x4E\x28\x00\x00" 17241 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17510 "\xA2\xFC\xA1\xA3", 17242 "\xA2\xFC\xA1\xA3",
17511 .alen = 20, 17243 .alen = 20,
17512 .result = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0" 17244 .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
17513 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0" 17245 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
17514 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0" 17246 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
17515 "\x0D\x11\x38\xEC\x9C\x35\x79\x17" 17247 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
@@ -17519,29 +17251,29 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17519 "\x1F\x5E\x22\x73\x95\x30\x32\x0A" 17251 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
17520 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA" 17252 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
17521 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48", 17253 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
17522 .rlen = 80, 17254 .clen = 80,
17523 }, { 17255 }, {
17524 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 17256 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17525 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 17257 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17526 "\x57\x69\x0E\x43", 17258 "\x57\x69\x0E\x43",
17527 .klen = 20, 17259 .klen = 20,
17528 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 17260 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17529 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00" 17261 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
17530 "\x80\x01\x44\x1F\x40\x67\x93\xB6" 17262 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
17531 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF" 17263 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
17532 "\x01\x02\x02\x01", 17264 "\x01\x02\x02\x01",
17533 .ilen = 28, 17265 .plen = 28,
17534 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 17266 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17535 "\x10\x10\x10\x10\x4E\x28\x00\x00" 17267 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17536 "\xA2\xFC\xA1\xA3", 17268 "\xA2\xFC\xA1\xA3",
17537 .alen = 20, 17269 .alen = 20,
17538 .result = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0" 17270 .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
17539 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E" 17271 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
17540 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13" 17272 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
17541 "\x0E\x13\x79\xED\x36\x9F\x07\x1F" 17273 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
17542 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4" 17274 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
17543 "\xE7\xD0\x5D\x35", 17275 "\xE7\xD0\x5D\x35",
17544 .rlen = 44, 17276 .clen = 44,
17545 }, { 17277 }, {
17546 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C" 17278 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17547 "\x6D\x6A\x8F\x94\x67\x30\x83\x08" 17279 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
@@ -17549,30 +17281,30 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17549 "\xCA\xFE\xBA\xBE", 17281 "\xCA\xFE\xBA\xBE",
17550 .klen = 28, 17282 .klen = 28,
17551 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 17283 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17552 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00" 17284 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
17553 "\x40\x06\x78\x80\x0A\x01\x03\x8F" 17285 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
17554 "\x0A\x01\x06\x12\x80\x23\x06\xB8" 17286 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
17555 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E" 17287 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
17556 "\x50\x10\x16\xD0\x75\x68\x00\x01", 17288 "\x50\x10\x16\xD0\x75\x68\x00\x01",
17557 .ilen = 40, 17289 .plen = 40,
17558 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A" 17290 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17559 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 17291 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17560 .alen = 16, 17292 .alen = 16,
17561 .result = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4" 17293 .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
17562 "\x0E\x59\x8B\x81\x22\xDE\x02\x42" 17294 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
17563 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6" 17295 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
17564 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0" 17296 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
17565 "\x31\x5B\x27\x45\x21\x44\xCC\x77" 17297 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
17566 "\x95\x45\x7B\x96\x52\x03\x7F\x53" 17298 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
17567 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36", 17299 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
17568 .rlen = 56, 17300 .clen = 56,
17569 }, { 17301 }, {
17570 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 17302 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17571 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 17303 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17572 "\xDE\xCA\xF8\x88", 17304 "\xDE\xCA\xF8\x88",
17573 .klen = 20, 17305 .klen = 20,
17574 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", 17306 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
17575 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00" 17307 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
17576 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10" 17308 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
17577 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE" 17309 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17578 "\x00\x35\xDD\x7B\x80\x03\x02\xD5" 17310 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
@@ -17582,12 +17314,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17582 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95" 17314 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
17583 "\x9B\x62\x66\xC0\x47\x22\xB1\x49" 17315 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
17584 "\x23\x01\x01\x01", 17316 "\x23\x01\x01\x01",
17585 .ilen = 76, 17317 .plen = 76,
17586 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00" 17318 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
17587 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA" 17319 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
17588 "\xCE\xFA\xCE\x74", 17320 "\xCE\xFA\xCE\x74",
17589 .alen = 20, 17321 .alen = 20,
17590 .result = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A" 17322 .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
17591 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14" 17323 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
17592 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1" 17324 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
17593 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F" 17325 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
@@ -17599,7 +17331,7 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17599 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6" 17331 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
17600 "\x5F\x35\x4F\x75\xFF\x17\x01\x57" 17332 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
17601 "\x69\x62\x34\x36", 17333 "\x69\x62\x34\x36",
17602 .rlen = 92, 17334 .clen = 92,
17603 }, { 17335 }, {
17604 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 17336 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17605 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 17337 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -17608,31 +17340,31 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17608 "\x73\x61\x6C\x74", 17340 "\x73\x61\x6C\x74",
17609 .klen = 36, 17341 .klen = 36,
17610 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", 17342 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
17611 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00" 17343 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
17612 "\x40\x06\xE9\xF9\x0A\x01\x06\x12" 17344 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
17613 "\x0A\x01\x03\x8F\x06\xB8\x80\x23" 17345 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
17614 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02" 17346 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
17615 "\x50\x10\x1F\x64\x6D\x54\x00\x01", 17347 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
17616 .ilen = 40, 17348 .plen = 40,
17617 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26" 17349 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
17618 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01" 17350 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
17619 "\x69\x76\x65\x63", 17351 "\x69\x76\x65\x63",
17620 .alen = 20, 17352 .alen = 20,
17621 .result = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B" 17353 .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
17622 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D" 17354 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
17623 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54" 17355 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
17624 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F" 17356 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
17625 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E" 17357 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
17626 "\x45\x16\x26\xC2\x41\x57\x71\xE3" 17358 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
17627 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35", 17359 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
17628 .rlen = 56, 17360 .clen = 56,
17629 }, { 17361 }, {
17630 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 17362 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17631 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 17363 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17632 "\x57\x69\x0E\x43", 17364 "\x57\x69\x0E\x43",
17633 .klen = 20, 17365 .klen = 20,
17634 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 17366 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17635 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00" 17367 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
17636 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10" 17368 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
17637 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE" 17369 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17638 "\x00\x35\xCB\x45\x80\x03\x02\x5B" 17370 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
@@ -17642,12 +17374,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17642 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32" 17374 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
17643 "\x5A\xE2\x70\xC0\x38\x99\x49\x39" 17375 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
17644 "\x15\x01\x01\x01", 17376 "\x15\x01\x01\x01",
17645 .ilen = 76, 17377 .plen = 76,
17646 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 17378 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17647 "\x10\x10\x10\x10\x4E\x28\x00\x00" 17379 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17648 "\xA2\xFC\xA1\xA3", 17380 "\xA2\xFC\xA1\xA3",
17649 .alen = 20, 17381 .alen = 20,
17650 .result = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0" 17382 .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
17651 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8" 17383 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
17652 "\x3D\x77\x84\xB6\x07\x32\x3D\x22" 17384 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
17653 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28" 17385 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
@@ -17659,7 +17391,7 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17659 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5" 17391 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
17660 "\x76\x91\x89\x60\x97\x63\xB8\xE1" 17392 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
17661 "\x8C\xAA\x81\xE2", 17393 "\x8C\xAA\x81\xE2",
17662 .rlen = 92, 17394 .clen = 92,
17663 }, { 17395 }, {
17664 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 17396 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17665 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 17397 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -17668,7 +17400,7 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17668 "\x73\x61\x6C\x74", 17400 "\x73\x61\x6C\x74",
17669 .klen = 36, 17401 .klen = 36,
17670 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", 17402 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
17671 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75" 17403 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
17672 "\x6C\x65\x73\x01\x74\x68\x65\x01" 17404 "\x6C\x65\x73\x01\x74\x68\x65\x01"
17673 "\x6E\x65\x74\x77\x65\x01\x64\x65" 17405 "\x6E\x65\x74\x77\x65\x01\x64\x65"
17674 "\x66\x69\x6E\x65\x01\x74\x68\x65" 17406 "\x66\x69\x6E\x65\x01\x74\x68\x65"
@@ -17677,12 +17409,12 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17677 "\x74\x77\x69\x6C\x6C\x01\x64\x65" 17409 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
17678 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F" 17410 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
17679 "\x72\x72\x6F\x77\x01\x02\x02\x01", 17411 "\x72\x72\x6F\x77\x01\x02\x02\x01",
17680 .ilen = 72, 17412 .plen = 72,
17681 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26" 17413 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
17682 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01" 17414 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
17683 "\x69\x76\x65\x63", 17415 "\x69\x76\x65\x63",
17684 .alen = 20, 17416 .alen = 20,
17685 .result = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E" 17417 .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
17686 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E" 17418 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
17687 "\x7B\x43\xF8\x26\xFB\x56\x83\x12" 17419 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
17688 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18" 17420 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
@@ -17693,42 +17425,42 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17693 "\x12\xA4\x93\x63\x41\x23\x64\xF8" 17425 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
17694 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B" 17426 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
17695 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76", 17427 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
17696 .rlen = 88, 17428 .clen = 88,
17697 }, { 17429 }, {
17698 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25" 17430 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
17699 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47" 17431 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
17700 "\xD9\x66\x42\x67", 17432 "\xD9\x66\x42\x67",
17701 .klen = 20, 17433 .klen = 20,
17702 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6", 17434 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
17703 .input = "\x01\x02\x02\x01", 17435 .ptext = "\x01\x02\x02\x01",
17704 .ilen = 4, 17436 .plen = 4,
17705 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF" 17437 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
17706 "\x43\x45\x7E\x91\x82\x44\x3B\xC6", 17438 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
17707 .alen = 16, 17439 .alen = 16,
17708 .result = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F" 17440 .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
17709 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45" 17441 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
17710 "\x04\xBE\xF2\x70", 17442 "\x04\xBE\xF2\x70",
17711 .rlen = 20, 17443 .clen = 20,
17712 }, { 17444 }, {
17713 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 17445 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17714 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 17446 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17715 "\xDE\xCA\xF8\x88", 17447 "\xDE\xCA\xF8\x88",
17716 .klen = 20, 17448 .klen = 20,
17717 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", 17449 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
17718 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72" 17450 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
17719 "\x01\x6E\x6F\x74\x01\x74\x6F\x01" 17451 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
17720 "\x62\x65\x00\x01", 17452 "\x62\x65\x00\x01",
17721 .ilen = 20, 17453 .plen = 20,
17722 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00" 17454 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
17723 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA" 17455 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
17724 "\xCE\xFA\xCE\x74", 17456 "\xCE\xFA\xCE\x74",
17725 .alen = 20, 17457 .alen = 20,
17726 .result = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38" 17458 .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
17727 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05" 17459 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
17728 "\x43\x33\x21\x64\x41\x25\x03\x52" 17460 "\x43\x33\x21\x64\x41\x25\x03\x52"
17729 "\x43\x03\xED\x3C\x6C\x5F\x28\x38" 17461 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
17730 "\x43\xAF\x8C\x3E", 17462 "\x43\xAF\x8C\x3E",
17731 .rlen = 36, 17463 .clen = 36,
17732 }, { 17464 }, {
17733 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65" 17465 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
17734 "\x6D\x61\x72\x69\x6A\x75\x61\x6E" 17466 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
@@ -17737,19 +17469,19 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17737 "\x74\x75\x72\x6E", 17469 "\x74\x75\x72\x6E",
17738 .klen = 36, 17470 .klen = 36,
17739 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D", 17471 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
17740 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00" 17472 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
17741 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05" 17473 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
17742 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD" 17474 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
17743 "\x02\x00\x07\x00\x61\x62\x63\x64" 17475 "\x02\x00\x07\x00\x61\x62\x63\x64"
17744 "\x65\x66\x67\x68\x69\x6A\x6B\x6C" 17476 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17745 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 17477 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17746 "\x01\x02\x02\x01", 17478 "\x01\x02\x02\x01",
17747 .ilen = 52, 17479 .plen = 52,
17748 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF" 17480 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
17749 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69" 17481 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
17750 "\x67\x65\x74\x6D", 17482 "\x67\x65\x74\x6D",
17751 .alen = 20, 17483 .alen = 20,
17752 .result = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC" 17484 .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
17753 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D" 17485 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
17754 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6" 17486 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
17755 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86" 17487 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
@@ -17758,26 +17490,26 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17758 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2" 17490 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
17759 "\x94\x5F\x66\x93\x68\x66\x1A\x32" 17491 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
17760 "\x9F\xB4\xC0\x53", 17492 "\x9F\xB4\xC0\x53",
17761 .rlen = 68, 17493 .clen = 68,
17762 }, { 17494 }, {
17763 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 17495 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17764 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 17496 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17765 "\x57\x69\x0E\x43", 17497 "\x57\x69\x0E\x43",
17766 .klen = 20, 17498 .klen = 20,
17767 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 17499 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17768 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00" 17500 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
17769 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05" 17501 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
17770 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD" 17502 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
17771 "\x02\x00\x07\x00\x61\x62\x63\x64" 17503 "\x02\x00\x07\x00\x61\x62\x63\x64"
17772 "\x65\x66\x67\x68\x69\x6A\x6B\x6C" 17504 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17773 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 17505 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17774 "\x01\x02\x02\x01", 17506 "\x01\x02\x02\x01",
17775 .ilen = 52, 17507 .plen = 52,
17776 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10" 17508 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
17777 "\x10\x10\x10\x10\x4E\x28\x00\x00" 17509 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17778 "\xA2\xFC\xA1\xA3", 17510 "\xA2\xFC\xA1\xA3",
17779 .alen = 20, 17511 .alen = 20,
17780 .result = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0" 17512 .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
17781 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD" 17513 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
17782 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21" 17514 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
17783 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17" 17515 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
@@ -17786,647 +17518,33 @@ static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17786 "\x63\x21\x93\x06\x84\xEE\xCA\xDB" 17518 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
17787 "\x56\x91\x25\x46\xE7\xA9\x5C\x97" 17519 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
17788 "\x40\xD7\xCB\x05", 17520 "\x40\xD7\xCB\x05",
17789 .rlen = 68, 17521 .clen = 68,
17790 }, { 17522 }, {
17791 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA" 17523 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17792 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34" 17524 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17793 "\x22\x43\x3C\x64", 17525 "\x22\x43\x3C\x64",
17794 .klen = 20, 17526 .klen = 20,
17795 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD", 17527 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
17796 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00" 17528 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
17797 "\x61\x62\x63\x64\x65\x66\x67\x68" 17529 "\x61\x62\x63\x64\x65\x66\x67\x68"
17798 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70" 17530 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
17799 "\x71\x72\x73\x74\x01\x02\x02\x01", 17531 "\x71\x72\x73\x74\x01\x02\x02\x01",
17800 .ilen = 32, 17532 .plen = 32,
17801 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21" 17533 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
17802 "\x00\x00\x00\x07\x48\x55\xEC\x7D" 17534 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
17803 "\x3A\x23\x4B\xFD", 17535 "\x3A\x23\x4B\xFD",
17804 .alen = 20, 17536 .alen = 20,
17805 .result = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C" 17537 .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
17806 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF" 17538 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
17807 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6" 17539 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
17808 "\xAC\xDA\x68\x94\xBC\x61\x90\x69" 17540 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
17809 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7" 17541 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
17810 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0", 17542 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
17811 .rlen = 48, 17543 .clen = 48,
17812 } 17544 }
17813}; 17545};
17814 17546
17815static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = { 17547static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
17816 { /* Generated using Crypto++ */
17817 .key = zeroed_string,
17818 .klen = 20,
17819 .iv = zeroed_string,
17820 .input = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
17821 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
17822 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
17823 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
17824 .ilen = 32,
17825 .assoc = zeroed_string,
17826 .alen = 16,
17827 .result = zeroed_string,
17828 .rlen = 16,
17829
17830 },{
17831 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17832 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17833 "\x00\x00\x00\x00",
17834 .klen = 20,
17835 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17836 .input = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
17837 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
17838 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
17839 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
17840 .ilen = 32,
17841 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
17842 "\x00\x00\x00\x00\x00\x00\x00\x01",
17843 .alen = 16,
17844 .result = zeroed_string,
17845 .rlen = 16,
17846 }, {
17847 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17848 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17849 "\x00\x00\x00\x00",
17850 .klen = 20,
17851 .iv = zeroed_string,
17852 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17853 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17854 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
17855 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
17856 .ilen = 32,
17857 .assoc = zeroed_string,
17858 .alen = 16,
17859 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
17860 "\x01\x01\x01\x01\x01\x01\x01\x01",
17861 .rlen = 16,
17862 }, {
17863 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17864 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17865 "\x00\x00\x00\x00",
17866 .klen = 20,
17867 .iv = zeroed_string,
17868 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17869 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17870 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
17871 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
17872 .ilen = 32,
17873 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17874 "\x00\x00\x00\x00\x00\x00\x00\x00",
17875 .alen = 16,
17876 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
17877 "\x01\x01\x01\x01\x01\x01\x01\x01",
17878 .rlen = 16,
17879
17880 }, {
17881 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17882 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17883 "\x00\x00\x00\x00",
17884 .klen = 20,
17885 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17886 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
17887 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17888 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
17889 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
17890 .ilen = 32,
17891 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17892 "\x00\x00\x00\x00\x00\x00\x00\x01",
17893 .alen = 16,
17894 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
17895 "\x01\x01\x01\x01\x01\x01\x01\x01",
17896 .rlen = 16,
17897 }, {
17898 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17899 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17900 "\x00\x00\x00\x00",
17901 .klen = 20,
17902 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17903 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
17904 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17905 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
17906 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
17907 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
17908 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
17909 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
17910 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
17911 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
17912 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
17913 .ilen = 80,
17914 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17915 "\x00\x00\x00\x00\x00\x00\x00\x01",
17916 .alen = 16,
17917 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
17918 "\x01\x01\x01\x01\x01\x01\x01\x01"
17919 "\x01\x01\x01\x01\x01\x01\x01\x01"
17920 "\x01\x01\x01\x01\x01\x01\x01\x01"
17921 "\x01\x01\x01\x01\x01\x01\x01\x01"
17922 "\x01\x01\x01\x01\x01\x01\x01\x01"
17923 "\x01\x01\x01\x01\x01\x01\x01\x01"
17924 "\x01\x01\x01\x01\x01\x01\x01\x01",
17925 .rlen = 64,
17926 }, {
17927 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
17928 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17929 "\x00\x00\x00\x00",
17930 .klen = 20,
17931 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
17932 .input = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
17933 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
17934 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
17935 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
17936 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
17937 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
17938 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
17939 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
17940 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
17941 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
17942 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
17943 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
17944 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
17945 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
17946 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
17947 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
17948 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
17949 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
17950 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
17951 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
17952 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
17953 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
17954 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
17955 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
17956 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
17957 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
17958 .ilen = 208,
17959 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
17960 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
17961 "\x89\xab\xcd\xef",
17962 .alen = 20,
17963 .result = "\xff\xff\xff\xff\xff\xff\xff\xff"
17964 "\xff\xff\xff\xff\xff\xff\xff\xff"
17965 "\xff\xff\xff\xff\xff\xff\xff\xff"
17966 "\xff\xff\xff\xff\xff\xff\xff\xff"
17967 "\xff\xff\xff\xff\xff\xff\xff\xff"
17968 "\xff\xff\xff\xff\xff\xff\xff\xff"
17969 "\xff\xff\xff\xff\xff\xff\xff\xff"
17970 "\xff\xff\xff\xff\xff\xff\xff\xff"
17971 "\xff\xff\xff\xff\xff\xff\xff\xff"
17972 "\xff\xff\xff\xff\xff\xff\xff\xff"
17973 "\xff\xff\xff\xff\xff\xff\xff\xff"
17974 "\xff\xff\xff\xff\xff\xff\xff\xff"
17975 "\xff\xff\xff\xff\xff\xff\xff\xff"
17976 "\xff\xff\xff\xff\xff\xff\xff\xff"
17977 "\xff\xff\xff\xff\xff\xff\xff\xff"
17978 "\xff\xff\xff\xff\xff\xff\xff\xff"
17979 "\xff\xff\xff\xff\xff\xff\xff\xff"
17980 "\xff\xff\xff\xff\xff\xff\xff\xff"
17981 "\xff\xff\xff\xff\xff\xff\xff\xff"
17982 "\xff\xff\xff\xff\xff\xff\xff\xff"
17983 "\xff\xff\xff\xff\xff\xff\xff\xff"
17984 "\xff\xff\xff\xff\xff\xff\xff\xff"
17985 "\xff\xff\xff\xff\xff\xff\xff\xff"
17986 "\xff\xff\xff\xff\xff\xff\xff\xff",
17987 .rlen = 192,
17988 }, {
17989 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17990 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17991 "\x2E\x44\x3B\x68",
17992 .klen = 20,
17993 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
17994 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00"
17995 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
17996 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
17997 "\x38\xD3\x01\x00\x00\x01\x00\x00"
17998 "\x00\x00\x00\x00\x04\x5F\x73\x69"
17999 "\x70\x04\x5F\x75\x64\x70\x03\x73"
18000 "\x69\x70\x09\x63\x79\x62\x65\x72"
18001 "\x63\x69\x74\x79\x02\x64\x6B\x00"
18002 "\x00\x21\x00\x01\x01\x02\x02\x01",
18003 .rlen = 72,
18004 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18005 "\x00\x00\x00\x00\x49\x56\xED\x7E"
18006 "\x3B\x24\x4C\xFE",
18007 .alen = 20,
18008 .input = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
18009 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
18010 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
18011 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
18012 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
18013 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
18014 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
18015 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
18016 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
18017 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
18018 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
18019 .ilen = 88,
18020 }, {
18021 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18022 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18023 "\xCA\xFE\xBA\xBE",
18024 .klen = 20,
18025 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18026 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
18027 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
18028 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
18029 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
18030 "\x00\x01\x00\x00\x00\x00\x00\x00"
18031 "\x03\x73\x69\x70\x09\x63\x79\x62"
18032 "\x65\x72\x63\x69\x74\x79\x02\x64"
18033 "\x6B\x00\x00\x01\x00\x01\x00\x01",
18034 .rlen = 64,
18035 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18036 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18037 .alen = 16,
18038 .input = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
18039 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
18040 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
18041 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
18042 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
18043 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
18044 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
18045 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
18046 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
18047 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
18048 .ilen = 80,
18049 }, {
18050 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18051 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18052 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18053 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18054 "\x11\x22\x33\x44",
18055 .klen = 36,
18056 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
18057 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00"
18058 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
18059 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
18060 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
18061 "\x70\x02\x40\x00\x20\xBF\x00\x00"
18062 "\x02\x04\x05\xB4\x01\x01\x04\x02"
18063 "\x01\x02\x02\x01",
18064 .rlen = 52,
18065 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
18066 "\x01\x02\x03\x04\x05\x06\x07\x08",
18067 .alen = 16,
18068 .input = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
18069 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
18070 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
18071 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
18072 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
18073 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
18074 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
18075 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
18076 "\x15\x95\x6C\x96",
18077 .ilen = 68,
18078 }, {
18079 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18080 "\x00\x00\x00\x00\x00\x00\x00\x00"
18081 "\x00\x00\x00\x00",
18082 .klen = 20,
18083 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
18084 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
18085 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
18086 "\x01\x01\x01\x01\x08\x00\x07\x5C"
18087 "\x02\x00\x44\x00\x61\x62\x63\x64"
18088 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18089 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18090 "\x75\x76\x77\x61\x62\x63\x64\x65"
18091 "\x66\x67\x68\x69\x01\x02\x02\x01",
18092 .rlen = 64,
18093 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
18094 "\x00\x00\x00\x00\x00\x00\x00\x00",
18095 .alen = 16,
18096 .input = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
18097 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
18098 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
18099 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
18100 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
18101 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
18102 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
18103 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
18104 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
18105 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
18106 .ilen = 80,
18107 }, {
18108 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18109 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18110 "\x57\x69\x0E\x43",
18111 .klen = 20,
18112 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18113 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
18114 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
18115 "\x01\x01\x01\x01\x08\x00\x08\x5C"
18116 "\x02\x00\x43\x00\x61\x62\x63\x64"
18117 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18118 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18119 "\x75\x76\x77\x61\x62\x63\x64\x65"
18120 "\x66\x67\x68\x69\x01\x02\x02\x01",
18121 .rlen = 64,
18122 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18123 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18124 "\xA2\xFC\xA1\xA3",
18125 .alen = 20,
18126 .input = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
18127 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
18128 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
18129 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
18130 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
18131 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
18132 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
18133 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
18134 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
18135 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
18136 .ilen = 80,
18137 }, {
18138 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18139 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18140 "\x57\x69\x0E\x43",
18141 .klen = 20,
18142 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18143 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
18144 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
18145 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
18146 "\x01\x02\x02\x01",
18147 .rlen = 28,
18148 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18149 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18150 "\xA2\xFC\xA1\xA3",
18151 .alen = 20,
18152 .input = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
18153 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
18154 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
18155 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
18156 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
18157 "\xE7\xD0\x5D\x35",
18158 .ilen = 44,
18159 }, {
18160 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18161 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18162 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18163 "\xCA\xFE\xBA\xBE",
18164 .klen = 28,
18165 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18166 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
18167 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
18168 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
18169 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
18170 "\x50\x10\x16\xD0\x75\x68\x00\x01",
18171 .rlen = 40,
18172 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18173 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18174 .alen = 16,
18175 .input = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
18176 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
18177 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
18178 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
18179 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
18180 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
18181 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
18182 .ilen = 56,
18183 }, {
18184 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18185 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18186 "\xDE\xCA\xF8\x88",
18187 .klen = 20,
18188 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
18189 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00"
18190 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
18191 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18192 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
18193 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
18194 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
18195 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
18196 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
18197 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
18198 "\x23\x01\x01\x01",
18199 .rlen = 76,
18200 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18201 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18202 "\xCE\xFA\xCE\x74",
18203 .alen = 20,
18204 .input = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
18205 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
18206 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
18207 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
18208 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
18209 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
18210 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
18211 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
18212 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
18213 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
18214 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
18215 "\x69\x62\x34\x36",
18216 .ilen = 92,
18217 }, {
18218 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18219 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18220 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18221 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18222 "\x73\x61\x6C\x74",
18223 .klen = 36,
18224 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
18225 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00"
18226 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
18227 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
18228 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
18229 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
18230 .rlen = 40,
18231 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18232 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18233 "\x69\x76\x65\x63",
18234 .alen = 20,
18235 .input = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
18236 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
18237 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
18238 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
18239 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
18240 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
18241 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
18242 .ilen = 56,
18243 }, {
18244 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18245 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18246 "\x57\x69\x0E\x43",
18247 .klen = 20,
18248 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18249 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00"
18250 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
18251 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18252 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
18253 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
18254 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
18255 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
18256 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
18257 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
18258 "\x15\x01\x01\x01",
18259 .rlen = 76,
18260 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18261 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18262 "\xA2\xFC\xA1\xA3",
18263 .alen = 20,
18264 .input = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
18265 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
18266 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
18267 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
18268 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
18269 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
18270 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
18271 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
18272 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
18273 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
18274 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
18275 "\x8C\xAA\x81\xE2",
18276 .ilen = 92,
18277 }, {
18278 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18279 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18280 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18281 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18282 "\x73\x61\x6C\x74",
18283 .klen = 36,
18284 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
18285 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75"
18286 "\x6C\x65\x73\x01\x74\x68\x65\x01"
18287 "\x6E\x65\x74\x77\x65\x01\x64\x65"
18288 "\x66\x69\x6E\x65\x01\x74\x68\x65"
18289 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
18290 "\x67\x69\x65\x73\x01\x74\x68\x61"
18291 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
18292 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
18293 "\x72\x72\x6F\x77\x01\x02\x02\x01",
18294 .rlen = 72,
18295 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18296 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18297 "\x69\x76\x65\x63",
18298 .alen = 20,
18299 .input = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
18300 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
18301 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
18302 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
18303 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
18304 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
18305 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
18306 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
18307 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
18308 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
18309 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
18310 .ilen = 88,
18311 }, {
18312 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
18313 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
18314 "\xD9\x66\x42\x67",
18315 .klen = 20,
18316 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18317 .result = "\x01\x02\x02\x01",
18318 .rlen = 4,
18319 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
18320 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18321 .alen = 16,
18322 .input = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
18323 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
18324 "\x04\xBE\xF2\x70",
18325 .ilen = 20,
18326 }, {
18327 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18328 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18329 "\xDE\xCA\xF8\x88",
18330 .klen = 20,
18331 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
18332 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
18333 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
18334 "\x62\x65\x00\x01",
18335 .rlen = 20,
18336 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18337 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18338 "\xCE\xFA\xCE\x74",
18339 .alen = 20,
18340 .input = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
18341 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
18342 "\x43\x33\x21\x64\x41\x25\x03\x52"
18343 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
18344 "\x43\xAF\x8C\x3E",
18345 .ilen = 36,
18346 }, {
18347 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
18348 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
18349 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
18350 "\x62\x65\x66\x6F\x72\x65\x69\x61"
18351 "\x74\x75\x72\x6E",
18352 .klen = 36,
18353 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
18354 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18355 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18356 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18357 "\x02\x00\x07\x00\x61\x62\x63\x64"
18358 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18359 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18360 "\x01\x02\x02\x01",
18361 .rlen = 52,
18362 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
18363 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
18364 "\x67\x65\x74\x6D",
18365 .alen = 20,
18366 .input = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
18367 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
18368 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
18369 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
18370 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
18371 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
18372 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
18373 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
18374 "\x9F\xB4\xC0\x53",
18375 .ilen = 68,
18376 }, {
18377 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18378 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18379 "\x57\x69\x0E\x43",
18380 .klen = 20,
18381 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18382 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18383 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18384 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18385 "\x02\x00\x07\x00\x61\x62\x63\x64"
18386 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18387 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18388 "\x01\x02\x02\x01",
18389 .rlen = 52,
18390 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
18391 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18392 "\xA2\xFC\xA1\xA3",
18393 .alen = 20,
18394 .input = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
18395 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
18396 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
18397 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
18398 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
18399 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
18400 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
18401 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
18402 "\x40\xD7\xCB\x05",
18403 .ilen = 68,
18404 }, {
18405 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18406 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18407 "\x22\x43\x3C\x64",
18408 .klen = 20,
18409 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
18410 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
18411 "\x61\x62\x63\x64\x65\x66\x67\x68"
18412 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
18413 "\x71\x72\x73\x74\x01\x02\x02\x01",
18414 .rlen = 32,
18415 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18416 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
18417 "\x3A\x23\x4B\xFD",
18418 .alen = 20,
18419 .input = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
18420 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
18421 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
18422 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
18423 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
18424 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
18425 .ilen = 48,
18426 }
18427};
18428
18429static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18430 { /* From draft-mcgrew-gcm-test-01 */ 17548 { /* From draft-mcgrew-gcm-test-01 */
18431 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda" 17549 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18432 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34" 17550 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
@@ -18436,15 +17554,15 @@ static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18436 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07" 17554 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
18437 "\x00\x00\x00\x00\x00\x00\x00\x00", 17555 "\x00\x00\x00\x00\x00\x00\x00\x00",
18438 .alen = 16, 17556 .alen = 16,
18439 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00" 17557 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18440 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" 17558 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18441 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" 17559 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18442 "\x02\x00\x07\x00\x61\x62\x63\x64" 17560 "\x02\x00\x07\x00\x61\x62\x63\x64"
18443 "\x65\x66\x67\x68\x69\x6a\x6b\x6c" 17561 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18444 "\x6d\x6e\x6f\x70\x71\x72\x73\x74" 17562 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18445 "\x01\x02\x02\x01", 17563 "\x01\x02\x02\x01",
18446 .ilen = 52, 17564 .plen = 52,
18447 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00" 17565 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18448 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" 17566 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18449 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" 17567 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18450 "\x02\x00\x07\x00\x61\x62\x63\x64" 17568 "\x02\x00\x07\x00\x61\x62\x63\x64"
@@ -18453,7 +17571,7 @@ static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18453 "\x01\x02\x02\x01\xf2\xa9\xa8\x36" 17571 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18454 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18" 17572 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18455 "\xe4\x09\x9a\xaa", 17573 "\xe4\x09\x9a\xaa",
18456 .rlen = 68, 17574 .clen = 68,
18457 }, { /* nearly same as previous, but should fail */ 17575 }, { /* nearly same as previous, but should fail */
18458 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda" 17576 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18459 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34" 17577 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
@@ -18463,16 +17581,16 @@ static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18463 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07" 17581 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
18464 "\x00\x00\x00\x00\x00\x00\x00\x00", 17582 "\x00\x00\x00\x00\x00\x00\x00\x00",
18465 .alen = 16, 17583 .alen = 16,
18466 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00" 17584 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18467 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" 17585 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18468 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" 17586 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18469 "\x02\x00\x07\x00\x61\x62\x63\x64" 17587 "\x02\x00\x07\x00\x61\x62\x63\x64"
18470 "\x65\x66\x67\x68\x69\x6a\x6b\x6c" 17588 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18471 "\x6d\x6e\x6f\x70\x71\x72\x73\x74" 17589 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18472 "\x01\x02\x02\x01", 17590 "\x01\x02\x02\x01",
18473 .ilen = 52, 17591 .plen = 52,
18474 .novrfy = 1, 17592 .novrfy = 1,
18475 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00" 17593 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18476 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05" 17594 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18477 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd" 17595 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18478 "\x02\x00\x07\x00\x61\x62\x63\x64" 17596 "\x02\x00\x07\x00\x61\x62\x63\x64"
@@ -18481,70 +17599,11 @@ static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18481 "\x01\x02\x02\x01\xf2\xa9\xa8\x36" 17599 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18482 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18" 17600 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18483 "\x00\x00\x00\x00", 17601 "\x00\x00\x00\x00",
18484 .rlen = 68, 17602 .clen = 68,
18485 }, 17603 },
18486}; 17604};
18487 17605
18488static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = { 17606static const struct aead_testvec aes_ccm_tv_template[] = {
18489 { /* From draft-mcgrew-gcm-test-01 */
18490 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18491 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
18492 "\x22\x43\x3c\x64",
18493 .klen = 20,
18494 .iv = zeroed_string,
18495 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
18496 "\x00\x00\x00\x00\x00\x00\x00\x00",
18497 .alen = 16,
18498 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18499 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18500 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18501 "\x02\x00\x07\x00\x61\x62\x63\x64"
18502 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18503 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18504 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18505 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18506 "\xe4\x09\x9a\xaa",
18507 .ilen = 68,
18508 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18509 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18510 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18511 "\x02\x00\x07\x00\x61\x62\x63\x64"
18512 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18513 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18514 "\x01\x02\x02\x01",
18515 .rlen = 52,
18516 }, { /* nearly same as previous, but should fail */
18517 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18518 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
18519 "\x22\x43\x3c\x64",
18520 .klen = 20,
18521 .iv = zeroed_string,
18522 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
18523 "\x00\x00\x00\x00\x00\x00\x00\x00",
18524 .alen = 16,
18525 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18526 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18527 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18528 "\x02\x00\x07\x00\x61\x62\x63\x64"
18529 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18530 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18531 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18532 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18533 "\x00\x00\x00\x00",
18534 .ilen = 68,
18535 .novrfy = 1,
18536 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18537 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18538 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18539 "\x02\x00\x07\x00\x61\x62\x63\x64"
18540 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18541 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18542 "\x01\x02\x02\x01",
18543 .rlen = 52,
18544 },
18545};
18546
18547static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18548 { /* From RFC 3610 */ 17607 { /* From RFC 3610 */
18549 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" 17608 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18550 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf", 17609 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
@@ -18553,15 +17612,15 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18553 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00", 17612 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18554 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07", 17613 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18555 .alen = 8, 17614 .alen = 8,
18556 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 17615 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18557 "\x10\x11\x12\x13\x14\x15\x16\x17" 17616 "\x10\x11\x12\x13\x14\x15\x16\x17"
18558 "\x18\x19\x1a\x1b\x1c\x1d\x1e", 17617 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
18559 .ilen = 23, 17618 .plen = 23,
18560 .result = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2" 17619 .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
18561 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80" 17620 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
18562 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17" 17621 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
18563 "\xe8\xd1\x2c\xfd\xf9\x26\xe0", 17622 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
18564 .rlen = 31, 17623 .clen = 31,
18565 }, { 17624 }, {
18566 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" 17625 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18567 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf", 17626 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
@@ -18571,15 +17630,15 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18571 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 17630 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18572 "\x08\x09\x0a\x0b", 17631 "\x08\x09\x0a\x0b",
18573 .alen = 12, 17632 .alen = 12,
18574 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13" 17633 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18575 "\x14\x15\x16\x17\x18\x19\x1a\x1b" 17634 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18576 "\x1c\x1d\x1e\x1f", 17635 "\x1c\x1d\x1e\x1f",
18577 .ilen = 20, 17636 .plen = 20,
18578 .result = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb" 17637 .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
18579 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8" 17638 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
18580 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07" 17639 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
18581 "\x7d\x9c\x2d\x93", 17640 "\x7d\x9c\x2d\x93",
18582 .rlen = 28, 17641 .clen = 28,
18583 }, { 17642 }, {
18584 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" 17643 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18585 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf", 17644 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
@@ -18588,17 +17647,17 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18588 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00", 17647 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18589 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07", 17648 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18590 .alen = 8, 17649 .alen = 8,
18591 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 17650 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18592 "\x10\x11\x12\x13\x14\x15\x16\x17" 17651 "\x10\x11\x12\x13\x14\x15\x16\x17"
18593 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" 17652 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18594 "\x20", 17653 "\x20",
18595 .ilen = 25, 17654 .plen = 25,
18596 .result = "\x82\x53\x1a\x60\xcc\x24\x94\x5a" 17655 .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
18597 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d" 17656 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
18598 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1" 17657 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
18599 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1" 17658 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
18600 "\x7e\x5f\x4e", 17659 "\x7e\x5f\x4e",
18601 .rlen = 35, 17660 .clen = 35,
18602 }, { 17661 }, {
18603 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7" 17662 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18604 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf", 17663 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
@@ -18608,15 +17667,15 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18608 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07" 17667 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18609 "\x08\x09\x0a\x0b", 17668 "\x08\x09\x0a\x0b",
18610 .alen = 12, 17669 .alen = 12,
18611 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13" 17670 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18612 "\x14\x15\x16\x17\x18\x19\x1a\x1b" 17671 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18613 "\x1c\x1d\x1e", 17672 "\x1c\x1d\x1e",
18614 .ilen = 19, 17673 .plen = 19,
18615 .result = "\x07\x34\x25\x94\x15\x77\x85\x15" 17674 .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
18616 "\x2b\x07\x40\x98\x33\x0a\xbb\x14" 17675 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
18617 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b" 17676 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
18618 "\x4d\x99\x99\x88\xdd", 17677 "\x4d\x99\x99\x88\xdd",
18619 .rlen = 29, 17678 .clen = 29,
18620 }, { 17679 }, {
18621 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3" 17680 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18622 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b", 17681 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
@@ -18625,15 +17684,15 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18625 "\x3c\x96\x96\x76\x6c\xfa\x00\x00", 17684 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18626 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb", 17685 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
18627 .alen = 8, 17686 .alen = 8,
18628 .input = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a" 17687 .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
18629 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf" 17688 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
18630 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec", 17689 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
18631 .ilen = 24, 17690 .plen = 24,
18632 .result = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa" 17691 .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
18633 "\xa0\x72\x6c\x55\xd3\x78\x06\x12" 17692 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
18634 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33" 17693 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
18635 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a", 17694 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
18636 .rlen = 32, 17695 .clen = 32,
18637 }, { 17696 }, {
18638 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3" 17697 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18639 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b", 17698 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
@@ -18643,15 +17702,15 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18643 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81" 17702 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
18644 "\x20\xea\x60\xc0", 17703 "\x20\xea\x60\xc0",
18645 .alen = 12, 17704 .alen = 12,
18646 .input = "\x64\x35\xac\xba\xfb\x11\xa8\x2e" 17705 .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
18647 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9" 17706 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
18648 "\x3a\x80\x3b\xa8\x7f", 17707 "\x3a\x80\x3b\xa8\x7f",
18649 .ilen = 21, 17708 .plen = 21,
18650 .result = "\x00\x97\x69\xec\xab\xdf\x48\x62" 17709 .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
18651 "\x55\x94\xc5\x92\x51\xe6\x03\x57" 17710 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
18652 "\x22\x67\x5e\x04\xc8\x47\x09\x9e" 17711 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
18653 "\x5a\xe0\x70\x45\x51", 17712 "\x5a\xe0\x70\x45\x51",
18654 .rlen = 29, 17713 .clen = 29,
18655 }, { 17714 }, {
18656 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3" 17715 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18657 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b", 17716 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
@@ -18660,16 +17719,16 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18660 "\x3c\x96\x96\x76\x6c\xfa\x00\x00", 17719 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18661 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8", 17720 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
18662 .alen = 8, 17721 .alen = 8,
18663 .input = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01" 17722 .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
18664 "\x8e\x5e\x67\x01\xc9\x17\x87\x65" 17723 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
18665 "\x98\x09\xd6\x7d\xbe\xdd\x18", 17724 "\x98\x09\xd6\x7d\xbe\xdd\x18",
18666 .ilen = 23, 17725 .plen = 23,
18667 .result = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6" 17726 .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
18668 "\xdb\x38\x6a\x99\xac\x1a\xef\x23" 17727 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
18669 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63" 17728 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
18670 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6" 17729 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
18671 "\xba", 17730 "\xba",
18672 .rlen = 33, 17731 .clen = 33,
18673 }, { 17732 }, {
18674 /* This is taken from FIPS CAVS. */ 17733 /* This is taken from FIPS CAVS. */
18675 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05" 17734 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
@@ -18677,18 +17736,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18677 .klen = 16, 17736 .klen = 16,
18678 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0", 17737 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
18679 .alen = 0, 17738 .alen = 0,
18680 .input = "\x19\xc8\x81\xf6\xe9\x86\xff\x93" 17739 .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
18681 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e" 17740 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
18682 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c" 17741 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
18683 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1", 17742 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
18684 .ilen = 32, 17743 .plen = 32,
18685 .result = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8" 17744 .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
18686 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1" 17745 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
18687 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a" 17746 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
18688 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32" 17747 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
18689 "\xda\x24\xea\xd9\xa1\x39\x98\xfd" 17748 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
18690 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8", 17749 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
18691 .rlen = 48, 17750 .clen = 48,
18692 }, { 17751 }, {
18693 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0" 17752 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
18694 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3", 17753 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
@@ -18700,18 +17759,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18700 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1" 17759 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
18701 "\x0a\x63\x09\x78\xbc\x2c\x55\xde", 17760 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
18702 .alen = 32, 17761 .alen = 32,
18703 .input = "\x87\xa3\x36\xfd\x96\xb3\x93\x78" 17762 .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
18704 "\xa9\x28\x63\xba\x12\xa3\x14\x85" 17763 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
18705 "\x57\x1e\x06\xc9\x7b\x21\xef\x76" 17764 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
18706 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e", 17765 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
18707 .ilen = 32, 17766 .plen = 32,
18708 .result = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19" 17767 .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
18709 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab" 17768 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
18710 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff" 17769 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
18711 "\x3b\xb5\xce\x53\xef\xde\xbb\x02" 17770 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
18712 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a" 17771 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
18713 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23", 17772 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
18714 .rlen = 48, 17773 .clen = 48,
18715 }, { 17774 }, {
18716 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1" 17775 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
18717 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75" 17776 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
@@ -18724,9 +17783,9 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18724 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d" 17783 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
18725 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7", 17784 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
18726 .alen = 32, 17785 .alen = 32,
18727 .result = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc" 17786 .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
18728 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b", 17787 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
18729 .rlen = 16, 17788 .clen = 16,
18730 }, { 17789 }, {
18731 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42" 17790 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
18732 "\xef\x7a\xd3\xce\xfc\x84\x60\x62" 17791 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
@@ -18739,18 +17798,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18739 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c" 17798 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
18740 "\xe3\x00\x73\x69\x84\x69\x87\x79", 17799 "\xe3\x00\x73\x69\x84\x69\x87\x79",
18741 .alen = 32, 17800 .alen = 32,
18742 .input = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c" 17801 .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
18743 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e" 17802 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
18744 "\xe0\xe5\x46\x09\x80\x89\x13\xb2" 17803 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
18745 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b", 17804 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
18746 .ilen = 32, 17805 .plen = 32,
18747 .result = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62" 17806 .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
18748 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f" 17807 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
18749 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2" 17808 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
18750 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e" 17809 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
18751 "\xc7\x79\x11\x58\xe5\x6b\x20\x40" 17810 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
18752 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1", 17811 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
18753 .rlen = 48, 17812 .clen = 48,
18754 }, { 17813 }, {
18755 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a" 17814 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
18756 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a" 17815 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
@@ -18764,17 +17823,17 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18764 "\x6b\x75\xcb\x98\x34\x08\x7e\x79" 17823 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
18765 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87", 17824 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
18766 .alen = 32, 17825 .alen = 32,
18767 .input = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f" 17826 .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
18768 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66" 17827 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
18769 "\xbf\x17\x99\x62\x4a\x39\x27\x1f" 17828 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
18770 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c", 17829 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
18771 .ilen = 32, 17830 .plen = 32,
18772 .result = "\x19\xb8\x61\x33\x45\x2b\x43\x96" 17831 .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
18773 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6" 17832 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
18774 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f" 17833 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
18775 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75" 17834 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
18776 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d", 17835 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
18777 .rlen = 40, 17836 .clen = 40,
18778 }, { 17837 }, {
18779 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c" 17838 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
18780 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32" 17839 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
@@ -18788,18 +17847,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18788 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94" 17847 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
18789 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13", 17848 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
18790 .alen = 32, 17849 .alen = 32,
18791 .input = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6" 17850 .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
18792 "\x83\x72\x07\x4f\xcf\xfa\x66\x89" 17851 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
18793 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27" 17852 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
18794 "\x30\xdb\x75\x09\x93\xd4\x65\xe4", 17853 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
18795 .ilen = 32, 17854 .plen = 32,
18796 .result = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d" 17855 .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
18797 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d" 17856 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
18798 "\xcc\x63\x44\x25\x07\x78\x4f\x9e" 17857 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
18799 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06" 17858 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
18800 "\x39\xaf\x39\xac\xd8\x4a\x80\x39" 17859 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
18801 "\x7b\x72\x8a\xf7", 17860 "\x7b\x72\x8a\xf7",
18802 .rlen = 44, 17861 .clen = 44,
18803 }, { 17862 }, {
18804 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83" 17863 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
18805 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46" 17864 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
@@ -18813,18 +17872,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18813 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f" 17872 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
18814 "\x16\x0c\x40\x90\x4b\xc7\x36\x73", 17873 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
18815 .alen = 32, 17874 .alen = 32,
18816 .input = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92" 17875 .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
18817 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d" 17876 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
18818 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2" 17877 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
18819 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a", 17878 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
18820 .ilen = 32, 17879 .plen = 32,
18821 .result = "\x83\x6f\x40\x87\x72\xcf\xc1\x13" 17880 .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
18822 "\xef\xbb\x80\x21\x04\x6c\x58\x09" 17881 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
18823 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7" 17882 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
18824 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf" 17883 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
18825 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d" 17884 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
18826 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8", 17885 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
18827 .rlen = 48, 17886 .clen = 48,
18828 }, { 17887 }, {
18829 /* This is taken from FIPS CAVS. */ 17888 /* This is taken from FIPS CAVS. */
18830 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1" 17889 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
@@ -18833,10 +17892,10 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18833 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab" 17892 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
18834 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00", 17893 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
18835 .alen = 0, 17894 .alen = 0,
18836 .input = "\x00", 17895 .ptext = "\x00",
18837 .ilen = 0, 17896 .plen = 0,
18838 .result = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b", 17897 .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
18839 .rlen = 8, 17898 .clen = 8,
18840 .novrfy = 1, 17899 .novrfy = 1,
18841 }, { 17900 }, {
18842 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1" 17901 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
@@ -18845,10 +17904,10 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18845 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81" 17904 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
18846 "\x7f\x88\x94\x68\x00\x00\x00\x00", 17905 "\x7f\x88\x94\x68\x00\x00\x00\x00",
18847 .alen = 0, 17906 .alen = 0,
18848 .input = "\x00", 17907 .ptext = "\x00",
18849 .ilen = 0, 17908 .plen = 0,
18850 .result = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3", 17909 .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
18851 .rlen = 8, 17910 .clen = 8,
18852 }, { 17911 }, {
18853 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38" 17912 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
18854 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8", 17913 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
@@ -18860,18 +17919,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18860 "\x04\x1f\x4e\xed\x78\xd5\x33\x66" 17919 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
18861 "\xd8\x94\x99\x91\x81\x54\x62\x57", 17920 "\xd8\x94\x99\x91\x81\x54\x62\x57",
18862 .alen = 32, 17921 .alen = 32,
18863 .input = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb" 17922 .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
18864 "\x33\xe4\x73\xce\xd2\xfb\x95\x79" 17923 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
18865 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f" 17924 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
18866 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48", 17925 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
18867 .ilen = 32, 17926 .plen = 32,
18868 .result = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55" 17927 .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
18869 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a" 17928 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
18870 "\x86\xb0\x87\x6b\x62\x33\x8c\x34" 17929 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
18871 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f" 17930 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
18872 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51" 17931 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
18873 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5", 17932 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
18874 .rlen = 48, 17933 .clen = 48,
18875 .novrfy = 1, 17934 .novrfy = 1,
18876 }, { 17935 }, {
18877 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38" 17936 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
@@ -18884,18 +17943,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18884 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89" 17943 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
18885 "\x05\xac\x56\xac\x1b\x2a\xd3\x86", 17944 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
18886 .alen = 32, 17945 .alen = 32,
18887 .input = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60" 17946 .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
18888 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7" 17947 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
18889 "\xf2\xae\x61\x05\x8f\x82\x24\x3f" 17948 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
18890 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c", 17949 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
18891 .ilen = 32, 17950 .plen = 32,
18892 .result = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c" 17951 .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
18893 "\xad\x83\x52\x6d\x71\x03\x25\x1c" 17952 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
18894 "\xed\x81\x3a\x9a\x16\x7d\x19\x80" 17953 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
18895 "\x72\x04\x72\xd0\xf6\xff\x05\x0f" 17954 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
18896 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6" 17955 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
18897 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3", 17956 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
18898 .rlen = 48, 17957 .clen = 48,
18899 }, { 17958 }, {
18900 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73" 17959 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18901 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3" 17960 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
@@ -18908,10 +17967,10 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18908 "\xa4\xf0\x13\x05\xd1\x77\x99\x67" 17967 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18909 "\x11\xc4\xc6\xdb\x00\x56\x36\x61", 17968 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18910 .alen = 32, 17969 .alen = 32,
18911 .input = "\x00", 17970 .ptext = "\x00",
18912 .ilen = 0, 17971 .plen = 0,
18913 .result = "\x71\x99\xfa\xf4\x44\x12\x68\x9b", 17972 .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
18914 .rlen = 8, 17973 .clen = 8,
18915 }, { 17974 }, {
18916 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7" 17975 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18917 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0" 17976 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
@@ -18924,17 +17983,17 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18924 "\xa4\xf0\x13\x05\xd1\x77\x99\x67" 17983 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18925 "\x11\xc4\xc6\xdb\x00\x56\x36\x61", 17984 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18926 .alen = 32, 17985 .alen = 32,
18927 .input = "\x85\x34\x66\x42\xc8\x92\x0f\x36" 17986 .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
18928 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb" 17987 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
18929 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9" 17988 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
18930 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81", 17989 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
18931 .ilen = 32, 17990 .plen = 32,
18932 .result = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7" 17991 .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
18933 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2" 17992 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
18934 "\x66\xca\x61\x1e\x96\x7a\x61\xb3" 17993 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
18935 "\x1c\x16\x45\x52\xba\x04\x9c\x9f" 17994 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
18936 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1", 17995 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
18937 .rlen = 40, 17996 .clen = 40,
18938 }, { 17997 }, {
18939 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7" 17998 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18940 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0" 17999 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
@@ -18947,18 +18006,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18947 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7" 18006 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
18948 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a", 18007 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
18949 .alen = 32, 18008 .alen = 32,
18950 .input = "\x02\x87\x4d\x28\x80\x6e\xb2\xed" 18009 .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
18951 "\x99\x2a\xa8\xca\x04\x25\x45\x90" 18010 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
18952 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c" 18011 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
18953 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b", 18012 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
18954 .ilen = 32, 18013 .plen = 32,
18955 .result = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00" 18014 .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
18956 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37" 18015 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
18957 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa" 18016 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
18958 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b" 18017 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
18959 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f" 18018 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
18960 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef", 18019 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
18961 .rlen = 48, 18020 .clen = 48,
18962 .novrfy = 1, 18021 .novrfy = 1,
18963 }, { 18022 }, {
18964 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01" 18023 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
@@ -18969,10 +18028,10 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18969 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9" 18028 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
18970 "\x57\xba\xfd\x9e\x00\x00\x00\x00", 18029 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
18971 .alen = 0, 18030 .alen = 0,
18972 .input = "\x00", 18031 .ptext = "\x00",
18973 .ilen = 0, 18032 .plen = 0,
18974 .result = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2", 18033 .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
18975 .rlen = 8, 18034 .clen = 8,
18976 }, { 18035 }, {
18977 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73" 18036 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18978 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3" 18037 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
@@ -18982,18 +18041,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
18982 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f" 18041 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
18983 "\x36\x58\xe0\x6b\x00\x00\x00\x00", 18042 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
18984 .alen = 0, 18043 .alen = 0,
18985 .input = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c" 18044 .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
18986 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99" 18045 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
18987 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39" 18046 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
18988 "\x89\xd4\x75\x7a\x63\xb1\xda\x93", 18047 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
18989 .ilen = 32, 18048 .plen = 32,
18990 .result = "\x48\x01\x5e\x02\x24\x04\x66\x47" 18049 .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
18991 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd" 18050 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
18992 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77" 18051 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
18993 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6" 18052 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
18994 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07" 18053 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
18995 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a", 18054 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
18996 .rlen = 48, 18055 .clen = 48,
18997 .novrfy = 1, 18056 .novrfy = 1,
18998 }, { 18057 }, {
18999 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7" 18058 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
@@ -19008,342 +18067,18 @@ static const struct aead_testvec aes_ccm_enc_tv_template[] = {
19008 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b" 18067 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
19009 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe", 18068 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
19010 .alen = 32, 18069 .alen = 32,
19011 .input = "\xc2\x54\xc8\xde\x78\x87\x77\x40" 18070 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
19012 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61" 18071 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
19013 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab" 18072 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
19014 "\x04\x49\x3b\x19\x93\x57\x25\x5d", 18073 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
19015 .ilen = 32, 18074 .plen = 32,
19016 .result = "\x48\x58\xd6\xf3\xad\x63\x58\xbf" 18075 .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
19017 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
19018 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
19019 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
19020 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
19021 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
19022 .rlen = 48,
19023 },
19024};
19025
19026static const struct aead_testvec aes_ccm_dec_tv_template[] = {
19027 { /* From RFC 3610 */
19028 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19029 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19030 .klen = 16,
19031 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
19032 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19033 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
19034 .alen = 8,
19035 .input = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
19036 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
19037 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
19038 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
19039 .ilen = 31,
19040 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19041 "\x10\x11\x12\x13\x14\x15\x16\x17"
19042 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
19043 .rlen = 23,
19044 }, {
19045 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19046 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19047 .klen = 16,
19048 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
19049 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19050 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
19051 "\x08\x09\x0a\x0b",
19052 .alen = 12,
19053 .input = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
19054 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
19055 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
19056 "\x7d\x9c\x2d\x93",
19057 .ilen = 28,
19058 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
19059 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
19060 "\x1c\x1d\x1e\x1f",
19061 .rlen = 20,
19062 }, {
19063 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19064 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19065 .klen = 16,
19066 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
19067 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19068 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
19069 .alen = 8,
19070 .input = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
19071 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
19072 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
19073 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
19074 "\x7e\x5f\x4e",
19075 .ilen = 35,
19076 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19077 "\x10\x11\x12\x13\x14\x15\x16\x17"
19078 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19079 "\x20",
19080 .rlen = 25,
19081 }, {
19082 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19083 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19084 .klen = 16,
19085 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
19086 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19087 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
19088 "\x08\x09\x0a\x0b",
19089 .alen = 12,
19090 .input = "\x07\x34\x25\x94\x15\x77\x85\x15"
19091 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
19092 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
19093 "\x4d\x99\x99\x88\xdd",
19094 .ilen = 29,
19095 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
19096 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
19097 "\x1c\x1d\x1e",
19098 .rlen = 19,
19099 }, {
19100 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19101 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19102 .klen = 16,
19103 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
19104 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19105 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
19106 .alen = 8,
19107 .input = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
19108 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
19109 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
19110 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
19111 .ilen = 32,
19112 .result = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
19113 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
19114 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
19115 .rlen = 24,
19116 }, {
19117 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19118 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19119 .klen = 16,
19120 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
19121 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19122 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
19123 "\x20\xea\x60\xc0",
19124 .alen = 12,
19125 .input = "\x00\x97\x69\xec\xab\xdf\x48\x62"
19126 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
19127 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
19128 "\x5a\xe0\x70\x45\x51",
19129 .ilen = 29,
19130 .result = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
19131 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
19132 "\x3a\x80\x3b\xa8\x7f",
19133 .rlen = 21,
19134 }, {
19135 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19136 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19137 .klen = 16,
19138 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
19139 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19140 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
19141 .alen = 8,
19142 .input = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
19143 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
19144 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
19145 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
19146 "\xba",
19147 .ilen = 33,
19148 .result = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
19149 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
19150 "\x98\x09\xd6\x7d\xbe\xdd\x18",
19151 .rlen = 23,
19152 }, {
19153 /* This is taken from FIPS CAVS. */
19154 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
19155 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
19156 .klen = 16,
19157 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
19158 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
19159 .alen = 0,
19160 .input = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
19161 .ilen = 8,
19162 .result = "\x00",
19163 .rlen = 0,
19164 .novrfy = 1,
19165 }, {
19166 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
19167 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
19168 .klen = 16,
19169 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
19170 "\x7f\x88\x94\x68\x00\x00\x00\x00",
19171 .alen = 0,
19172 .input = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
19173 .ilen = 8,
19174 .result = "\x00",
19175 .rlen = 0,
19176 }, {
19177 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
19178 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
19179 .klen = 16,
19180 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
19181 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
19182 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
19183 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
19184 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
19185 "\xd8\x94\x99\x91\x81\x54\x62\x57",
19186 .alen = 32,
19187 .input = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
19188 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
19189 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
19190 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
19191 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
19192 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
19193 .ilen = 48,
19194 .result = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
19195 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
19196 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
19197 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
19198 .rlen = 32,
19199 .novrfy = 1,
19200 }, {
19201 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
19202 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
19203 .klen = 16,
19204 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
19205 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
19206 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
19207 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
19208 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
19209 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
19210 .alen = 32,
19211 .input = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
19212 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
19213 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
19214 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
19215 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
19216 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
19217 .ilen = 48,
19218 .result = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
19219 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
19220 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
19221 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
19222 .rlen = 32,
19223 }, {
19224 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
19225 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
19226 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
19227 .klen = 24,
19228 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19229 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19230 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
19231 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
19232 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
19233 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
19234 .alen = 32,
19235 .input = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
19236 .ilen = 8,
19237 .result = "\x00",
19238 .rlen = 0,
19239 }, {
19240 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19241 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19242 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
19243 .klen = 24,
19244 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19245 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19246 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
19247 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
19248 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
19249 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
19250 .alen = 32,
19251 .input = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
19252 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
19253 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
19254 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
19255 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
19256 .ilen = 40,
19257 .result = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
19258 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
19259 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
19260 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
19261 .rlen = 32,
19262 }, {
19263 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19264 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19265 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
19266 .klen = 24,
19267 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
19268 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
19269 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
19270 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
19271 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
19272 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
19273 .alen = 32,
19274 .input = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
19275 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
19276 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
19277 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
19278 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
19279 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
19280 .ilen = 48,
19281 .result = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
19282 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
19283 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
19284 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
19285 .rlen = 32,
19286 .novrfy = 1,
19287 }, {
19288 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
19289 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
19290 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
19291 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
19292 .klen = 32,
19293 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19294 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19295 .alen = 0,
19296 .input = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
19297 .ilen = 8,
19298 .result = "\x00",
19299 .rlen = 0,
19300 }, {
19301 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
19302 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
19303 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
19304 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
19305 .klen = 32,
19306 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
19307 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
19308 .alen = 0,
19309 .input = "\x48\x01\x5e\x02\x24\x04\x66\x47"
19310 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
19311 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
19312 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
19313 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
19314 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
19315 .ilen = 48,
19316 .result = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
19317 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
19318 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
19319 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
19320 .rlen = 32,
19321 .novrfy = 1,
19322 }, {
19323 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19324 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19325 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
19326 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
19327 .klen = 32,
19328 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
19329 "\x44\x89\x40\x7b\x00\x00\x00\x00",
19330 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
19331 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
19332 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
19333 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
19334 .alen = 32,
19335 .input = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
19336 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4" 18076 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
19337 "\x78\x5c\x4c\x67\x71\x89\x94\xbf" 18077 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
19338 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5" 18078 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
19339 "\x7f\x44\x0a\x0c\x01\x18\x07\x92" 18079 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
19340 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b", 18080 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
19341 .ilen = 48, 18081 .clen = 48,
19342 .result = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
19343 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
19344 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
19345 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
19346 .rlen = 32,
19347 }, 18082 },
19348}; 18083};
19349 18084
@@ -19355,649 +18090,36 @@ static const struct aead_testvec aes_ccm_dec_tv_template[] = {
19355 * These vectors are copied/generated from the ones for rfc4106 with 18090 * These vectors are copied/generated from the ones for rfc4106 with
19356 * the key truncated by one byte.. 18091 * the key truncated by one byte..
19357 */ 18092 */
19358static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = { 18093static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
19359 { /* Generated using Crypto++ */
19360 .key = zeroed_string,
19361 .klen = 19,
19362 .iv = zeroed_string,
19363 .input = zeroed_string,
19364 .ilen = 16,
19365 .assoc = zeroed_string,
19366 .alen = 16,
19367 .result = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
19368 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
19369 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
19370 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
19371 .rlen = 32,
19372 },{
19373 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19374 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19375 "\x00\x00\x00",
19376 .klen = 19,
19377 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
19378 .input = zeroed_string,
19379 .ilen = 16,
19380 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
19381 "\x00\x00\x00\x00\x00\x00\x00\x01",
19382 .alen = 16,
19383 .result = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
19384 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
19385 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
19386 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
19387 .rlen = 32,
19388
19389 }, {
19390 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19391 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19392 "\x00\x00\x00",
19393 .klen = 19,
19394 .iv = zeroed_string,
19395 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
19396 "\x01\x01\x01\x01\x01\x01\x01\x01",
19397 .ilen = 16,
19398 .assoc = zeroed_string,
19399 .alen = 16,
19400 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
19401 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
19402 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
19403 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
19404 .rlen = 32,
19405 }, {
19406 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19407 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19408 "\x00\x00\x00",
19409 .klen = 19,
19410 .iv = zeroed_string,
19411 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
19412 "\x01\x01\x01\x01\x01\x01\x01\x01",
19413 .ilen = 16,
19414 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
19415 "\x00\x00\x00\x00\x00\x00\x00\x00",
19416 .alen = 16,
19417 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
19418 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
19419 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
19420 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
19421 .rlen = 32,
19422 }, {
19423 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19424 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19425 "\x00\x00\x00",
19426 .klen = 19,
19427 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
19428 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
19429 "\x01\x01\x01\x01\x01\x01\x01\x01",
19430 .ilen = 16,
19431 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
19432 "\x00\x00\x00\x00\x00\x00\x00\x01",
19433 .alen = 16,
19434 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
19435 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
19436 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
19437 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
19438 .rlen = 32,
19439 }, {
19440 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19441 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19442 "\x00\x00\x00",
19443 .klen = 19,
19444 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
19445 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
19446 "\x01\x01\x01\x01\x01\x01\x01\x01"
19447 "\x01\x01\x01\x01\x01\x01\x01\x01"
19448 "\x01\x01\x01\x01\x01\x01\x01\x01"
19449 "\x01\x01\x01\x01\x01\x01\x01\x01"
19450 "\x01\x01\x01\x01\x01\x01\x01\x01"
19451 "\x01\x01\x01\x01\x01\x01\x01\x01"
19452 "\x01\x01\x01\x01\x01\x01\x01\x01",
19453 .ilen = 64,
19454 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
19455 "\x00\x00\x00\x00\x00\x00\x00\x01",
19456 .alen = 16,
19457 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
19458 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
19459 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
19460 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
19461 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
19462 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
19463 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
19464 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
19465 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
19466 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
19467 .rlen = 80,
19468 }, {
19469 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19470 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19471 "\x00\x00\x00",
19472 .klen = 19,
19473 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
19474 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
19475 "\xff\xff\xff\xff\xff\xff\xff\xff"
19476 "\xff\xff\xff\xff\xff\xff\xff\xff"
19477 "\xff\xff\xff\xff\xff\xff\xff\xff"
19478 "\xff\xff\xff\xff\xff\xff\xff\xff"
19479 "\xff\xff\xff\xff\xff\xff\xff\xff"
19480 "\xff\xff\xff\xff\xff\xff\xff\xff"
19481 "\xff\xff\xff\xff\xff\xff\xff\xff"
19482 "\xff\xff\xff\xff\xff\xff\xff\xff"
19483 "\xff\xff\xff\xff\xff\xff\xff\xff"
19484 "\xff\xff\xff\xff\xff\xff\xff\xff"
19485 "\xff\xff\xff\xff\xff\xff\xff\xff"
19486 "\xff\xff\xff\xff\xff\xff\xff\xff"
19487 "\xff\xff\xff\xff\xff\xff\xff\xff"
19488 "\xff\xff\xff\xff\xff\xff\xff\xff"
19489 "\xff\xff\xff\xff\xff\xff\xff\xff"
19490 "\xff\xff\xff\xff\xff\xff\xff\xff"
19491 "\xff\xff\xff\xff\xff\xff\xff\xff"
19492 "\xff\xff\xff\xff\xff\xff\xff\xff"
19493 "\xff\xff\xff\xff\xff\xff\xff\xff"
19494 "\xff\xff\xff\xff\xff\xff\xff\xff"
19495 "\xff\xff\xff\xff\xff\xff\xff\xff"
19496 "\xff\xff\xff\xff\xff\xff\xff\xff"
19497 "\xff\xff\xff\xff\xff\xff\xff\xff",
19498 .ilen = 192,
19499 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
19500 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
19501 "\x89\xab\xcd\xef",
19502 .alen = 20,
19503 .result = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
19504 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
19505 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
19506 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
19507 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
19508 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
19509 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
19510 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
19511 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
19512 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
19513 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
19514 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
19515 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
19516 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
19517 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
19518 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
19519 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
19520 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
19521 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
19522 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
19523 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
19524 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
19525 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
19526 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
19527 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
19528 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
19529 .rlen = 208,
19530 }, { /* From draft-mcgrew-gcm-test-01 */
19531 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
19532 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
19533 "\x2E\x44\x3B",
19534 .klen = 19,
19535 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
19536 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00"
19537 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
19538 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
19539 "\x38\xD3\x01\x00\x00\x01\x00\x00"
19540 "\x00\x00\x00\x00\x04\x5F\x73\x69"
19541 "\x70\x04\x5F\x75\x64\x70\x03\x73"
19542 "\x69\x70\x09\x63\x79\x62\x65\x72"
19543 "\x63\x69\x74\x79\x02\x64\x6B\x00"
19544 "\x00\x21\x00\x01\x01\x02\x02\x01",
19545 .ilen = 72,
19546 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
19547 "\x00\x00\x00\x00\x49\x56\xED\x7E"
19548 "\x3B\x24\x4C\xFE",
19549 .alen = 20,
19550 .result = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
19551 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
19552 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
19553 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
19554 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
19555 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
19556 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
19557 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
19558 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
19559 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
19560 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
19561 .rlen = 88,
19562 }, {
19563 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
19564 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
19565 "\xCA\xFE\xBA",
19566 .klen = 19,
19567 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
19568 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
19569 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
19570 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
19571 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
19572 "\x00\x01\x00\x00\x00\x00\x00\x00"
19573 "\x03\x73\x69\x70\x09\x63\x79\x62"
19574 "\x65\x72\x63\x69\x74\x79\x02\x64"
19575 "\x6B\x00\x00\x01\x00\x01\x00\x01",
19576 .ilen = 64,
19577 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
19578 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
19579 .alen = 16,
19580 .result = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
19581 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
19582 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
19583 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
19584 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
19585 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
19586 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
19587 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
19588 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
19589 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
19590 .rlen = 80,
19591 }, {
19592 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19593 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19594 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19595 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19596 "\x11\x22\x33",
19597 .klen = 35,
19598 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
19599 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00"
19600 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
19601 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
19602 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
19603 "\x70\x02\x40\x00\x20\xBF\x00\x00"
19604 "\x02\x04\x05\xB4\x01\x01\x04\x02"
19605 "\x01\x02\x02\x01",
19606 .ilen = 52,
19607 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
19608 "\x01\x02\x03\x04\x05\x06\x07\x08",
19609 .alen = 16,
19610 .result = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
19611 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
19612 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
19613 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
19614 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
19615 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
19616 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
19617 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
19618 "\x5A\x48\x6A\x3E",
19619 .rlen = 68,
19620 }, {
19621 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
19622 "\x00\x00\x00\x00\x00\x00\x00\x00"
19623 "\x00\x00\x00",
19624 .klen = 19,
19625 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19626 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
19627 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
19628 "\x01\x01\x01\x01\x08\x00\x07\x5C"
19629 "\x02\x00\x44\x00\x61\x62\x63\x64"
19630 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19631 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19632 "\x75\x76\x77\x61\x62\x63\x64\x65"
19633 "\x66\x67\x68\x69\x01\x02\x02\x01",
19634 .ilen = 64,
19635 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
19636 "\x00\x00\x00\x00\x00\x00\x00\x00",
19637 .alen = 16,
19638 .result = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
19639 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
19640 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
19641 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
19642 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
19643 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
19644 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
19645 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
19646 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
19647 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
19648 .rlen = 80,
19649 }, {
19650 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19651 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19652 "\x57\x69\x0E",
19653 .klen = 19,
19654 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19655 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
19656 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
19657 "\x01\x01\x01\x01\x08\x00\x08\x5C"
19658 "\x02\x00\x43\x00\x61\x62\x63\x64"
19659 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19660 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19661 "\x75\x76\x77\x61\x62\x63\x64\x65"
19662 "\x66\x67\x68\x69\x01\x02\x02\x01",
19663 .ilen = 64,
19664 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
19665 "\x10\x10\x10\x10\x4E\x28\x00\x00"
19666 "\xA2\xFC\xA1\xA3",
19667 .alen = 20,
19668 .result = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
19669 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
19670 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
19671 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
19672 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
19673 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
19674 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
19675 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
19676 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
19677 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
19678 .rlen = 80,
19679 }, {
19680 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19681 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19682 "\x57\x69\x0E",
19683 .klen = 19,
19684 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19685 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
19686 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
19687 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
19688 "\x01\x02\x02\x01",
19689 .ilen = 28,
19690 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
19691 "\x10\x10\x10\x10\x4E\x28\x00\x00"
19692 "\xA2\xFC\xA1\xA3",
19693 .alen = 20,
19694 .result = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
19695 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
19696 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
19697 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
19698 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
19699 "\x08\xB4\x22\xE4",
19700 .rlen = 44,
19701 }, {
19702 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
19703 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
19704 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
19705 "\xCA\xFE\xBA",
19706 .klen = 27,
19707 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
19708 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
19709 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
19710 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
19711 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
19712 "\x50\x10\x16\xD0\x75\x68\x00\x01",
19713 .ilen = 40,
19714 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
19715 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
19716 .alen = 16,
19717 .result = "\x05\x22\x15\xD1\x52\x56\x85\x04"
19718 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
19719 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
19720 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
19721 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
19722 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
19723 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
19724 .rlen = 56,
19725 }, {
19726 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19727 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19728 "\xDE\xCA\xF8",
19729 .klen = 19,
19730 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
19731 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00"
19732 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
19733 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
19734 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
19735 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
19736 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
19737 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
19738 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
19739 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
19740 "\x23\x01\x01\x01",
19741 .ilen = 76,
19742 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
19743 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
19744 "\xCE\xFA\xCE\x74",
19745 .alen = 20,
19746 .result = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
19747 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
19748 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
19749 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
19750 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
19751 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
19752 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
19753 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
19754 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
19755 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
19756 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
19757 "\x12\x25\x0B\xF9",
19758 .rlen = 92,
19759 }, {
19760 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19761 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19762 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19763 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19764 "\x73\x61\x6C",
19765 .klen = 35,
19766 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
19767 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00"
19768 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
19769 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
19770 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
19771 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
19772 .ilen = 40,
19773 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
19774 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
19775 "\x69\x76\x65\x63",
19776 .alen = 20,
19777 .result = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
19778 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
19779 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
19780 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
19781 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
19782 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
19783 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
19784 .rlen = 56,
19785 }, {
19786 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19787 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19788 "\x57\x69\x0E",
19789 .klen = 19,
19790 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19791 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00"
19792 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
19793 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
19794 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
19795 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
19796 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
19797 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
19798 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
19799 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
19800 "\x15\x01\x01\x01",
19801 .ilen = 76,
19802 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
19803 "\x10\x10\x10\x10\x4E\x28\x00\x00"
19804 "\xA2\xFC\xA1\xA3",
19805 .alen = 20,
19806 .result = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
19807 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
19808 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
19809 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
19810 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
19811 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
19812 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
19813 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
19814 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
19815 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
19816 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
19817 "\xCC\xF7\x46\x6F",
19818 .rlen = 92,
19819 }, {
19820 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19821 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19822 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19823 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19824 "\x73\x61\x6C",
19825 .klen = 35,
19826 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
19827 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75"
19828 "\x6C\x65\x73\x01\x74\x68\x65\x01"
19829 "\x6E\x65\x74\x77\x65\x01\x64\x65"
19830 "\x66\x69\x6E\x65\x01\x74\x68\x65"
19831 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
19832 "\x67\x69\x65\x73\x01\x74\x68\x61"
19833 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
19834 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
19835 "\x72\x72\x6F\x77\x01\x02\x02\x01",
19836 .ilen = 72,
19837 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
19838 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
19839 "\x69\x76\x65\x63",
19840 .alen = 20,
19841 .result = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
19842 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
19843 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
19844 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
19845 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
19846 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
19847 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
19848 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
19849 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
19850 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
19851 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
19852 .rlen = 88,
19853 }, {
19854 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
19855 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
19856 "\xD9\x66\x42",
19857 .klen = 19,
19858 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
19859 .input = "\x01\x02\x02\x01",
19860 .ilen = 4,
19861 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
19862 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
19863 .alen = 16,
19864 .result = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
19865 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
19866 "\xF7\x61\x24\x62",
19867 .rlen = 20,
19868 }, {
19869 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19870 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19871 "\xDE\xCA\xF8",
19872 .klen = 19,
19873 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
19874 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
19875 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
19876 "\x62\x65\x00\x01",
19877 .ilen = 20,
19878 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
19879 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
19880 "\xCE\xFA\xCE\x74",
19881 .alen = 20,
19882 .result = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
19883 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
19884 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
19885 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
19886 "\x17\x17\x65\xAD",
19887 .rlen = 36,
19888 }, {
19889 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
19890 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
19891 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
19892 "\x62\x65\x66\x6F\x72\x65\x69\x61"
19893 "\x74\x75\x72",
19894 .klen = 35,
19895 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
19896 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
19897 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
19898 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
19899 "\x02\x00\x07\x00\x61\x62\x63\x64"
19900 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19901 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19902 "\x01\x02\x02\x01",
19903 .ilen = 52,
19904 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
19905 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
19906 "\x67\x65\x74\x6D",
19907 .alen = 20,
19908 .result = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
19909 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
19910 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
19911 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
19912 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
19913 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
19914 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
19915 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
19916 "\x39\xDB\xC8\xDC",
19917 .rlen = 68,
19918 }, {
19919 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19920 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19921 "\x57\x69\x0E",
19922 .klen = 19,
19923 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19924 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
19925 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
19926 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
19927 "\x02\x00\x07\x00\x61\x62\x63\x64"
19928 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19929 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19930 "\x01\x02\x02\x01",
19931 .ilen = 52,
19932 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
19933 "\x10\x10\x10\x10\x4E\x28\x00\x00"
19934 "\xA2\xFC\xA1\xA3",
19935 .alen = 20,
19936 .result = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
19937 "\x10\x60\x54\x25\xEB\x80\x04\x93"
19938 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
19939 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
19940 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
19941 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
19942 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
19943 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
19944 "\xF4\x95\x5D\x4F",
19945 .rlen = 68,
19946 }, {
19947 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
19948 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
19949 "\x22\x43\x3C",
19950 .klen = 19,
19951 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
19952 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
19953 "\x61\x62\x63\x64\x65\x66\x67\x68"
19954 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
19955 "\x71\x72\x73\x74\x01\x02\x02\x01",
19956 .ilen = 32,
19957 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
19958 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
19959 "\x3A\x23\x4B\xFD",
19960 .alen = 20,
19961 .result = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
19962 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
19963 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
19964 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
19965 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
19966 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
19967 .rlen = 48,
19968 }
19969};
19970
19971static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
19972 { /* Generated using Crypto++ */ 18094 { /* Generated using Crypto++ */
19973 .key = zeroed_string, 18095 .key = zeroed_string,
19974 .klen = 19, 18096 .klen = 19,
19975 .iv = zeroed_string, 18097 .iv = zeroed_string,
19976 .result = zeroed_string, 18098 .ptext = zeroed_string,
19977 .rlen = 16, 18099 .plen = 16,
19978 .assoc = zeroed_string, 18100 .assoc = zeroed_string,
19979 .alen = 16, 18101 .alen = 16,
19980 .input = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F" 18102 .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
19981 "\x12\x50\xE8\xDE\x81\x3C\x63\x08" 18103 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
19982 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5" 18104 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
19983 "\x27\x50\x01\xAC\x03\x33\x39\xFB", 18105 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
19984 .ilen = 32, 18106 .clen = 32,
19985 },{ 18107 },{
19986 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 18108 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19987 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 18109 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19988 "\x00\x00\x00", 18110 "\x00\x00\x00",
19989 .klen = 19, 18111 .klen = 19,
19990 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 18112 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
19991 .result = zeroed_string, 18113 .ptext = zeroed_string,
19992 .rlen = 16, 18114 .plen = 16,
19993 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00" 18115 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
19994 "\x00\x00\x00\x00\x00\x00\x00\x01", 18116 "\x00\x00\x00\x00\x00\x00\x00\x01",
19995 .alen = 16, 18117 .alen = 16,
19996 .input = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F" 18118 .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
19997 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17" 18119 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
19998 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA" 18120 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
19999 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0", 18121 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
20000 .ilen = 32, 18122 .clen = 32,
20001 18123
20002 }, { 18124 }, {
20003 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 18125 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
@@ -20005,57 +18127,57 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20005 "\x00\x00\x00", 18127 "\x00\x00\x00",
20006 .klen = 19, 18128 .klen = 19,
20007 .iv = zeroed_string, 18129 .iv = zeroed_string,
20008 .result = "\x01\x01\x01\x01\x01\x01\x01\x01" 18130 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20009 "\x01\x01\x01\x01\x01\x01\x01\x01", 18131 "\x01\x01\x01\x01\x01\x01\x01\x01",
20010 .rlen = 16, 18132 .plen = 16,
20011 .assoc = zeroed_string, 18133 .assoc = zeroed_string,
20012 .alen = 16, 18134 .alen = 16,
20013 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6" 18135 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
20014 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86" 18136 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
20015 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40" 18137 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
20016 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C", 18138 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
20017 .ilen = 32, 18139 .clen = 32,
20018 }, { 18140 }, {
20019 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 18141 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20020 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 18142 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20021 "\x00\x00\x00", 18143 "\x00\x00\x00",
20022 .klen = 19, 18144 .klen = 19,
20023 .iv = zeroed_string, 18145 .iv = zeroed_string,
20024 .result = "\x01\x01\x01\x01\x01\x01\x01\x01" 18146 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20025 "\x01\x01\x01\x01\x01\x01\x01\x01", 18147 "\x01\x01\x01\x01\x01\x01\x01\x01",
20026 .rlen = 16, 18148 .plen = 16,
20027 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 18149 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20028 "\x00\x00\x00\x00\x00\x00\x00\x00", 18150 "\x00\x00\x00\x00\x00\x00\x00\x00",
20029 .alen = 16, 18151 .alen = 16,
20030 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6" 18152 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
20031 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86" 18153 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
20032 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9" 18154 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
20033 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E", 18155 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
20034 .ilen = 32, 18156 .clen = 32,
20035 }, { 18157 }, {
20036 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 18158 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20037 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 18159 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20038 "\x00\x00\x00", 18160 "\x00\x00\x00",
20039 .klen = 19, 18161 .klen = 19,
20040 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 18162 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
20041 .result = "\x01\x01\x01\x01\x01\x01\x01\x01" 18163 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20042 "\x01\x01\x01\x01\x01\x01\x01\x01", 18164 "\x01\x01\x01\x01\x01\x01\x01\x01",
20043 .rlen = 16, 18165 .plen = 16,
20044 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 18166 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20045 "\x00\x00\x00\x00\x00\x00\x00\x01", 18167 "\x00\x00\x00\x00\x00\x00\x00\x01",
20046 .alen = 16, 18168 .alen = 16,
20047 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E" 18169 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
20048 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16" 18170 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
20049 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8" 18171 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
20050 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED", 18172 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
20051 .ilen = 32, 18173 .clen = 32,
20052 }, { 18174 }, {
20053 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c" 18175 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20054 "\x6d\x6a\x8f\x94\x67\x30\x83\x08" 18176 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20055 "\x00\x00\x00", 18177 "\x00\x00\x00",
20056 .klen = 19, 18178 .klen = 19,
20057 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", 18179 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
20058 .result = "\x01\x01\x01\x01\x01\x01\x01\x01" 18180 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20059 "\x01\x01\x01\x01\x01\x01\x01\x01" 18181 "\x01\x01\x01\x01\x01\x01\x01\x01"
20060 "\x01\x01\x01\x01\x01\x01\x01\x01" 18182 "\x01\x01\x01\x01\x01\x01\x01\x01"
20061 "\x01\x01\x01\x01\x01\x01\x01\x01" 18183 "\x01\x01\x01\x01\x01\x01\x01\x01"
@@ -20063,11 +18185,11 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20063 "\x01\x01\x01\x01\x01\x01\x01\x01" 18185 "\x01\x01\x01\x01\x01\x01\x01\x01"
20064 "\x01\x01\x01\x01\x01\x01\x01\x01" 18186 "\x01\x01\x01\x01\x01\x01\x01\x01"
20065 "\x01\x01\x01\x01\x01\x01\x01\x01", 18187 "\x01\x01\x01\x01\x01\x01\x01\x01",
20066 .rlen = 64, 18188 .plen = 64,
20067 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01" 18189 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20068 "\x00\x00\x00\x00\x00\x00\x00\x01", 18190 "\x00\x00\x00\x00\x00\x00\x00\x01",
20069 .alen = 16, 18191 .alen = 16,
20070 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E" 18192 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
20071 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16" 18193 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
20072 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4" 18194 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
20073 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02" 18195 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
@@ -20077,14 +18199,14 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20077 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB" 18199 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
20078 "\x02\x73\xDD\xE7\x30\x4A\x30\x54" 18200 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
20079 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F", 18201 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
20080 .ilen = 80, 18202 .clen = 80,
20081 }, { 18203 }, {
20082 .key = "\x00\x01\x02\x03\x04\x05\x06\x07" 18204 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
20083 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f" 18205 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20084 "\x00\x00\x00", 18206 "\x00\x00\x00",
20085 .klen = 19, 18207 .klen = 19,
20086 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef", 18208 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
20087 .result = "\xff\xff\xff\xff\xff\xff\xff\xff" 18209 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
20088 "\xff\xff\xff\xff\xff\xff\xff\xff" 18210 "\xff\xff\xff\xff\xff\xff\xff\xff"
20089 "\xff\xff\xff\xff\xff\xff\xff\xff" 18211 "\xff\xff\xff\xff\xff\xff\xff\xff"
20090 "\xff\xff\xff\xff\xff\xff\xff\xff" 18212 "\xff\xff\xff\xff\xff\xff\xff\xff"
@@ -20108,12 +18230,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20108 "\xff\xff\xff\xff\xff\xff\xff\xff" 18230 "\xff\xff\xff\xff\xff\xff\xff\xff"
20109 "\xff\xff\xff\xff\xff\xff\xff\xff" 18231 "\xff\xff\xff\xff\xff\xff\xff\xff"
20110 "\xff\xff\xff\xff\xff\xff\xff\xff", 18232 "\xff\xff\xff\xff\xff\xff\xff\xff",
20111 .rlen = 192, 18233 .plen = 192,
20112 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa" 18234 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
20113 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67" 18235 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
20114 "\x89\xab\xcd\xef", 18236 "\x89\xab\xcd\xef",
20115 .alen = 20, 18237 .alen = 20,
20116 .input = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E" 18238 .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
20117 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1" 18239 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
20118 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95" 18240 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
20119 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C" 18241 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
@@ -20139,14 +18261,14 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20139 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E" 18261 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
20140 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC" 18262 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
20141 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A", 18263 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
20142 .ilen = 208, 18264 .clen = 208,
20143 }, { /* From draft-mcgrew-gcm-test-01 */ 18265 }, { /* From draft-mcgrew-gcm-test-01 */
20144 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA" 18266 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20145 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34" 18267 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20146 "\x2E\x44\x3B", 18268 "\x2E\x44\x3B",
20147 .klen = 19, 18269 .klen = 19,
20148 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE", 18270 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
20149 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00" 18271 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
20150 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02" 18272 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
20151 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56" 18273 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
20152 "\x38\xD3\x01\x00\x00\x01\x00\x00" 18274 "\x38\xD3\x01\x00\x00\x01\x00\x00"
@@ -20155,12 +18277,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20155 "\x69\x70\x09\x63\x79\x62\x65\x72" 18277 "\x69\x70\x09\x63\x79\x62\x65\x72"
20156 "\x63\x69\x74\x79\x02\x64\x6B\x00" 18278 "\x63\x69\x74\x79\x02\x64\x6B\x00"
20157 "\x00\x21\x00\x01\x01\x02\x02\x01", 18279 "\x00\x21\x00\x01\x01\x02\x02\x01",
20158 .rlen = 72, 18280 .plen = 72,
20159 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21" 18281 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
20160 "\x00\x00\x00\x00\x49\x56\xED\x7E" 18282 "\x00\x00\x00\x00\x49\x56\xED\x7E"
20161 "\x3B\x24\x4C\xFE", 18283 "\x3B\x24\x4C\xFE",
20162 .alen = 20, 18284 .alen = 20,
20163 .input = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB" 18285 .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
20164 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6" 18286 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
20165 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E" 18287 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
20166 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF" 18288 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
@@ -20171,14 +18293,14 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20171 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43" 18293 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
20172 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC" 18294 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
20173 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF", 18295 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
20174 .ilen = 88, 18296 .clen = 88,
20175 }, { 18297 }, {
20176 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C" 18298 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20177 "\x6D\x6A\x8F\x94\x67\x30\x83\x08" 18299 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20178 "\xCA\xFE\xBA", 18300 "\xCA\xFE\xBA",
20179 .klen = 19, 18301 .klen = 19,
20180 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 18302 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20181 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00" 18303 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
20182 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02" 18304 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
20183 "\xC0\xA8\x01\x01\x0A\x98\x00\x35" 18305 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
20184 "\x00\x2A\x23\x43\xB2\xD0\x01\x00" 18306 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
@@ -20186,11 +18308,11 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20186 "\x03\x73\x69\x70\x09\x63\x79\x62" 18308 "\x03\x73\x69\x70\x09\x63\x79\x62"
20187 "\x65\x72\x63\x69\x74\x79\x02\x64" 18309 "\x65\x72\x63\x69\x74\x79\x02\x64"
20188 "\x6B\x00\x00\x01\x00\x01\x00\x01", 18310 "\x6B\x00\x00\x01\x00\x01\x00\x01",
20189 .rlen = 64, 18311 .plen = 64,
20190 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A" 18312 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20191 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 18313 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20192 .alen = 16, 18314 .alen = 16,
20193 .input = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8" 18315 .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
20194 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16" 18316 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
20195 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF" 18317 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
20196 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99" 18318 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
@@ -20200,7 +18322,7 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20200 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97" 18322 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
20201 "\x10\x72\x7E\x53\x13\x3B\x68\xE4" 18323 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
20202 "\x30\x99\x91\x79\x09\xEA\xFF\x6A", 18324 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
20203 .ilen = 80, 18325 .clen = 80,
20204 }, { 18326 }, {
20205 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 18327 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20206 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 18328 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -20209,18 +18331,18 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20209 "\x11\x22\x33", 18331 "\x11\x22\x33",
20210 .klen = 35, 18332 .klen = 35,
20211 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08", 18333 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
20212 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00" 18334 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
20213 "\x80\x06\x26\x90\xC0\xA8\x01\x02" 18335 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
20214 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B" 18336 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
20215 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00" 18337 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
20216 "\x70\x02\x40\x00\x20\xBF\x00\x00" 18338 "\x70\x02\x40\x00\x20\xBF\x00\x00"
20217 "\x02\x04\x05\xB4\x01\x01\x04\x02" 18339 "\x02\x04\x05\xB4\x01\x01\x04\x02"
20218 "\x01\x02\x02\x01", 18340 "\x01\x02\x02\x01",
20219 .rlen = 52, 18341 .plen = 52,
20220 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02" 18342 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
20221 "\x01\x02\x03\x04\x05\x06\x07\x08", 18343 "\x01\x02\x03\x04\x05\x06\x07\x08",
20222 .alen = 16, 18344 .alen = 16,
20223 .input = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F" 18345 .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
20224 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4" 18346 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
20225 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD" 18347 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
20226 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55" 18348 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
@@ -20229,14 +18351,14 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20229 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92" 18351 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
20230 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26" 18352 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
20231 "\x5A\x48\x6A\x3E", 18353 "\x5A\x48\x6A\x3E",
20232 .ilen = 68, 18354 .clen = 68,
20233 }, { 18355 }, {
20234 .key = "\x00\x00\x00\x00\x00\x00\x00\x00" 18356 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
20235 "\x00\x00\x00\x00\x00\x00\x00\x00" 18357 "\x00\x00\x00\x00\x00\x00\x00\x00"
20236 "\x00\x00\x00", 18358 "\x00\x00\x00",
20237 .klen = 19, 18359 .klen = 19,
20238 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", 18360 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20239 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00" 18361 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
20240 "\x80\x01\xCB\x7A\x40\x67\x93\x18" 18362 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
20241 "\x01\x01\x01\x01\x08\x00\x07\x5C" 18363 "\x01\x01\x01\x01\x08\x00\x07\x5C"
20242 "\x02\x00\x44\x00\x61\x62\x63\x64" 18364 "\x02\x00\x44\x00\x61\x62\x63\x64"
@@ -20244,11 +18366,11 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20244 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 18366 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20245 "\x75\x76\x77\x61\x62\x63\x64\x65" 18367 "\x75\x76\x77\x61\x62\x63\x64\x65"
20246 "\x66\x67\x68\x69\x01\x02\x02\x01", 18368 "\x66\x67\x68\x69\x01\x02\x02\x01",
20247 .rlen = 64, 18369 .plen = 64,
20248 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01" 18370 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
20249 "\x00\x00\x00\x00\x00\x00\x00\x00", 18371 "\x00\x00\x00\x00\x00\x00\x00\x00",
20250 .alen = 16, 18372 .alen = 16,
20251 .input = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F" 18373 .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
20252 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10" 18374 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
20253 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC" 18375 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
20254 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB" 18376 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
@@ -20258,14 +18380,14 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20258 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE" 18380 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
20259 "\x36\x25\xC1\x10\x12\x1C\xCA\x82" 18381 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
20260 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A", 18382 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
20261 .ilen = 80, 18383 .clen = 80,
20262 }, { 18384 }, {
20263 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 18385 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20264 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 18386 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20265 "\x57\x69\x0E", 18387 "\x57\x69\x0E",
20266 .klen = 19, 18388 .klen = 19,
20267 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 18389 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20268 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00" 18390 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
20269 "\x80\x01\xCB\x7C\x40\x67\x93\x18" 18391 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
20270 "\x01\x01\x01\x01\x08\x00\x08\x5C" 18392 "\x01\x01\x01\x01\x08\x00\x08\x5C"
20271 "\x02\x00\x43\x00\x61\x62\x63\x64" 18393 "\x02\x00\x43\x00\x61\x62\x63\x64"
@@ -20273,12 +18395,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20273 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 18395 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20274 "\x75\x76\x77\x61\x62\x63\x64\x65" 18396 "\x75\x76\x77\x61\x62\x63\x64\x65"
20275 "\x66\x67\x68\x69\x01\x02\x02\x01", 18397 "\x66\x67\x68\x69\x01\x02\x02\x01",
20276 .rlen = 64, 18398 .plen = 64,
20277 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 18399 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20278 "\x10\x10\x10\x10\x4E\x28\x00\x00" 18400 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20279 "\xA2\xFC\xA1\xA3", 18401 "\xA2\xFC\xA1\xA3",
20280 .alen = 20, 18402 .alen = 20,
20281 .input = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6" 18403 .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
20282 "\x10\x60\x40\x62\x6B\x4F\x97\x8E" 18404 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
20283 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90" 18405 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
20284 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B" 18406 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
@@ -20288,29 +18410,29 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20288 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD" 18410 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
20289 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9" 18411 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
20290 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67", 18412 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
20291 .ilen = 80, 18413 .clen = 80,
20292 }, { 18414 }, {
20293 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 18415 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20294 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 18416 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20295 "\x57\x69\x0E", 18417 "\x57\x69\x0E",
20296 .klen = 19, 18418 .klen = 19,
20297 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 18419 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20298 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00" 18420 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
20299 "\x80\x01\x44\x1F\x40\x67\x93\xB6" 18421 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
20300 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF" 18422 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
20301 "\x01\x02\x02\x01", 18423 "\x01\x02\x02\x01",
20302 .rlen = 28, 18424 .plen = 28,
20303 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 18425 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20304 "\x10\x10\x10\x10\x4E\x28\x00\x00" 18426 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20305 "\xA2\xFC\xA1\xA3", 18427 "\xA2\xFC\xA1\xA3",
20306 .alen = 20, 18428 .alen = 20,
20307 .input = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6" 18429 .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
20308 "\x10\x60\xCF\x01\x6B\x4F\x97\x20" 18430 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
20309 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33" 18431 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
20310 "\xA1\xE5\x90\x40\x05\x37\x45\x70" 18432 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
20311 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9" 18433 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
20312 "\x08\xB4\x22\xE4", 18434 "\x08\xB4\x22\xE4",
20313 .ilen = 44, 18435 .clen = 44,
20314 }, { 18436 }, {
20315 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C" 18437 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20316 "\x6D\x6A\x8F\x94\x67\x30\x83\x08" 18438 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
@@ -20318,30 +18440,30 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20318 "\xCA\xFE\xBA", 18440 "\xCA\xFE\xBA",
20319 .klen = 27, 18441 .klen = 27,
20320 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 18442 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20321 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00" 18443 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
20322 "\x40\x06\x78\x80\x0A\x01\x03\x8F" 18444 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
20323 "\x0A\x01\x06\x12\x80\x23\x06\xB8" 18445 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
20324 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E" 18446 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
20325 "\x50\x10\x16\xD0\x75\x68\x00\x01", 18447 "\x50\x10\x16\xD0\x75\x68\x00\x01",
20326 .rlen = 40, 18448 .plen = 40,
20327 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A" 18449 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20328 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", 18450 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20329 .alen = 16, 18451 .alen = 16,
20330 .input = "\x05\x22\x15\xD1\x52\x56\x85\x04" 18452 .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
20331 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA" 18453 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
20332 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B" 18454 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
20333 "\x2F\x32\x18\x57\x34\x2A\x8C\x23" 18455 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
20334 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB" 18456 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
20335 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22" 18457 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
20336 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B", 18458 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
20337 .ilen = 56, 18459 .clen = 56,
20338 }, { 18460 }, {
20339 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 18461 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20340 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 18462 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20341 "\xDE\xCA\xF8", 18463 "\xDE\xCA\xF8",
20342 .klen = 19, 18464 .klen = 19,
20343 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", 18465 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20344 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00" 18466 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
20345 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10" 18467 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
20346 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE" 18468 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20347 "\x00\x35\xDD\x7B\x80\x03\x02\xD5" 18469 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
@@ -20351,12 +18473,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20351 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95" 18473 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
20352 "\x9B\x62\x66\xC0\x47\x22\xB1\x49" 18474 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
20353 "\x23\x01\x01\x01", 18475 "\x23\x01\x01\x01",
20354 .rlen = 76, 18476 .plen = 76,
20355 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00" 18477 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
20356 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA" 18478 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20357 "\xCE\xFA\xCE\x74", 18479 "\xCE\xFA\xCE\x74",
20358 .alen = 20, 18480 .alen = 20,
20359 .input = "\x92\xD0\x53\x79\x33\x38\xD5\xF3" 18481 .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
20360 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90" 18482 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
20361 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76" 18483 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
20362 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00" 18484 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
@@ -20368,7 +18490,7 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20368 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D" 18490 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
20369 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7" 18491 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
20370 "\x12\x25\x0B\xF9", 18492 "\x12\x25\x0B\xF9",
20371 .ilen = 92, 18493 .clen = 92,
20372 }, { 18494 }, {
20373 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 18495 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20374 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 18496 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -20377,31 +18499,31 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20377 "\x73\x61\x6C", 18499 "\x73\x61\x6C",
20378 .klen = 35, 18500 .klen = 35,
20379 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", 18501 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20380 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00" 18502 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
20381 "\x40\x06\xE9\xF9\x0A\x01\x06\x12" 18503 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
20382 "\x0A\x01\x03\x8F\x06\xB8\x80\x23" 18504 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
20383 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02" 18505 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
20384 "\x50\x10\x1F\x64\x6D\x54\x00\x01", 18506 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
20385 .rlen = 40, 18507 .plen = 40,
20386 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26" 18508 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20387 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01" 18509 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20388 "\x69\x76\x65\x63", 18510 "\x69\x76\x65\x63",
20389 .alen = 20, 18511 .alen = 20,
20390 .input = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42" 18512 .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
20391 "\x2C\x64\x87\x46\x1E\x34\x10\x05" 18513 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
20392 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92" 18514 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
20393 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D" 18515 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
20394 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA" 18516 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
20395 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7" 18517 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
20396 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D", 18518 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
20397 .ilen = 56, 18519 .clen = 56,
20398 }, { 18520 }, {
20399 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 18521 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20400 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 18522 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20401 "\x57\x69\x0E", 18523 "\x57\x69\x0E",
20402 .klen = 19, 18524 .klen = 19,
20403 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 18525 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20404 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00" 18526 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
20405 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10" 18527 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
20406 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE" 18528 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20407 "\x00\x35\xCB\x45\x80\x03\x02\x5B" 18529 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
@@ -20411,12 +18533,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20411 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32" 18533 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
20412 "\x5A\xE2\x70\xC0\x38\x99\x49\x39" 18534 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
20413 "\x15\x01\x01\x01", 18535 "\x15\x01\x01\x01",
20414 .rlen = 76, 18536 .plen = 76,
20415 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10" 18537 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20416 "\x10\x10\x10\x10\x4E\x28\x00\x00" 18538 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20417 "\xA2\xFC\xA1\xA3", 18539 "\xA2\xFC\xA1\xA3",
20418 .alen = 20, 18540 .alen = 20,
20419 .input = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6" 18541 .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
20420 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86" 18542 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
20421 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02" 18543 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
20422 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24" 18544 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
@@ -20428,7 +18550,7 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20428 "\x23\xF4\x84\x40\x74\x14\x8A\x6B" 18550 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
20429 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47" 18551 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
20430 "\xCC\xF7\x46\x6F", 18552 "\xCC\xF7\x46\x6F",
20431 .ilen = 92, 18553 .clen = 92,
20432 }, { 18554 }, {
20433 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 18555 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20434 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 18556 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
@@ -20437,7 +18559,7 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20437 "\x73\x61\x6C", 18559 "\x73\x61\x6C",
20438 .klen = 35, 18560 .klen = 35,
20439 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", 18561 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20440 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75" 18562 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
20441 "\x6C\x65\x73\x01\x74\x68\x65\x01" 18563 "\x6C\x65\x73\x01\x74\x68\x65\x01"
20442 "\x6E\x65\x74\x77\x65\x01\x64\x65" 18564 "\x6E\x65\x74\x77\x65\x01\x64\x65"
20443 "\x66\x69\x6E\x65\x01\x74\x68\x65" 18565 "\x66\x69\x6E\x65\x01\x74\x68\x65"
@@ -20446,12 +18568,12 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20446 "\x74\x77\x69\x6C\x6C\x01\x64\x65" 18568 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
20447 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F" 18569 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
20448 "\x72\x72\x6F\x77\x01\x02\x02\x01", 18570 "\x72\x72\x6F\x77\x01\x02\x02\x01",
20449 .rlen = 72, 18571 .plen = 72,
20450 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26" 18572 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20451 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01" 18573 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20452 "\x69\x76\x65\x63", 18574 "\x69\x76\x65\x63",
20453 .alen = 20, 18575 .alen = 20,
20454 .input = "\xEA\x15\xC4\x98\xAC\x15\x22\x37" 18576 .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
20455 "\x00\x07\x1D\xBE\x60\x5D\x73\x16" 18577 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
20456 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4" 18578 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
20457 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A" 18579 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
@@ -20462,42 +18584,42 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20462 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A" 18584 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
20463 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05" 18585 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
20464 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D", 18586 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
20465 .ilen = 88, 18587 .clen = 88,
20466 }, { 18588 }, {
20467 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25" 18589 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
20468 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47" 18590 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
20469 "\xD9\x66\x42", 18591 "\xD9\x66\x42",
20470 .klen = 19, 18592 .klen = 19,
20471 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6", 18593 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20472 .result = "\x01\x02\x02\x01", 18594 .ptext = "\x01\x02\x02\x01",
20473 .rlen = 4, 18595 .plen = 4,
20474 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF" 18596 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
20475 "\x43\x45\x7E\x91\x82\x44\x3B\xC6", 18597 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20476 .alen = 16, 18598 .alen = 16,
20477 .input = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD" 18599 .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
20478 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90" 18600 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
20479 "\xF7\x61\x24\x62", 18601 "\xF7\x61\x24\x62",
20480 .ilen = 20, 18602 .clen = 20,
20481 }, { 18603 }, {
20482 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23" 18604 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20483 "\x34\x45\x56\x67\x78\x89\x9A\xAB" 18605 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20484 "\xDE\xCA\xF8", 18606 "\xDE\xCA\xF8",
20485 .klen = 19, 18607 .klen = 19,
20486 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", 18608 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20487 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72" 18609 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
20488 "\x01\x6E\x6F\x74\x01\x74\x6F\x01" 18610 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
20489 "\x62\x65\x00\x01", 18611 "\x62\x65\x00\x01",
20490 .rlen = 20, 18612 .plen = 20,
20491 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00" 18613 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
20492 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA" 18614 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20493 "\xCE\xFA\xCE\x74", 18615 "\xCE\xFA\xCE\x74",
20494 .alen = 20, 18616 .alen = 20,
20495 .input = "\xA3\xBF\x52\x52\x65\x83\xBA\x81" 18617 .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
20496 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81" 18618 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
20497 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0" 18619 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
20498 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC" 18620 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
20499 "\x17\x17\x65\xAD", 18621 "\x17\x17\x65\xAD",
20500 .ilen = 36, 18622 .clen = 36,
20501 }, { 18623 }, {
20502 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65" 18624 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
20503 "\x6D\x61\x72\x69\x6A\x75\x61\x6E" 18625 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
@@ -20506,19 +18628,19 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20506 "\x74\x75\x72", 18628 "\x74\x75\x72",
20507 .klen = 35, 18629 .klen = 35,
20508 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D", 18630 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
20509 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00" 18631 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20510 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05" 18632 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20511 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD" 18633 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20512 "\x02\x00\x07\x00\x61\x62\x63\x64" 18634 "\x02\x00\x07\x00\x61\x62\x63\x64"
20513 "\x65\x66\x67\x68\x69\x6A\x6B\x6C" 18635 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20514 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 18636 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20515 "\x01\x02\x02\x01", 18637 "\x01\x02\x02\x01",
20516 .rlen = 52, 18638 .plen = 52,
20517 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF" 18639 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
20518 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69" 18640 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
20519 "\x67\x65\x74\x6D", 18641 "\x67\x65\x74\x6D",
20520 .alen = 20, 18642 .alen = 20,
20521 .input = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10" 18643 .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
20522 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A" 18644 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
20523 "\x48\x59\x80\x18\x1A\x18\x1A\x04" 18645 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
20524 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75" 18646 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
@@ -20527,26 +18649,26 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20527 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42" 18649 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
20528 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B" 18650 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
20529 "\x39\xDB\xC8\xDC", 18651 "\x39\xDB\xC8\xDC",
20530 .ilen = 68, 18652 .clen = 68,
20531 }, { 18653 }, {
20532 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49" 18654 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20533 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F" 18655 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20534 "\x57\x69\x0E", 18656 "\x57\x69\x0E",
20535 .klen = 19, 18657 .klen = 19,
20536 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", 18658 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20537 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00" 18659 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20538 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05" 18660 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20539 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD" 18661 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20540 "\x02\x00\x07\x00\x61\x62\x63\x64" 18662 "\x02\x00\x07\x00\x61\x62\x63\x64"
20541 "\x65\x66\x67\x68\x69\x6A\x6B\x6C" 18663 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20542 "\x6D\x6E\x6F\x70\x71\x72\x73\x74" 18664 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20543 "\x01\x02\x02\x01", 18665 "\x01\x02\x02\x01",
20544 .rlen = 52, 18666 .plen = 52,
20545 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10" 18667 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
20546 "\x10\x10\x10\x10\x4E\x28\x00\x00" 18668 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20547 "\xA2\xFC\xA1\xA3", 18669 "\xA2\xFC\xA1\xA3",
20548 .alen = 20, 18670 .alen = 20,
20549 .input = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6" 18671 .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
20550 "\x10\x60\x54\x25\xEB\x80\x04\x93" 18672 "\x10\x60\x54\x25\xEB\x80\x04\x93"
20551 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01" 18673 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
20552 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B" 18674 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
@@ -20555,36 +18677,36 @@ static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
20555 "\x44\xCC\x90\xBF\x00\x94\x94\x92" 18677 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
20556 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68" 18678 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
20557 "\xF4\x95\x5D\x4F", 18679 "\xF4\x95\x5D\x4F",
20558 .ilen = 68, 18680 .clen = 68,
20559 }, { 18681 }, {
20560 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA" 18682 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20561 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34" 18683 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20562 "\x22\x43\x3C", 18684 "\x22\x43\x3C",
20563 .klen = 19, 18685 .klen = 19,
20564 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD", 18686 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
20565 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00" 18687 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
20566 "\x61\x62\x63\x64\x65\x66\x67\x68" 18688 "\x61\x62\x63\x64\x65\x66\x67\x68"
20567 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70" 18689 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
20568 "\x71\x72\x73\x74\x01\x02\x02\x01", 18690 "\x71\x72\x73\x74\x01\x02\x02\x01",
20569 .rlen = 32, 18691 .plen = 32,
20570 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21" 18692 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
20571 "\x00\x00\x00\x07\x48\x55\xEC\x7D" 18693 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
20572 "\x3A\x23\x4B\xFD", 18694 "\x3A\x23\x4B\xFD",
20573 .alen = 20, 18695 .alen = 20,
20574 .input = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02" 18696 .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
20575 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F" 18697 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
20576 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF" 18698 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
20577 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B" 18699 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
20578 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F" 18700 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
20579 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6", 18701 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
20580 .ilen = 48, 18702 .clen = 48,
20581 } 18703 }
20582}; 18704};
20583 18705
20584/* 18706/*
20585 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5. 18707 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
20586 */ 18708 */
20587static const struct aead_testvec rfc7539_enc_tv_template[] = { 18709static const struct aead_testvec rfc7539_tv_template[] = {
20588 { 18710 {
20589 .key = "\x80\x81\x82\x83\x84\x85\x86\x87" 18711 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
20590 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f" 18712 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
@@ -20596,7 +18718,7 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20596 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3" 18718 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
20597 "\xc4\xc5\xc6\xc7", 18719 "\xc4\xc5\xc6\xc7",
20598 .alen = 12, 18720 .alen = 12,
20599 .input = "\x4c\x61\x64\x69\x65\x73\x20\x61" 18721 .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
20600 "\x6e\x64\x20\x47\x65\x6e\x74\x6c" 18722 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
20601 "\x65\x6d\x65\x6e\x20\x6f\x66\x20" 18723 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
20602 "\x74\x68\x65\x20\x63\x6c\x61\x73" 18724 "\x74\x68\x65\x20\x63\x6c\x61\x73"
@@ -20611,8 +18733,8 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20611 "\x63\x72\x65\x65\x6e\x20\x77\x6f" 18733 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
20612 "\x75\x6c\x64\x20\x62\x65\x20\x69" 18734 "\x75\x6c\x64\x20\x62\x65\x20\x69"
20613 "\x74\x2e", 18735 "\x74\x2e",
20614 .ilen = 114, 18736 .plen = 114,
20615 .result = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb" 18737 .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
20616 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2" 18738 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
20617 "\xa4\xad\xed\x51\x29\x6e\x08\xfe" 18739 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
20618 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6" 18740 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
@@ -20629,7 +18751,7 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20629 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09" 18751 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
20630 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60" 18752 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
20631 "\x06\x91", 18753 "\x06\x91",
20632 .rlen = 130, 18754 .clen = 130,
20633 }, { 18755 }, {
20634 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a" 18756 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20635 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0" 18757 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
@@ -20641,7 +18763,7 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20641 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00" 18763 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
20642 "\x00\x00\x4e\x91", 18764 "\x00\x00\x4e\x91",
20643 .alen = 12, 18765 .alen = 12,
20644 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74" 18766 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20645 "\x2d\x44\x72\x61\x66\x74\x73\x20" 18767 "\x2d\x44\x72\x61\x66\x74\x73\x20"
20646 "\x61\x72\x65\x20\x64\x72\x61\x66" 18768 "\x61\x72\x65\x20\x64\x72\x61\x66"
20647 "\x74\x20\x64\x6f\x63\x75\x6d\x65" 18769 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
@@ -20675,8 +18797,8 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20675 "\x20\x69\x6e\x20\x70\x72\x6f\x67" 18797 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
20676 "\x72\x65\x73\x73\x2e\x2f\xe2\x80" 18798 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
20677 "\x9d", 18799 "\x9d",
20678 .ilen = 265, 18800 .plen = 265,
20679 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4" 18801 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20680 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd" 18802 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20681 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89" 18803 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20682 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2" 18804 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
@@ -20712,146 +18834,14 @@ static const struct aead_testvec rfc7539_enc_tv_template[] = {
20712 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb" 18834 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20713 "\x22\x39\x23\x36\xfe\xa1\x85\x1f" 18835 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20714 "\x38", 18836 "\x38",
20715 .rlen = 281, 18837 .clen = 281,
20716 },
20717};
20718
20719static const struct aead_testvec rfc7539_dec_tv_template[] = {
20720 {
20721 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
20722 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
20723 "\x90\x91\x92\x93\x94\x95\x96\x97"
20724 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
20725 .klen = 32,
20726 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
20727 "\x44\x45\x46\x47",
20728 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
20729 "\xc4\xc5\xc6\xc7",
20730 .alen = 12,
20731 .input = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
20732 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
20733 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
20734 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
20735 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
20736 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
20737 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
20738 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
20739 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
20740 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
20741 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
20742 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
20743 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
20744 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
20745 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
20746 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
20747 "\x06\x91",
20748 .ilen = 130,
20749 .result = "\x4c\x61\x64\x69\x65\x73\x20\x61"
20750 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
20751 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
20752 "\x74\x68\x65\x20\x63\x6c\x61\x73"
20753 "\x73\x20\x6f\x66\x20\x27\x39\x39"
20754 "\x3a\x20\x49\x66\x20\x49\x20\x63"
20755 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
20756 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
20757 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
20758 "\x74\x69\x70\x20\x66\x6f\x72\x20"
20759 "\x74\x68\x65\x20\x66\x75\x74\x75"
20760 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
20761 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
20762 "\x75\x6c\x64\x20\x62\x65\x20\x69"
20763 "\x74\x2e",
20764 .rlen = 114,
20765 }, {
20766 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20767 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
20768 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
20769 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
20770 .klen = 32,
20771 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
20772 "\x05\x06\x07\x08",
20773 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
20774 "\x00\x00\x4e\x91",
20775 .alen = 12,
20776 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20777 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20778 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20779 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
20780 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
20781 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
20782 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
20783 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
20784 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
20785 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
20786 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
20787 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
20788 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
20789 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
20790 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
20791 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
20792 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
20793 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
20794 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
20795 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
20796 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
20797 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
20798 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
20799 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
20800 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
20801 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
20802 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
20803 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
20804 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
20805 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
20806 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
20807 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
20808 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
20809 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20810 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20811 "\x38",
20812 .ilen = 281,
20813 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20814 "\x2d\x44\x72\x61\x66\x74\x73\x20"
20815 "\x61\x72\x65\x20\x64\x72\x61\x66"
20816 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
20817 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
20818 "\x64\x20\x66\x6f\x72\x20\x61\x20"
20819 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
20820 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
20821 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
20822 "\x64\x20\x6d\x61\x79\x20\x62\x65"
20823 "\x20\x75\x70\x64\x61\x74\x65\x64"
20824 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
20825 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
20826 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
20827 "\x20\x62\x79\x20\x6f\x74\x68\x65"
20828 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
20829 "\x6e\x74\x73\x20\x61\x74\x20\x61"
20830 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
20831 "\x20\x49\x74\x20\x69\x73\x20\x69"
20832 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
20833 "\x69\x61\x74\x65\x20\x74\x6f\x20"
20834 "\x75\x73\x65\x20\x49\x6e\x74\x65"
20835 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
20836 "\x66\x74\x73\x20\x61\x73\x20\x72"
20837 "\x65\x66\x65\x72\x65\x6e\x63\x65"
20838 "\x20\x6d\x61\x74\x65\x72\x69\x61"
20839 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
20840 "\x63\x69\x74\x65\x20\x74\x68\x65"
20841 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
20842 "\x74\x68\x61\x6e\x20\x61\x73\x20"
20843 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
20844 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
20845 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
20846 "\x9d",
20847 .rlen = 265,
20848 }, 18838 },
20849}; 18839};
20850 18840
20851/* 18841/*
20852 * draft-irtf-cfrg-chacha20-poly1305 18842 * draft-irtf-cfrg-chacha20-poly1305
20853 */ 18843 */
20854static const struct aead_testvec rfc7539esp_enc_tv_template[] = { 18844static const struct aead_testvec rfc7539esp_tv_template[] = {
20855 { 18845 {
20856 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a" 18846 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20857 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0" 18847 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
@@ -20864,7 +18854,7 @@ static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
20864 "\x00\x00\x4e\x91\x01\x02\x03\x04" 18854 "\x00\x00\x4e\x91\x01\x02\x03\x04"
20865 "\x05\x06\x07\x08", 18855 "\x05\x06\x07\x08",
20866 .alen = 20, 18856 .alen = 20,
20867 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74" 18857 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20868 "\x2d\x44\x72\x61\x66\x74\x73\x20" 18858 "\x2d\x44\x72\x61\x66\x74\x73\x20"
20869 "\x61\x72\x65\x20\x64\x72\x61\x66" 18859 "\x61\x72\x65\x20\x64\x72\x61\x66"
20870 "\x74\x20\x64\x6f\x63\x75\x6d\x65" 18860 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
@@ -20898,61 +18888,8 @@ static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
20898 "\x20\x69\x6e\x20\x70\x72\x6f\x67" 18888 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
20899 "\x72\x65\x73\x73\x2e\x2f\xe2\x80" 18889 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
20900 "\x9d", 18890 "\x9d",
20901 .ilen = 265, 18891 .plen = 265,
20902 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4" 18892 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20903 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20904 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20905 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
20906 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
20907 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
20908 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
20909 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
20910 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
20911 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
20912 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
20913 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
20914 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
20915 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
20916 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
20917 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
20918 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
20919 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
20920 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
20921 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
20922 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
20923 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
20924 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
20925 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
20926 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
20927 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
20928 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
20929 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
20930 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
20931 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
20932 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
20933 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
20934 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
20935 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20936 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20937 "\x38",
20938 .rlen = 281,
20939 },
20940};
20941
20942static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
20943 {
20944 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20945 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
20946 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
20947 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
20948 "\x00\x00\x00\x00",
20949 .klen = 36,
20950 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
20951 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
20952 "\x00\x00\x4e\x91\x01\x02\x03\x04"
20953 "\x05\x06\x07\x08",
20954 .alen = 20,
20955 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20956 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd" 18893 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20957 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89" 18894 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20958 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2" 18895 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
@@ -20988,46 +18925,18 @@ static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
20988 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb" 18925 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20989 "\x22\x39\x23\x36\xfe\xa1\x85\x1f" 18926 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20990 "\x38", 18927 "\x38",
20991 .ilen = 281, 18928 .clen = 281,
20992 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20993 "\x2d\x44\x72\x61\x66\x74\x73\x20"
20994 "\x61\x72\x65\x20\x64\x72\x61\x66"
20995 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
20996 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
20997 "\x64\x20\x66\x6f\x72\x20\x61\x20"
20998 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
20999 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
21000 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
21001 "\x64\x20\x6d\x61\x79\x20\x62\x65"
21002 "\x20\x75\x70\x64\x61\x74\x65\x64"
21003 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
21004 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
21005 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
21006 "\x20\x62\x79\x20\x6f\x74\x68\x65"
21007 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
21008 "\x6e\x74\x73\x20\x61\x74\x20\x61"
21009 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
21010 "\x20\x49\x74\x20\x69\x73\x20\x69"
21011 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
21012 "\x69\x61\x74\x65\x20\x74\x6f\x20"
21013 "\x75\x73\x65\x20\x49\x6e\x74\x65"
21014 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
21015 "\x66\x74\x73\x20\x61\x73\x20\x72"
21016 "\x65\x66\x65\x72\x65\x6e\x63\x65"
21017 "\x20\x6d\x61\x74\x65\x72\x69\x61"
21018 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
21019 "\x63\x69\x74\x65\x20\x74\x68\x65"
21020 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
21021 "\x74\x68\x61\x6e\x20\x61\x73\x20"
21022 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
21023 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
21024 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
21025 "\x9d",
21026 .rlen = 265,
21027 }, 18929 },
21028}; 18930};
21029 18931
21030static const struct aead_testvec aegis128_enc_tv_template[] = { 18932/*
18933 * AEGIS-128 test vectors - generated via reference implementation from
18934 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
18935 *
18936 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
18937 * (see crypto_aead/aegis128/)
18938 */
18939static const struct aead_testvec aegis128_tv_template[] = {
21031 { 18940 {
21032 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86" 18941 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
21033 "\x20\x36\x2c\x24\xfe\xc9\x30\x81", 18942 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
@@ -21036,11 +18945,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21036 "\x40\x6d\x59\x48\xfc\x92\x61\x03", 18945 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
21037 .assoc = "", 18946 .assoc = "",
21038 .alen = 0, 18947 .alen = 0,
21039 .input = "", 18948 .ptext = "",
21040 .ilen = 0, 18949 .plen = 0,
21041 .result = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d" 18950 .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
21042 "\xda\xb8\x12\x34\x4c\x53\xd9\x72", 18951 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
21043 .rlen = 16, 18952 .clen = 16,
21044 }, { 18953 }, {
21045 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2" 18954 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
21046 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87", 18955 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
@@ -21049,12 +18958,12 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21049 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09", 18958 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
21050 .assoc = "", 18959 .assoc = "",
21051 .alen = 0, 18960 .alen = 0,
21052 .input = "\x79", 18961 .ptext = "\x79",
21053 .ilen = 1, 18962 .plen = 1,
21054 .result = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3" 18963 .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
21055 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a" 18964 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
21056 "\xcc", 18965 "\xcc",
21057 .rlen = 17, 18966 .clen = 17,
21058 }, { 18967 }, {
21059 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe" 18968 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
21060 "\x22\xea\x90\x47\xf2\x11\xb5\x8e", 18969 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
@@ -21063,14 +18972,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21063 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f", 18972 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
21064 .assoc = "", 18973 .assoc = "",
21065 .alen = 0, 18974 .alen = 0,
21066 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53" 18975 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
21067 "\x82\x8e\x16\xb4\xed\x6d\x47", 18976 "\x82\x8e\x16\xb4\xed\x6d\x47",
21068 .ilen = 15, 18977 .plen = 15,
21069 .result = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7" 18978 .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
21070 "\xca\xdd\x6f\xac\x85\x08\xb5\x35" 18979 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
21071 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b" 18980 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
21072 "\x7a\x21\x16\xb3\xe6\x67\x66", 18981 "\x7a\x21\x16\xb3\xe6\x67\x66",
21073 .rlen = 31, 18982 .clen = 31,
21074 }, { 18983 }, {
21075 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda" 18984 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
21076 "\xa2\xc5\x42\xd8\xec\x36\x78\x94", 18985 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
@@ -21079,14 +18988,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21079 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15", 18988 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
21080 .assoc = "", 18989 .assoc = "",
21081 .alen = 0, 18990 .alen = 0,
21082 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f" 18991 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
21083 "\x03\x68\xc8\x45\xe7\x91\x0a\x18", 18992 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
21084 .ilen = 16, 18993 .plen = 16,
21085 .result = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d" 18994 .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
21086 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11" 18995 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
21087 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65" 18996 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
21088 "\x51\x10\x16\x27\x70\x9b\x64\x29", 18997 "\x51\x10\x16\x27\x70\x9b\x64\x29",
21089 .rlen = 32, 18998 .clen = 32,
21090 }, { 18999 }, {
21091 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6" 19000 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
21092 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a", 19001 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
@@ -21095,16 +19004,16 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21095 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c", 19004 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
21096 .assoc = "", 19005 .assoc = "",
21097 .alen = 0, 19006 .alen = 0,
21098 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b" 19007 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
21099 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f" 19008 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
21100 "\xd3", 19009 "\xd3",
21101 .ilen = 17, 19010 .plen = 17,
21102 .result = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5" 19011 .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
21103 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6" 19012 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
21104 "\x46\x80\xb1\x0e\x18\x30\x40\x97" 19013 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
21105 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9" 19014 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
21106 "\x3b", 19015 "\x3b",
21107 .rlen = 33, 19016 .clen = 33,
21108 }, { 19017 }, {
21109 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12" 19018 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21110 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0", 19019 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
@@ -21113,18 +19022,18 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21113 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22", 19022 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
21114 .assoc = "", 19023 .assoc = "",
21115 .alen = 0, 19024 .alen = 0,
21116 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6" 19025 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
21117 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25" 19026 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
21118 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99" 19027 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
21119 "\x88\x11\x39\x12\x1c\x3a\xbb", 19028 "\x88\x11\x39\x12\x1c\x3a\xbb",
21120 .ilen = 31, 19029 .plen = 31,
21121 .result = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c" 19030 .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
21122 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f" 19031 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
21123 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99" 19032 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
21124 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1" 19033 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
21125 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd" 19034 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
21126 "\x75\xc4\x53\x01\x89\x45\x59", 19035 "\x75\xc4\x53\x01\x89\x45\x59",
21127 .rlen = 47, 19036 .clen = 47,
21128 }, { 19037 }, {
21129 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d" 19038 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
21130 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6", 19039 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
@@ -21133,18 +19042,18 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21133 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28", 19042 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
21134 .assoc = "", 19043 .assoc = "",
21135 .alen = 0, 19044 .alen = 0,
21136 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2" 19045 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
21137 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b" 19046 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
21138 "\x28\x50\x51\x9d\x24\x60\x8d\xb3" 19047 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
21139 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd", 19048 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
21140 .ilen = 32, 19049 .plen = 32,
21141 .result = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47" 19050 .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
21142 "\x95\xf4\x58\x38\x14\x83\x27\x01" 19051 "\x95\xf4\x58\x38\x14\x83\x27\x01"
21143 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7" 19052 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
21144 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa" 19053 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
21145 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf" 19054 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
21146 "\x51\x52\x77\xf2\x5e\x85\x80\x41", 19055 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
21147 .rlen = 48, 19056 .clen = 48,
21148 }, { 19057 }, {
21149 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49" 19058 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
21150 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad", 19059 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
@@ -21153,11 +19062,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21153 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e", 19062 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
21154 .assoc = "\xd5", 19063 .assoc = "\xd5",
21155 .alen = 1, 19064 .alen = 1,
21156 .input = "", 19065 .ptext = "",
21157 .ilen = 0, 19066 .plen = 0,
21158 .result = "\xfb\xd4\x83\x71\x9e\x63\xad\x60" 19067 .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
21159 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7", 19068 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
21160 .rlen = 16, 19069 .clen = 16,
21161 }, { 19070 }, {
21162 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65" 19071 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
21163 "\x27\x08\xbd\xaf\xce\xec\x45\xb3", 19072 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
@@ -21167,11 +19076,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21167 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73" 19076 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
21168 "\x68\x75\x16\xf8\xcb\x7e\xa7", 19077 "\x68\x75\x16\xf8\xcb\x7e\xa7",
21169 .alen = 15, 19078 .alen = 15,
21170 .input = "", 19079 .ptext = "",
21171 .ilen = 0, 19080 .plen = 0,
21172 .result = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71" 19081 .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
21173 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e", 19082 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
21174 .rlen = 16, 19083 .clen = 16,
21175 }, { 19084 }, {
21176 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81" 19085 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
21177 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9", 19086 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
@@ -21181,11 +19090,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21181 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f" 19090 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
21182 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc", 19091 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
21183 .alen = 16, 19092 .alen = 16,
21184 .input = "", 19093 .ptext = "",
21185 .ilen = 0, 19094 .plen = 0,
21186 .result = "\xc7\x87\x09\x3b\xc7\x19\x74\x22" 19095 .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
21187 "\x22\xa5\x67\x10\xb2\x36\xb3\x45", 19096 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
21188 .rlen = 16, 19097 .clen = 16,
21189 }, { 19098 }, {
21190 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d" 19099 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
21191 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf", 19100 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
@@ -21196,11 +19105,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21196 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2" 19105 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
21197 "\x07", 19106 "\x07",
21198 .alen = 17, 19107 .alen = 17,
21199 .input = "", 19108 .ptext = "",
21200 .ilen = 0, 19109 .plen = 0,
21201 .result = "\x02\xc6\x3b\x46\x65\xb2\xef\x91" 19110 .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
21202 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4", 19111 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
21203 .rlen = 16, 19112 .clen = 16,
21204 }, { 19113 }, {
21205 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8" 19114 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
21206 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6", 19115 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
@@ -21212,11 +19121,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21212 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d" 19121 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
21213 "\xe0\x17\x3a\x2e\x83\x5c\x8f", 19122 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
21214 .alen = 31, 19123 .alen = 31,
21215 .input = "", 19124 .ptext = "",
21216 .ilen = 0, 19125 .plen = 0,
21217 .result = "\x20\x85\xa8\xd0\x91\x48\x85\xf3" 19126 .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
21218 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb", 19127 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
21219 .rlen = 16, 19128 .clen = 16,
21220 }, { 19129 }, {
21221 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4" 19130 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
21222 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc", 19131 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
@@ -21228,11 +19137,11 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21228 "\x5c\x2d\x14\x96\x01\x78\xb9\x47" 19137 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
21229 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f", 19138 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
21230 .alen = 32, 19139 .alen = 32,
21231 .input = "", 19140 .ptext = "",
21232 .ilen = 0, 19141 .plen = 0,
21233 .result = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79" 19142 .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
21234 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50", 19143 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
21235 .rlen = 16, 19144 .clen = 16,
21236 }, { 19145 }, {
21237 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0" 19146 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
21238 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2", 19147 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
@@ -21241,12 +19150,12 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21241 "\xcc\x81\x63\xab\xae\x6b\x43\x54", 19150 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
21242 .assoc = "\x40", 19151 .assoc = "\x40",
21243 .alen = 1, 19152 .alen = 1,
21244 .input = "\x4f", 19153 .ptext = "\x4f",
21245 .ilen = 1, 19154 .plen = 1,
21246 .result = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83" 19155 .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
21247 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98" 19156 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
21248 "\x39", 19157 "\x39",
21249 .rlen = 17, 19158 .clen = 17,
21250 }, { 19159 }, {
21251 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c" 19160 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
21252 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8", 19161 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
@@ -21256,14 +19165,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21256 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a" 19165 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
21257 "\x6d\x92\x42\x61\xa7\x58\x37", 19166 "\x6d\x92\x42\x61\xa7\x58\x37",
21258 .alen = 15, 19167 .alen = 15,
21259 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1" 19168 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
21260 "\x8d\xc8\x6e\x85\xa5\x21\x67", 19169 "\x8d\xc8\x6e\x85\xa5\x21\x67",
21261 .ilen = 15, 19170 .plen = 15,
21262 .result = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a" 19171 .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
21263 "\xca\x0e\x62\x00\xa8\x21\xb5\x21" 19172 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
21264 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c" 19173 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
21265 "\x98\xbd\x71\x7a\xef\xa4\xfa", 19174 "\x98\xbd\x71\x7a\xef\xa4\xfa",
21266 .rlen = 31, 19175 .clen = 31,
21267 }, { 19176 }, {
21268 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28" 19177 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
21269 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf", 19178 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
@@ -21273,14 +19182,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21273 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36" 19182 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
21274 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2", 19183 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
21275 .alen = 16, 19184 .alen = 16,
21276 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd" 19185 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
21277 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63", 19186 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
21278 .ilen = 16, 19187 .plen = 16,
21279 .result = "\xea\xd1\x81\x75\xb4\x13\x1d\x86" 19188 .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
21280 "\xd4\x17\x26\xe5\xd6\x89\x39\x04" 19189 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
21281 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c" 19190 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
21282 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6", 19191 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
21283 .rlen = 32, 19192 .clen = 32,
21284 }, { 19193 }, {
21285 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44" 19194 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
21286 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5", 19195 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
@@ -21291,16 +19200,16 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21291 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8" 19200 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
21292 "\x05", 19201 "\x05",
21293 .alen = 17, 19202 .alen = 17,
21294 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8" 19203 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
21295 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69" 19204 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
21296 "\xd0", 19205 "\xd0",
21297 .ilen = 17, 19206 .plen = 17,
21298 .result = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c" 19207 .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
21299 "\x38\x2d\x69\x90\x1c\x71\x38\x98" 19208 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
21300 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e" 19209 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
21301 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe" 19210 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
21302 "\x93", 19211 "\x93",
21303 .rlen = 33, 19212 .clen = 33,
21304 }, { 19213 }, {
21305 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f" 19214 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
21306 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb", 19215 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
@@ -21312,18 +19221,18 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21312 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7" 19221 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
21313 "\x68\x28\x73\x40\x9f\x96\x4a", 19222 "\x68\x28\x73\x40\x9f\x96\x4a",
21314 .alen = 31, 19223 .alen = 31,
21315 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4" 19224 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
21316 "\x10\x57\x85\x39\x93\x8f\xaf\x70" 19225 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
21317 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd" 19226 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
21318 "\x98\x34\xab\x37\x56\xae\x32", 19227 "\x98\x34\xab\x37\x56\xae\x32",
21319 .ilen = 31, 19228 .plen = 31,
21320 .result = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb" 19229 .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
21321 "\x94\xd3\x93\xf2\x41\x86\x16\xdd" 19230 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
21322 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40" 19231 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
21323 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb" 19232 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
21324 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04" 19233 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
21325 "\xcb\xe5\x47\xbb\xa7\xd1\x9d", 19234 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
21326 .rlen = 47, 19235 .clen = 47,
21327 }, { 19236 }, {
21328 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b" 19237 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
21329 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1", 19238 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
@@ -21335,18 +19244,18 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21335 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0" 19244 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
21336 "\x29\x56\x52\x19\x79\xf5\xe9\x37", 19245 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
21337 .alen = 32, 19246 .alen = 32,
21338 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10" 19247 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
21339 "\x91\x31\x37\xcb\x8d\xb3\x72\x76" 19248 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
21340 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7" 19249 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
21341 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec", 19250 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
21342 .ilen = 32, 19251 .plen = 32,
21343 .result = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33" 19252 .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
21344 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7" 19253 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
21345 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3" 19254 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
21346 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea" 19255 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
21347 "\x87\x68\x47\x08\x5d\xdd\x83\xb0" 19256 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
21348 "\x60\xf4\x93\x20\xdf\x34\x8f\xea", 19257 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
21349 .rlen = 48, 19258 .clen = 48,
21350 }, { 19259 }, {
21351 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97" 19260 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
21352 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7", 19261 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
@@ -21359,7 +19268,7 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21359 "\xeb\x83\x31\xf1\x54\x54\x89\x0d" 19268 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
21360 "\x9d", 19269 "\x9d",
21361 .alen = 33, 19270 .alen = 33,
21362 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c" 19271 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
21363 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c" 19272 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
21364 "\x4f\x2e\xe8\x55\x66\x80\x27\x00" 19273 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
21365 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3" 19274 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
@@ -21368,8 +19277,8 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21368 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3" 19277 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
21369 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01" 19278 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
21370 "\xbd", 19279 "\xbd",
21371 .ilen = 65, 19280 .plen = 65,
21372 .result = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d" 19281 .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
21373 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7" 19282 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
21374 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7" 19283 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
21375 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7" 19284 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
@@ -21380,7 +19289,7 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21380 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44" 19289 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
21381 "\x96\x28\x3b\xee\x6b\xc6\x16\x31" 19290 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
21382 "\x3f", 19291 "\x3f",
21383 .rlen = 81, 19292 .clen = 81,
21384 }, { 19293 }, {
21385 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3" 19294 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21386 "\x32\x42\x15\x80\x85\xa1\x65\xfe", 19295 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
@@ -21397,20 +19306,20 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21397 "\x09\x4f\x77\x62\x88\x2d\xf2\x68" 19306 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21398 "\x54", 19307 "\x54",
21399 .alen = 65, 19308 .alen = 65,
21400 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48" 19309 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21401 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82" 19310 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
21402 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a" 19311 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
21403 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99" 19312 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
21404 "\x2f", 19313 "\x2f",
21405 .ilen = 33, 19314 .plen = 33,
21406 .result = "\x8f\x23\x47\xfb\xf2\xac\x23\x83" 19315 .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
21407 "\x77\x09\xac\x74\xef\xd2\x56\xae" 19316 "\x77\x09\xac\x74\xef\xd2\x56\xae"
21408 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2" 19317 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
21409 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8" 19318 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
21410 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3" 19319 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
21411 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e" 19320 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
21412 "\x39", 19321 "\x39",
21413 .rlen = 49, 19322 .clen = 49,
21414 }, { 19323 }, {
21415 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf" 19324 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
21416 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04", 19325 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
@@ -21420,14 +19329,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21420 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd" 19329 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
21421 "\xf3\x89\x20\x5b\x7c\x57\x89\x07", 19330 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
21422 .alen = 16, 19331 .alen = 16,
21423 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63" 19332 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
21424 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89", 19333 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
21425 .ilen = 16, 19334 .plen = 16,
21426 .result = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56" 19335 .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
21427 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45" 19336 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
21428 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b" 19337 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
21429 "\xde\x20\x59\x77\xc1\x74\x90", 19338 "\xde\x20\x59\x77\xc1\x74\x90",
21430 .rlen = 31, 19339 .clen = 31,
21431 }, { 19340 }, {
21432 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea" 19341 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
21433 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a", 19342 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
@@ -21437,14 +19346,14 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21437 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8" 19346 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
21438 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d", 19347 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
21439 .alen = 16, 19348 .alen = 16,
21440 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f" 19349 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
21441 "\x95\x9a\xff\x10\x75\x45\x7d\x8f", 19350 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
21442 .ilen = 16, 19351 .plen = 16,
21443 .result = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec" 19352 .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
21444 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72" 19353 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
21445 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68" 19354 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
21446 "\xe9\xe0\x17\x45\x70\x12", 19355 "\xe9\xe0\x17\x45\x70\x12",
21447 .rlen = 30, 19356 .clen = 30,
21448 }, { 19357 }, {
21449 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06" 19358 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
21450 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10", 19359 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
@@ -21454,457 +19363,13 @@ static const struct aead_testvec aegis128_enc_tv_template[] = {
21454 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14" 19363 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
21455 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13", 19364 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
21456 .alen = 16, 19365 .alen = 16,
21457 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b" 19366 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
21458 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95", 19367 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
21459 .ilen = 16, 19368 .plen = 16,
21460 .result = "\x47\xda\x54\x42\x51\x72\xc4\x8b" 19369 .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
21461 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b" 19370 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
21462 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d", 19371 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
21463 .rlen = 24, 19372 .clen = 24,
21464 },
21465};
21466
21467/*
21468 * AEGIS-128 test vectors - generated via reference implementation from
21469 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
21470 *
21471 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
21472 * (see crypto_aead/aegis128/)
21473 */
21474static const struct aead_testvec aegis128_dec_tv_template[] = {
21475 {
21476 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
21477 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
21478 .klen = 16,
21479 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
21480 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
21481 .assoc = "",
21482 .alen = 0,
21483 .input = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
21484 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
21485 .ilen = 16,
21486 .result = "",
21487 .rlen = 0,
21488 }, {
21489 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
21490 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
21491 .klen = 16,
21492 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
21493 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
21494 .assoc = "",
21495 .alen = 0,
21496 .input = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
21497 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
21498 "\xcc",
21499 .ilen = 17,
21500 .result = "\x79",
21501 .rlen = 1,
21502 }, {
21503 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
21504 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
21505 .klen = 16,
21506 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
21507 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
21508 .assoc = "",
21509 .alen = 0,
21510 .input = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
21511 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
21512 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
21513 "\x7a\x21\x16\xb3\xe6\x67\x66",
21514 .ilen = 31,
21515 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
21516 "\x82\x8e\x16\xb4\xed\x6d\x47",
21517 .rlen = 15,
21518 }, {
21519 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
21520 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
21521 .klen = 16,
21522 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
21523 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
21524 .assoc = "",
21525 .alen = 0,
21526 .input = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
21527 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
21528 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
21529 "\x51\x10\x16\x27\x70\x9b\x64\x29",
21530 .ilen = 32,
21531 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
21532 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
21533 .rlen = 16,
21534 }, {
21535 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
21536 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
21537 .klen = 16,
21538 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
21539 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
21540 .assoc = "",
21541 .alen = 0,
21542 .input = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
21543 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
21544 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
21545 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
21546 "\x3b",
21547 .ilen = 33,
21548 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
21549 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
21550 "\xd3",
21551 .rlen = 17,
21552 }, {
21553 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21554 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
21555 .klen = 16,
21556 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
21557 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
21558 .assoc = "",
21559 .alen = 0,
21560 .input = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
21561 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
21562 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
21563 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
21564 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
21565 "\x75\xc4\x53\x01\x89\x45\x59",
21566 .ilen = 47,
21567 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
21568 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
21569 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
21570 "\x88\x11\x39\x12\x1c\x3a\xbb",
21571 .rlen = 31,
21572 }, {
21573 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
21574 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
21575 .klen = 16,
21576 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
21577 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
21578 .assoc = "",
21579 .alen = 0,
21580 .input = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
21581 "\x95\xf4\x58\x38\x14\x83\x27\x01"
21582 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
21583 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
21584 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
21585 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
21586 .ilen = 48,
21587 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
21588 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
21589 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
21590 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
21591 .rlen = 32,
21592 }, {
21593 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
21594 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
21595 .klen = 16,
21596 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
21597 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
21598 .assoc = "\xd5",
21599 .alen = 1,
21600 .input = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
21601 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
21602 .ilen = 16,
21603 .result = "",
21604 .rlen = 0,
21605 }, {
21606 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
21607 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
21608 .klen = 16,
21609 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
21610 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
21611 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
21612 "\x68\x75\x16\xf8\xcb\x7e\xa7",
21613 .alen = 15,
21614 .input = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
21615 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
21616 .ilen = 16,
21617 .result = "",
21618 .rlen = 0,
21619 }, {
21620 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
21621 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
21622 .klen = 16,
21623 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
21624 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
21625 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
21626 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
21627 .alen = 16,
21628 .input = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
21629 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
21630 .ilen = 16,
21631 .result = "",
21632 .rlen = 0,
21633 }, {
21634 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
21635 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
21636 .klen = 16,
21637 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
21638 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
21639 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
21640 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
21641 "\x07",
21642 .alen = 17,
21643 .input = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
21644 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
21645 .ilen = 16,
21646 .result = "",
21647 .rlen = 0,
21648 }, {
21649 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
21650 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
21651 .klen = 16,
21652 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
21653 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
21654 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
21655 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
21656 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
21657 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
21658 .alen = 31,
21659 .input = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
21660 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
21661 .ilen = 16,
21662 .result = "",
21663 .rlen = 0,
21664 }, {
21665 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
21666 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
21667 .klen = 16,
21668 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
21669 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
21670 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
21671 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
21672 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
21673 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
21674 .alen = 32,
21675 .input = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
21676 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
21677 .ilen = 16,
21678 .result = "",
21679 .rlen = 0,
21680 }, {
21681 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
21682 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
21683 .klen = 16,
21684 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
21685 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
21686 .assoc = "\x40",
21687 .alen = 1,
21688 .input = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
21689 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
21690 "\x39",
21691 .ilen = 17,
21692 .result = "\x4f",
21693 .rlen = 1,
21694 }, {
21695 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
21696 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
21697 .klen = 16,
21698 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
21699 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
21700 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
21701 "\x6d\x92\x42\x61\xa7\x58\x37",
21702 .alen = 15,
21703 .input = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
21704 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
21705 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
21706 "\x98\xbd\x71\x7a\xef\xa4\xfa",
21707 .ilen = 31,
21708 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
21709 "\x8d\xc8\x6e\x85\xa5\x21\x67",
21710 .rlen = 15,
21711 }, {
21712 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
21713 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
21714 .klen = 16,
21715 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
21716 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
21717 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
21718 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
21719 .alen = 16,
21720 .input = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
21721 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
21722 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
21723 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
21724 .ilen = 32,
21725 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
21726 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
21727 .rlen = 16,
21728 }, {
21729 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
21730 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
21731 .klen = 16,
21732 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
21733 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
21734 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
21735 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
21736 "\x05",
21737 .alen = 17,
21738 .input = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
21739 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
21740 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
21741 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
21742 "\x93",
21743 .ilen = 33,
21744 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
21745 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
21746 "\xd0",
21747 .rlen = 17,
21748 }, {
21749 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
21750 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
21751 .klen = 16,
21752 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
21753 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
21754 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
21755 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
21756 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
21757 "\x68\x28\x73\x40\x9f\x96\x4a",
21758 .alen = 31,
21759 .input = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
21760 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
21761 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
21762 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
21763 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
21764 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
21765 .ilen = 47,
21766 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
21767 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
21768 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
21769 "\x98\x34\xab\x37\x56\xae\x32",
21770 .rlen = 31,
21771 }, {
21772 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
21773 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
21774 .klen = 16,
21775 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
21776 "\x50\xc4\xde\x82\x90\x21\x11\x73",
21777 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
21778 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
21779 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
21780 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
21781 .alen = 32,
21782 .input = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
21783 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
21784 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
21785 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
21786 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
21787 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
21788 .ilen = 48,
21789 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
21790 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
21791 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
21792 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
21793 .rlen = 32,
21794 }, {
21795 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
21796 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
21797 .klen = 16,
21798 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
21799 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
21800 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
21801 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
21802 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
21803 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
21804 "\x9d",
21805 .alen = 33,
21806 .input = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
21807 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
21808 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
21809 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
21810 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
21811 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
21812 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
21813 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
21814 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
21815 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
21816 "\x3f",
21817 .ilen = 81,
21818 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
21819 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
21820 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
21821 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
21822 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
21823 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
21824 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
21825 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
21826 "\xbd",
21827 .rlen = 65,
21828 }, {
21829 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21830 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
21831 .klen = 16,
21832 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
21833 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
21834 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
21835 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
21836 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
21837 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
21838 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
21839 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
21840 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
21841 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21842 "\x54",
21843 .alen = 65,
21844 .input = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
21845 "\x77\x09\xac\x74\xef\xd2\x56\xae"
21846 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
21847 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
21848 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
21849 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
21850 "\x39",
21851 .ilen = 49,
21852 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21853 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
21854 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
21855 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
21856 "\x2f",
21857 .rlen = 33,
21858 }, {
21859 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
21860 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
21861 .klen = 16,
21862 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
21863 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
21864 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
21865 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
21866 .alen = 16,
21867 .input = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
21868 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
21869 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
21870 "\xde\x20\x59\x77\xc1\x74\x90",
21871 .ilen = 31,
21872 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
21873 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
21874 .rlen = 16,
21875 }, {
21876 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
21877 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
21878 .klen = 16,
21879 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
21880 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
21881 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
21882 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
21883 .alen = 16,
21884 .input = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
21885 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
21886 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
21887 "\xe9\xe0\x17\x45\x70\x12",
21888 .ilen = 30,
21889 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
21890 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
21891 .rlen = 16,
21892 }, {
21893 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
21894 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
21895 .klen = 16,
21896 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
21897 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
21898 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
21899 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
21900 .alen = 16,
21901 .input = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
21902 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
21903 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
21904 .ilen = 24,
21905 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
21906 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
21907 .rlen = 16,
21908 }, 19373 },
21909}; 19374};
21910 19375
@@ -21915,7 +19380,7 @@ static const struct aead_testvec aegis128_dec_tv_template[] = {
21915 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz 19380 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
21916 * (see crypto_aead/aegis128l/) 19381 * (see crypto_aead/aegis128l/)
21917 */ 19382 */
21918static const struct aead_testvec aegis128l_enc_tv_template[] = { 19383static const struct aead_testvec aegis128l_tv_template[] = {
21919 { 19384 {
21920 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86" 19385 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
21921 "\x20\x36\x2c\x24\xfe\xc9\x30\x81", 19386 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
@@ -21924,11 +19389,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
21924 "\x40\x6d\x59\x48\xfc\x92\x61\x03", 19389 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
21925 .assoc = "", 19390 .assoc = "",
21926 .alen = 0, 19391 .alen = 0,
21927 .input = "", 19392 .ptext = "",
21928 .ilen = 0, 19393 .plen = 0,
21929 .result = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6" 19394 .ctext = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
21930 "\x20\x72\x78\xdd\x93\xc8\x57\xef", 19395 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
21931 .rlen = 16, 19396 .clen = 16,
21932 }, { 19397 }, {
21933 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2" 19398 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
21934 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87", 19399 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
@@ -21937,12 +19402,12 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
21937 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09", 19402 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
21938 .assoc = "", 19403 .assoc = "",
21939 .alen = 0, 19404 .alen = 0,
21940 .input = "\x79", 19405 .ptext = "\x79",
21941 .ilen = 1, 19406 .plen = 1,
21942 .result = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb" 19407 .ctext = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
21943 "\x40\xb3\x71\xc5\x22\x58\x31\x77" 19408 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
21944 "\x6d", 19409 "\x6d",
21945 .rlen = 17, 19410 .clen = 17,
21946 }, { 19411 }, {
21947 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe" 19412 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
21948 "\x22\xea\x90\x47\xf2\x11\xb5\x8e", 19413 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
@@ -21951,14 +19416,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
21951 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f", 19416 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
21952 .assoc = "", 19417 .assoc = "",
21953 .alen = 0, 19418 .alen = 0,
21954 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53" 19419 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
21955 "\x82\x8e\x16\xb4\xed\x6d\x47", 19420 "\x82\x8e\x16\xb4\xed\x6d\x47",
21956 .ilen = 15, 19421 .plen = 15,
21957 .result = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03" 19422 .ctext = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
21958 "\x2b\xee\x62\x99\x7b\x98\x13\x1f" 19423 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
21959 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe" 19424 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
21960 "\xe1\xa8\x04\x7f\xe1\x71\xbe", 19425 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
21961 .rlen = 31, 19426 .clen = 31,
21962 }, { 19427 }, {
21963 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda" 19428 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
21964 "\xa2\xc5\x42\xd8\xec\x36\x78\x94", 19429 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
@@ -21967,14 +19432,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
21967 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15", 19432 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
21968 .assoc = "", 19433 .assoc = "",
21969 .alen = 0, 19434 .alen = 0,
21970 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f" 19435 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
21971 "\x03\x68\xc8\x45\xe7\x91\x0a\x18", 19436 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
21972 .ilen = 16, 19437 .plen = 16,
21973 .result = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c" 19438 .ctext = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
21974 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e" 19439 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
21975 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb" 19440 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
21976 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5", 19441 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
21977 .rlen = 32, 19442 .clen = 32,
21978 }, { 19443 }, {
21979 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6" 19444 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
21980 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a", 19445 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
@@ -21983,16 +19448,16 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
21983 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c", 19448 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
21984 .assoc = "", 19449 .assoc = "",
21985 .alen = 0, 19450 .alen = 0,
21986 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b" 19451 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
21987 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f" 19452 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
21988 "\xd3", 19453 "\xd3",
21989 .ilen = 17, 19454 .plen = 17,
21990 .result = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b" 19455 .ctext = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
21991 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2" 19456 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
21992 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9" 19457 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
21993 "\x82\x64\xc7\x72\x00\x30\xfc\xf0" 19458 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
21994 "\xf8", 19459 "\xf8",
21995 .rlen = 33, 19460 .clen = 33,
21996 }, { 19461 }, {
21997 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12" 19462 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21998 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0", 19463 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
@@ -22001,18 +19466,18 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22001 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22", 19466 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
22002 .assoc = "", 19467 .assoc = "",
22003 .alen = 0, 19468 .alen = 0,
22004 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6" 19469 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22005 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25" 19470 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
22006 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99" 19471 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
22007 "\x88\x11\x39\x12\x1c\x3a\xbb", 19472 "\x88\x11\x39\x12\x1c\x3a\xbb",
22008 .ilen = 31, 19473 .plen = 31,
22009 .result = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5" 19474 .ctext = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
22010 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1" 19475 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
22011 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c" 19476 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
22012 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9" 19477 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
22013 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc" 19478 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
22014 "\x59\x28\x88\x3c\x79\x10\x6b", 19479 "\x59\x28\x88\x3c\x79\x10\x6b",
22015 .rlen = 47, 19480 .clen = 47,
22016 }, { 19481 }, {
22017 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d" 19482 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22018 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6", 19483 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
@@ -22021,18 +19486,18 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22021 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28", 19486 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
22022 .assoc = "", 19487 .assoc = "",
22023 .alen = 0, 19488 .alen = 0,
22024 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2" 19489 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22025 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b" 19490 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
22026 "\x28\x50\x51\x9d\x24\x60\x8d\xb3" 19491 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
22027 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd", 19492 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
22028 .ilen = 32, 19493 .plen = 32,
22029 .result = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d" 19494 .ctext = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
22030 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40" 19495 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
22031 "\xde\x11\x59\x3e\xfd\x74\xf6\x42" 19496 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
22032 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6" 19497 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
22033 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a" 19498 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
22034 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc", 19499 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
22035 .rlen = 48, 19500 .clen = 48,
22036 }, { 19501 }, {
22037 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49" 19502 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22038 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad", 19503 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
@@ -22041,11 +19506,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22041 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e", 19506 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
22042 .assoc = "\xd5", 19507 .assoc = "\xd5",
22043 .alen = 1, 19508 .alen = 1,
22044 .input = "", 19509 .ptext = "",
22045 .ilen = 0, 19510 .plen = 0,
22046 .result = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8" 19511 .ctext = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
22047 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f", 19512 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
22048 .rlen = 16, 19513 .clen = 16,
22049 }, { 19514 }, {
22050 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65" 19515 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22051 "\x27\x08\xbd\xaf\xce\xec\x45\xb3", 19516 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
@@ -22055,11 +19520,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22055 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73" 19520 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
22056 "\x68\x75\x16\xf8\xcb\x7e\xa7", 19521 "\x68\x75\x16\xf8\xcb\x7e\xa7",
22057 .alen = 15, 19522 .alen = 15,
22058 .input = "", 19523 .ptext = "",
22059 .ilen = 0, 19524 .plen = 0,
22060 .result = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c" 19525 .ctext = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
22061 "\x84\xfb\x26\xfb\xd5\xca\x62\x39", 19526 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
22062 .rlen = 16, 19527 .clen = 16,
22063 }, { 19528 }, {
22064 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81" 19529 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22065 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9", 19530 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
@@ -22069,11 +19534,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22069 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f" 19534 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
22070 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc", 19535 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
22071 .alen = 16, 19536 .alen = 16,
22072 .input = "", 19537 .ptext = "",
22073 .ilen = 0, 19538 .plen = 0,
22074 .result = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1" 19539 .ctext = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
22075 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a", 19540 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
22076 .rlen = 16, 19541 .clen = 16,
22077 }, { 19542 }, {
22078 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d" 19543 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22079 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf", 19544 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
@@ -22084,11 +19549,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22084 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2" 19549 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
22085 "\x07", 19550 "\x07",
22086 .alen = 17, 19551 .alen = 17,
22087 .input = "", 19552 .ptext = "",
22088 .ilen = 0, 19553 .plen = 0,
22089 .result = "\x33\xb1\x42\x97\x8e\x16\x7b\x63" 19554 .ctext = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
22090 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56", 19555 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
22091 .rlen = 16, 19556 .clen = 16,
22092 }, { 19557 }, {
22093 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8" 19558 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22094 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6", 19559 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
@@ -22100,11 +19565,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22100 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d" 19565 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
22101 "\xe0\x17\x3a\x2e\x83\x5c\x8f", 19566 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
22102 .alen = 31, 19567 .alen = 31,
22103 .input = "", 19568 .ptext = "",
22104 .ilen = 0, 19569 .plen = 0,
22105 .result = "\xda\x44\x08\x8c\x2a\xa5\x07\x35" 19570 .ctext = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
22106 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f", 19571 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
22107 .rlen = 16, 19572 .clen = 16,
22108 }, { 19573 }, {
22109 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4" 19574 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22110 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc", 19575 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
@@ -22116,11 +19581,11 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22116 "\x5c\x2d\x14\x96\x01\x78\xb9\x47" 19581 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
22117 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f", 19582 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
22118 .alen = 32, 19583 .alen = 32,
22119 .input = "", 19584 .ptext = "",
22120 .ilen = 0, 19585 .plen = 0,
22121 .result = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88" 19586 .ctext = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
22122 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0", 19587 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
22123 .rlen = 16, 19588 .clen = 16,
22124 }, { 19589 }, {
22125 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0" 19590 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22126 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2", 19591 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
@@ -22129,12 +19594,12 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22129 "\xcc\x81\x63\xab\xae\x6b\x43\x54", 19594 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
22130 .assoc = "\x40", 19595 .assoc = "\x40",
22131 .alen = 1, 19596 .alen = 1,
22132 .input = "\x4f", 19597 .ptext = "\x4f",
22133 .ilen = 1, 19598 .plen = 1,
22134 .result = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9" 19599 .ctext = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
22135 "\xa0\x98\x09\x85\xbe\x56\x8e\x79" 19600 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
22136 "\xf4", 19601 "\xf4",
22137 .rlen = 17, 19602 .clen = 17,
22138 }, { 19603 }, {
22139 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c" 19604 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22140 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8", 19605 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
@@ -22144,14 +19609,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22144 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a" 19609 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22145 "\x6d\x92\x42\x61\xa7\x58\x37", 19610 "\x6d\x92\x42\x61\xa7\x58\x37",
22146 .alen = 15, 19611 .alen = 15,
22147 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1" 19612 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22148 "\x8d\xc8\x6e\x85\xa5\x21\x67", 19613 "\x8d\xc8\x6e\x85\xa5\x21\x67",
22149 .ilen = 15, 19614 .plen = 15,
22150 .result = "\x99\x2e\x84\x50\x64\x5c\xab\x29" 19615 .ctext = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
22151 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a" 19616 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
22152 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc" 19617 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
22153 "\x20\x63\x0b\x49\x7e\x97\x08", 19618 "\x20\x63\x0b\x49\x7e\x97\x08",
22154 .rlen = 31, 19619 .clen = 31,
22155 }, { 19620 }, {
22156 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28" 19621 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22157 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf", 19622 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
@@ -22161,14 +19626,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22161 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36" 19626 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22162 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2", 19627 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22163 .alen = 16, 19628 .alen = 16,
22164 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd" 19629 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22165 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63", 19630 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22166 .ilen = 16, 19631 .plen = 16,
22167 .result = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee" 19632 .ctext = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
22168 "\x78\x08\x12\xec\x09\xaf\x53\x14" 19633 "\x78\x08\x12\xec\x09\xaf\x53\x14"
22169 "\x90\x3e\x3d\x76\xad\x71\x21\x08" 19634 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
22170 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb", 19635 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
22171 .rlen = 32, 19636 .clen = 32,
22172 }, { 19637 }, {
22173 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44" 19638 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22174 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5", 19639 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
@@ -22179,16 +19644,16 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22179 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8" 19644 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22180 "\x05", 19645 "\x05",
22181 .alen = 17, 19646 .alen = 17,
22182 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8" 19647 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22183 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69" 19648 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
22184 "\xd0", 19649 "\xd0",
22185 .ilen = 17, 19650 .plen = 17,
22186 .result = "\xf3\xe7\x95\x86\xcf\x34\x95\x96" 19651 .ctext = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
22187 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a" 19652 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
22188 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c" 19653 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
22189 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49" 19654 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
22190 "\x7d", 19655 "\x7d",
22191 .rlen = 33, 19656 .clen = 33,
22192 }, { 19657 }, {
22193 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f" 19658 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22194 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb", 19659 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
@@ -22200,18 +19665,18 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22200 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7" 19665 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22201 "\x68\x28\x73\x40\x9f\x96\x4a", 19666 "\x68\x28\x73\x40\x9f\x96\x4a",
22202 .alen = 31, 19667 .alen = 31,
22203 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4" 19668 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22204 "\x10\x57\x85\x39\x93\x8f\xaf\x70" 19669 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
22205 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd" 19670 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
22206 "\x98\x34\xab\x37\x56\xae\x32", 19671 "\x98\x34\xab\x37\x56\xae\x32",
22207 .ilen = 31, 19672 .plen = 31,
22208 .result = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24" 19673 .ctext = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
22209 "\x0d\x19\x15\x61\x65\x3b\x06\x26" 19674 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
22210 "\x71\xe8\x7e\x16\xdb\x96\x01\x01" 19675 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
22211 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7" 19676 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
22212 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5" 19677 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
22213 "\xed\x90\xce\xb9\xcd\xcc\xa1", 19678 "\xed\x90\xce\xb9\xcd\xcc\xa1",
22214 .rlen = 47, 19679 .clen = 47,
22215 }, { 19680 }, {
22216 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b" 19681 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22217 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1", 19682 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
@@ -22223,18 +19688,18 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22223 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0" 19688 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22224 "\x29\x56\x52\x19\x79\xf5\xe9\x37", 19689 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22225 .alen = 32, 19690 .alen = 32,
22226 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10" 19691 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22227 "\x91\x31\x37\xcb\x8d\xb3\x72\x76" 19692 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
22228 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7" 19693 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
22229 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec", 19694 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
22230 .ilen = 32, 19695 .plen = 32,
22231 .result = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1" 19696 .ctext = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
22232 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18" 19697 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
22233 "\xce\x58\xc8\x3b\xd4\x85\x93\x79" 19698 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
22234 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c" 19699 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
22235 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56" 19700 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
22236 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4", 19701 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
22237 .rlen = 48, 19702 .clen = 48,
22238 }, { 19703 }, {
22239 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97" 19704 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22240 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7", 19705 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
@@ -22247,7 +19712,7 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22247 "\xeb\x83\x31\xf1\x54\x54\x89\x0d" 19712 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22248 "\x9d", 19713 "\x9d",
22249 .alen = 33, 19714 .alen = 33,
22250 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c" 19715 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22251 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c" 19716 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
22252 "\x4f\x2e\xe8\x55\x66\x80\x27\x00" 19717 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
22253 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3" 19718 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
@@ -22256,8 +19721,8 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22256 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3" 19721 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
22257 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01" 19722 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
22258 "\xbd", 19723 "\xbd",
22259 .ilen = 65, 19724 .plen = 65,
22260 .result = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8" 19725 .ctext = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
22261 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f" 19726 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
22262 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63" 19727 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
22263 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77" 19728 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
@@ -22268,7 +19733,7 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22268 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d" 19733 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
22269 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35" 19734 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
22270 "\x01", 19735 "\x01",
22271 .rlen = 81, 19736 .clen = 81,
22272 }, { 19737 }, {
22273 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3" 19738 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22274 "\x32\x42\x15\x80\x85\xa1\x65\xfe", 19739 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
@@ -22285,20 +19750,20 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22285 "\x09\x4f\x77\x62\x88\x2d\xf2\x68" 19750 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
22286 "\x54", 19751 "\x54",
22287 .alen = 65, 19752 .alen = 65,
22288 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48" 19753 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22289 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82" 19754 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
22290 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a" 19755 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
22291 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99" 19756 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
22292 "\x2f", 19757 "\x2f",
22293 .ilen = 33, 19758 .plen = 33,
22294 .result = "\x4c\xa9\xac\x71\xed\x10\xa6\x24" 19759 .ctext = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
22295 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb" 19760 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
22296 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17" 19761 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
22297 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99" 19762 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
22298 "\xf2\x62\x25\x28\x01\x23\x6f\x8b" 19763 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
22299 "\x04\x52\xbc\xb0\x3e\x66\x52\x90" 19764 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
22300 "\x9f", 19765 "\x9f",
22301 .rlen = 49, 19766 .clen = 49,
22302 }, { 19767 }, {
22303 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf" 19768 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22304 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04", 19769 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
@@ -22308,14 +19773,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22308 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd" 19773 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22309 "\xf3\x89\x20\x5b\x7c\x57\x89\x07", 19774 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22310 .alen = 16, 19775 .alen = 16,
22311 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63" 19776 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22312 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89", 19777 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22313 .ilen = 16, 19778 .plen = 16,
22314 .result = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5" 19779 .ctext = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
22315 "\x96\xe6\x97\xe4\x10\xeb\x40\x95" 19780 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
22316 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec" 19781 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
22317 "\x05\xa8\x31\x50\x11\x19\x44", 19782 "\x05\xa8\x31\x50\x11\x19\x44",
22318 .rlen = 31, 19783 .clen = 31,
22319 }, { 19784 }, {
22320 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea" 19785 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22321 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a", 19786 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
@@ -22325,14 +19790,14 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22325 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8" 19790 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22326 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d", 19791 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22327 .alen = 16, 19792 .alen = 16,
22328 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f" 19793 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22329 "\x95\x9a\xff\x10\x75\x45\x7d\x8f", 19794 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22330 .ilen = 16, 19795 .plen = 16,
22331 .result = "\x30\x95\x7d\xea\xdc\x62\xc0\x88" 19796 .ctext = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
22332 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7" 19797 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
22333 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb" 19798 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
22334 "\x21\x93\x2e\x31\x84\x83", 19799 "\x21\x93\x2e\x31\x84\x83",
22335 .rlen = 30, 19800 .clen = 30,
22336 }, { 19801 }, {
22337 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06" 19802 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22338 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10", 19803 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
@@ -22342,450 +19807,13 @@ static const struct aead_testvec aegis128l_enc_tv_template[] = {
22342 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14" 19807 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22343 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13", 19808 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22344 .alen = 16, 19809 .alen = 16,
22345 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b" 19810 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22346 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95", 19811 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22347 .ilen = 16, 19812 .plen = 16,
22348 .result = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16" 19813 .ctext = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
22349 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
22350 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
22351 .rlen = 24,
22352 },
22353};
22354
22355static const struct aead_testvec aegis128l_dec_tv_template[] = {
22356 {
22357 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22358 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22359 .klen = 16,
22360 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
22361 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
22362 .assoc = "",
22363 .alen = 0,
22364 .input = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
22365 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
22366 .ilen = 16,
22367 .result = "",
22368 .rlen = 0,
22369 }, {
22370 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22371 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
22372 .klen = 16,
22373 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
22374 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
22375 .assoc = "",
22376 .alen = 0,
22377 .input = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
22378 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
22379 "\x6d",
22380 .ilen = 17,
22381 .result = "\x79",
22382 .rlen = 1,
22383 }, {
22384 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22385 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
22386 .klen = 16,
22387 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
22388 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
22389 .assoc = "",
22390 .alen = 0,
22391 .input = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
22392 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
22393 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
22394 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
22395 .ilen = 31,
22396 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22397 "\x82\x8e\x16\xb4\xed\x6d\x47",
22398 .rlen = 15,
22399 }, {
22400 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22401 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
22402 .klen = 16,
22403 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
22404 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
22405 .assoc = "",
22406 .alen = 0,
22407 .input = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
22408 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
22409 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
22410 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
22411 .ilen = 32,
22412 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22413 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22414 .rlen = 16,
22415 }, {
22416 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22417 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
22418 .klen = 16,
22419 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
22420 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
22421 .assoc = "",
22422 .alen = 0,
22423 .input = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
22424 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
22425 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
22426 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
22427 "\xf8",
22428 .ilen = 33,
22429 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22430 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
22431 "\xd3",
22432 .rlen = 17,
22433 }, {
22434 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22435 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
22436 .klen = 16,
22437 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
22438 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
22439 .assoc = "",
22440 .alen = 0,
22441 .input = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
22442 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
22443 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
22444 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
22445 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
22446 "\x59\x28\x88\x3c\x79\x10\x6b",
22447 .ilen = 47,
22448 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22449 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
22450 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
22451 "\x88\x11\x39\x12\x1c\x3a\xbb",
22452 .rlen = 31,
22453 }, {
22454 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22455 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
22456 .klen = 16,
22457 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
22458 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
22459 .assoc = "",
22460 .alen = 0,
22461 .input = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
22462 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
22463 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
22464 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
22465 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
22466 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
22467 .ilen = 48,
22468 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22469 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
22470 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
22471 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
22472 .rlen = 32,
22473 }, {
22474 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22475 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
22476 .klen = 16,
22477 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
22478 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
22479 .assoc = "\xd5",
22480 .alen = 1,
22481 .input = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
22482 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
22483 .ilen = 16,
22484 .result = "",
22485 .rlen = 0,
22486 }, {
22487 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22488 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
22489 .klen = 16,
22490 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
22491 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
22492 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
22493 "\x68\x75\x16\xf8\xcb\x7e\xa7",
22494 .alen = 15,
22495 .input = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
22496 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
22497 .ilen = 16,
22498 .result = "",
22499 .rlen = 0,
22500 }, {
22501 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22502 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
22503 .klen = 16,
22504 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
22505 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
22506 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
22507 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
22508 .alen = 16,
22509 .input = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
22510 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
22511 .ilen = 16,
22512 .result = "",
22513 .rlen = 0,
22514 }, {
22515 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22516 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
22517 .klen = 16,
22518 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
22519 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
22520 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
22521 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
22522 "\x07",
22523 .alen = 17,
22524 .input = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
22525 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
22526 .ilen = 16,
22527 .result = "",
22528 .rlen = 0,
22529 }, {
22530 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22531 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
22532 .klen = 16,
22533 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
22534 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
22535 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
22536 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
22537 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
22538 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
22539 .alen = 31,
22540 .input = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
22541 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
22542 .ilen = 16,
22543 .result = "",
22544 .rlen = 0,
22545 }, {
22546 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22547 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
22548 .klen = 16,
22549 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
22550 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
22551 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
22552 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
22553 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
22554 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
22555 .alen = 32,
22556 .input = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
22557 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
22558 .ilen = 16,
22559 .result = "",
22560 .rlen = 0,
22561 }, {
22562 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22563 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
22564 .klen = 16,
22565 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
22566 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
22567 .assoc = "\x40",
22568 .alen = 1,
22569 .input = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
22570 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
22571 "\xf4",
22572 .ilen = 17,
22573 .result = "\x4f",
22574 .rlen = 1,
22575 }, {
22576 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22577 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
22578 .klen = 16,
22579 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
22580 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
22581 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22582 "\x6d\x92\x42\x61\xa7\x58\x37",
22583 .alen = 15,
22584 .input = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
22585 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
22586 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
22587 "\x20\x63\x0b\x49\x7e\x97\x08",
22588 .ilen = 31,
22589 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22590 "\x8d\xc8\x6e\x85\xa5\x21\x67",
22591 .rlen = 15,
22592 }, {
22593 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22594 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
22595 .klen = 16,
22596 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
22597 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
22598 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22599 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22600 .alen = 16,
22601 .input = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
22602 "\x78\x08\x12\xec\x09\xaf\x53\x14"
22603 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
22604 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
22605 .ilen = 32,
22606 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22607 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22608 .rlen = 16,
22609 }, {
22610 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22611 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
22612 .klen = 16,
22613 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
22614 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
22615 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
22616 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22617 "\x05",
22618 .alen = 17,
22619 .input = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
22620 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
22621 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
22622 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
22623 "\x7d",
22624 .ilen = 33,
22625 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22626 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
22627 "\xd0",
22628 .rlen = 17,
22629 }, {
22630 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22631 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
22632 .klen = 16,
22633 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
22634 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
22635 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
22636 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
22637 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22638 "\x68\x28\x73\x40\x9f\x96\x4a",
22639 .alen = 31,
22640 .input = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
22641 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
22642 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
22643 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
22644 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
22645 "\xed\x90\xce\xb9\xcd\xcc\xa1",
22646 .ilen = 47,
22647 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22648 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
22649 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
22650 "\x98\x34\xab\x37\x56\xae\x32",
22651 .rlen = 31,
22652 }, {
22653 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22654 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
22655 .klen = 16,
22656 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
22657 "\x50\xc4\xde\x82\x90\x21\x11\x73",
22658 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
22659 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
22660 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22661 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22662 .alen = 32,
22663 .input = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
22664 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
22665 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
22666 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
22667 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
22668 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
22669 .ilen = 48,
22670 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22671 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
22672 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
22673 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
22674 .rlen = 32,
22675 }, {
22676 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22677 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
22678 .klen = 16,
22679 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
22680 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
22681 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
22682 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
22683 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
22684 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22685 "\x9d",
22686 .alen = 33,
22687 .input = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
22688 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
22689 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
22690 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
22691 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
22692 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
22693 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
22694 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
22695 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
22696 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
22697 "\x01",
22698 .ilen = 81,
22699 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22700 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
22701 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
22702 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
22703 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
22704 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
22705 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
22706 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
22707 "\xbd",
22708 .rlen = 65,
22709 }, {
22710 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22711 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
22712 .klen = 16,
22713 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
22714 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
22715 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
22716 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
22717 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
22718 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
22719 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
22720 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
22721 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
22722 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
22723 "\x54",
22724 .alen = 65,
22725 .input = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
22726 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
22727 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
22728 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
22729 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
22730 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
22731 "\x9f",
22732 .ilen = 49,
22733 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22734 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
22735 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
22736 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
22737 "\x2f",
22738 .rlen = 33,
22739 }, {
22740 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22741 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
22742 .klen = 16,
22743 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22744 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
22745 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22746 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22747 .alen = 16,
22748 .input = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
22749 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
22750 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
22751 "\x05\xa8\x31\x50\x11\x19\x44",
22752 .ilen = 31,
22753 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22754 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22755 .rlen = 16,
22756 }, {
22757 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22758 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
22759 .klen = 16,
22760 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22761 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
22762 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22763 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22764 .alen = 16,
22765 .input = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
22766 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
22767 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
22768 "\x21\x93\x2e\x31\x84\x83",
22769 .ilen = 30,
22770 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22771 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22772 .rlen = 16,
22773 }, {
22774 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22775 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
22776 .klen = 16,
22777 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22778 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
22779 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22780 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22781 .alen = 16,
22782 .input = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
22783 "\x63\x0d\x43\xd5\x49\xca\xa8\x85" 19814 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
22784 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b", 19815 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
22785 .ilen = 24, 19816 .clen = 24,
22786 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22787 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22788 .rlen = 16,
22789 }, 19817 },
22790}; 19818};
22791 19819
@@ -22796,7 +19824,7 @@ static const struct aead_testvec aegis128l_dec_tv_template[] = {
22796 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz 19824 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22797 * (see crypto_aead/aegis256/) 19825 * (see crypto_aead/aegis256/)
22798 */ 19826 */
22799static const struct aead_testvec aegis256_enc_tv_template[] = { 19827static const struct aead_testvec aegis256_tv_template[] = {
22800 { 19828 {
22801 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86" 19829 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22802 "\x20\x36\x2c\x24\xfe\xc9\x30\x81" 19830 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
@@ -22809,11 +19837,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22809 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b", 19837 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
22810 .assoc = "", 19838 .assoc = "",
22811 .alen = 0, 19839 .alen = 0,
22812 .input = "", 19840 .ptext = "",
22813 .ilen = 0, 19841 .plen = 0,
22814 .result = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa" 19842 .ctext = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
22815 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2", 19843 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
22816 .rlen = 16, 19844 .clen = 16,
22817 }, { 19845 }, {
22818 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2" 19846 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22819 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87" 19847 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
@@ -22826,12 +19854,12 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22826 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41", 19854 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
22827 .assoc = "", 19855 .assoc = "",
22828 .alen = 0, 19856 .alen = 0,
22829 .input = "\x79", 19857 .ptext = "\x79",
22830 .ilen = 1, 19858 .plen = 1,
22831 .result = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16" 19859 .ctext = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
22832 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29" 19860 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
22833 "\x8b", 19861 "\x8b",
22834 .rlen = 17, 19862 .clen = 17,
22835 }, { 19863 }, {
22836 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe" 19864 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22837 "\x22\xea\x90\x47\xf2\x11\xb5\x8e" 19865 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
@@ -22844,14 +19872,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22844 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18", 19872 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
22845 .assoc = "", 19873 .assoc = "",
22846 .alen = 0, 19874 .alen = 0,
22847 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53" 19875 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22848 "\x82\x8e\x16\xb4\xed\x6d\x47", 19876 "\x82\x8e\x16\xb4\xed\x6d\x47",
22849 .ilen = 15, 19877 .plen = 15,
22850 .result = "\x09\x94\x1f\xa6\x13\xc3\x74\x75" 19878 .ctext = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
22851 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28" 19879 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
22852 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a" 19880 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
22853 "\x9f\x3b\xd7\xdd\x66\xd1\x2b", 19881 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
22854 .rlen = 31, 19882 .clen = 31,
22855 }, { 19883 }, {
22856 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda" 19884 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22857 "\xa2\xc5\x42\xd8\xec\x36\x78\x94" 19885 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
@@ -22864,14 +19892,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22864 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee", 19892 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
22865 .assoc = "", 19893 .assoc = "",
22866 .alen = 0, 19894 .alen = 0,
22867 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f" 19895 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22868 "\x03\x68\xc8\x45\xe7\x91\x0a\x18", 19896 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22869 .ilen = 16, 19897 .plen = 16,
22870 .result = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f" 19898 .ctext = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
22871 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70" 19899 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
22872 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1" 19900 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
22873 "\x29\x17\xc8\x3b\x52\xa4\x98\x72", 19901 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
22874 .rlen = 32, 19902 .clen = 32,
22875 }, { 19903 }, {
22876 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6" 19904 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22877 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a" 19905 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
@@ -22884,16 +19912,16 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22884 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5", 19912 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
22885 .assoc = "", 19913 .assoc = "",
22886 .alen = 0, 19914 .alen = 0,
22887 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b" 19915 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22888 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f" 19916 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
22889 "\xd3", 19917 "\xd3",
22890 .ilen = 17, 19918 .plen = 17,
22891 .result = "\x71\x6b\x37\x0b\x02\x61\x28\x12" 19919 .ctext = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
22892 "\x83\xab\x66\x90\x84\xc7\xd1\xc5" 19920 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
22893 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2" 19921 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
22894 "\xc0\x00\x39\x13\xb5\x51\x68\x44" 19922 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
22895 "\xad", 19923 "\xad",
22896 .rlen = 33, 19924 .clen = 33,
22897 }, { 19925 }, {
22898 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12" 19926 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22899 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0" 19927 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
@@ -22906,18 +19934,18 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22906 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c", 19934 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
22907 .assoc = "", 19935 .assoc = "",
22908 .alen = 0, 19936 .alen = 0,
22909 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6" 19937 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22910 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25" 19938 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
22911 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99" 19939 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
22912 "\x88\x11\x39\x12\x1c\x3a\xbb", 19940 "\x88\x11\x39\x12\x1c\x3a\xbb",
22913 .ilen = 31, 19941 .plen = 31,
22914 .result = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f" 19942 .ctext = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
22915 "\x06\x3b\x52\x18\x49\x75\x1b\xf0" 19943 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
22916 "\x53\x09\x72\x7b\x45\x79\xe0\xbe" 19944 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
22917 "\x89\x85\x23\x15\xb8\x79\x07\x4c" 19945 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
22918 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb" 19946 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
22919 "\xc4\x1f\x12\x27\xcf\x77\x90", 19947 "\xc4\x1f\x12\x27\xcf\x77\x90",
22920 .rlen = 47, 19948 .clen = 47,
22921 }, { 19949 }, {
22922 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d" 19950 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22923 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6" 19951 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
@@ -22930,18 +19958,18 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22930 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72", 19958 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
22931 .assoc = "", 19959 .assoc = "",
22932 .alen = 0, 19960 .alen = 0,
22933 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2" 19961 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22934 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b" 19962 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
22935 "\x28\x50\x51\x9d\x24\x60\x8d\xb3" 19963 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
22936 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd", 19964 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
22937 .ilen = 32, 19965 .plen = 32,
22938 .result = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4" 19966 .ctext = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
22939 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7" 19967 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
22940 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef" 19968 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
22941 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5" 19969 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
22942 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80" 19970 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
22943 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3", 19971 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
22944 .rlen = 48, 19972 .clen = 48,
22945 }, { 19973 }, {
22946 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49" 19974 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22947 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad" 19975 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
@@ -22954,11 +19982,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22954 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49", 19982 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
22955 .assoc = "\xd5", 19983 .assoc = "\xd5",
22956 .alen = 1, 19984 .alen = 1,
22957 .input = "", 19985 .ptext = "",
22958 .ilen = 0, 19986 .plen = 0,
22959 .result = "\x96\x43\x30\xca\x6c\x4f\xd7\x12" 19987 .ctext = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
22960 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52", 19988 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
22961 .rlen = 16, 19989 .clen = 16,
22962 }, { 19990 }, {
22963 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65" 19991 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22964 "\x27\x08\xbd\xaf\xce\xec\x45\xb3" 19992 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
@@ -22972,11 +20000,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22972 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73" 20000 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
22973 "\x68\x75\x16\xf8\xcb\x7e\xa7", 20001 "\x68\x75\x16\xf8\xcb\x7e\xa7",
22974 .alen = 15, 20002 .alen = 15,
22975 .input = "", 20003 .ptext = "",
22976 .ilen = 0, 20004 .plen = 0,
22977 .result = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83" 20005 .ctext = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
22978 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd", 20006 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
22979 .rlen = 16, 20007 .clen = 16,
22980 }, { 20008 }, {
22981 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81" 20009 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22982 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9" 20010 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
@@ -22990,11 +20018,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
22990 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f" 20018 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
22991 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc", 20019 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
22992 .alen = 16, 20020 .alen = 16,
22993 .input = "", 20021 .ptext = "",
22994 .ilen = 0, 20022 .plen = 0,
22995 .result = "\x16\x44\x73\x33\x5d\xf2\xb9\x04" 20023 .ctext = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
22996 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1", 20024 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
22997 .rlen = 16, 20025 .clen = 16,
22998 }, { 20026 }, {
22999 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d" 20027 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
23000 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf" 20028 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
@@ -23009,11 +20037,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23009 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2" 20037 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
23010 "\x07", 20038 "\x07",
23011 .alen = 17, 20039 .alen = 17,
23012 .input = "", 20040 .ptext = "",
23013 .ilen = 0, 20041 .plen = 0,
23014 .result = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45" 20042 .ctext = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
23015 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd", 20043 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
23016 .rlen = 16, 20044 .clen = 16,
23017 }, { 20045 }, {
23018 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8" 20046 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
23019 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6" 20047 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
@@ -23029,11 +20057,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23029 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d" 20057 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
23030 "\xe0\x17\x3a\x2e\x83\x5c\x8f", 20058 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
23031 .alen = 31, 20059 .alen = 31,
23032 .input = "", 20060 .ptext = "",
23033 .ilen = 0, 20061 .plen = 0,
23034 .result = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0" 20062 .ctext = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
23035 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc", 20063 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
23036 .rlen = 16, 20064 .clen = 16,
23037 }, { 20065 }, {
23038 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4" 20066 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
23039 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc" 20067 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
@@ -23049,11 +20077,11 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23049 "\x5c\x2d\x14\x96\x01\x78\xb9\x47" 20077 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
23050 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f", 20078 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
23051 .alen = 32, 20079 .alen = 32,
23052 .input = "", 20080 .ptext = "",
23053 .ilen = 0, 20081 .plen = 0,
23054 .result = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1" 20082 .ctext = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
23055 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0", 20083 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
23056 .rlen = 16, 20084 .clen = 16,
23057 }, { 20085 }, {
23058 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0" 20086 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
23059 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2" 20087 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
@@ -23066,12 +20094,12 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23066 "\x32\x67\xc0\xe9\x80\x02\xe5\x50", 20094 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
23067 .assoc = "\x40", 20095 .assoc = "\x40",
23068 .alen = 1, 20096 .alen = 1,
23069 .input = "\x4f", 20097 .ptext = "\x4f",
23070 .ilen = 1, 20098 .plen = 1,
23071 .result = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b" 20099 .ctext = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
23072 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83" 20100 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
23073 "\xc7", 20101 "\xc7",
23074 .rlen = 17, 20102 .clen = 17,
23075 }, { 20103 }, {
23076 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c" 20104 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
23077 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8" 20105 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
@@ -23085,14 +20113,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23085 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a" 20113 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
23086 "\x6d\x92\x42\x61\xa7\x58\x37", 20114 "\x6d\x92\x42\x61\xa7\x58\x37",
23087 .alen = 15, 20115 .alen = 15,
23088 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1" 20116 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
23089 "\x8d\xc8\x6e\x85\xa5\x21\x67", 20117 "\x8d\xc8\x6e\x85\xa5\x21\x67",
23090 .ilen = 15, 20118 .plen = 15,
23091 .result = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba" 20119 .ctext = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
23092 "\x7e\x98\x83\x02\x34\x23\xf7\x94" 20120 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
23093 "\xde\x35\xe6\x1d\x14\x18\xe5\x38" 20121 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
23094 "\x14\x80\x6a\xa7\x1b\xae\x1d", 20122 "\x14\x80\x6a\xa7\x1b\xae\x1d",
23095 .rlen = 31, 20123 .clen = 31,
23096 }, { 20124 }, {
23097 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28" 20125 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
23098 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf" 20126 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
@@ -23106,14 +20134,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23106 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36" 20134 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
23107 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2", 20135 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
23108 .alen = 16, 20136 .alen = 16,
23109 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd" 20137 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
23110 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63", 20138 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
23111 .ilen = 16, 20139 .plen = 16,
23112 .result = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01" 20140 .ctext = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
23113 "\xbe\x28\x98\x10\x6f\xe9\x61\x32" 20141 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
23114 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9" 20142 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
23115 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf", 20143 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
23116 .rlen = 32, 20144 .clen = 32,
23117 }, { 20145 }, {
23118 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44" 20146 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
23119 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5" 20147 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
@@ -23128,16 +20156,16 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23128 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8" 20156 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
23129 "\x05", 20157 "\x05",
23130 .alen = 17, 20158 .alen = 17,
23131 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8" 20159 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
23132 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69" 20160 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
23133 "\xd0", 20161 "\xd0",
23134 .ilen = 17, 20162 .plen = 17,
23135 .result = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8" 20163 .ctext = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
23136 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e" 20164 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
23137 "\x87\x9d\x26\xdf\xff\x81\x11\xd2" 20165 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
23138 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b" 20166 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
23139 "\x55", 20167 "\x55",
23140 .rlen = 33, 20168 .clen = 33,
23141 }, { 20169 }, {
23142 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f" 20170 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
23143 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb" 20171 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
@@ -23153,18 +20181,18 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23153 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7" 20181 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
23154 "\x68\x28\x73\x40\x9f\x96\x4a", 20182 "\x68\x28\x73\x40\x9f\x96\x4a",
23155 .alen = 31, 20183 .alen = 31,
23156 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4" 20184 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
23157 "\x10\x57\x85\x39\x93\x8f\xaf\x70" 20185 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
23158 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd" 20186 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
23159 "\x98\x34\xab\x37\x56\xae\x32", 20187 "\x98\x34\xab\x37\x56\xae\x32",
23160 .ilen = 31, 20188 .plen = 31,
23161 .result = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5" 20189 .ctext = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
23162 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba" 20190 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
23163 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2" 20191 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
23164 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66" 20192 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
23165 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b" 20193 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
23166 "\xdf\xb8\xea\xd8\xa9\x38\xed", 20194 "\xdf\xb8\xea\xd8\xa9\x38\xed",
23167 .rlen = 47, 20195 .clen = 47,
23168 }, { 20196 }, {
23169 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b" 20197 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
23170 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1" 20198 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
@@ -23180,18 +20208,18 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23180 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0" 20208 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
23181 "\x29\x56\x52\x19\x79\xf5\xe9\x37", 20209 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
23182 .alen = 32, 20210 .alen = 32,
23183 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10" 20211 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
23184 "\x91\x31\x37\xcb\x8d\xb3\x72\x76" 20212 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
23185 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7" 20213 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
23186 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec", 20214 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
23187 .ilen = 32, 20215 .plen = 32,
23188 .result = "\xd3\x68\x14\x70\x3c\x01\x43\x86" 20216 .ctext = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
23189 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53" 20217 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
23190 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61" 20218 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
23191 "\x8f\x69\x05\x75\x8e\xca\x60\x0c" 20219 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
23192 "\x5b\xa2\x48\x61\x32\x74\x11\x2b" 20220 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
23193 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a", 20221 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
23194 .rlen = 48, 20222 .clen = 48,
23195 }, { 20223 }, {
23196 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97" 20224 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
23197 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7" 20225 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
@@ -23208,7 +20236,7 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23208 "\xeb\x83\x31\xf1\x54\x54\x89\x0d" 20236 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
23209 "\x9d", 20237 "\x9d",
23210 .alen = 33, 20238 .alen = 33,
23211 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c" 20239 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
23212 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c" 20240 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
23213 "\x4f\x2e\xe8\x55\x66\x80\x27\x00" 20241 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
23214 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3" 20242 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
@@ -23217,8 +20245,8 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23217 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3" 20245 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
23218 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01" 20246 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
23219 "\xbd", 20247 "\xbd",
23220 .ilen = 65, 20248 .plen = 65,
23221 .result = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2" 20249 .ctext = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
23222 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75" 20250 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
23223 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4" 20251 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
23224 "\x1a\x93\x33\x79\x97\x82\x81\xc0" 20252 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
@@ -23229,7 +20257,7 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23229 "\xfb\x18\x73\x31\x4f\x08\x21\x5d" 20257 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
23230 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a" 20258 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
23231 "\x65", 20259 "\x65",
23232 .rlen = 81, 20260 .clen = 81,
23233 }, { 20261 }, {
23234 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3" 20262 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
23235 "\x32\x42\x15\x80\x85\xa1\x65\xfe" 20263 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
@@ -23250,20 +20278,20 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23250 "\x09\x4f\x77\x62\x88\x2d\xf2\x68" 20278 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
23251 "\x54", 20279 "\x54",
23252 .alen = 65, 20280 .alen = 65,
23253 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48" 20281 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
23254 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82" 20282 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
23255 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a" 20283 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
23256 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99" 20284 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
23257 "\x2f", 20285 "\x2f",
23258 .ilen = 33, 20286 .plen = 33,
23259 .result = "\x33\xc1\xda\xfa\x15\x21\x07\x8e" 20287 .ctext = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
23260 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b" 20288 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
23261 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2" 20289 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
23262 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81" 20290 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
23263 "\x26\x3a\x5a\x09\xe8\xce\x73\x72" 20291 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
23264 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28" 20292 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
23265 "\xda", 20293 "\xda",
23266 .rlen = 49, 20294 .clen = 49,
23267 }, { 20295 }, {
23268 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf" 20296 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
23269 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04" 20297 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
@@ -23277,14 +20305,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23277 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd" 20305 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
23278 "\xf3\x89\x20\x5b\x7c\x57\x89\x07", 20306 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
23279 .alen = 16, 20307 .alen = 16,
23280 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63" 20308 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
23281 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89", 20309 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
23282 .ilen = 16, 20310 .plen = 16,
23283 .result = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02" 20311 .ctext = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
23284 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99" 20312 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
23285 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b" 20313 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
23286 "\xc7\xff\xbd\xbc\x85\x09\x0b", 20314 "\xc7\xff\xbd\xbc\x85\x09\x0b",
23287 .rlen = 31, 20315 .clen = 31,
23288 }, { 20316 }, {
23289 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea" 20317 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
23290 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a" 20318 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
@@ -23298,14 +20326,14 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23298 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8" 20326 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
23299 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d", 20327 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
23300 .alen = 16, 20328 .alen = 16,
23301 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f" 20329 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
23302 "\x95\x9a\xff\x10\x75\x45\x7d\x8f", 20330 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
23303 .ilen = 16, 20331 .plen = 16,
23304 .result = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e" 20332 .ctext = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
23305 "\x6c\xd9\x84\x63\x70\x97\x61\x37" 20333 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
23306 "\x08\x2f\x16\x90\x9e\x62\x30\x0d" 20334 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
23307 "\x62\xd5\xc8\xf0\x46\x1a", 20335 "\x62\xd5\xc8\xf0\x46\x1a",
23308 .rlen = 30, 20336 .clen = 30,
23309 }, { 20337 }, {
23310 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06" 20338 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
23311 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10" 20339 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
@@ -23319,546 +20347,13 @@ static const struct aead_testvec aegis256_enc_tv_template[] = {
23319 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14" 20347 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
23320 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13", 20348 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
23321 .alen = 16, 20349 .alen = 16,
23322 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b" 20350 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
23323 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95", 20351 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
23324 .ilen = 16, 20352 .plen = 16,
23325 .result = "\xce\xf3\x17\x87\x49\xc2\x00\x46" 20353 .ctext = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
23326 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55" 20354 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
23327 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24", 20355 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
23328 .rlen = 24, 20356 .clen = 24,
23329 },
23330};
23331
23332static const struct aead_testvec aegis256_dec_tv_template[] = {
23333 {
23334 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
23335 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
23336 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
23337 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
23338 .klen = 32,
23339 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
23340 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
23341 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
23342 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
23343 .assoc = "",
23344 .alen = 0,
23345 .input = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
23346 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
23347 .ilen = 16,
23348 .result = "",
23349 .rlen = 0,
23350 }, {
23351 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
23352 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
23353 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
23354 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
23355 .klen = 32,
23356 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
23357 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
23358 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
23359 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
23360 .assoc = "",
23361 .alen = 0,
23362 .input = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
23363 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
23364 "\x8b",
23365 .ilen = 17,
23366 .result = "\x79",
23367 .rlen = 1,
23368 }, {
23369 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
23370 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
23371 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
23372 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
23373 .klen = 32,
23374 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
23375 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
23376 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
23377 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
23378 .assoc = "",
23379 .alen = 0,
23380 .input = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
23381 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
23382 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
23383 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
23384 .ilen = 31,
23385 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23386 "\x82\x8e\x16\xb4\xed\x6d\x47",
23387 .rlen = 15,
23388 }, {
23389 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
23390 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
23391 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
23392 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
23393 .klen = 32,
23394 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
23395 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
23396 "\x14\xa8\x28\xce\x92\x30\x46\x59"
23397 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
23398 .assoc = "",
23399 .alen = 0,
23400 .input = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
23401 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
23402 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
23403 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
23404 .ilen = 32,
23405 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23406 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
23407 .rlen = 16,
23408 }, {
23409 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
23410 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
23411 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
23412 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
23413 .klen = 32,
23414 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
23415 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
23416 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
23417 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
23418 .assoc = "",
23419 .alen = 0,
23420 .input = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
23421 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
23422 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
23423 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
23424 "\xad",
23425 .ilen = 33,
23426 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23427 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
23428 "\xd3",
23429 .rlen = 17,
23430 }, {
23431 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
23432 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
23433 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
23434 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
23435 .klen = 32,
23436 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
23437 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
23438 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
23439 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
23440 .assoc = "",
23441 .alen = 0,
23442 .input = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
23443 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
23444 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
23445 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
23446 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
23447 "\xc4\x1f\x12\x27\xcf\x77\x90",
23448 .ilen = 47,
23449 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
23450 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
23451 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
23452 "\x88\x11\x39\x12\x1c\x3a\xbb",
23453 .rlen = 31,
23454 }, {
23455 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
23456 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
23457 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
23458 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
23459 .klen = 32,
23460 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
23461 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
23462 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
23463 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
23464 .assoc = "",
23465 .alen = 0,
23466 .input = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
23467 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
23468 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
23469 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
23470 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
23471 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
23472 .ilen = 48,
23473 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
23474 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
23475 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
23476 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
23477 .rlen = 32,
23478 }, {
23479 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
23480 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
23481 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
23482 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
23483 .klen = 32,
23484 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
23485 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
23486 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
23487 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
23488 .assoc = "\xd5",
23489 .alen = 1,
23490 .input = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
23491 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
23492 .ilen = 16,
23493 .result = "",
23494 .rlen = 0,
23495 }, {
23496 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
23497 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
23498 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
23499 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
23500 .klen = 32,
23501 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
23502 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
23503 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
23504 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
23505 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
23506 "\x68\x75\x16\xf8\xcb\x7e\xa7",
23507 .alen = 15,
23508 .input = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
23509 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
23510 .ilen = 16,
23511 .result = "",
23512 .rlen = 0,
23513 }, {
23514 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
23515 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
23516 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
23517 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
23518 .klen = 32,
23519 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
23520 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
23521 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
23522 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
23523 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
23524 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
23525 .alen = 16,
23526 .input = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
23527 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
23528 .ilen = 16,
23529 .result = "",
23530 .rlen = 0,
23531 }, {
23532 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
23533 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
23534 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
23535 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
23536 .klen = 32,
23537 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
23538 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
23539 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
23540 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
23541 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
23542 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
23543 "\x07",
23544 .alen = 17,
23545 .input = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
23546 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
23547 .ilen = 16,
23548 .result = "",
23549 .rlen = 0,
23550 }, {
23551 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
23552 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
23553 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
23554 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
23555 .klen = 32,
23556 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
23557 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
23558 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
23559 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
23560 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
23561 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
23562 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
23563 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
23564 .alen = 31,
23565 .input = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
23566 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
23567 .ilen = 16,
23568 .result = "",
23569 .rlen = 0,
23570 }, {
23571 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
23572 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
23573 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
23574 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
23575 .klen = 32,
23576 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
23577 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
23578 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
23579 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
23580 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
23581 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
23582 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
23583 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
23584 .alen = 32,
23585 .input = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
23586 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
23587 .ilen = 16,
23588 .result = "",
23589 .rlen = 0,
23590 }, {
23591 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
23592 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
23593 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
23594 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
23595 .klen = 32,
23596 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
23597 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
23598 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
23599 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
23600 .assoc = "\x40",
23601 .alen = 1,
23602 .input = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
23603 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
23604 "\xc7",
23605 .ilen = 17,
23606 .result = "\x4f",
23607 .rlen = 1,
23608 }, {
23609 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
23610 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
23611 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
23612 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
23613 .klen = 32,
23614 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
23615 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
23616 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
23617 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
23618 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
23619 "\x6d\x92\x42\x61\xa7\x58\x37",
23620 .alen = 15,
23621 .input = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
23622 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
23623 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
23624 "\x14\x80\x6a\xa7\x1b\xae\x1d",
23625 .ilen = 31,
23626 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
23627 "\x8d\xc8\x6e\x85\xa5\x21\x67",
23628 .rlen = 15,
23629 }, {
23630 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
23631 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
23632 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
23633 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
23634 .klen = 32,
23635 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
23636 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
23637 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
23638 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
23639 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
23640 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
23641 .alen = 16,
23642 .input = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
23643 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
23644 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
23645 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
23646 .ilen = 32,
23647 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
23648 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
23649 .rlen = 16,
23650 }, {
23651 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
23652 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
23653 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
23654 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
23655 .klen = 32,
23656 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
23657 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
23658 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
23659 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
23660 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
23661 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
23662 "\x05",
23663 .alen = 17,
23664 .input = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
23665 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
23666 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
23667 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
23668 "\x55",
23669 .ilen = 33,
23670 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
23671 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
23672 "\xd0",
23673 .rlen = 17,
23674 }, {
23675 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
23676 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
23677 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
23678 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
23679 .klen = 32,
23680 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
23681 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
23682 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
23683 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
23684 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
23685 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
23686 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
23687 "\x68\x28\x73\x40\x9f\x96\x4a",
23688 .alen = 31,
23689 .input = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
23690 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
23691 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
23692 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
23693 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
23694 "\xdf\xb8\xea\xd8\xa9\x38\xed",
23695 .ilen = 47,
23696 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
23697 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
23698 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
23699 "\x98\x34\xab\x37\x56\xae\x32",
23700 .rlen = 31,
23701 }, {
23702 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
23703 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
23704 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
23705 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
23706 .klen = 32,
23707 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
23708 "\x50\xc4\xde\x82\x90\x21\x11\x73"
23709 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
23710 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
23711 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
23712 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
23713 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
23714 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
23715 .alen = 32,
23716 .input = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
23717 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
23718 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
23719 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
23720 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
23721 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
23722 .ilen = 48,
23723 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
23724 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
23725 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
23726 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
23727 .rlen = 32,
23728 }, {
23729 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
23730 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
23731 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
23732 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
23733 .klen = 32,
23734 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
23735 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
23736 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
23737 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
23738 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
23739 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
23740 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
23741 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
23742 "\x9d",
23743 .alen = 33,
23744 .input = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
23745 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
23746 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
23747 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
23748 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
23749 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
23750 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
23751 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
23752 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
23753 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
23754 "\x65",
23755 .ilen = 81,
23756 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
23757 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
23758 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
23759 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
23760 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
23761 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
23762 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
23763 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
23764 "\xbd",
23765 .rlen = 65,
23766 }, {
23767 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
23768 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
23769 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
23770 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
23771 .klen = 32,
23772 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
23773 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
23774 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
23775 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
23776 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
23777 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
23778 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
23779 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
23780 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
23781 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
23782 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
23783 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
23784 "\x54",
23785 .alen = 65,
23786 .input = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
23787 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
23788 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
23789 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
23790 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
23791 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
23792 "\xda",
23793 .ilen = 49,
23794 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
23795 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
23796 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
23797 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
23798 "\x2f",
23799 .rlen = 33,
23800 }, {
23801 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
23802 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
23803 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
23804 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
23805 .klen = 32,
23806 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
23807 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
23808 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
23809 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
23810 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
23811 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
23812 .alen = 16,
23813 .input = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
23814 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
23815 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
23816 "\xc7\xff\xbd\xbc\x85\x09\x0b",
23817 .ilen = 31,
23818 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
23819 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
23820 .rlen = 16,
23821 }, {
23822 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
23823 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
23824 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
23825 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
23826 .klen = 32,
23827 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
23828 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
23829 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
23830 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
23831 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
23832 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
23833 .alen = 16,
23834 .input = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
23835 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
23836 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
23837 "\x62\xd5\xc8\xf0\x46\x1a",
23838 .ilen = 30,
23839 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
23840 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
23841 .rlen = 16,
23842 }, {
23843 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
23844 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
23845 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
23846 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
23847 .klen = 32,
23848 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
23849 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
23850 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
23851 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
23852 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
23853 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
23854 .alen = 16,
23855 .input = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
23856 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
23857 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
23858 .ilen = 24,
23859 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
23860 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
23861 .rlen = 16,
23862 }, 20357 },
23863}; 20358};
23864 20359
@@ -23869,7 +20364,7 @@ static const struct aead_testvec aegis256_dec_tv_template[] = {
23869 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz 20364 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
23870 * (see crypto_aead/morus640128v2/) 20365 * (see crypto_aead/morus640128v2/)
23871 */ 20366 */
23872static const struct aead_testvec morus640_enc_tv_template[] = { 20367static const struct aead_testvec morus640_tv_template[] = {
23873 { 20368 {
23874 .key = "\x00\x00\x00\x00\x00\x00\x00\x00" 20369 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
23875 "\x00\x00\x00\x00\x00\x00\x00\x00", 20370 "\x00\x00\x00\x00\x00\x00\x00\x00",
@@ -23878,11 +20373,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23878 "\x20\x36\x2c\x24\xfe\xc9\x30\x81", 20373 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
23879 .assoc = "", 20374 .assoc = "",
23880 .alen = 0, 20375 .alen = 0,
23881 .input = "", 20376 .ptext = "",
23882 .ilen = 0, 20377 .plen = 0,
23883 .result = "\x89\x62\x7d\xf3\x07\x9d\x52\x05" 20378 .ctext = "\x89\x62\x7d\xf3\x07\x9d\x52\x05"
23884 "\x53\xc3\x04\x60\x93\xb4\x37\x9a", 20379 "\x53\xc3\x04\x60\x93\xb4\x37\x9a",
23885 .rlen = 16, 20380 .clen = 16,
23886 }, { 20381 }, {
23887 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b" 20382 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
23888 "\x80\xda\xb2\x91\xf9\x24\xc2\x06", 20383 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
@@ -23891,12 +20386,12 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23891 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87", 20386 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
23892 .assoc = "", 20387 .assoc = "",
23893 .alen = 0, 20388 .alen = 0,
23894 .input = "\x69", 20389 .ptext = "\x69",
23895 .ilen = 1, 20390 .plen = 1,
23896 .result = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78" 20391 .ctext = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78"
23897 "\xb6\x10\x9a\x59\x5f\x61\x37\x70" 20392 "\xb6\x10\x9a\x59\x5f\x61\x37\x70"
23898 "\x09", 20393 "\x09",
23899 .rlen = 17, 20394 .clen = 17,
23900 }, { 20395 }, {
23901 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37" 20396 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
23902 "\x01\xb4\x64\x22\xf3\x48\x85\x0c", 20397 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
@@ -23905,14 +20400,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23905 "\x22\xea\x90\x47\xf2\x11\xb5\x8e", 20400 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
23906 .assoc = "", 20401 .assoc = "",
23907 .alen = 0, 20402 .alen = 0,
23908 .input = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc" 20403 .ptext = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
23909 "\x62\x58\xe9\x8f\xef\xa4\x17", 20404 "\x62\x58\xe9\x8f\xef\xa4\x17",
23910 .ilen = 15, 20405 .plen = 15,
23911 .result = "\x76\xdd\xb9\x05\x3d\xce\x61\x38" 20406 .ctext = "\x76\xdd\xb9\x05\x3d\xce\x61\x38"
23912 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5" 20407 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5"
23913 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b" 20408 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b"
23914 "\xd4\x6e\xfe\xd9\xc8\x63\x4b", 20409 "\xd4\x6e\xfe\xd9\xc8\x63\x4b",
23915 .rlen = 31, 20410 .clen = 31,
23916 }, { 20411 }, {
23917 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53" 20412 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23918 "\x82\x8e\x16\xb4\xed\x6d\x47\x12", 20413 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
@@ -23921,14 +20416,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23921 "\xa2\xc5\x42\xd8\xec\x36\x78\x94", 20416 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
23922 .assoc = "", 20417 .assoc = "",
23923 .alen = 0, 20418 .alen = 0,
23924 .input = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8" 20419 .ptext = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
23925 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97", 20420 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97",
23926 .ilen = 16, 20421 .plen = 16,
23927 .result = "\xdc\x72\xe8\x14\xfb\x63\xad\x72" 20422 .ctext = "\xdc\x72\xe8\x14\xfb\x63\xad\x72"
23928 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6" 20423 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6"
23929 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c" 20424 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c"
23930 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c", 20425 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c",
23931 .rlen = 32, 20426 .clen = 32,
23932 }, { 20427 }, {
23933 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f" 20428 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23934 "\x03\x68\xc8\x45\xe7\x91\x0a\x18", 20429 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
@@ -23937,16 +20432,16 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23937 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a", 20432 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
23938 .assoc = "", 20433 .assoc = "",
23939 .alen = 0, 20434 .alen = 0,
23940 .input = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04" 20435 .ptext = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
23941 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d" 20436 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
23942 "\x09", 20437 "\x09",
23943 .ilen = 17, 20438 .plen = 17,
23944 .result = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82" 20439 .ctext = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82"
23945 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f" 20440 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f"
23946 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2" 20441 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2"
23947 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2" 20442 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2"
23948 "\x0d", 20443 "\x0d",
23949 .rlen = 33, 20444 .clen = 33,
23950 }, { 20445 }, {
23951 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b" 20446 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23952 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f", 20447 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
@@ -23955,18 +20450,18 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23955 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0", 20450 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
23956 .assoc = "", 20451 .assoc = "",
23957 .alen = 0, 20452 .alen = 0,
23958 .input = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f" 20453 .ptext = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
23959 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3" 20454 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
23960 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93" 20455 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
23961 "\x57\x05\x01\x1c\x66\x22\xd3", 20456 "\x57\x05\x01\x1c\x66\x22\xd3",
23962 .ilen = 31, 20457 .plen = 31,
23963 .result = "\x59\xd1\x0f\x6b\xee\x27\x84\x92" 20458 .ctext = "\x59\xd1\x0f\x6b\xee\x27\x84\x92"
23964 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5" 20459 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5"
23965 "\x50\x32\xb4\x9a\x2e\x35\x83\x55" 20460 "\x50\x32\xb4\x9a\x2e\x35\x83\x55"
23966 "\x36\x12\x12\xed\xa3\x31\xc5\x30" 20461 "\x36\x12\x12\xed\xa3\x31\xc5\x30"
23967 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91" 20462 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91"
23968 "\x75\xfa\x6c\x17\xc6\x73\xca", 20463 "\x75\xfa\x6c\x17\xc6\x73\xca",
23969 .rlen = 47, 20464 .clen = 47,
23970 }, { 20465 }, {
23971 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6" 20466 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
23972 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25", 20467 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
@@ -23975,18 +20470,18 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23975 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6", 20470 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
23976 .assoc = "", 20471 .assoc = "",
23977 .alen = 0, 20472 .alen = 0,
23978 .input = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b" 20473 .ptext = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
23979 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa" 20474 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
23980 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad" 20475 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
23981 "\x19\x33\xe0\xf4\x40\x81\x72\x28", 20476 "\x19\x33\xe0\xf4\x40\x81\x72\x28",
23982 .ilen = 32, 20477 .plen = 32,
23983 .result = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1" 20478 .ctext = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1"
23984 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69" 20479 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69"
23985 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39" 20480 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39"
23986 "\x1b\xde\x68\x38\xcc\x27\x52\xc5" 20481 "\x1b\xde\x68\x38\xcc\x27\x52\xc5"
23987 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c" 20482 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c"
23988 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59", 20483 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59",
23989 .rlen = 48, 20484 .clen = 48,
23990 }, { 20485 }, {
23991 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2" 20486 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
23992 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b", 20487 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
@@ -23995,11 +20490,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
23995 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad", 20490 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
23996 .assoc = "\xc5", 20491 .assoc = "\xc5",
23997 .alen = 1, 20492 .alen = 1,
23998 .input = "", 20493 .ptext = "",
23999 .ilen = 0, 20494 .plen = 0,
24000 .result = "\x56\xe7\x24\x52\xdd\x95\x60\x5b" 20495 .ctext = "\x56\xe7\x24\x52\xdd\x95\x60\x5b"
24001 "\x09\x48\x39\x69\x9c\xb3\x62\x46", 20496 "\x09\x48\x39\x69\x9c\xb3\x62\x46",
24002 .rlen = 16, 20497 .clen = 16,
24003 }, { 20498 }, {
24004 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde" 20499 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
24005 "\x07\xd1\x90\x8b\xcf\x23\x15\x31", 20500 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
@@ -24009,11 +20504,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24009 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec" 20504 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
24010 "\x47\x3e\xe9\xd4\xcc\xb5\x76", 20505 "\x47\x3e\xe9\xd4\xcc\xb5\x76",
24011 .alen = 15, 20506 .alen = 15,
24012 .input = "", 20507 .ptext = "",
24013 .ilen = 0, 20508 .plen = 0,
24014 .result = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01" 20509 .ctext = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01"
24015 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1", 20510 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1",
24016 .rlen = 16, 20511 .clen = 16,
24017 }, { 20512 }, {
24018 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa" 20513 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
24019 "\x88\xab\x42\x1c\xc9\x47\xd7\x38", 20514 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
@@ -24023,11 +20518,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24023 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08" 20518 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
24024 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b", 20519 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
24025 .alen = 16, 20520 .alen = 16,
24026 .input = "", 20521 .ptext = "",
24027 .ilen = 0, 20522 .plen = 0,
24028 .result = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac" 20523 .ctext = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac"
24029 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1", 20524 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1",
24030 .rlen = 16, 20525 .clen = 16,
24031 }, { 20526 }, {
24032 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16" 20527 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
24033 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e", 20528 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
@@ -24038,11 +20533,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24038 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41" 20533 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
24039 "\x3c", 20534 "\x3c",
24040 .alen = 17, 20535 .alen = 17,
24041 .input = "", 20536 .ptext = "",
24042 .ilen = 0, 20537 .plen = 0,
24043 .result = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9" 20538 .ctext = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9"
24044 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60", 20539 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60",
24045 .rlen = 16, 20540 .clen = 16,
24046 }, { 20541 }, {
24047 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31" 20542 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
24048 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44", 20543 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
@@ -24054,11 +20549,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24054 "\x67\xba\x85\xf1\xbb\x30\x56\x26" 20549 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
24055 "\xaf\x0b\x02\x38\xcc\x44\xa7", 20550 "\xaf\x0b\x02\x38\xcc\x44\xa7",
24056 .alen = 31, 20551 .alen = 31,
24057 .input = "", 20552 .ptext = "",
24058 .ilen = 0, 20553 .plen = 0,
24059 .result = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d" 20554 .ctext = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d"
24060 "\x4b\xef\x75\x16\x0a\x99\xae\x6b", 20555 "\x4b\xef\x75\x16\x0a\x99\xae\x6b",
24061 .rlen = 16, 20556 .clen = 16,
24062 }, { 20557 }, {
24063 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d" 20558 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
24064 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a", 20559 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
@@ -24070,11 +20565,11 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24070 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40" 20565 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
24071 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a", 20566 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
24072 .alen = 32, 20567 .alen = 32,
24073 .input = "", 20568 .ptext = "",
24074 .ilen = 0, 20569 .plen = 0,
24075 .result = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f" 20570 .ctext = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f"
24076 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0", 20571 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0",
24077 .rlen = 16, 20572 .clen = 16,
24078 }, { 20573 }, {
24079 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69" 20574 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
24080 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50", 20575 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
@@ -24083,12 +20578,12 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24083 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2", 20578 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
24084 .assoc = "\x31", 20579 .assoc = "\x31",
24085 .alen = 1, 20580 .alen = 1,
24086 .input = "\x40", 20581 .ptext = "\x40",
24087 .ilen = 1, 20582 .plen = 1,
24088 .result = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38" 20583 .ctext = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38"
24089 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3" 20584 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3"
24090 "\x22", 20585 "\x22",
24091 .rlen = 17, 20586 .clen = 17,
24092 }, { 20587 }, {
24093 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85" 20588 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
24094 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57", 20589 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
@@ -24098,14 +20593,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24098 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93" 20593 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
24099 "\x4d\x5b\x15\x3c\xa8\x8f\x06", 20594 "\x4d\x5b\x15\x3c\xa8\x8f\x06",
24100 .alen = 15, 20595 .alen = 15,
24101 .input = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a" 20596 .ptext = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
24102 "\x6d\x92\x42\x61\xa7\x58\x37", 20597 "\x6d\x92\x42\x61\xa7\x58\x37",
24103 .ilen = 15, 20598 .plen = 15,
24104 .result = "\x77\x32\x61\xeb\xb4\x33\x29\x92" 20599 .ctext = "\x77\x32\x61\xeb\xb4\x33\x29\x92"
24105 "\x29\x95\xc5\x8e\x85\x76\xab\xfc" 20600 "\x29\x95\xc5\x8e\x85\x76\xab\xfc"
24106 "\x07\x95\xa7\x44\x74\xf7\x22\xff" 20601 "\x07\x95\xa7\x44\x74\xf7\x22\xff"
24107 "\xd8\xd8\x36\x3d\x8a\x7f\x9e", 20602 "\xd8\xd8\x36\x3d\x8a\x7f\x9e",
24108 .rlen = 31, 20603 .clen = 31,
24109 }, { 20604 }, {
24110 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1" 20605 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
24111 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d", 20606 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
@@ -24115,14 +20610,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24115 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf" 20610 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
24116 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60", 20611 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
24117 .alen = 16, 20612 .alen = 16,
24118 .input = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36" 20613 .ptext = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
24119 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2", 20614 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
24120 .ilen = 16, 20615 .plen = 16,
24121 .result = "\xd8\xfd\x44\x45\xf6\x42\x12\x38" 20616 .ctext = "\xd8\xfd\x44\x45\xf6\x42\x12\x38"
24122 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07" 20617 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07"
24123 "\x48\x67\x98\x18\x9b\xd0\x0c\x59" 20618 "\x48\x67\x98\x18\x9b\xd0\x0c\x59"
24124 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70", 20619 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70",
24125 .rlen = 32, 20620 .clen = 32,
24126 }, { 20621 }, {
24127 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd" 20622 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
24128 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63", 20623 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
@@ -24133,16 +20628,16 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24133 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66" 20628 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
24134 "\x3b", 20629 "\x3b",
24135 .alen = 17, 20630 .alen = 17,
24136 .input = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51" 20631 .ptext = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
24137 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8" 20632 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
24138 "\x05", 20633 "\x05",
24139 .ilen = 17, 20634 .plen = 17,
24140 .result = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6" 20635 .ctext = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6"
24141 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2" 20636 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2"
24142 "\x71\x83\x85\x5f\xc8\x79\x0a\x99" 20637 "\x71\x83\x85\x5f\xc8\x79\x0a\x99"
24143 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9" 20638 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9"
24144 "\x83", 20639 "\x83",
24145 .rlen = 33, 20640 .clen = 33,
24146 }, { 20641 }, {
24147 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8" 20642 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
24148 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69", 20643 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
@@ -24154,18 +20649,18 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24154 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0" 20649 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
24155 "\x38\x1d\x3b\x4a\xe9\x7e\x62", 20650 "\x38\x1d\x3b\x4a\xe9\x7e\x62",
24156 .alen = 31, 20651 .alen = 31,
24157 .input = "\x32\xcb\x80\xcc\xde\x12\x33\x6d" 20652 .ptext = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
24158 "\xf0\x20\x58\x15\x95\xc6\x7f\xee" 20653 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
24159 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7" 20654 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
24160 "\x68\x28\x73\x40\x9f\x96\x4a", 20655 "\x68\x28\x73\x40\x9f\x96\x4a",
24161 .ilen = 31, 20656 .plen = 31,
24162 .result = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06" 20657 .ctext = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06"
24163 "\x5c\x7b\xef\x64\x87\x00\xd1\x37" 20658 "\x5c\x7b\xef\x64\x87\x00\xd1\x37"
24164 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0" 20659 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0"
24165 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a" 20660 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a"
24166 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c" 20661 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c"
24167 "\xf1\x5a\x66\x69\xe0\xca\x83", 20662 "\xf1\x5a\x66\x69\xe0\xca\x83",
24168 .rlen = 47, 20663 .clen = 47,
24169 }, { 20664 }, {
24170 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4" 20665 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
24171 "\x10\x57\x85\x39\x93\x8f\xaf\x70", 20666 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
@@ -24177,18 +20672,18 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24177 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda" 20672 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
24178 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81", 20673 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
24179 .alen = 32, 20674 .alen = 32,
24180 .input = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89" 20675 .ptext = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
24181 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4" 20676 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
24182 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0" 20677 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
24183 "\x29\x56\x52\x19\x79\xf5\xe9\x37", 20678 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
24184 .ilen = 32, 20679 .plen = 32,
24185 .result = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2" 20680 .ctext = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2"
24186 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14" 20681 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14"
24187 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2" 20682 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2"
24188 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54" 20683 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54"
24189 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa" 20684 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa"
24190 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81", 20685 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81",
24191 .rlen = 48, 20686 .clen = 48,
24192 }, { 20687 }, {
24193 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10" 20688 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
24194 "\x91\x31\x37\xcb\x8d\xb3\x72\x76", 20689 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
@@ -24201,7 +20696,7 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24201 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58" 20696 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
24202 "\x1a", 20697 "\x1a",
24203 .alen = 33, 20698 .alen = 33,
24204 .input = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5" 20699 .ptext = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
24205 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb" 20700 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
24206 "\x84\x7d\x65\x34\x25\xd8\x47\xfa" 20701 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
24207 "\xeb\x83\x31\xf1\x54\x54\x89\x0d" 20702 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
@@ -24210,8 +20705,8 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24210 "\x75\x73\x20\x30\x59\x54\xb2\xf0" 20705 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
24211 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35" 20706 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
24212 "\x8a", 20707 "\x8a",
24213 .ilen = 65, 20708 .plen = 65,
24214 .result = "\xc7\xca\x26\x61\x57\xee\xa2\xb9" 20709 .ctext = "\xc7\xca\x26\x61\x57\xee\xa2\xb9"
24215 "\xb1\x37\xde\x95\x06\x90\x11\x08" 20710 "\xb1\x37\xde\x95\x06\x90\x11\x08"
24216 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1" 20711 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1"
24217 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76" 20712 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76"
@@ -24222,7 +20717,7 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24222 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92" 20717 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92"
24223 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1" 20718 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1"
24224 "\xc4", 20719 "\xc4",
24225 .rlen = 81, 20720 .clen = 81,
24226 }, { 20721 }, {
24227 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c" 20722 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
24228 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c", 20723 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
@@ -24239,20 +20734,20 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24239 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b" 20734 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
24240 "\x21", 20735 "\x21",
24241 .alen = 65, 20736 .alen = 65,
24242 .input = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1" 20737 .ptext = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
24243 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01" 20738 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
24244 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14" 20739 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
24245 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4" 20740 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
24246 "\xac", 20741 "\xac",
24247 .ilen = 33, 20742 .plen = 33,
24248 .result = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b" 20743 .ctext = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b"
24249 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40" 20744 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40"
24250 "\xf3\x78\x63\x34\x89\x79\x39\x6b" 20745 "\xf3\x78\x63\x34\x89\x79\x39\x6b"
24251 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3" 20746 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3"
24252 "\x54\x0b\xea\x05\xa6\x95\x64\xed" 20747 "\x54\x0b\xea\x05\xa6\x95\x64\xed"
24253 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34" 20748 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34"
24254 "\x66", 20749 "\x66",
24255 .rlen = 49, 20750 .clen = 49,
24256 }, { 20751 }, {
24257 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48" 20752 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
24258 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82", 20753 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
@@ -24262,14 +20757,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24262 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56" 20757 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
24263 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85", 20758 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
24264 .alen = 16, 20759 .alen = 16,
24265 .input = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd" 20760 .ptext = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
24266 "\xf3\x89\x20\x5b\x7c\x57\x89\x07", 20761 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
24267 .ilen = 16, 20762 .plen = 16,
24268 .result = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f" 20763 .ctext = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f"
24269 "\x33\x98\x87\xde\x08\xb6\xb6\xae" 20764 "\x33\x98\x87\xde\x08\xb6\xb6\xae"
24270 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39" 20765 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39"
24271 "\xb9\x6b\x3f\xdf\xc8\xcb\x30", 20766 "\xb9\x6b\x3f\xdf\xc8\xcb\x30",
24272 .rlen = 31, 20767 .clen = 31,
24273 }, { 20768 }, {
24274 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63" 20769 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
24275 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89", 20770 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
@@ -24279,14 +20774,14 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24279 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71" 20774 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
24280 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c", 20775 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
24281 .alen = 16, 20776 .alen = 16,
24282 .input = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8" 20777 .ptext = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
24283 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d", 20778 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
24284 .ilen = 16, 20779 .plen = 16,
24285 .result = "\x74\x7d\x70\x07\xe9\xba\x01\xee" 20780 .ctext = "\x74\x7d\x70\x07\xe9\xba\x01\xee"
24286 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50" 20781 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50"
24287 "\x17\xb8\x17\x62\xed\x80\xa2\xf5" 20782 "\x17\xb8\x17\x62\xed\x80\xa2\xf5"
24288 "\x03\xde\x85\x71\x5d\x34", 20783 "\x03\xde\x85\x71\x5d\x34",
24289 .rlen = 30, 20784 .clen = 30,
24290 }, { 20785 }, {
24291 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f" 20786 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
24292 "\x95\x9a\xff\x10\x75\x45\x7d\x8f", 20787 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
@@ -24296,13 +20791,13 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24296 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d" 20791 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
24297 "\xd5\x07\x58\x59\x72\xd7\xde\x92", 20792 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
24298 .alen = 16, 20793 .alen = 16,
24299 .input = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14" 20794 .ptext = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
24300 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13", 20795 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
24301 .ilen = 16, 20796 .plen = 16,
24302 .result = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38" 20797 .ctext = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38"
24303 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf" 20798 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf"
24304 "\xba\xea\xd4\xfa\x3f\x11\x33\x98", 20799 "\xba\xea\xd4\xfa\x3f\x11\x33\x98",
24305 .rlen = 24, 20800 .clen = 24,
24306 }, { 20801 }, {
24307 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b" 20802 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
24308 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95", 20803 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
@@ -24312,466 +20807,13 @@ static const struct aead_testvec morus640_enc_tv_template[] = {
24312 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9" 20807 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
24313 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98", 20808 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98",
24314 .alen = 16, 20809 .alen = 16,
24315 .input = "\xda\xcc\x14\x27\x4e\x74\xd1\x30" 20810 .ptext = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
24316 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a", 20811 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a",
24317 .ilen = 16, 20812 .plen = 16,
24318 .result = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86" 20813 .ctext = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86"
24319 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c" 20814 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c"
24320 "\x6e", 20815 "\x6e",
24321 .rlen = 17, 20816 .clen = 17,
24322 },
24323};
24324
24325static const struct aead_testvec morus640_dec_tv_template[] = {
24326 {
24327 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
24328 "\x00\x00\x00\x00\x00\x00\x00\x00",
24329 .klen = 16,
24330 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
24331 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
24332 .assoc = "",
24333 .alen = 0,
24334 .input = "\x89\x62\x7d\xf3\x07\x9d\x52\x05"
24335 "\x53\xc3\x04\x60\x93\xb4\x37\x9a",
24336 .ilen = 16,
24337 .result = "",
24338 .rlen = 0,
24339 }, {
24340 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
24341 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
24342 .klen = 16,
24343 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
24344 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
24345 .assoc = "",
24346 .alen = 0,
24347 .input = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78"
24348 "\xb6\x10\x9a\x59\x5f\x61\x37\x70"
24349 "\x09",
24350 .ilen = 17,
24351 .result = "\x69",
24352 .rlen = 1,
24353 }, {
24354 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
24355 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
24356 .klen = 16,
24357 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
24358 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
24359 .assoc = "",
24360 .alen = 0,
24361 .input = "\x76\xdd\xb9\x05\x3d\xce\x61\x38"
24362 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5"
24363 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b"
24364 "\xd4\x6e\xfe\xd9\xc8\x63\x4b",
24365 .ilen = 31,
24366 .result = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
24367 "\x62\x58\xe9\x8f\xef\xa4\x17",
24368 .rlen = 15,
24369 }, {
24370 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
24371 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
24372 .klen = 16,
24373 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
24374 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
24375 .assoc = "",
24376 .alen = 0,
24377 .input = "\xdc\x72\xe8\x14\xfb\x63\xad\x72"
24378 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6"
24379 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c"
24380 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c",
24381 .ilen = 32,
24382 .result = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
24383 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97",
24384 .rlen = 16,
24385 }, {
24386 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
24387 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
24388 .klen = 16,
24389 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
24390 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
24391 .assoc = "",
24392 .alen = 0,
24393 .input = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82"
24394 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f"
24395 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2"
24396 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2"
24397 "\x0d",
24398 .ilen = 33,
24399 .result = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
24400 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
24401 "\x09",
24402 .rlen = 17,
24403 }, {
24404 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
24405 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
24406 .klen = 16,
24407 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
24408 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
24409 .assoc = "",
24410 .alen = 0,
24411 .input = "\x59\xd1\x0f\x6b\xee\x27\x84\x92"
24412 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5"
24413 "\x50\x32\xb4\x9a\x2e\x35\x83\x55"
24414 "\x36\x12\x12\xed\xa3\x31\xc5\x30"
24415 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91"
24416 "\x75\xfa\x6c\x17\xc6\x73\xca",
24417 .ilen = 47,
24418 .result = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
24419 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
24420 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
24421 "\x57\x05\x01\x1c\x66\x22\xd3",
24422 .rlen = 31,
24423 }, {
24424 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
24425 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
24426 .klen = 16,
24427 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
24428 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
24429 .assoc = "",
24430 .alen = 0,
24431 .input = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1"
24432 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69"
24433 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39"
24434 "\x1b\xde\x68\x38\xcc\x27\x52\xc5"
24435 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c"
24436 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59",
24437 .ilen = 48,
24438 .result = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
24439 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
24440 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
24441 "\x19\x33\xe0\xf4\x40\x81\x72\x28",
24442 .rlen = 32,
24443 }, {
24444 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
24445 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
24446 .klen = 16,
24447 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
24448 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
24449 .assoc = "\xc5",
24450 .alen = 1,
24451 .input = "\x56\xe7\x24\x52\xdd\x95\x60\x5b"
24452 "\x09\x48\x39\x69\x9c\xb3\x62\x46",
24453 .ilen = 16,
24454 .result = "",
24455 .rlen = 0,
24456 }, {
24457 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
24458 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
24459 .klen = 16,
24460 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
24461 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
24462 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
24463 "\x47\x3e\xe9\xd4\xcc\xb5\x76",
24464 .alen = 15,
24465 .input = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01"
24466 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1",
24467 .ilen = 16,
24468 .result = "",
24469 .rlen = 0,
24470 }, {
24471 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
24472 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
24473 .klen = 16,
24474 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
24475 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
24476 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
24477 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
24478 .alen = 16,
24479 .input = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac"
24480 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1",
24481 .ilen = 16,
24482 .result = "",
24483 .rlen = 0,
24484 }, {
24485 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
24486 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
24487 .klen = 16,
24488 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
24489 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
24490 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
24491 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
24492 "\x3c",
24493 .alen = 17,
24494 .input = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9"
24495 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60",
24496 .ilen = 16,
24497 .result = "",
24498 .rlen = 0,
24499 }, {
24500 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
24501 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
24502 .klen = 16,
24503 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
24504 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
24505 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
24506 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
24507 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
24508 "\xaf\x0b\x02\x38\xcc\x44\xa7",
24509 .alen = 31,
24510 .input = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d"
24511 "\x4b\xef\x75\x16\x0a\x99\xae\x6b",
24512 .ilen = 16,
24513 .result = "",
24514 .rlen = 0,
24515 }, {
24516 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
24517 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
24518 .klen = 16,
24519 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
24520 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
24521 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
24522 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
24523 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
24524 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
24525 .alen = 32,
24526 .input = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f"
24527 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0",
24528 .ilen = 16,
24529 .result = "",
24530 .rlen = 0,
24531 }, {
24532 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
24533 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
24534 .klen = 16,
24535 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
24536 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
24537 .assoc = "\x31",
24538 .alen = 1,
24539 .input = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38"
24540 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3"
24541 "\x22",
24542 .ilen = 17,
24543 .result = "\x40",
24544 .rlen = 1,
24545 }, {
24546 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
24547 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
24548 .klen = 16,
24549 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
24550 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
24551 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
24552 "\x4d\x5b\x15\x3c\xa8\x8f\x06",
24553 .alen = 15,
24554 .input = "\x77\x32\x61\xeb\xb4\x33\x29\x92"
24555 "\x29\x95\xc5\x8e\x85\x76\xab\xfc"
24556 "\x07\x95\xa7\x44\x74\xf7\x22\xff"
24557 "\xd8\xd8\x36\x3d\x8a\x7f\x9e",
24558 .ilen = 31,
24559 .result = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
24560 "\x6d\x92\x42\x61\xa7\x58\x37",
24561 .rlen = 15,
24562 }, {
24563 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
24564 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
24565 .klen = 16,
24566 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
24567 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
24568 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
24569 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
24570 .alen = 16,
24571 .input = "\xd8\xfd\x44\x45\xf6\x42\x12\x38"
24572 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07"
24573 "\x48\x67\x98\x18\x9b\xd0\x0c\x59"
24574 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70",
24575 .ilen = 32,
24576 .result = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
24577 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
24578 .rlen = 16,
24579 }, {
24580 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
24581 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
24582 .klen = 16,
24583 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
24584 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
24585 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
24586 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
24587 "\x3b",
24588 .alen = 17,
24589 .input = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6"
24590 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2"
24591 "\x71\x83\x85\x5f\xc8\x79\x0a\x99"
24592 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9"
24593 "\x83",
24594 .ilen = 33,
24595 .result = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
24596 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
24597 "\x05",
24598 .rlen = 17,
24599 }, {
24600 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
24601 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
24602 .klen = 16,
24603 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
24604 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
24605 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
24606 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
24607 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
24608 "\x38\x1d\x3b\x4a\xe9\x7e\x62",
24609 .alen = 31,
24610 .input = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06"
24611 "\x5c\x7b\xef\x64\x87\x00\xd1\x37"
24612 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0"
24613 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a"
24614 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c"
24615 "\xf1\x5a\x66\x69\xe0\xca\x83",
24616 .ilen = 47,
24617 .result = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
24618 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
24619 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
24620 "\x68\x28\x73\x40\x9f\x96\x4a",
24621 .rlen = 31,
24622 }, {
24623 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
24624 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
24625 .klen = 16,
24626 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
24627 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
24628 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
24629 "\x50\xc4\xde\x82\x90\x21\x11\x73"
24630 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
24631 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
24632 .alen = 32,
24633 .input = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2"
24634 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14"
24635 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2"
24636 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54"
24637 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa"
24638 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81",
24639 .ilen = 48,
24640 .result = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
24641 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
24642 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
24643 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
24644 .rlen = 32,
24645 }, {
24646 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
24647 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
24648 .klen = 16,
24649 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
24650 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
24651 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
24652 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
24653 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
24654 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
24655 "\x1a",
24656 .alen = 33,
24657 .input = "\xc7\xca\x26\x61\x57\xee\xa2\xb9"
24658 "\xb1\x37\xde\x95\x06\x90\x11\x08"
24659 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1"
24660 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76"
24661 "\x56\x9a\xb4\x58\xc5\x08\xfc\xb5"
24662 "\xf2\x31\x9b\xc9\xcd\xb3\x64\xdb"
24663 "\x6f\x50\xbf\xf4\x73\x9d\xfb\x6b"
24664 "\xef\x35\x25\x48\xed\xcf\x29\xa8"
24665 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92"
24666 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1"
24667 "\xc4",
24668 .ilen = 81,
24669 .result = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
24670 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
24671 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
24672 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
24673 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
24674 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
24675 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
24676 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
24677 "\x8a",
24678 .rlen = 65,
24679 }, {
24680 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
24681 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
24682 .klen = 16,
24683 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
24684 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
24685 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
24686 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
24687 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
24688 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
24689 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
24690 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
24691 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
24692 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
24693 "\x21",
24694 .alen = 65,
24695 .input = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b"
24696 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40"
24697 "\xf3\x78\x63\x34\x89\x79\x39\x6b"
24698 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3"
24699 "\x54\x0b\xea\x05\xa6\x95\x64\xed"
24700 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34"
24701 "\x66",
24702 .ilen = 49,
24703 .result = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
24704 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
24705 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
24706 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
24707 "\xac",
24708 .rlen = 33,
24709 }, {
24710 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
24711 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
24712 .klen = 16,
24713 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
24714 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
24715 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
24716 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
24717 .alen = 16,
24718 .input = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f"
24719 "\x33\x98\x87\xde\x08\xb6\xb6\xae"
24720 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39"
24721 "\xb9\x6b\x3f\xdf\xc8\xcb\x30",
24722 .ilen = 31,
24723 .result = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
24724 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
24725 .rlen = 16,
24726 }, {
24727 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
24728 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
24729 .klen = 16,
24730 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
24731 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
24732 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
24733 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
24734 .alen = 16,
24735 .input = "\x74\x7d\x70\x07\xe9\xba\x01\xee"
24736 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50"
24737 "\x17\xb8\x17\x62\xed\x80\xa2\xf5"
24738 "\x03\xde\x85\x71\x5d\x34",
24739 .ilen = 30,
24740 .result = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
24741 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
24742 .rlen = 16,
24743 }, {
24744 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
24745 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
24746 .klen = 16,
24747 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
24748 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
24749 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
24750 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
24751 .alen = 16,
24752 .input = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38"
24753 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf"
24754 "\xba\xea\xd4\xfa\x3f\x11\x33\x98",
24755 .ilen = 24,
24756 .result = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
24757 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
24758 .rlen = 16,
24759 }, {
24760 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
24761 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
24762 .klen = 16,
24763 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
24764 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
24765 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
24766 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98",
24767 .alen = 16,
24768 .input = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86"
24769 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c"
24770 "\x6e",
24771 .ilen = 17,
24772 .result = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
24773 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a",
24774 .rlen = 16,
24775 }, 20817 },
24776}; 20818};
24777 20819
@@ -24782,7 +20824,7 @@ static const struct aead_testvec morus640_dec_tv_template[] = {
24782 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz 20824 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
24783 * (see crypto_aead/morus1280128v2/ and crypto_aead/morus1280256v2/ ) 20825 * (see crypto_aead/morus1280128v2/ and crypto_aead/morus1280256v2/ )
24784 */ 20826 */
24785static const struct aead_testvec morus1280_enc_tv_template[] = { 20827static const struct aead_testvec morus1280_tv_template[] = {
24786 { 20828 {
24787 .key = "\x00\x00\x00\x00\x00\x00\x00\x00" 20829 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
24788 "\x00\x00\x00\x00\x00\x00\x00\x00", 20830 "\x00\x00\x00\x00\x00\x00\x00\x00",
@@ -24791,11 +20833,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24791 "\x20\x36\x2c\x24\xfe\xc9\x30\x81", 20833 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
24792 .assoc = "", 20834 .assoc = "",
24793 .alen = 0, 20835 .alen = 0,
24794 .input = "", 20836 .ptext = "",
24795 .ilen = 0, 20837 .plen = 0,
24796 .result = "\x91\x85\x0f\xf5\x52\x9e\xce\xce" 20838 .ctext = "\x91\x85\x0f\xf5\x52\x9e\xce\xce"
24797 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98", 20839 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98",
24798 .rlen = 16, 20840 .clen = 16,
24799 }, { 20841 }, {
24800 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b" 20842 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
24801 "\x80\xda\xb2\x91\xf9\x24\xc2\x06", 20843 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
@@ -24804,12 +20846,12 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24804 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87", 20846 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
24805 .assoc = "", 20847 .assoc = "",
24806 .alen = 0, 20848 .alen = 0,
24807 .input = "\x69", 20849 .ptext = "\x69",
24808 .ilen = 1, 20850 .plen = 1,
24809 .result = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13" 20851 .ctext = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13"
24810 "\x96\xda\x76\x34\x33\x4e\xd5\x39" 20852 "\x96\xda\x76\x34\x33\x4e\xd5\x39"
24811 "\x73", 20853 "\x73",
24812 .rlen = 17, 20854 .clen = 17,
24813 }, { 20855 }, {
24814 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37" 20856 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
24815 "\x01\xb4\x64\x22\xf3\x48\x85\x0c", 20857 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
@@ -24818,18 +20860,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24818 "\x22\xea\x90\x47\xf2\x11\xb5\x8e", 20860 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
24819 .assoc = "", 20861 .assoc = "",
24820 .alen = 0, 20862 .alen = 0,
24821 .input = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc" 20863 .ptext = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
24822 "\x62\x58\xe9\x8f\xef\xa4\x17\x91" 20864 "\x62\x58\xe9\x8f\xef\xa4\x17\x91"
24823 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46" 20865 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46"
24824 "\x13\x7d\x64\x93\xd7\x05\xf5", 20866 "\x13\x7d\x64\x93\xd7\x05\xf5",
24825 .ilen = 31, 20867 .plen = 31,
24826 .result = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22" 20868 .ctext = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22"
24827 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52" 20869 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52"
24828 "\x97\x0b\x64\xd4\xce\x90\x52\xf7" 20870 "\x97\x0b\x64\xd4\xce\x90\x52\xf7"
24829 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d" 20871 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d"
24830 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc" 20872 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc"
24831 "\xa4\x21\x74\xcf\x19\x16\x59", 20873 "\xa4\x21\x74\xcf\x19\x16\x59",
24832 .rlen = 47, 20874 .clen = 47,
24833 }, { 20875 }, {
24834 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53" 20876 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
24835 "\x82\x8e\x16\xb4\xed\x6d\x47\x12", 20877 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
@@ -24838,18 +20880,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24838 "\xa2\xc5\x42\xd8\xec\x36\x78\x94", 20880 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
24839 .assoc = "", 20881 .assoc = "",
24840 .alen = 0, 20882 .alen = 0,
24841 .input = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8" 20883 .ptext = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
24842 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97" 20884 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97"
24843 "\xde\x58\xab\xf0\xd3\xd8\x27\x60" 20885 "\xde\x58\xab\xf0\xd3\xd8\x27\x60"
24844 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4", 20886 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4",
24845 .ilen = 32, 20887 .plen = 32,
24846 .result = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f" 20888 .ctext = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f"
24847 "\xde\x9f\x77\xb2\xda\x92\x61\x5c" 20889 "\xde\x9f\x77\xb2\xda\x92\x61\x5c"
24848 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06" 20890 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06"
24849 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1" 20891 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1"
24850 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad" 20892 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad"
24851 "\x21\x8e\x84\x5c\x12\x61\xb2\xae", 20893 "\x21\x8e\x84\x5c\x12\x61\xb2\xae",
24852 .rlen = 48, 20894 .clen = 48,
24853 }, { 20895 }, {
24854 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f" 20896 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
24855 "\x03\x68\xc8\x45\xe7\x91\x0a\x18", 20897 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
@@ -24858,20 +20900,20 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24858 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a", 20900 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
24859 .assoc = "", 20901 .assoc = "",
24860 .alen = 0, 20902 .alen = 0,
24861 .input = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04" 20903 .ptext = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
24862 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d" 20904 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
24863 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79" 20905 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79"
24864 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b" 20906 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b"
24865 "\xc4", 20907 "\xc4",
24866 .ilen = 33, 20908 .plen = 33,
24867 .result = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17" 20909 .ctext = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17"
24868 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f" 20910 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f"
24869 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f" 20911 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f"
24870 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3" 20912 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3"
24871 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed" 20913 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed"
24872 "\x2b\x6a\xac\x63\x52\xaa\x10\x94" 20914 "\x2b\x6a\xac\x63\x52\xaa\x10\x94"
24873 "\xd0", 20915 "\xd0",
24874 .rlen = 49, 20916 .clen = 49,
24875 }, { 20917 }, {
24876 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b" 20918 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
24877 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f", 20919 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
@@ -24880,7 +20922,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24880 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0", 20922 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
24881 .assoc = "", 20923 .assoc = "",
24882 .alen = 0, 20924 .alen = 0,
24883 .input = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f" 20925 .ptext = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
24884 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3" 20926 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
24885 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93" 20927 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
24886 "\x57\x05\x01\x1c\x66\x22\xd3\x51" 20928 "\x57\x05\x01\x1c\x66\x22\xd3\x51"
@@ -24888,8 +20930,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24888 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5" 20930 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5"
24889 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1" 20931 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1"
24890 "\xe6\x16\xa2\xac\xde\x47\x40", 20932 "\xe6\x16\xa2\xac\xde\x47\x40",
24891 .ilen = 63, 20933 .plen = 63,
24892 .result = "\x7d\x61\x1a\x35\x20\xcc\x07\x88" 20934 .ctext = "\x7d\x61\x1a\x35\x20\xcc\x07\x88"
24893 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19" 20935 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19"
24894 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a" 20936 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a"
24895 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd" 20937 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd"
@@ -24899,7 +20941,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24899 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9" 20941 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9"
24900 "\xe5\x81\x37\xde\x84\x7a\xf6\x84" 20942 "\xe5\x81\x37\xde\x84\x7a\xf6\x84"
24901 "\x99\x7a\x72\x9c\x54\x31\xa1", 20943 "\x99\x7a\x72\x9c\x54\x31\xa1",
24902 .rlen = 79, 20944 .clen = 79,
24903 }, { 20945 }, {
24904 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6" 20946 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
24905 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25", 20947 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
@@ -24908,7 +20950,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24908 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6", 20950 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
24909 .assoc = "", 20951 .assoc = "",
24910 .alen = 0, 20952 .alen = 0,
24911 .input = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b" 20953 .ptext = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
24912 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa" 20954 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
24913 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad" 20955 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
24914 "\x19\x33\xe0\xf4\x40\x81\x72\x28" 20956 "\x19\x33\xe0\xf4\x40\x81\x72\x28"
@@ -24916,8 +20958,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24916 "\xb0\x68\x69\xf2\x27\x35\x91\x84" 20958 "\xb0\x68\x69\xf2\x27\x35\x91\x84"
24917 "\x2e\x37\x5b\x00\x04\xff\x16\x9c" 20959 "\x2e\x37\x5b\x00\x04\xff\x16\x9c"
24918 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a", 20960 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a",
24919 .ilen = 64, 20961 .plen = 64,
24920 .result = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c" 20962 .ctext = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c"
24921 "\xa5\x07\x12\xa7\x12\x39\x60\x66" 20963 "\xa5\x07\x12\xa7\x12\x39\x60\x66"
24922 "\x30\x81\x4a\x03\x78\x28\x45\x52" 20964 "\x30\x81\x4a\x03\x78\x28\x45\x52"
24923 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66" 20965 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66"
@@ -24927,7 +20969,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24927 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d" 20969 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d"
24928 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a" 20970 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a"
24929 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb", 20971 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb",
24930 .rlen = 80, 20972 .clen = 80,
24931 }, { 20973 }, {
24932 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2" 20974 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
24933 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b", 20975 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
@@ -24936,11 +20978,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24936 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad", 20978 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
24937 .assoc = "\xc5", 20979 .assoc = "\xc5",
24938 .alen = 1, 20980 .alen = 1,
24939 .input = "", 20981 .ptext = "",
24940 .ilen = 0, 20982 .plen = 0,
24941 .result = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e" 20983 .ctext = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e"
24942 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3", 20984 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3",
24943 .rlen = 16, 20985 .clen = 16,
24944 }, { 20986 }, {
24945 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde" 20987 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
24946 "\x07\xd1\x90\x8b\xcf\x23\x15\x31", 20988 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
@@ -24952,11 +20994,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24952 "\xe8\x73\x62\x64\xab\x50\xd0\xda" 20994 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
24953 "\x6b\x83\x66\xaf\x3e\x27\xc9", 20995 "\x6b\x83\x66\xaf\x3e\x27\xc9",
24954 .alen = 31, 20996 .alen = 31,
24955 .input = "", 20997 .ptext = "",
24956 .ilen = 0, 20998 .plen = 0,
24957 .result = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38" 20999 .ctext = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38"
24958 "\x03\x12\xf9\xcc\x9e\x46\x42\x92", 21000 "\x03\x12\xf9\xcc\x9e\x46\x42\x92",
24959 .rlen = 16, 21001 .clen = 16,
24960 }, { 21002 }, {
24961 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa" 21003 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
24962 "\x88\xab\x42\x1c\xc9\x47\xd7\x38", 21004 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
@@ -24968,11 +21010,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24968 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3" 21010 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
24969 "\x2d\xb0\x45\x87\x18\x86\x68\xf6", 21011 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
24970 .alen = 32, 21012 .alen = 32,
24971 .input = "", 21013 .ptext = "",
24972 .ilen = 0, 21014 .plen = 0,
24973 .result = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2" 21015 .ctext = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2"
24974 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0", 21016 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0",
24975 .rlen = 16, 21017 .clen = 16,
24976 }, { 21018 }, {
24977 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16" 21019 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
24978 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e", 21020 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
@@ -24985,11 +21027,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
24985 "\xee\xde\x23\x60\xf2\xe5\x08\xcc" 21027 "\xee\xde\x23\x60\xf2\xe5\x08\xcc"
24986 "\x97", 21028 "\x97",
24987 .alen = 33, 21029 .alen = 33,
24988 .input = "", 21030 .ptext = "",
24989 .ilen = 0, 21031 .plen = 0,
24990 .result = "\x28\x64\x78\x51\x55\xd8\x56\x4a" 21032 .ctext = "\x28\x64\x78\x51\x55\xd8\x56\x4a"
24991 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94", 21033 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94",
24992 .rlen = 16, 21034 .clen = 16,
24993 }, { 21035 }, {
24994 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31" 21036 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
24995 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44", 21037 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
@@ -25005,11 +21047,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25005 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2" 21047 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2"
25006 "\xcd\x2c\x45\x58\xbd\x8e\x80", 21048 "\xcd\x2c\x45\x58\xbd\x8e\x80",
25007 .alen = 63, 21049 .alen = 63,
25008 .input = "", 21050 .ptext = "",
25009 .ilen = 0, 21051 .plen = 0,
25010 .result = "\xb3\xa6\x00\x4e\x09\x20\xac\x21" 21052 .ctext = "\xb3\xa6\x00\x4e\x09\x20\xac\x21"
25011 "\x77\x72\x69\x76\x2d\x36\xe5\xc8", 21053 "\x77\x72\x69\x76\x2d\x36\xe5\xc8",
25012 .rlen = 16, 21054 .clen = 16,
25013 }, { 21055 }, {
25014 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d" 21056 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
25015 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a", 21057 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
@@ -25025,11 +21067,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25025 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d" 21067 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d"
25026 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01", 21068 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01",
25027 .alen = 64, 21069 .alen = 64,
25028 .input = "", 21070 .ptext = "",
25029 .ilen = 0, 21071 .plen = 0,
25030 .result = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd" 21072 .ctext = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd"
25031 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14", 21073 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14",
25032 .rlen = 16, 21074 .clen = 16,
25033 }, { 21075 }, {
25034 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69" 21076 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
25035 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50", 21077 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
@@ -25038,12 +21080,12 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25038 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2", 21080 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
25039 .assoc = "\x31", 21081 .assoc = "\x31",
25040 .alen = 1, 21082 .alen = 1,
25041 .input = "\x40", 21083 .ptext = "\x40",
25042 .ilen = 1, 21084 .plen = 1,
25043 .result = "\x1d\x47\x17\x34\x86\xf5\x54\x1a" 21085 .ctext = "\x1d\x47\x17\x34\x86\xf5\x54\x1a"
25044 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9" 21086 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9"
25045 "\xbf", 21087 "\xbf",
25046 .rlen = 17, 21088 .clen = 17,
25047 }, { 21089 }, {
25048 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85" 21090 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
25049 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57", 21091 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
@@ -25055,18 +21097,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25055 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73" 21097 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
25056 "\xf4\x94\x9f\xc1\x5a\x61\x85", 21098 "\xf4\x94\x9f\xc1\x5a\x61\x85",
25057 .alen = 31, 21099 .alen = 31,
25058 .input = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a" 21100 .ptext = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
25059 "\x6d\x92\x42\x61\xa7\x58\x37\xdb" 21101 "\x6d\x92\x42\x61\xa7\x58\x37\xdb"
25060 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a" 21102 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a"
25061 "\x24\xa0\xd6\xb7\x11\x79\x6c", 21103 "\x24\xa0\xd6\xb7\x11\x79\x6c",
25062 .ilen = 31, 21104 .plen = 31,
25063 .result = "\x78\x90\x52\xae\x0f\xf7\x2e\xef" 21105 .ctext = "\x78\x90\x52\xae\x0f\xf7\x2e\xef"
25064 "\x63\x09\x08\x58\xb5\x56\xbd\x72" 21106 "\x63\x09\x08\x58\xb5\x56\xbd\x72"
25065 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92" 21107 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92"
25066 "\x18\xe9\xa4\x33\x90\xba\x62\xb5" 21108 "\x18\xe9\xa4\x33\x90\xba\x62\xb5"
25067 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51" 21109 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51"
25068 "\x85\x87\x17\x09\x42\xed\x4e", 21110 "\x85\x87\x17\x09\x42\xed\x4e",
25069 .rlen = 47, 21111 .clen = 47,
25070 }, { 21112 }, {
25071 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1" 21113 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
25072 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d", 21114 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
@@ -25078,18 +21120,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25078 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d" 21120 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
25079 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd", 21121 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
25080 .alen = 32, 21122 .alen = 32,
25081 .input = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36" 21123 .ptext = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
25082 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2" 21124 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2"
25083 "\xdb\x74\x36\x23\x11\x58\x3f\x93" 21125 "\xdb\x74\x36\x23\x11\x58\x3f\x93"
25084 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3", 21126 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3",
25085 .ilen = 32, 21127 .plen = 32,
25086 .result = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41" 21128 .ctext = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41"
25087 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf" 21129 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf"
25088 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e" 21130 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e"
25089 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a" 21131 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a"
25090 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6" 21132 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6"
25091 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7", 21133 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7",
25092 .rlen = 48, 21134 .clen = 48,
25093 }, { 21135 }, {
25094 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd" 21136 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
25095 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63", 21137 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
@@ -25102,20 +21144,20 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25102 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4" 21144 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4"
25103 "\xee", 21145 "\xee",
25104 .alen = 33, 21146 .alen = 33,
25105 .input = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51" 21147 .ptext = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
25106 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8" 21148 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
25107 "\x05\x36\x42\xa7\x16\xf8\xc1\xad" 21149 "\x05\x36\x42\xa7\x16\xf8\xc1\xad"
25108 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a" 21150 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a"
25109 "\x72", 21151 "\x72",
25110 .ilen = 33, 21152 .plen = 33,
25111 .result = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc" 21153 .ctext = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc"
25112 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e" 21154 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e"
25113 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9" 21155 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9"
25114 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd" 21156 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd"
25115 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37" 21157 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37"
25116 "\x08\x06\x5a\xe5\x96\x10\x95\xc2" 21158 "\x08\x06\x5a\xe5\x96\x10\x95\xc2"
25117 "\x5e", 21159 "\x5e",
25118 .rlen = 49, 21160 .clen = 49,
25119 }, { 21161 }, {
25120 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8" 21162 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
25121 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69", 21163 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
@@ -25131,7 +21173,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25131 "\x10\x0b\x56\x85\xad\x54\xaa\x66" 21173 "\x10\x0b\x56\x85\xad\x54\xaa\x66"
25132 "\xa8\x43\xcd\xd4\x9b\xb7\xfa", 21174 "\xa8\x43\xcd\xd4\x9b\xb7\xfa",
25133 .alen = 63, 21175 .alen = 63,
25134 .input = "\x32\xcb\x80\xcc\xde\x12\x33\x6d" 21176 .ptext = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
25135 "\xf0\x20\x58\x15\x95\xc6\x7f\xee" 21177 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
25136 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7" 21178 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
25137 "\x68\x28\x73\x40\x9f\x96\x4a\x60" 21179 "\x68\x28\x73\x40\x9f\x96\x4a\x60"
@@ -25139,8 +21181,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25139 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8" 21181 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8"
25140 "\x1b\xa5\x50\xed\x87\xa9\x72\x59" 21182 "\x1b\xa5\x50\xed\x87\xa9\x72\x59"
25141 "\x9c\x44\xb2\xa4\x99\x98\x34", 21183 "\x9c\x44\xb2\xa4\x99\x98\x34",
25142 .ilen = 63, 21184 .plen = 63,
25143 .result = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22" 21185 .ctext = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22"
25144 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f" 21186 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f"
25145 "\xef\x36\x19\xae\x91\xfa\xd6\x63" 21187 "\xef\x36\x19\xae\x91\xfa\xd6\x63"
25146 "\x46\xea\x8a\x39\x14\x21\xa6\x37" 21188 "\x46\xea\x8a\x39\x14\x21\xa6\x37"
@@ -25150,7 +21192,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25150 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6" 21192 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6"
25151 "\xe9\x5a\x50\x98\x00\x58\xc9\x86" 21193 "\xe9\x5a\x50\x98\x00\x58\xc9\x86"
25152 "\x4f\x20\x37\xdb\x7b\x22\xa3", 21194 "\x4f\x20\x37\xdb\x7b\x22\xa3",
25153 .rlen = 79, 21195 .clen = 79,
25154 }, { 21196 }, {
25155 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4" 21197 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
25156 "\x10\x57\x85\x39\x93\x8f\xaf\x70", 21198 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
@@ -25166,7 +21208,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25166 "\x3d\x72\x3e\x26\x16\xa9\xca\x32" 21208 "\x3d\x72\x3e\x26\x16\xa9\xca\x32"
25167 "\x77\x47\x63\x14\x95\x3d\xe4\x34", 21209 "\x77\x47\x63\x14\x95\x3d\xe4\x34",
25168 .alen = 64, 21210 .alen = 64,
25169 .input = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89" 21211 .ptext = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
25170 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4" 21212 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
25171 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0" 21213 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
25172 "\x29\x56\x52\x19\x79\xf5\xe9\x37" 21214 "\x29\x56\x52\x19\x79\xf5\xe9\x37"
@@ -25174,8 +21216,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25174 "\xe9\x21\x5e\xbf\x52\x23\x95\x37" 21216 "\xe9\x21\x5e\xbf\x52\x23\x95\x37"
25175 "\x48\x0c\x38\x8f\xf0\xff\x92\x24" 21217 "\x48\x0c\x38\x8f\xf0\xff\x92\x24"
25176 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01", 21218 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01",
25177 .ilen = 64, 21219 .plen = 64,
25178 .result = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb" 21220 .ctext = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb"
25179 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b" 21221 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b"
25180 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b" 21222 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b"
25181 "\x39\xda\x8b\x48\xec\xb2\x00\x4e" 21223 "\x39\xda\x8b\x48\xec\xb2\x00\x4e"
@@ -25185,7 +21227,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25185 "\xec\x99\x7d\x61\xb3\x15\x93\xed" 21227 "\xec\x99\x7d\x61\xb3\x15\x93\xed"
25186 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe" 21228 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe"
25187 "\x95\x74\x44\xd5\x54\xa6\x27\x06", 21229 "\x95\x74\x44\xd5\x54\xa6\x27\x06",
25188 .rlen = 80, 21230 .clen = 80,
25189 }, { 21231 }, {
25190 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10" 21232 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
25191 "\x91\x31\x37\xcb\x8d\xb3\x72\x76", 21233 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
@@ -25202,7 +21244,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25202 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68" 21244 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68"
25203 "\x58", 21245 "\x58",
25204 .alen = 65, 21246 .alen = 65,
25205 .input = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5" 21247 .ptext = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
25206 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb" 21248 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
25207 "\x84\x7d\x65\x34\x25\xd8\x47\xfa" 21249 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
25208 "\xeb\x83\x31\xf1\x54\x54\x89\x0d" 21250 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
@@ -25219,8 +21261,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25219 "\x33\x16\x59\x6c\x3b\xef\x88\xad" 21261 "\x33\x16\x59\x6c\x3b\xef\x88\xad"
25220 "\x2f\xab\xbc\x25\x76\x87\x41\x2f" 21262 "\x2f\xab\xbc\x25\x76\x87\x41\x2f"
25221 "\x36", 21263 "\x36",
25222 .ilen = 129, 21264 .plen = 129,
25223 .result = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9" 21265 .ctext = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9"
25224 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb" 21266 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb"
25225 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0" 21267 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0"
25226 "\x38\xa4\x74\xa5\x04\x15\x63\x05" 21268 "\x38\xa4\x74\xa5\x04\x15\x63\x05"
@@ -25239,7 +21281,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25239 "\xed\xed\x35\xe8\x83\xa5\xec\x25" 21281 "\xed\xed\x35\xe8\x83\xa5\xec\x25"
25240 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc" 21282 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc"
25241 "\x20", 21283 "\x20",
25242 .rlen = 145, 21284 .clen = 145,
25243 }, { 21285 }, {
25244 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c" 21286 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
25245 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c", 21287 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
@@ -25264,7 +21306,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25264 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9" 21306 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9"
25265 "\x51", 21307 "\x51",
25266 .alen = 129, 21308 .alen = 129,
25267 .input = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1" 21309 .ptext = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
25268 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01" 21310 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
25269 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14" 21311 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
25270 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4" 21312 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
@@ -25273,8 +21315,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25273 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb" 21315 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
25274 "\x09\x4f\x77\x62\x88\x2d\xf2\x68" 21316 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
25275 "\x54", 21317 "\x54",
25276 .ilen = 65, 21318 .plen = 65,
25277 .result = "\x36\x78\xb9\x22\xde\x62\x35\x55" 21319 .ctext = "\x36\x78\xb9\x22\xde\x62\x35\x55"
25278 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82" 21320 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82"
25279 "\x01\xe9\x5a\x07\xea\x46\xaf\x91" 21321 "\x01\xe9\x5a\x07\xea\x46\xaf\x91"
25280 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2" 21322 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2"
@@ -25285,7 +21327,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25285 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19" 21327 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19"
25286 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf" 21328 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf"
25287 "\xa2", 21329 "\xa2",
25288 .rlen = 81, 21330 .clen = 81,
25289 }, { 21331 }, {
25290 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48" 21332 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
25291 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82", 21333 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
@@ -25297,18 +21339,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25297 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27" 21339 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
25298 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05", 21340 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
25299 .alen = 32, 21341 .alen = 32,
25300 .input = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd" 21342 .ptext = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
25301 "\xf3\x89\x20\x5b\x7c\x57\x89\x07" 21343 "\xf3\x89\x20\x5b\x7c\x57\x89\x07"
25302 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d" 21344 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d"
25303 "\x6e\xde\xee\xa2\x08\x12\xc7\xba", 21345 "\x6e\xde\xee\xa2\x08\x12\xc7\xba",
25304 .ilen = 32, 21346 .plen = 32,
25305 .result = "\x08\x1b\x95\x0e\x41\x95\x02\x4b" 21347 .ctext = "\x08\x1b\x95\x0e\x41\x95\x02\x4b"
25306 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e" 21348 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e"
25307 "\x89\x14\x33\x70\x0a\xbc\xea\x39" 21349 "\x89\x14\x33\x70\x0a\xbc\xea\x39"
25308 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5" 21350 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5"
25309 "\x33\x33\x9c\xd7\x42\x34\x49\x8e" 21351 "\x33\x33\x9c\xd7\x42\x34\x49\x8e"
25310 "\x2f\x03\x30\x05\x47\xaf\x34", 21352 "\x2f\x03\x30\x05\x47\xaf\x34",
25311 .rlen = 47, 21353 .clen = 47,
25312 }, { 21354 }, {
25313 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63" 21355 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
25314 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89", 21356 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
@@ -25320,18 +21362,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25320 "\x39\x14\x05\xa0\xf3\x10\xec\x41" 21362 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
25321 "\xff\x01\x95\x84\x2b\x59\x7f\xdb", 21363 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
25322 .alen = 32, 21364 .alen = 32,
25323 .input = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8" 21365 .ptext = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
25324 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d" 21366 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d"
25325 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47" 21367 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47"
25326 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91", 21368 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91",
25327 .ilen = 32, 21369 .plen = 32,
25328 .result = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68" 21370 .ctext = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68"
25329 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6" 21371 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6"
25330 "\x25\xd8\xf7\x1f\x10\x15\x48\x61" 21372 "\x25\xd8\xf7\x1f\x10\x15\x48\x61"
25331 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6" 21373 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6"
25332 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98" 21374 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98"
25333 "\xb9\x9c\xe5\xef\xf2\x05", 21375 "\xb9\x9c\xe5\xef\xf2\x05",
25334 .rlen = 46, 21376 .clen = 46,
25335 }, { 21377 }, {
25336 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f" 21378 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
25337 "\x95\x9a\xff\x10\x75\x45\x7d\x8f", 21379 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
@@ -25343,17 +21385,17 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25343 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a" 21385 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
25344 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2", 21386 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
25345 .alen = 32, 21387 .alen = 32,
25346 .input = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14" 21388 .ptext = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
25347 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13" 21389 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13"
25348 "\x2e\x86\x93\x45\x3a\x58\x4f\x61" 21390 "\x2e\x86\x93\x45\x3a\x58\x4f\x61"
25349 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68", 21391 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68",
25350 .ilen = 32, 21392 .plen = 32,
25351 .result = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d" 21393 .ctext = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d"
25352 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf" 21394 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf"
25353 "\x1a\x5a\x70\x15\x5a\x10\x40\x51" 21395 "\x1a\x5a\x70\x15\x5a\x10\x40\x51"
25354 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77" 21396 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77"
25355 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f", 21397 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f",
25356 .rlen = 40, 21398 .clen = 40,
25357 }, { 21399 }, {
25358 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b" 21400 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
25359 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95", 21401 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
@@ -25365,17 +21407,17 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25365 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74" 21407 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74"
25366 "\x81\x5c\x53\x35\xe0\x17\xbd\x88", 21408 "\x81\x5c\x53\x35\xe0\x17\xbd\x88",
25367 .alen = 32, 21409 .alen = 32,
25368 .input = "\xda\xcc\x14\x27\x4e\x74\xd1\x30" 21410 .ptext = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
25369 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a" 21411 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a"
25370 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a" 21412 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a"
25371 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e", 21413 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e",
25372 .ilen = 32, 21414 .plen = 32,
25373 .result = "\xf1\x62\x44\xc7\x5f\x19\xca\x43" 21415 .ctext = "\xf1\x62\x44\xc7\x5f\x19\xca\x43"
25374 "\x47\x2c\xaf\x68\x82\xbd\x51\xef" 21416 "\x47\x2c\xaf\x68\x82\xbd\x51\xef"
25375 "\x3d\x65\xd8\x45\x2d\x06\x07\x78" 21417 "\x3d\x65\xd8\x45\x2d\x06\x07\x78"
25376 "\x08\x2e\xb3\x23\xcd\x81\x12\x55" 21418 "\x08\x2e\xb3\x23\xcd\x81\x12\x55"
25377 "\x1a", 21419 "\x1a",
25378 .rlen = 33, 21420 .clen = 33,
25379 }, { 21421 }, {
25380 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7" 21422 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7"
25381 "\x96\x4e\x63\x33\x69\x8d\x02\x9b" 21423 "\x96\x4e\x63\x33\x69\x8d\x02\x9b"
@@ -25386,11 +21428,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25386 "\xb7\x85\x90\x58\x67\x57\x33\x1d", 21428 "\xb7\x85\x90\x58\x67\x57\x33\x1d",
25387 .assoc = "", 21429 .assoc = "",
25388 .alen = 0, 21430 .alen = 0,
25389 .input = "", 21431 .ptext = "",
25390 .ilen = 0, 21432 .plen = 0,
25391 .result = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf" 21433 .ctext = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf"
25392 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70", 21434 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70",
25393 .rlen = 16, 21435 .clen = 16,
25394 }, { 21436 }, {
25395 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3" 21437 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3"
25396 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1" 21438 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1"
@@ -25401,12 +21443,12 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25401 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23", 21443 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23",
25402 .assoc = "", 21444 .assoc = "",
25403 .alen = 0, 21445 .alen = 0,
25404 .input = "\x53", 21446 .ptext = "\x53",
25405 .ilen = 1, 21447 .plen = 1,
25406 .result = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7" 21448 .ctext = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7"
25407 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78" 21449 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78"
25408 "\x53", 21450 "\x53",
25409 .rlen = 17, 21451 .clen = 17,
25410 }, { 21452 }, {
25411 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef" 21453 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef"
25412 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8" 21454 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8"
@@ -25417,18 +21459,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25417 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29", 21459 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29",
25418 .assoc = "", 21460 .assoc = "",
25419 .alen = 0, 21461 .alen = 0,
25420 .input = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83" 21462 .ptext = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83"
25421 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c" 21463 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c"
25422 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7" 21464 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7"
25423 "\xf6\xf0\x27\xb4\x25\x4c\x83", 21465 "\xf6\xf0\x27\xb4\x25\x4c\x83",
25424 .ilen = 31, 21466 .plen = 31,
25425 .result = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07" 21467 .ctext = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07"
25426 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37" 21468 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37"
25427 "\xa5\x64\x31\x5c\xca\x73\x9b\x43" 21469 "\xa5\x64\x31\x5c\xca\x73\x9b\x43"
25428 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5" 21470 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5"
25429 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9" 21471 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9"
25430 "\xb8\x4d\x11\x42\xd1\xf8\xf1", 21472 "\xb8\x4d\x11\x42\xd1\xf8\xf1",
25431 .rlen = 47, 21473 .clen = 47,
25432 }, { 21474 }, {
25433 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a" 21475 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a"
25434 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae" 21476 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae"
@@ -25439,18 +21481,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25439 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30", 21481 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30",
25440 .assoc = "", 21482 .assoc = "",
25441 .alen = 0, 21483 .alen = 0,
25442 .input = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f" 21484 .ptext = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f"
25443 "\x7a\x81\xff\x55\x52\x56\xdc\x33" 21485 "\x7a\x81\xff\x55\x52\x56\xdc\x33"
25444 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1" 21486 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1"
25445 "\xb7\x1d\x06\x8d\xff\xab\x22\x98", 21487 "\xb7\x1d\x06\x8d\xff\xab\x22\x98",
25446 .ilen = 32, 21488 .plen = 32,
25447 .result = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37" 21489 .ctext = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37"
25448 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f" 21490 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f"
25449 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a" 21491 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a"
25450 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26" 21492 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26"
25451 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f" 21493 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f"
25452 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6", 21494 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6",
25453 .rlen = 48, 21495 .clen = 48,
25454 }, { 21496 }, {
25455 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26" 21497 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26"
25456 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4" 21498 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4"
@@ -25461,20 +21503,20 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25461 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36", 21503 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36",
25462 .assoc = "", 21504 .assoc = "",
25463 .alen = 0, 21505 .alen = 0,
25464 .input = "\x08\x84\x34\x44\x9f\xde\x1c\xbb" 21506 .ptext = "\x08\x84\x34\x44\x9f\xde\x1c\xbb"
25465 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39" 21507 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39"
25466 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb" 21508 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb"
25467 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f" 21509 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f"
25468 "\x2e", 21510 "\x2e",
25469 .ilen = 33, 21511 .plen = 33,
25470 .result = "\xc2\xf4\x40\x55\xf9\x59\xff\x73" 21512 .ctext = "\xc2\xf4\x40\x55\xf9\x59\xff\x73"
25471 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a" 21513 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a"
25472 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22" 21514 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22"
25473 "\x23\x06\x1e\xf8\x89\x22\xf4\x46" 21515 "\x23\x06\x1e\xf8\x89\x22\xf4\x46"
25474 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa" 21516 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa"
25475 "\x15\xd7\x83\x19\xfd\x31\x59\x5b" 21517 "\x15\xd7\x83\x19\xfd\x31\x59\x5b"
25476 "\x32", 21518 "\x32",
25477 .rlen = 49, 21519 .clen = 49,
25478 }, { 21520 }, {
25479 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42" 21521 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42"
25480 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba" 21522 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba"
@@ -25485,7 +21527,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25485 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c", 21527 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c",
25486 .assoc = "", 21528 .assoc = "",
25487 .alen = 0, 21529 .alen = 0,
25488 .input = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7" 21530 .ptext = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7"
25489 "\x7c\x35\x63\x77\x46\x9f\x61\x3f" 21531 "\x7c\x35\x63\x77\x46\x9f\x61\x3f"
25490 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14" 21532 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14"
25491 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46" 21533 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46"
@@ -25493,8 +21535,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25493 "\x22\xda\x52\x8b\x7d\x11\x98\xea" 21535 "\x22\xda\x52\x8b\x7d\x11\x98\xea"
25494 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad" 21536 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad"
25495 "\x20\x76\x5a\xdc\x4e\x71\x13", 21537 "\x20\x76\x5a\xdc\x4e\x71\x13",
25496 .ilen = 63, 21538 .plen = 63,
25497 .result = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb" 21539 .ctext = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb"
25498 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28" 21540 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28"
25499 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70" 21541 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70"
25500 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6" 21542 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6"
@@ -25504,7 +21546,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25504 "\x83\x9b\x05\x11\x72\x60\xf0\xb4" 21546 "\x83\x9b\x05\x11\x72\x60\xf0\xb4"
25505 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23" 21547 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23"
25506 "\xaa\x2d\xfc\x4e\x35\x05\x59", 21548 "\xaa\x2d\xfc\x4e\x35\x05\x59",
25507 .rlen = 79, 21549 .clen = 79,
25508 }, { 21550 }, {
25509 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e" 21551 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e"
25510 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1" 21552 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1"
@@ -25515,7 +21557,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25515 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42", 21557 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42",
25516 .assoc = "", 21558 .assoc = "",
25517 .alen = 0, 21559 .alen = 0,
25518 .input = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3" 21560 .ptext = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3"
25519 "\xfd\x0f\x15\x09\x40\xc3\x24\x45" 21561 "\xfd\x0f\x15\x09\x40\xc3\x24\x45"
25520 "\x81\x99\xf0\x67\x63\x58\x5e\x2e" 21562 "\x81\x99\xf0\x67\x63\x58\x5e\x2e"
25521 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c" 21563 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c"
@@ -25523,8 +21565,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25523 "\x3d\xea\xe7\xf2\x40\xba\xae\x79" 21565 "\x3d\xea\xe7\xf2\x40\xba\xae\x79"
25524 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78" 21566 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78"
25525 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c", 21567 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c",
25526 .ilen = 64, 21568 .plen = 64,
25527 .result = "\x11\x7c\x7d\xef\xce\x29\x95\xec" 21569 .ctext = "\x11\x7c\x7d\xef\xce\x29\x95\xec"
25528 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75" 21570 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75"
25529 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa" 21571 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa"
25530 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc" 21572 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc"
@@ -25534,7 +21576,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25534 "\x43\x11\x26\x58\xcf\xc5\x41\xcf" 21576 "\x43\x11\x26\x58\xcf\xc5\x41\xcf"
25535 "\x13\xcc\xde\x32\x92\xfa\x86\xf2" 21577 "\x13\xcc\xde\x32\x92\xfa\x86\xf2"
25536 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54", 21578 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54",
25537 .rlen = 80, 21579 .clen = 80,
25538 }, { 21580 }, {
25539 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a" 21581 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a"
25540 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7" 21582 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7"
@@ -25545,11 +21587,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25545 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48", 21587 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48",
25546 .assoc = "\xaf", 21588 .assoc = "\xaf",
25547 .alen = 1, 21589 .alen = 1,
25548 .input = "", 21590 .ptext = "",
25549 .ilen = 0, 21591 .plen = 0,
25550 .result = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe" 21592 .ctext = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe"
25551 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0", 21593 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0",
25552 .rlen = 16, 21594 .clen = 16,
25553 }, { 21595 }, {
25554 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95" 21596 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95"
25555 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd" 21597 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd"
@@ -25563,11 +21605,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25563 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b" 21605 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b"
25564 "\x4e\xf6\x29\xd1\x8b\x6f\x56", 21606 "\x4e\xf6\x29\xd1\x8b\x6f\x56",
25565 .alen = 31, 21607 .alen = 31,
25566 .input = "", 21608 .ptext = "",
25567 .ilen = 0, 21609 .plen = 0,
25568 .result = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d" 21610 .ctext = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d"
25569 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69", 21611 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69",
25570 .rlen = 16, 21612 .clen = 16,
25571 }, { 21613 }, {
25572 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1" 21614 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1"
25573 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3" 21615 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3"
@@ -25581,11 +21623,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25581 "\x35\x2f\x90\xd3\x31\x90\x04\x74" 21623 "\x35\x2f\x90\xd3\x31\x90\x04\x74"
25582 "\x0f\x23\x08\xa9\x65\xce\xf6\xea", 21624 "\x0f\x23\x08\xa9\x65\xce\xf6\xea",
25583 .alen = 32, 21625 .alen = 32,
25584 .input = "", 21626 .ptext = "",
25585 .ilen = 0, 21627 .plen = 0,
25586 .result = "\xb9\x57\x13\x3e\x82\x31\x61\x65" 21628 .ctext = "\xb9\x57\x13\x3e\x82\x31\x61\x65"
25587 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2", 21629 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2",
25588 .rlen = 16, 21630 .clen = 16,
25589 }, { 21631 }, {
25590 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd" 21632 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd"
25591 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda" 21633 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda"
@@ -25600,11 +21642,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25600 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1" 21642 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1"
25601 "\x01", 21643 "\x01",
25602 .alen = 33, 21644 .alen = 33,
25603 .input = "", 21645 .ptext = "",
25604 .ilen = 0, 21646 .plen = 0,
25605 .result = "\x81\x96\x34\xde\xbb\x36\xdd\x3e" 21647 .ctext = "\x81\x96\x34\xde\xbb\x36\xdd\x3e"
25606 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1", 21648 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1",
25607 .rlen = 16, 21649 .clen = 16,
25608 }, { 21650 }, {
25609 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9" 21651 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9"
25610 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0" 21652 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0"
@@ -25622,11 +21664,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25622 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e" 21664 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e"
25623 "\x07\x8c\xfc\x88\x2d\xb8\x53", 21665 "\x07\x8c\xfc\x88\x2d\xb8\x53",
25624 .alen = 63, 21666 .alen = 63,
25625 .input = "", 21667 .ptext = "",
25626 .ilen = 0, 21668 .plen = 0,
25627 .result = "\x2e\x99\xb6\x79\x57\x56\x80\x36" 21669 .ctext = "\x2e\x99\xb6\x79\x57\x56\x80\x36"
25628 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c", 21670 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c",
25629 .rlen = 16, 21671 .clen = 16,
25630 }, { 21672 }, {
25631 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05" 21673 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05"
25632 "\xa1\x89\xbc\x04\x21\x42\x22\xe6" 21674 "\xa1\x89\xbc\x04\x21\x42\x22\xe6"
@@ -25644,11 +21686,11 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25644 "\x91\x19\x70\x1e\xe1\xfe\x25\x49" 21686 "\x91\x19\x70\x1e\xe1\xfe\x25\x49"
25645 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03", 21687 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03",
25646 .alen = 64, 21688 .alen = 64,
25647 .input = "", 21689 .ptext = "",
25648 .ilen = 0, 21690 .plen = 0,
25649 .result = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce" 21691 .ctext = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce"
25650 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2", 21692 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2",
25651 .rlen = 16, 21693 .clen = 16,
25652 }, { 21694 }, {
25653 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21" 21695 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21"
25654 "\x22\x63\x6e\x96\x1b\x67\xe4\xec" 21696 "\x22\x63\x6e\x96\x1b\x67\xe4\xec"
@@ -25659,12 +21701,12 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25659 "\x42\x9a\x9a\xba\x19\x30\x15\x6e", 21701 "\x42\x9a\x9a\xba\x19\x30\x15\x6e",
25660 .assoc = "\x1a", 21702 .assoc = "\x1a",
25661 .alen = 1, 21703 .alen = 1,
25662 .input = "\x29", 21704 .ptext = "\x29",
25663 .ilen = 1, 21705 .plen = 1,
25664 .result = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6" 21706 .ctext = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6"
25665 "\x17\x75\x81\x16\xdf\x26\xff\x67" 21707 "\x17\x75\x81\x16\xdf\x26\xff\x67"
25666 "\x92", 21708 "\x92",
25667 .rlen = 17, 21709 .clen = 17,
25668 }, { 21710 }, {
25669 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c" 21711 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c"
25670 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2" 21712 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2"
@@ -25678,18 +21720,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25678 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5" 21720 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5"
25679 "\xd6\x07\x62\xe3\xa8\xa9\x12", 21721 "\xd6\x07\x62\xe3\xa8\xa9\x12",
25680 .alen = 31, 21722 .alen = 31,
25681 .input = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1" 21723 .ptext = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1"
25682 "\x04\xe1\xa6\x94\x10\xe6\x39\x77" 21724 "\x04\xe1\xa6\x94\x10\xe6\x39\x77"
25683 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb" 21725 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb"
25684 "\x06\x13\x9a\xd9\x5e\xc0\xfa", 21726 "\x06\x13\x9a\xd9\x5e\xc0\xfa",
25685 .ilen = 31, 21727 .plen = 31,
25686 .result = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd" 21728 .ctext = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd"
25687 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda" 21729 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda"
25688 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01" 21730 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01"
25689 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10" 21731 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10"
25690 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6" 21732 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6"
25691 "\x76\xc3\xf5\x3a\x76\xfd\x4a", 21733 "\x76\xc3\xf5\x3a\x76\xfd\x4a",
25692 .rlen = 47, 21734 .clen = 47,
25693 }, { 21735 }, {
25694 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58" 21736 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58"
25695 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9" 21737 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9"
@@ -25703,18 +21745,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25703 "\x33\xbd\xd6\xed\x50\x50\x10\x0e" 21745 "\x33\xbd\xd6\xed\x50\x50\x10\x0e"
25704 "\x97\x35\x41\xbb\x82\x08\xb1\xf2", 21746 "\x97\x35\x41\xbb\x82\x08\xb1\xf2",
25705 .alen = 32, 21747 .alen = 32,
25706 .input = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed" 21748 .ptext = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed"
25707 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d" 21749 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d"
25708 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15" 21750 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15"
25709 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7", 21751 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7",
25710 .ilen = 32, 21752 .plen = 32,
25711 .result = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a" 21753 .ctext = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a"
25712 "\x71\xce\xe4\xaa\x45\x70\xe6\x84" 21754 "\x71\xce\xe4\xaa\x45\x70\xe6\x84"
25713 "\x62\x48\x08\x64\x86\x6a\xdf\xec" 21755 "\x62\x48\x08\x64\x86\x6a\xdf\xec"
25714 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4" 21756 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4"
25715 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e" 21757 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e"
25716 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca", 21758 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca",
25717 .rlen = 48, 21759 .clen = 48,
25718 }, { 21760 }, {
25719 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74" 21761 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74"
25720 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff" 21762 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff"
@@ -25729,20 +21771,20 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25729 "\x59\x62\x20\x94\x5c\x67\x50\xc8" 21771 "\x59\x62\x20\x94\x5c\x67\x50\xc8"
25730 "\x58", 21772 "\x58",
25731 .alen = 33, 21773 .alen = 33,
25732 .input = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09" 21774 .ptext = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09"
25733 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84" 21775 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84"
25734 "\x28\x30\x64\x92\x96\x98\x72\x2e" 21776 "\x28\x30\x64\x92\x96\x98\x72\x2e"
25735 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e" 21777 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e"
25736 "\xdb", 21778 "\xdb",
25737 .ilen = 33, 21779 .plen = 33,
25738 .result = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60" 21780 .ctext = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60"
25739 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34" 21781 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34"
25740 "\xe9\xf8\x80\x65\x53\xd0\x72\x70" 21782 "\xe9\xf8\x80\x65\x53\xd0\x72\x70"
25741 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c" 21783 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c"
25742 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67" 21784 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67"
25743 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4" 21785 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4"
25744 "\xc3", 21786 "\xc3",
25745 .rlen = 49, 21787 .clen = 49,
25746 }, { 21788 }, {
25747 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90" 21789 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90"
25748 "\x26\xcc\x36\xdc\x02\xf8\xef\x05" 21790 "\x26\xcc\x36\xdc\x02\xf8\xef\x05"
@@ -25760,7 +21802,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25760 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42" 21802 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42"
25761 "\xe2\xa3\x84\x04\x0b\xe1\xce", 21803 "\xe2\xa3\x84\x04\x0b\xe1\xce",
25762 .alen = 63, 21804 .alen = 63,
25763 .input = "\x1b\x61\x23\x5b\x71\x26\xae\x25" 21805 .ptext = "\x1b\x61\x23\x5b\x71\x26\xae\x25"
25764 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a" 21806 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a"
25765 "\x53\xf2\x70\x17\x9b\x38\xf4\x48" 21807 "\x53\xf2\x70\x17\x9b\x38\xf4\x48"
25766 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54" 21808 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54"
@@ -25768,8 +21810,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25768 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e" 21810 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e"
25769 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35" 21811 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35"
25770 "\xd5\xa4\x6a\xd4\x09\xc2\x08", 21812 "\xd5\xa4\x6a\xd4\x09\xc2\x08",
25771 .ilen = 63, 21813 .plen = 63,
25772 .result = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a" 21814 .ctext = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a"
25773 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8" 21815 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8"
25774 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b" 21816 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b"
25775 "\x59\xc0\x79\xbc\x17\xa0\x15\x01" 21817 "\x59\xc0\x79\xbc\x17\xa0\x15\x01"
@@ -25779,7 +21821,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25779 "\xed\x0b\x23\xea\x9b\xda\x57\x2f" 21821 "\xed\x0b\x23\xea\x9b\xda\x57\x2f"
25780 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45" 21822 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45"
25781 "\x7f\xfa\xf0\xbf\xc4\x98\x78", 21823 "\x7f\xfa\xf0\xbf\xc4\x98\x78",
25782 .rlen = 79, 21824 .clen = 79,
25783 }, { 21825 }, {
25784 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac" 21826 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac"
25785 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b" 21827 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b"
@@ -25797,7 +21839,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25797 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e" 21839 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e"
25798 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37", 21840 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37",
25799 .alen = 64, 21841 .alen = 64,
25800 .input = "\x58\x85\x5c\xfa\x81\xa1\x57\x40" 21842 .ptext = "\x58\x85\x5c\xfa\x81\xa1\x57\x40"
25801 "\x08\x4a\x6e\xda\xf8\x78\x44\x90" 21843 "\x08\x4a\x6e\xda\xf8\x78\x44\x90"
25802 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62" 21844 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62"
25803 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b" 21845 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b"
@@ -25805,8 +21847,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25805 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d" 21847 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d"
25806 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00" 21848 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00"
25807 "\xa5\xa7\x01\x13\x04\x49\xf2\x04", 21849 "\xa5\xa7\x01\x13\x04\x49\xf2\x04",
25808 .ilen = 64, 21850 .plen = 64,
25809 .result = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1" 21851 .ctext = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1"
25810 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb" 21852 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb"
25811 "\x35\x35\x60\x9d\x06\x40\x65\xc1" 21853 "\x35\x35\x60\x9d\x06\x40\x65\xc1"
25812 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5" 21854 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5"
@@ -25816,7 +21858,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25816 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06" 21858 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06"
25817 "\xce\x9e\x34\x81\xf0\x89\x11\x13" 21859 "\xce\x9e\x34\x81\xf0\x89\x11\x13"
25818 "\x02\x65\xa1\x7c\xdf\x07\x33\x06", 21860 "\x02\x65\xa1\x7c\xdf\x07\x33\x06",
25819 .rlen = 80, 21861 .clen = 80,
25820 }, { 21862 }, {
25821 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7" 21863 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7"
25822 "\x28\x80\x9a\xfe\xf6\x41\x74\x12" 21864 "\x28\x80\x9a\xfe\xf6\x41\x74\x12"
@@ -25835,7 +21877,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25835 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a" 21877 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a"
25836 "\x04", 21878 "\x04",
25837 .alen = 65, 21879 .alen = 65,
25838 .input = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c" 21880 .ptext = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c"
25839 "\x88\x24\x20\x6b\xf2\x9c\x06\x96" 21881 "\x88\x24\x20\x6b\xf2\x9c\x06\x96"
25840 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b" 21882 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b"
25841 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02" 21883 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02"
@@ -25852,8 +21894,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25852 "\x27\x7f\xe3\x34\x80\x02\x49\x4b" 21894 "\x27\x7f\xe3\x34\x80\x02\x49\x4b"
25853 "\x07\x68\x22\x2a\x88\x25\x53\xb2" 21895 "\x07\x68\x22\x2a\x88\x25\x53\xb2"
25854 "\x2f", 21896 "\x2f",
25855 .ilen = 129, 21897 .plen = 129,
25856 .result = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6" 21898 .ctext = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6"
25857 "\x85\x43\x88\xd0\xd7\x78\x60\x19" 21899 "\x85\x43\x88\xd0\xd7\x78\x60\x19"
25858 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec" 21900 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec"
25859 "\xf7\x84\x85\xc7\x27\x0f\x74\x57" 21901 "\xf7\x84\x85\xc7\x27\x0f\x74\x57"
@@ -25872,7 +21914,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25872 "\x4c\x50\x10\x62\xba\x7a\xb1\x68" 21914 "\x4c\x50\x10\x62\xba\x7a\xb1\x68"
25873 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f" 21915 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f"
25874 "\xa5", 21916 "\xa5",
25875 .rlen = 145, 21917 .clen = 145,
25876 }, { 21918 }, {
25877 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3" 21919 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3"
25878 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18" 21920 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18"
@@ -25899,7 +21941,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25899 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c" 21941 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c"
25900 "\x4b", 21942 "\x4b",
25901 .alen = 129, 21943 .alen = 129,
25902 .input = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78" 21944 .ptext = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78"
25903 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d" 21945 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d"
25904 "\xd2\x39\x93\xa3\xab\x18\x7a\x95" 21946 "\xd2\x39\x93\xa3\xab\x18\x7a\x95"
25905 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8" 21947 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8"
@@ -25908,8 +21950,8 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25908 "\x02\xeb\xa8\x90\x03\xfd\xea\x97" 21950 "\x02\xeb\xa8\x90\x03\xfd\xea\x97"
25909 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a" 21951 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a"
25910 "\x00", 21952 "\x00",
25911 .ilen = 65, 21953 .plen = 65,
25912 .result = "\x7d\xde\x53\x22\xe4\x23\x3b\x30" 21954 .ctext = "\x7d\xde\x53\x22\xe4\x23\x3b\x30"
25913 "\x78\xde\x35\x90\x7a\xd9\x0b\x93" 21955 "\x78\xde\x35\x90\x7a\xd9\x0b\x93"
25914 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c" 21956 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c"
25915 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf" 21957 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf"
@@ -25920,7 +21962,7 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25920 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6" 21962 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6"
25921 "\x20\x13\x83\x46\xaf\xff\xe3\x0f" 21963 "\x20\x13\x83\x46\xaf\xff\xe3\x0f"
25922 "\x72", 21964 "\x72",
25923 .rlen = 81, 21965 .clen = 81,
25924 }, { 21966 }, {
25925 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff" 21967 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff"
25926 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e" 21968 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e"
@@ -25934,18 +21976,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25934 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8" 21976 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8"
25935 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9", 21977 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9",
25936 .alen = 32, 21978 .alen = 32,
25937 .input = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94" 21979 .ptext = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94"
25938 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3" 21980 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3"
25939 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf" 21981 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf"
25940 "\x50\x52\xb1\xc4\x55\x59\x55\xaf", 21982 "\x50\x52\xb1\xc4\x55\x59\x55\xaf",
25941 .ilen = 32, 21983 .plen = 32,
25942 .result = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe" 21984 .ctext = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe"
25943 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4" 21985 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4"
25944 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc" 21986 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc"
25945 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e" 21987 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e"
25946 "\x24\xf8\x52\x7c\x15\x41\x0e\xba" 21988 "\x24\xf8\x52\x7c\x15\x41\x0e\xba"
25947 "\x69\x0e\x36\x5f\x2f\x22\x8c", 21989 "\x69\x0e\x36\x5f\x2f\x22\x8c",
25948 .rlen = 47, 21990 .clen = 47,
25949 }, { 21991 }, {
25950 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b" 21992 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b"
25951 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24" 21993 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24"
@@ -25959,18 +22001,18 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25959 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2" 22001 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2"
25960 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0", 22002 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0",
25961 .alen = 32, 22003 .alen = 32,
25962 .input = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0" 22004 .ptext = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0"
25963 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9" 22005 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9"
25964 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8" 22006 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8"
25965 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85", 22007 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85",
25966 .ilen = 32, 22008 .plen = 32,
25967 .result = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51" 22009 .ctext = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51"
25968 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e" 22010 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e"
25969 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1" 22011 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1"
25970 "\xab\xd6\x7c\x76\xad\xea\x7d\x76" 22012 "\xab\xd6\x7c\x76\xad\xea\x7d\x76"
25971 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70" 22013 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70"
25972 "\x5b\x6f\x7b\xe2\x8c\xe8", 22014 "\x5b\x6f\x7b\xe2\x8c\xe8",
25973 .rlen = 46, 22015 .clen = 46,
25974 }, { 22016 }, {
25975 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37" 22017 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37"
25976 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b" 22018 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b"
@@ -25984,17 +22026,17 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
25984 "\x86\xd0\x32\x0f\x79\x50\x20\xdb" 22026 "\x86\xd0\x32\x0f\x79\x50\x20\xdb"
25985 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6", 22027 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6",
25986 .alen = 32, 22028 .alen = 32,
25987 .input = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc" 22029 .ptext = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc"
25988 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf" 22030 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf"
25989 "\x51\x80\xb5\x30\xba\xf8\x00\xe2" 22031 "\x51\x80\xb5\x30\xba\xf8\x00\xe2"
25990 "\xd3\xad\x6f\x75\x09\x18\x93\x5c", 22032 "\xd3\xad\x6f\x75\x09\x18\x93\x5c",
25991 .ilen = 32, 22033 .plen = 32,
25992 .result = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b" 22034 .ctext = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b"
25993 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60" 22035 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60"
25994 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68" 22036 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68"
25995 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11" 22037 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11"
25996 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf", 22038 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf",
25997 .rlen = 40, 22039 .clen = 40,
25998 }, { 22040 }, {
25999 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53" 22041 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53"
26000 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31" 22042 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31"
@@ -26008,1257 +22050,17 @@ static const struct aead_testvec morus1280_enc_tv_template[] = {
26008 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5" 22050 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5"
26009 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d", 22051 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d",
26010 .alen = 32, 22052 .alen = 32,
26011 .input = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7" 22053 .ptext = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7"
26012 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5" 22054 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5"
26013 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc" 22055 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc"
26014 "\x94\xda\x4e\x4d\xe4\x77\x32\x32", 22056 "\x94\xda\x4e\x4d\xe4\x77\x32\x32",
26015 .ilen = 32, 22057 .plen = 32,
26016 .result = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e" 22058 .ctext = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e"
26017 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c"
26018 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70"
26019 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb"
26020 "\x56",
26021 .rlen = 33,
26022 },
26023};
26024
26025static const struct aead_testvec morus1280_dec_tv_template[] = {
26026 {
26027 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
26028 "\x00\x00\x00\x00\x00\x00\x00\x00",
26029 .klen = 16,
26030 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
26031 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
26032 .assoc = "",
26033 .alen = 0,
26034 .input = "\x91\x85\x0f\xf5\x52\x9e\xce\xce"
26035 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98",
26036 .ilen = 16,
26037 .result = "",
26038 .rlen = 0,
26039 }, {
26040 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
26041 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
26042 .klen = 16,
26043 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
26044 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
26045 .assoc = "",
26046 .alen = 0,
26047 .input = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13"
26048 "\x96\xda\x76\x34\x33\x4e\xd5\x39"
26049 "\x73",
26050 .ilen = 17,
26051 .result = "\x69",
26052 .rlen = 1,
26053 }, {
26054 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
26055 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
26056 .klen = 16,
26057 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
26058 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
26059 .assoc = "",
26060 .alen = 0,
26061 .input = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22"
26062 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52"
26063 "\x97\x0b\x64\xd4\xce\x90\x52\xf7"
26064 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d"
26065 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc"
26066 "\xa4\x21\x74\xcf\x19\x16\x59",
26067 .ilen = 47,
26068 .result = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
26069 "\x62\x58\xe9\x8f\xef\xa4\x17\x91"
26070 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46"
26071 "\x13\x7d\x64\x93\xd7\x05\xf5",
26072 .rlen = 31,
26073 }, {
26074 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
26075 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
26076 .klen = 16,
26077 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
26078 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
26079 .assoc = "",
26080 .alen = 0,
26081 .input = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f"
26082 "\xde\x9f\x77\xb2\xda\x92\x61\x5c"
26083 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06"
26084 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1"
26085 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad"
26086 "\x21\x8e\x84\x5c\x12\x61\xb2\xae",
26087 .ilen = 48,
26088 .result = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
26089 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97"
26090 "\xde\x58\xab\xf0\xd3\xd8\x27\x60"
26091 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4",
26092 .rlen = 32,
26093 }, {
26094 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
26095 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
26096 .klen = 16,
26097 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
26098 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
26099 .assoc = "",
26100 .alen = 0,
26101 .input = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17"
26102 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f"
26103 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f"
26104 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3"
26105 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed"
26106 "\x2b\x6a\xac\x63\x52\xaa\x10\x94"
26107 "\xd0",
26108 .ilen = 49,
26109 .result = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
26110 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
26111 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79"
26112 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b"
26113 "\xc4",
26114 .rlen = 33,
26115 }, {
26116 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
26117 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
26118 .klen = 16,
26119 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
26120 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
26121 .assoc = "",
26122 .alen = 0,
26123 .input = "\x7d\x61\x1a\x35\x20\xcc\x07\x88"
26124 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19"
26125 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a"
26126 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd"
26127 "\xed\xf6\xc9\xbe\xa6\x3b\xb8\xfc"
26128 "\x6c\xbe\x77\xed\x74\x0e\x20\x85"
26129 "\xd0\x65\xde\x24\x6f\xe3\x25\xc5"
26130 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9"
26131 "\xe5\x81\x37\xde\x84\x7a\xf6\x84"
26132 "\x99\x7a\x72\x9c\x54\x31\xa1",
26133 .ilen = 79,
26134 .result = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
26135 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
26136 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
26137 "\x57\x05\x01\x1c\x66\x22\xd3\x51"
26138 "\xd3\xdf\x18\xc9\x30\x66\xed\xb1"
26139 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5"
26140 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1"
26141 "\xe6\x16\xa2\xac\xde\x47\x40",
26142 .rlen = 63,
26143 }, {
26144 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
26145 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
26146 .klen = 16,
26147 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
26148 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
26149 .assoc = "",
26150 .alen = 0,
26151 .input = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c"
26152 "\xa5\x07\x12\xa7\x12\x39\x60\x66"
26153 "\x30\x81\x4a\x03\x78\x28\x45\x52"
26154 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66"
26155 "\x6f\x45\xd7\x3b\x67\x6f\x51\xb9"
26156 "\xc0\x3d\x6c\xca\x1e\xae\xff\xb6"
26157 "\x79\xa9\xe4\x82\x5d\x4c\x2d\xdf"
26158 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d"
26159 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a"
26160 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb",
26161 .ilen = 80,
26162 .result = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
26163 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
26164 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
26165 "\x19\x33\xe0\xf4\x40\x81\x72\x28"
26166 "\xe1\x8b\x1c\xf8\x91\x78\xff\xaf"
26167 "\xb0\x68\x69\xf2\x27\x35\x91\x84"
26168 "\x2e\x37\x5b\x00\x04\xff\x16\x9c"
26169 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a",
26170 .rlen = 64,
26171 }, {
26172 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
26173 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
26174 .klen = 16,
26175 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
26176 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
26177 .assoc = "\xc5",
26178 .alen = 1,
26179 .input = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e"
26180 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3",
26181 .ilen = 16,
26182 .result = "",
26183 .rlen = 0,
26184 }, {
26185 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
26186 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
26187 .klen = 16,
26188 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
26189 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
26190 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
26191 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
26192 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
26193 "\x6b\x83\x66\xaf\x3e\x27\xc9",
26194 .alen = 31,
26195 .input = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38"
26196 "\x03\x12\xf9\xcc\x9e\x46\x42\x92",
26197 .ilen = 16,
26198 .result = "",
26199 .rlen = 0,
26200 }, {
26201 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
26202 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
26203 .klen = 16,
26204 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
26205 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
26206 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
26207 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
26208 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
26209 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
26210 .alen = 32,
26211 .input = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2"
26212 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0",
26213 .ilen = 16,
26214 .result = "",
26215 .rlen = 0,
26216 }, {
26217 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
26218 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
26219 .klen = 16,
26220 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
26221 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
26222 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
26223 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
26224 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
26225 "\xee\xde\x23\x60\xf2\xe5\x08\xcc"
26226 "\x97",
26227 .alen = 33,
26228 .input = "\x28\x64\x78\x51\x55\xd8\x56\x4a"
26229 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94",
26230 .ilen = 16,
26231 .result = "",
26232 .rlen = 0,
26233 }, {
26234 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
26235 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
26236 .klen = 16,
26237 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
26238 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
26239 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
26240 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
26241 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
26242 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3"
26243 "\xa6\xbf\x31\x93\x60\xcd\xda\x63"
26244 "\x2c\xb1\xaa\x19\xc8\x19\xf8\xeb"
26245 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2"
26246 "\xcd\x2c\x45\x58\xbd\x8e\x80",
26247 .alen = 63,
26248 .input = "\xb3\xa6\x00\x4e\x09\x20\xac\x21"
26249 "\x77\x72\x69\x76\x2d\x36\xe5\xc8",
26250 .ilen = 16,
26251 .result = "",
26252 .rlen = 0,
26253 }, {
26254 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
26255 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
26256 .klen = 16,
26257 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
26258 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
26259 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
26260 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
26261 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
26262 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a"
26263 "\xb4\x6b\x35\xc2\xc1\xdf\xed\x60"
26264 "\x46\xc1\x3e\x7f\x8c\xc2\x0e\x7a"
26265 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d"
26266 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01",
26267 .alen = 64,
26268 .input = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd"
26269 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14",
26270 .ilen = 16,
26271 .result = "",
26272 .rlen = 0,
26273 }, {
26274 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
26275 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
26276 .klen = 16,
26277 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
26278 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
26279 .assoc = "\x31",
26280 .alen = 1,
26281 .input = "\x1d\x47\x17\x34\x86\xf5\x54\x1a"
26282 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9"
26283 "\xbf",
26284 .ilen = 17,
26285 .result = "\x40",
26286 .rlen = 1,
26287 }, {
26288 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
26289 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
26290 .klen = 16,
26291 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
26292 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
26293 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
26294 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
26295 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
26296 "\xf4\x94\x9f\xc1\x5a\x61\x85",
26297 .alen = 31,
26298 .input = "\x78\x90\x52\xae\x0f\xf7\x2e\xef"
26299 "\x63\x09\x08\x58\xb5\x56\xbd\x72"
26300 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92"
26301 "\x18\xe9\xa4\x33\x90\xba\x62\xb5"
26302 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51"
26303 "\x85\x87\x17\x09\x42\xed\x4e",
26304 .ilen = 47,
26305 .result = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
26306 "\x6d\x92\x42\x61\xa7\x58\x37\xdb"
26307 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a"
26308 "\x24\xa0\xd6\xb7\x11\x79\x6c",
26309 .rlen = 31,
26310 }, {
26311 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
26312 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
26313 .klen = 16,
26314 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
26315 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
26316 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
26317 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
26318 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
26319 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
26320 .alen = 32,
26321 .input = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41"
26322 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf"
26323 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e"
26324 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a"
26325 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6"
26326 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7",
26327 .ilen = 48,
26328 .result = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
26329 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2"
26330 "\xdb\x74\x36\x23\x11\x58\x3f\x93"
26331 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3",
26332 .rlen = 32,
26333 }, {
26334 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
26335 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
26336 .klen = 16,
26337 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
26338 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
26339 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
26340 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
26341 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
26342 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4"
26343 "\xee",
26344 .alen = 33,
26345 .input = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc"
26346 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e"
26347 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9"
26348 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd"
26349 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37"
26350 "\x08\x06\x5a\xe5\x96\x10\x95\xc2"
26351 "\x5e",
26352 .ilen = 49,
26353 .result = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
26354 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
26355 "\x05\x36\x42\xa7\x16\xf8\xc1\xad"
26356 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a"
26357 "\x72",
26358 .rlen = 33,
26359 }, {
26360 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
26361 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
26362 .klen = 16,
26363 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
26364 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
26365 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
26366 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
26367 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
26368 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa"
26369 "\xfd\xc9\x4a\xa9\xa9\x39\x4b\x54"
26370 "\xc8\x0e\x24\x7f\x5e\x10\x7a\x45"
26371 "\x10\x0b\x56\x85\xad\x54\xaa\x66"
26372 "\xa8\x43\xcd\xd4\x9b\xb7\xfa",
26373 .alen = 63,
26374 .input = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22"
26375 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f"
26376 "\xef\x36\x19\xae\x91\xfa\xd6\x63"
26377 "\x46\xea\x8a\x39\x14\x21\xa6\x37"
26378 "\x18\xfc\x97\x3e\x16\xa5\x4d\x39"
26379 "\x45\x2e\x69\xcc\x9c\x5f\xdf\x6d"
26380 "\x5e\xa2\xbf\xac\x83\x32\x72\x52"
26381 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6"
26382 "\xe9\x5a\x50\x98\x00\x58\xc9\x86"
26383 "\x4f\x20\x37\xdb\x7b\x22\xa3",
26384 .ilen = 79,
26385 .result = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
26386 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
26387 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
26388 "\x68\x28\x73\x40\x9f\x96\x4a\x60"
26389 "\x80\xf4\x4b\xf4\xc1\x3d\xd0\x93"
26390 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8"
26391 "\x1b\xa5\x50\xed\x87\xa9\x72\x59"
26392 "\x9c\x44\xb2\xa4\x99\x98\x34",
26393 .rlen = 63,
26394 }, {
26395 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
26396 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
26397 .klen = 16,
26398 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
26399 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
26400 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
26401 "\x50\xc4\xde\x82\x90\x21\x11\x73"
26402 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
26403 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81"
26404 "\x0b\x76\x4f\xd7\x0a\x4b\x5e\x51"
26405 "\xe3\x1d\xb9\xe5\x21\xb9\x8f\xd4"
26406 "\x3d\x72\x3e\x26\x16\xa9\xca\x32"
26407 "\x77\x47\x63\x14\x95\x3d\xe4\x34",
26408 .alen = 64,
26409 .input = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb"
26410 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b"
26411 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b"
26412 "\x39\xda\x8b\x48\xec\xb2\x00\x4e"
26413 "\x80\x6f\x46\x4f\x9b\x1e\xbb\x35"
26414 "\xea\x5a\xbc\xa2\x36\xa5\x89\x45"
26415 "\xc2\xd6\xd7\x15\x0b\xf6\x6c\x56"
26416 "\xec\x99\x7d\x61\xb3\x15\x93\xed"
26417 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe"
26418 "\x95\x74\x44\xd5\x54\xa6\x27\x06",
26419 .ilen = 80,
26420 .result = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
26421 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
26422 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
26423 "\x29\x56\x52\x19\x79\xf5\xe9\x37"
26424 "\x8f\xa1\x50\x23\x22\x4f\xe3\x91"
26425 "\xe9\x21\x5e\xbf\x52\x23\x95\x37"
26426 "\x48\x0c\x38\x8f\xf0\xff\x92\x24"
26427 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01",
26428 .rlen = 64,
26429 }, {
26430 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
26431 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
26432 .klen = 16,
26433 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
26434 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
26435 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
26436 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
26437 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
26438 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
26439 "\x1a\x22\x53\x05\x6b\x5c\x71\x4f"
26440 "\xfd\x2d\x4d\x4c\xe5\x62\xa5\x63"
26441 "\x6a\xda\x26\xc8\x7f\xff\xea\xfd"
26442 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68"
26443 "\x58",
26444 .alen = 65,
26445 .input = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9"
26446 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb"
26447 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0"
26448 "\x38\xa4\x74\xa5\x04\x15\x63\x05"
26449 "\x8f\x54\x81\x06\x5a\x6b\xa4\x63"
26450 "\x6d\xa7\x21\xcb\xff\x42\x30\x8e"
26451 "\x3b\xd1\xca\x3f\x4b\x1a\xb8\xc3"
26452 "\x42\x01\xe6\xbc\x75\x15\x87\xee"
26453 "\xc9\x8e\x65\x01\xd9\xd8\xb5\x9f"
26454 "\x48\x86\xa6\x5f\x2c\xc7\xb5\xb0"
26455 "\xed\x5d\x14\x7c\x3f\x40\xb1\x0b"
26456 "\x72\xef\x94\x8d\x7a\x85\x56\xe5"
26457 "\x56\x08\x15\x56\xba\xaf\xbd\xf0"
26458 "\x20\xef\xa0\xf6\xa9\xad\xa2\xc9"
26459 "\x1c\x3b\x28\x51\x7e\x77\xb2\x18"
26460 "\x4f\x61\x64\x37\x22\x36\x6d\x78"
26461 "\xed\xed\x35\xe8\x83\xa5\xec\x25"
26462 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc"
26463 "\x20",
26464 .ilen = 145,
26465 .result = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
26466 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
26467 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
26468 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
26469 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
26470 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
26471 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
26472 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
26473 "\x8a\xdf\x27\xa0\xe4\x60\x99\xae"
26474 "\x8e\x43\xd9\x39\x7b\x10\x40\x67"
26475 "\x5c\x7e\xc9\x70\x63\x34\xca\x59"
26476 "\xfe\x86\xbc\xb7\x9c\x39\xf3\x6d"
26477 "\x6a\x41\x64\x6f\x16\x7f\x65\x7e"
26478 "\x89\x84\x68\xeb\xb0\x51\xbe\x55"
26479 "\x33\x16\x59\x6c\x3b\xef\x88\xad"
26480 "\x2f\xab\xbc\x25\x76\x87\x41\x2f"
26481 "\x36",
26482 .rlen = 129,
26483 }, {
26484 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
26485 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
26486 .klen = 16,
26487 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
26488 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
26489 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
26490 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
26491 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
26492 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
26493 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
26494 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
26495 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
26496 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
26497 "\x21\xf7\x42\x89\xac\x12\x2a\x54"
26498 "\x69\xee\x18\xc7\x8d\xed\xe8\xfd"
26499 "\xbb\x04\x28\xe6\x8a\x3c\x98\xc1"
26500 "\x04\x2d\xa9\xa1\x24\x83\xff\xe9"
26501 "\x55\x7a\xf0\xd1\xf6\x63\x05\xe1"
26502 "\xd9\x1e\x75\x72\xc1\x9f\xae\x32"
26503 "\xe1\x6b\xcd\x9e\x61\x19\x23\x86"
26504 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9"
26505 "\x51",
26506 .alen = 129,
26507 .input = "\x36\x78\xb9\x22\xde\x62\x35\x55"
26508 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82"
26509 "\x01\xe9\x5a\x07\xea\x46\xaf\x91"
26510 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2"
26511 "\xdb\xd2\x9d\x59\xde\xfc\x83\x00"
26512 "\xf5\x46\xac\x97\xd5\x57\xa9\xb9"
26513 "\x1f\x8c\xe8\xca\x68\x8b\x91\x0c"
26514 "\x01\xbe\x0a\xaf\x7c\xf6\x67\xa4"
26515 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19"
26516 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf"
26517 "\xa2",
26518 .ilen = 81,
26519 .result = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
26520 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
26521 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
26522 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
26523 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
26524 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
26525 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
26526 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
26527 "\x54",
26528 .rlen = 65,
26529 }, {
26530 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
26531 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
26532 .klen = 16,
26533 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
26534 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
26535 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
26536 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
26537 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
26538 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
26539 .alen = 32,
26540 .input = "\x08\x1b\x95\x0e\x41\x95\x02\x4b"
26541 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e"
26542 "\x89\x14\x33\x70\x0a\xbc\xea\x39"
26543 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5"
26544 "\x33\x33\x9c\xd7\x42\x34\x49\x8e"
26545 "\x2f\x03\x30\x05\x47\xaf\x34",
26546 .ilen = 47,
26547 .result = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
26548 "\xf3\x89\x20\x5b\x7c\x57\x89\x07"
26549 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d"
26550 "\x6e\xde\xee\xa2\x08\x12\xc7\xba",
26551 .rlen = 32,
26552 }, {
26553 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
26554 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
26555 .klen = 16,
26556 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
26557 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
26558 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
26559 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
26560 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
26561 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
26562 .alen = 32,
26563 .input = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68"
26564 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6"
26565 "\x25\xd8\xf7\x1f\x10\x15\x48\x61"
26566 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6"
26567 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98"
26568 "\xb9\x9c\xe5\xef\xf2\x05",
26569 .ilen = 46,
26570 .result = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
26571 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d"
26572 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47"
26573 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91",
26574 .rlen = 32,
26575 }, {
26576 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
26577 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
26578 .klen = 16,
26579 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
26580 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
26581 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
26582 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
26583 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
26584 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
26585 .alen = 32,
26586 .input = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d"
26587 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf"
26588 "\x1a\x5a\x70\x15\x5a\x10\x40\x51"
26589 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77"
26590 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f",
26591 .ilen = 40,
26592 .result = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
26593 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13"
26594 "\x2e\x86\x93\x45\x3a\x58\x4f\x61"
26595 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68",
26596 .rlen = 32,
26597 }, {
26598 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
26599 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
26600 .klen = 16,
26601 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
26602 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
26603 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
26604 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98"
26605 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74"
26606 "\x81\x5c\x53\x35\xe0\x17\xbd\x88",
26607 .alen = 32,
26608 .input = "\xf1\x62\x44\xc7\x5f\x19\xca\x43"
26609 "\x47\x2c\xaf\x68\x82\xbd\x51\xef"
26610 "\x3d\x65\xd8\x45\x2d\x06\x07\x78"
26611 "\x08\x2e\xb3\x23\xcd\x81\x12\x55"
26612 "\x1a",
26613 .ilen = 33,
26614 .result = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
26615 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a"
26616 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a"
26617 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e",
26618 .rlen = 32,
26619 }, {
26620 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7"
26621 "\x96\x4e\x63\x33\x69\x8d\x02\x9b"
26622 "\x23\xf9\x22\xeb\x80\xa0\xb1\x81"
26623 "\xe2\x73\xc3\x21\x4d\x47\x8d\xf4",
26624 .klen = 32,
26625 .iv = "\xf8\x5e\x31\xf7\xd7\xb2\x25\x3e"
26626 "\xb7\x85\x90\x58\x67\x57\x33\x1d",
26627 .assoc = "",
26628 .alen = 0,
26629 .input = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf"
26630 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70",
26631 .ilen = 16,
26632 .result = "",
26633 .rlen = 0,
26634 }, {
26635 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3"
26636 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1"
26637 "\x4d\xbc\x2d\x6f\x85\x40\x33\x9a"
26638 "\xa3\xa0\xa1\xfa\x27\xa6\x2c\xca",
26639 .klen = 32,
26640 .iv = "\x34\x83\x6a\x96\xe7\x2d\xce\x5a"
26641 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23",
26642 .assoc = "",
26643 .alen = 0,
26644 .input = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7"
26645 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78"
26646 "\x53",
26647 .ilen = 17,
26648 .result = "\x53",
26649 .rlen = 1,
26650 }, {
26651 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef"
26652 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8"
26653 "\x77\x7e\x39\xf3\x8a\xe0\xb5\xb4"
26654 "\x65\xce\x80\xd2\x01\x05\xcb\xa1",
26655 .klen = 32,
26656 .iv = "\x71\xa8\xa4\x35\xf7\xa9\x76\x75"
26657 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29",
26658 .assoc = "",
26659 .alen = 0,
26660 .input = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07"
26661 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37"
26662 "\xa5\x64\x31\x5c\xca\x73\x9b\x43"
26663 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5"
26664 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9"
26665 "\xb8\x4d\x11\x42\xd1\xf8\xf1",
26666 .ilen = 47,
26667 .result = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83"
26668 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c"
26669 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7"
26670 "\xf6\xf0\x27\xb4\x25\x4c\x83",
26671 .rlen = 31,
26672 }, {
26673 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a"
26674 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae"
26675 "\xa2\x40\x45\x77\x90\x80\x37\xce"
26676 "\x26\xfb\x5f\xaa\xdb\x64\x6b\x77",
26677 .klen = 32,
26678 .iv = "\xae\xcc\xde\xd5\x07\x25\x1f\x91"
26679 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30",
26680 .assoc = "",
26681 .alen = 0,
26682 .input = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37"
26683 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f"
26684 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a"
26685 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26"
26686 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f"
26687 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6",
26688 .ilen = 48,
26689 .result = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f"
26690 "\x7a\x81\xff\x55\x52\x56\xdc\x33"
26691 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1"
26692 "\xb7\x1d\x06\x8d\xff\xab\x22\x98",
26693 .rlen = 32,
26694 }, {
26695 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26"
26696 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4"
26697 "\xcc\x03\x50\xfc\x95\x20\xb9\xe7"
26698 "\xe8\x29\x3e\x83\xb5\xc3\x0a\x4e",
26699 .klen = 32,
26700 .iv = "\xea\xf1\x18\x74\x17\xa0\xc8\xad"
26701 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36",
26702 .assoc = "",
26703 .alen = 0,
26704 .input = "\xc2\xf4\x40\x55\xf9\x59\xff\x73"
26705 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a"
26706 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22"
26707 "\x23\x06\x1e\xf8\x89\x22\xf4\x46"
26708 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa"
26709 "\x15\xd7\x83\x19\xfd\x31\x59\x5b"
26710 "\x32",
26711 .ilen = 49,
26712 .result = "\x08\x84\x34\x44\x9f\xde\x1c\xbb"
26713 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39"
26714 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb"
26715 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f"
26716 "\x2e",
26717 .rlen = 33,
26718 }, {
26719 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42"
26720 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba"
26721 "\xf6\xc5\x5c\x80\x9a\xc0\x3b\x01"
26722 "\xa9\x56\x1d\x5b\x8f\x22\xa9\x25",
26723 .klen = 32,
26724 .iv = "\x27\x16\x51\x13\x27\x1c\x71\xc9"
26725 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c",
26726 .assoc = "",
26727 .alen = 0,
26728 .input = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb"
26729 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28"
26730 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70"
26731 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6"
26732 "\x21\x72\xee\x7e\x65\x95\xe5\xcc"
26733 "\x01\xb7\x39\xa6\x51\x15\xca\xff"
26734 "\x61\xdc\x97\x38\xcc\xf4\xca\xc7"
26735 "\x83\x9b\x05\x11\x72\x60\xf0\xb4"
26736 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23"
26737 "\xaa\x2d\xfc\x4e\x35\x05\x59",
26738 .ilen = 79,
26739 .result = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7"
26740 "\x7c\x35\x63\x77\x46\x9f\x61\x3f"
26741 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14"
26742 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46"
26743 "\x3c\xb6\x83\x4e\xb4\x26\xc7\x73"
26744 "\x22\xda\x52\x8b\x7d\x11\x98\xea"
26745 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad"
26746 "\x20\x76\x5a\xdc\x4e\x71\x13",
26747 .rlen = 63,
26748 }, {
26749 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e"
26750 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1"
26751 "\x21\x87\x67\x04\x9f\x60\xbd\x1b"
26752 "\x6a\x84\xfc\x34\x6a\x81\x48\xfb",
26753 .klen = 32,
26754 .iv = "\x63\x3b\x8b\xb3\x37\x98\x1a\xe5"
26755 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42",
26756 .assoc = "",
26757 .alen = 0,
26758 .input = "\x11\x7c\x7d\xef\xce\x29\x95\xec"
26759 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75"
26760 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa"
26761 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc"
26762 "\x5f\x8c\x1c\x60\x15\x4f\x9b\x20"
26763 "\x7b\xff\xcd\x82\x60\x84\xf4\xa5"
26764 "\x20\x9a\x05\x19\x5b\x02\x0a\x72"
26765 "\x43\x11\x26\x58\xcf\xc5\x41\xcf"
26766 "\x13\xcc\xde\x32\x92\xfa\x86\xf2"
26767 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54",
26768 .ilen = 80,
26769 .result = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3"
26770 "\xfd\x0f\x15\x09\x40\xc3\x24\x45"
26771 "\x81\x99\xf0\x67\x63\x58\x5e\x2e"
26772 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c"
26773 "\x4b\x62\x87\x7c\x15\x38\xda\x70"
26774 "\x3d\xea\xe7\xf2\x40\xba\xae\x79"
26775 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78"
26776 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c",
26777 .rlen = 64,
26778 }, {
26779 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a"
26780 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7"
26781 "\x4b\x4a\x73\x89\xa4\x00\x3f\x34"
26782 "\x2c\xb1\xdb\x0c\x44\xe0\xe8\xd2",
26783 .klen = 32,
26784 .iv = "\xa0\x5f\xc5\x52\x47\x13\xc2\x01"
26785 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48",
26786 .assoc = "\xaf",
26787 .alen = 1,
26788 .input = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe"
26789 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0",
26790 .ilen = 16,
26791 .result = "",
26792 .rlen = 0,
26793 }, {
26794 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95"
26795 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd"
26796 "\x76\x0c\x7f\x0d\xa9\xa0\xc1\x4e"
26797 "\xed\xdf\xb9\xe4\x1e\x3f\x87\xa8",
26798 .klen = 32,
26799 .iv = "\xdc\x84\xfe\xf1\x58\x8f\x6b\x1c"
26800 "\xbe\x57\x20\xe3\x37\x7a\x48\x4f",
26801 .assoc = "\xeb\x4d\x8d\x59\x9c\x2e\x15\xa3"
26802 "\xde\x8d\x4d\x07\x36\x43\x78\xd0"
26803 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b"
26804 "\x4e\xf6\x29\xd1\x8b\x6f\x56",
26805 .alen = 31,
26806 .input = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d"
26807 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69",
26808 .ilen = 16,
26809 .result = "",
26810 .rlen = 0,
26811 }, {
26812 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1"
26813 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3"
26814 "\xa0\xce\x8a\x91\xae\x40\x43\x68"
26815 "\xae\x0d\x98\xbd\xf8\x9e\x26\x7f",
26816 .klen = 32,
26817 .iv = "\x19\xa9\x38\x91\x68\x0b\x14\x38"
26818 "\x3f\x31\xd2\x74\x31\x9e\x0a\x55",
26819 .assoc = "\x28\x72\xc7\xf8\xac\xaa\xbe\xbf"
26820 "\x5f\x67\xff\x99\x30\x67\x3b\xd6"
26821 "\x35\x2f\x90\xd3\x31\x90\x04\x74"
26822 "\x0f\x23\x08\xa9\x65\xce\xf6\xea",
26823 .alen = 32,
26824 .input = "\xb9\x57\x13\x3e\x82\x31\x61\x65"
26825 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2",
26826 .ilen = 16,
26827 .result = "",
26828 .rlen = 0,
26829 }, {
26830 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd"
26831 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda"
26832 "\xca\x91\x96\x15\xb4\xe0\xc5\x81"
26833 "\x70\x3a\x77\x95\xd2\xfd\xc5\x55",
26834 .klen = 32,
26835 .iv = "\x55\xcd\x72\x30\x78\x86\xbd\x54"
26836 "\xc0\x0b\x84\x06\x2b\xc2\xcd\x5b",
26837 .assoc = "\x64\x97\x00\x98\xbc\x25\x67\xdb"
26838 "\xe0\x41\xb1\x2a\x2a\x8c\xfe\xdd"
26839 "\x5f\xf2\x9c\x58\x36\x30\x86\x8e"
26840 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1"
26841 "\x01",
26842 .alen = 33,
26843 .input = "\x81\x96\x34\xde\xbb\x36\xdd\x3e"
26844 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1",
26845 .ilen = 16,
26846 .result = "",
26847 .rlen = 0,
26848 }, {
26849 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9"
26850 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0"
26851 "\xf5\x53\xa1\x9a\xb9\x80\x47\x9b"
26852 "\x31\x68\x56\x6e\xac\x5c\x65\x2c",
26853 .klen = 32,
26854 .iv = "\x92\xf2\xac\xcf\x88\x02\x65\x70"
26855 "\x41\xe5\x36\x97\x25\xe7\x90\x61",
26856 .assoc = "\xa1\xbb\x3a\x37\xcc\xa1\x10\xf7"
26857 "\x61\x1c\x63\xbc\x24\xb0\xc0\xe3"
26858 "\x8a\xb4\xa7\xdc\x3b\xd0\x08\xa8"
26859 "\x92\x7f\xc5\x5a\x19\x8c\x34\x97"
26860 "\x0f\x95\x9b\x18\xe4\x8d\xb4\x24"
26861 "\xb9\x33\x28\x18\xe1\x9d\x14\xe0"
26862 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e"
26863 "\x07\x8c\xfc\x88\x2d\xb8\x53",
26864 .alen = 63,
26865 .input = "\x2e\x99\xb6\x79\x57\x56\x80\x36"
26866 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c",
26867 .ilen = 16,
26868 .result = "",
26869 .rlen = 0,
26870 }, {
26871 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05"
26872 "\xa1\x89\xbc\x04\x21\x42\x22\xe6"
26873 "\x1f\x15\xad\x1e\xbe\x20\xc9\xb4"
26874 "\xf3\x95\x35\x46\x86\xbb\x04\x03",
26875 .klen = 32,
26876 .iv = "\xce\x17\xe5\x6f\x98\x7e\x0e\x8c"
26877 "\xc2\xbf\xe8\x29\x1f\x0b\x52\x68",
26878 .assoc = "\xdd\xe0\x74\xd6\xdc\x1d\xb8\x13"
26879 "\xe2\xf6\x15\x4d\x1e\xd4\x83\xe9"
26880 "\xb4\x76\xb3\x60\x40\x70\x8a\xc1"
26881 "\x53\xac\xa4\x32\xf3\xeb\xd3\x6e"
26882 "\x1e\x42\xa0\x46\x45\x9f\xc7\x22"
26883 "\xd3\x43\xbc\x7e\xa5\x47\x2a\x6f"
26884 "\x91\x19\x70\x1e\xe1\xfe\x25\x49"
26885 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03",
26886 .alen = 64,
26887 .input = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce"
26888 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2",
26889 .ilen = 16,
26890 .result = "",
26891 .rlen = 0,
26892 }, {
26893 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21"
26894 "\x22\x63\x6e\x96\x1b\x67\xe4\xec"
26895 "\x49\xd7\xb9\xa2\xc3\xc0\x4b\xce"
26896 "\xb4\xc3\x14\x1e\x61\x1a\xa3\xd9",
26897 .klen = 32,
26898 .iv = "\x0b\x3c\x1f\x0e\xa8\xf9\xb7\xa7"
26899 "\x42\x9a\x9a\xba\x19\x30\x15\x6e",
26900 .assoc = "\x1a",
26901 .alen = 1,
26902 .input = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6"
26903 "\x17\x75\x81\x16\xdf\x26\xff\x67"
26904 "\x92",
26905 .ilen = 17,
26906 .result = "\x29",
26907 .rlen = 1,
26908 }, {
26909 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c"
26910 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2"
26911 "\x74\x9a\xc4\x27\xc8\x60\xcd\xe8"
26912 "\x75\xf0\xf2\xf7\x3b\x79\x42\xb0",
26913 .klen = 32,
26914 .iv = "\x47\x60\x59\xad\xb8\x75\x60\xc3"
26915 "\xc3\x74\x4c\x4c\x13\x54\xd8\x74",
26916 .assoc = "\x56\x29\xe7\x15\xfc\x14\x0a\x4a"
26917 "\xe4\xaa\x79\x70\x12\x1d\x08\xf6"
26918 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5"
26919 "\xd6\x07\x62\xe3\xa8\xa9\x12",
26920 .alen = 31,
26921 .input = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd"
26922 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda"
26923 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01"
26924 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10"
26925 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6"
26926 "\x76\xc3\xf5\x3a\x76\xfd\x4a",
26927 .ilen = 47,
26928 .result = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1"
26929 "\x04\xe1\xa6\x94\x10\xe6\x39\x77"
26930 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb"
26931 "\x06\x13\x9a\xd9\x5e\xc0\xfa",
26932 .rlen = 31,
26933 }, {
26934 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58"
26935 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9"
26936 "\x9e\x5c\xd0\xab\xcd\x00\x4f\x01"
26937 "\x37\x1e\xd1\xcf\x15\xd8\xe2\x86",
26938 .klen = 32,
26939 .iv = "\x84\x85\x92\x4d\xc8\xf1\x08\xdf"
26940 "\x44\x4e\xff\xdd\x0d\x78\x9a\x7a",
26941 .assoc = "\x93\x4e\x21\xb4\x0c\x90\xb3\x66"
26942 "\x65\x84\x2b\x01\x0b\x42\xcb\xfc"
26943 "\x33\xbd\xd6\xed\x50\x50\x10\x0e"
26944 "\x97\x35\x41\xbb\x82\x08\xb1\xf2",
26945 .alen = 32,
26946 .input = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a"
26947 "\x71\xce\xe4\xaa\x45\x70\xe6\x84"
26948 "\x62\x48\x08\x64\x86\x6a\xdf\xec"
26949 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4"
26950 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e"
26951 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca",
26952 .ilen = 48,
26953 .result = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed"
26954 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d"
26955 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15"
26956 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7",
26957 .rlen = 32,
26958 }, {
26959 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74"
26960 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff"
26961 "\xc8\x1e\xdb\x2f\xd2\xa0\xd1\x1b"
26962 "\xf8\x4c\xb0\xa8\xef\x37\x81\x5d",
26963 .klen = 32,
26964 .iv = "\xc0\xaa\xcc\xec\xd8\x6c\xb1\xfb"
26965 "\xc5\x28\xb1\x6e\x07\x9d\x5d\x81",
26966 .assoc = "\xd0\x73\x5a\x54\x1d\x0b\x5b\x82"
26967 "\xe5\x5f\xdd\x93\x05\x66\x8e\x02"
26968 "\x5e\x80\xe1\x71\x55\xf0\x92\x28"
26969 "\x59\x62\x20\x94\x5c\x67\x50\xc8"
26970 "\x58",
26971 .alen = 33,
26972 .input = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60"
26973 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34"
26974 "\xe9\xf8\x80\x65\x53\xd0\x72\x70"
26975 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c"
26976 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67"
26977 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4"
26978 "\xc3",
26979 .ilen = 49,
26980 .result = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09"
26981 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84"
26982 "\x28\x30\x64\x92\x96\x98\x72\x2e"
26983 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e"
26984 "\xdb",
26985 .rlen = 33,
26986 }, {
26987 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90"
26988 "\x26\xcc\x36\xdc\x02\xf8\xef\x05"
26989 "\xf3\xe1\xe7\xb3\xd8\x40\x53\x35"
26990 "\xb9\x79\x8f\x80\xc9\x96\x20\x33",
26991 .klen = 32,
26992 .iv = "\xfd\xce\x06\x8b\xe9\xe8\x5a\x17"
26993 "\x46\x02\x63\x00\x01\xc1\x20\x87",
26994 .assoc = "\x0c\x98\x94\xf3\x2d\x87\x04\x9e"
26995 "\x66\x39\x8f\x24\xff\x8a\x50\x08"
26996 "\x88\x42\xed\xf6\x5a\x90\x14\x42"
26997 "\x1a\x90\xfe\x6c\x36\xc6\xf0\x9f"
26998 "\x66\xa0\xb5\x2d\x2c\xf8\x25\x15"
26999 "\x55\x90\xa2\x7e\x77\x94\x96\x3a"
27000 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42"
27001 "\xe2\xa3\x84\x04\x0b\xe1\xce",
27002 .alen = 63,
27003 .input = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a"
27004 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8"
27005 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b"
27006 "\x59\xc0\x79\xbc\x17\xa0\x15\x01"
27007 "\xf5\x72\xfb\x5a\xe7\xaf\x07\xe3"
27008 "\x1b\x49\x21\x34\x23\x63\x55\x5e"
27009 "\xee\x4f\x34\x17\xfa\xfe\xa5\x0c"
27010 "\xed\x0b\x23\xea\x9b\xda\x57\x2f"
27011 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45"
27012 "\x7f\xfa\xf0\xbf\xc4\x98\x78",
27013 .ilen = 79,
27014 .result = "\x1b\x61\x23\x5b\x71\x26\xae\x25"
27015 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a"
27016 "\x53\xf2\x70\x17\x9b\x38\xf4\x48"
27017 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54"
27018 "\xea\xcb\xb6\x79\x45\xfc\xaa\x54"
27019 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e"
27020 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35"
27021 "\xd5\xa4\x6a\xd4\x09\xc2\x08",
27022 .rlen = 63,
27023 }, {
27024 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac"
27025 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b"
27026 "\x1d\xa3\xf3\x38\xdd\xe0\xd5\x4e"
27027 "\x7b\xa7\x6e\x58\xa3\xf5\xbf\x0a",
27028 .klen = 32,
27029 .iv = "\x39\xf3\x3f\x2b\xf9\x64\x03\x33"
27030 "\xc7\xdd\x15\x91\xfb\xe6\xe2\x8d",
27031 .assoc = "\x49\xbc\xce\x92\x3d\x02\xad\xba"
27032 "\xe7\x13\x41\xb6\xf9\xaf\x13\x0f"
27033 "\xb2\x04\xf8\x7a\x5f\x30\x96\x5b"
27034 "\xdc\xbd\xdd\x44\x10\x25\x8f\x75"
27035 "\x75\x4d\xb9\x5b\x8e\x0a\x38\x13"
27036 "\x6f\x9f\x36\xe4\x3a\x3e\xac\xc9"
27037 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e"
27038 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37",
27039 .alen = 64,
27040 .input = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1"
27041 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb"
27042 "\x35\x35\x60\x9d\x06\x40\x65\xc1"
27043 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5"
27044 "\x2b\xcb\xde\x18\x78\x6b\x42\xbe"
27045 "\x6d\x24\xd0\xb2\x7d\xd7\x08\x8f"
27046 "\x4a\x18\x98\xad\x8c\xf2\x97\xb4"
27047 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06"
27048 "\xce\x9e\x34\x81\xf0\x89\x11\x13"
27049 "\x02\x65\xa1\x7c\xdf\x07\x33\x06",
27050 .ilen = 80,
27051 .result = "\x58\x85\x5c\xfa\x81\xa1\x57\x40"
27052 "\x08\x4a\x6e\xda\xf8\x78\x44\x90"
27053 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62"
27054 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b"
27055 "\xf8\x78\xba\xa7\xa6\x0e\xbd\x52"
27056 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d"
27057 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00"
27058 "\xa5\xa7\x01\x13\x04\x49\xf2\x04",
27059 .rlen = 64,
27060 }, {
27061 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7"
27062 "\x28\x80\x9a\xfe\xf6\x41\x74\x12"
27063 "\x48\x65\xfe\xbc\xe2\x80\x57\x68"
27064 "\x3c\xd4\x4d\x31\x7d\x54\x5f\xe1",
27065 .klen = 32,
27066 .iv = "\x76\x18\x79\xca\x09\xdf\xac\x4e"
27067 "\x48\xb7\xc7\x23\xf5\x0a\xa5\x93",
27068 .assoc = "\x85\xe1\x08\x32\x4d\x7e\x56\xd5"
27069 "\x68\xed\xf3\x47\xf3\xd3\xd6\x15"
27070 "\xdd\xc7\x04\xfe\x64\xd0\x18\x75"
27071 "\x9d\xeb\xbc\x1d\xea\x84\x2e\x4c"
27072 "\x83\xf9\xbe\x8a\xef\x1c\x4b\x10"
27073 "\x89\xaf\xcb\x4b\xfe\xe7\xc1\x58"
27074 "\xca\xea\xc6\x87\xc0\x53\x03\xd9"
27075 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a"
27076 "\x04",
27077 .alen = 65,
27078 .input = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6"
27079 "\x85\x43\x88\xd0\xd7\x78\x60\x19"
27080 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec"
27081 "\xf7\x84\x85\xc7\x27\x0f\x74\x57"
27082 "\x28\x9e\xdd\x90\x3c\x43\x12\xc5"
27083 "\x51\x3d\x39\x8f\xa5\xf4\xe0\x0b"
27084 "\x57\x04\xf1\x6d\xfe\x9b\x84\x27"
27085 "\xe8\xeb\x4d\xda\x02\x0a\xc5\x49"
27086 "\x1a\x55\x5e\x50\x56\x4d\x94\xda"
27087 "\x20\xf8\x12\x54\x50\xb3\x11\xda"
27088 "\xed\x44\x27\x67\xd5\xd1\x8b\x4b"
27089 "\x38\x67\x56\x65\x59\xda\xe6\x97"
27090 "\x81\xae\x2f\x92\x3b\xae\x22\x1c"
27091 "\x91\x59\x38\x18\x00\xe8\xba\x92"
27092 "\x04\x19\x56\xdf\xb0\x82\xeb\x6f"
27093 "\x2e\xdb\x54\x3c\x4b\xbb\x60\x90"
27094 "\x4c\x50\x10\x62\xba\x7a\xb1\x68"
27095 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f"
27096 "\xa5",
27097 .ilen = 145,
27098 .result = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c"
27099 "\x88\x24\x20\x6b\xf2\x9c\x06\x96"
27100 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b"
27101 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02"
27102 "\x07\x24\xbf\xd5\x08\x20\xd0\x4f"
27103 "\x90\xb3\x70\x24\x2f\x51\xc7\xbb"
27104 "\xd6\x84\xc0\xef\x9a\xa8\xca\xcc"
27105 "\x74\xab\x97\x53\xfe\xd0\xdb\x37"
27106 "\x37\x6a\x0e\x9f\x3f\xa3\x2a\xe3"
27107 "\x1b\x34\x6d\x51\x72\x2b\x17\xe7"
27108 "\x4d\xaa\x2c\x18\xda\xa3\x33\x89"
27109 "\x2a\x9f\xf4\xd2\xed\x76\x3d\x3f"
27110 "\x3c\x15\x9d\x8e\x4f\x3c\x27\xb0"
27111 "\x42\x3f\x2f\x8a\xd4\xc2\x10\xb2"
27112 "\x27\x7f\xe3\x34\x80\x02\x49\x4b"
27113 "\x07\x68\x22\x2a\x88\x25\x53\xb2"
27114 "\x2f",
27115 .rlen = 129,
27116 }, {
27117 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3"
27118 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18"
27119 "\x72\x28\x0a\x40\xe7\x20\xd9\x82"
27120 "\xfe\x02\x2b\x09\x57\xb3\xfe\xb7",
27121 .klen = 32,
27122 .iv = "\xb3\x3d\xb3\x69\x19\x5b\x54\x6a"
27123 "\xc9\x91\x79\xb4\xef\x2e\x68\x99",
27124 .assoc = "\xc2\x06\x41\xd1\x5d\xfa\xff\xf1"
27125 "\xe9\xc7\xa5\xd9\xed\xf8\x98\x1b"
27126 "\x07\x89\x10\x82\x6a\x70\x9a\x8f"
27127 "\x5e\x19\x9b\xf5\xc5\xe3\xcd\x22"
27128 "\x92\xa5\xc2\xb8\x51\x2e\x5e\x0e"
27129 "\xa4\xbe\x5f\xb1\xc1\x90\xd7\xe7"
27130 "\xf7\x52\xae\x28\x29\xa8\x22\xa4"
27131 "\x4f\xae\x48\xc2\xfa\x75\x8b\x9e"
27132 "\xce\x83\x2a\x88\x07\x55\xbb\x89"
27133 "\xf6\xdf\xac\xdf\x83\x08\xbf\x7d"
27134 "\xac\x30\x8b\x8e\x02\xac\x00\xf1"
27135 "\x30\x46\xe1\xbc\x75\xbf\x49\xbb"
27136 "\x26\x4e\x29\xf0\x2f\x21\xc6\x13"
27137 "\x92\xd9\x3d\x11\xe4\x10\x00\x8e"
27138 "\xd4\xd4\x58\x65\xa6\x2b\xe3\x25"
27139 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c"
27140 "\x4b",
27141 .alen = 129,
27142 .input = "\x7d\xde\x53\x22\xe4\x23\x3b\x30"
27143 "\x78\xde\x35\x90\x7a\xd9\x0b\x93"
27144 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c"
27145 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf"
27146 "\x63\x7f\x2d\x0c\xcf\x96\xec\x64"
27147 "\x1a\x87\xcc\x7d\x2c\x5e\x81\x4b"
27148 "\xd2\x8f\x4c\x7c\x00\xb1\xb4\xe0"
27149 "\x87\x4d\xb1\xbc\xd8\x78\x2c\x17"
27150 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6"
27151 "\x20\x13\x83\x46\xaf\xff\xe3\x0f"
27152 "\x72",
27153 .ilen = 81,
27154 .result = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78"
27155 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d"
27156 "\xd2\x39\x93\xa3\xab\x18\x7a\x95"
27157 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8"
27158 "\x15\xd1\xc3\x04\x69\x32\xe3\x4d"
27159 "\xaa\xc2\x04\x8b\xf2\xfa\xdc\x4a"
27160 "\x02\xeb\xa8\x90\x03\xfd\xea\x97"
27161 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a"
27162 "\x00",
27163 .rlen = 65,
27164 }, {
27165 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff"
27166 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e"
27167 "\x9c\xea\x15\xc5\xec\xc0\x5b\x9b"
27168 "\xbf\x2f\x0a\xe1\x32\x12\x9d\x8e",
27169 .klen = 32,
27170 .iv = "\xef\x61\xed\x08\x29\xd7\xfd\x86"
27171 "\x4a\x6b\x2b\x46\xe9\x53\x2a\xa0",
27172 .assoc = "\xfe\x2a\x7b\x70\x6d\x75\xa7\x0d"
27173 "\x6a\xa2\x57\x6a\xe7\x1c\x5b\x21"
27174 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8"
27175 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9",
27176 .alen = 32,
27177 .input = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe"
27178 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4"
27179 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc"
27180 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e"
27181 "\x24\xf8\x52\x7c\x15\x41\x0e\xba"
27182 "\x69\x0e\x36\x5f\x2f\x22\x8c",
27183 .ilen = 47,
27184 .result = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94"
27185 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3"
27186 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf"
27187 "\x50\x52\xb1\xc4\x55\x59\x55\xaf",
27188 .rlen = 32,
27189 }, {
27190 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b"
27191 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24"
27192 "\xc7\xac\x21\x49\xf1\x60\xdd\xb5"
27193 "\x80\x5d\xe9\xba\x0c\x71\x3c\x64",
27194 .klen = 32,
27195 .iv = "\x2c\x86\x26\xa8\x39\x52\xa6\xa2"
27196 "\xcb\x45\xdd\xd7\xe3\x77\xed\xa6",
27197 .assoc = "\x3b\x4f\xb5\x10\x7d\xf1\x50\x29"
27198 "\xeb\x7c\x0a\xfb\xe1\x40\x1e\x27"
27199 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2"
27200 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0",
27201 .alen = 32,
27202 .input = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51"
27203 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e"
27204 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1"
27205 "\xab\xd6\x7c\x76\xad\xea\x7d\x76"
27206 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70"
27207 "\x5b\x6f\x7b\xe2\x8c\xe8",
27208 .ilen = 46,
27209 .result = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0"
27210 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9"
27211 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8"
27212 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85",
27213 .rlen = 32,
27214 }, {
27215 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37"
27216 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b"
27217 "\xf1\x6f\x2d\xcd\xf6\x00\x5f\xcf"
27218 "\x42\x8a\xc8\x92\xe6\xd0\xdc\x3b",
27219 .klen = 32,
27220 .iv = "\x68\xab\x60\x47\x49\xce\x4f\xbe"
27221 "\x4c\x20\x8f\x68\xdd\x9c\xb0\xac",
27222 .assoc = "\x77\x74\xee\xaf\x8d\x6d\xf9\x45"
27223 "\x6c\x56\xbc\x8d\xdb\x65\xe0\x2e"
27224 "\x86\xd0\x32\x0f\x79\x50\x20\xdb"
27225 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6",
27226 .alen = 32,
27227 .input = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b"
27228 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60"
27229 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68"
27230 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11"
27231 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf",
27232 .ilen = 40,
27233 .result = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc"
27234 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf"
27235 "\x51\x80\xb5\x30\xba\xf8\x00\xe2"
27236 "\xd3\xad\x6f\x75\x09\x18\x93\x5c",
27237 .rlen = 32,
27238 }, {
27239 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53"
27240 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31"
27241 "\x1b\x31\x38\x51\xfc\xa0\xe1\xe8"
27242 "\x03\xb8\xa7\x6b\xc0\x2f\x7b\x11",
27243 .klen = 32,
27244 .iv = "\xa5\xcf\x9a\xe6\x59\x4a\xf7\xd9"
27245 "\xcd\xfa\x41\xfa\xd7\xc0\x72\xb2",
27246 .assoc = "\xb4\x99\x28\x4e\x9d\xe8\xa2\x60"
27247 "\xed\x30\x6e\x1e\xd5\x89\xa3\x34"
27248 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5"
27249 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d",
27250 .alen = 32,
27251 .input = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e"
27252 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c" 22059 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c"
27253 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70" 22060 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70"
27254 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb" 22061 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb"
27255 "\x56", 22062 "\x56",
27256 .ilen = 33, 22063 .clen = 33,
27257 .result = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7"
27258 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5"
27259 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc"
27260 "\x94\xda\x4e\x4d\xe4\x77\x32\x32",
27261 .rlen = 32,
27262 }, 22064 },
27263}; 22065};
27264 22066