Home | History | Annotate | Line # | Download | only in cgd
t_cgd_aes.c revision 1.5.2.2
      1  1.5.2.2  pgoyette /*	$NetBSD: t_cgd_aes.c,v 1.5.2.2 2017/01/07 08:56:54 pgoyette Exp $	*/
      2  1.5.2.2  pgoyette /*-
      3  1.5.2.2  pgoyette  * Copyright (c) 2016 The NetBSD Foundation, Inc.
      4  1.5.2.2  pgoyette  * Copyright (c) 2007 The Institute of Electrical and Electronics Engineers, Inc
      5  1.5.2.2  pgoyette  * All rights reserved.
      6  1.5.2.2  pgoyette  *
      7  1.5.2.2  pgoyette  * This code is derived from software contributed to The NetBSD Foundation
      8  1.5.2.2  pgoyette  * by Alexander Nasonov.
      9  1.5.2.2  pgoyette  *
     10  1.5.2.2  pgoyette  * Redistribution and use in source and binary forms, with or without
     11  1.5.2.2  pgoyette  * modification, are permitted provided that the following conditions
     12  1.5.2.2  pgoyette  * are met:
     13  1.5.2.2  pgoyette  *
     14  1.5.2.2  pgoyette  * 1. Redistributions of source code must retain the above copyright
     15  1.5.2.2  pgoyette  *    notice, this list of conditions and the following disclaimer.
     16  1.5.2.2  pgoyette  * 2. Redistributions in binary form must reproduce the above copyright
     17  1.5.2.2  pgoyette  *    notice, this list of conditions and the following disclaimer in
     18  1.5.2.2  pgoyette  *    the documentation and/or other materials provided with the
     19  1.5.2.2  pgoyette  *    distribution.
     20  1.5.2.2  pgoyette  *
     21  1.5.2.2  pgoyette  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     22  1.5.2.2  pgoyette  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     23  1.5.2.2  pgoyette  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     24  1.5.2.2  pgoyette  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
     25  1.5.2.2  pgoyette  * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     26  1.5.2.2  pgoyette  * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
     27  1.5.2.2  pgoyette  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     28  1.5.2.2  pgoyette  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
     29  1.5.2.2  pgoyette  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     30  1.5.2.2  pgoyette  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
     31  1.5.2.2  pgoyette  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     32  1.5.2.2  pgoyette  * SUCH DAMAGE.
     33  1.5.2.2  pgoyette  */
     34  1.5.2.2  pgoyette 
     35  1.5.2.2  pgoyette #include <sys/types.h>
     36  1.5.2.2  pgoyette #include <sys/ioctl.h>
     37  1.5.2.2  pgoyette #include <sys/sysctl.h>
     38  1.5.2.2  pgoyette 
     39  1.5.2.2  pgoyette #include <atf-c.h>
     40  1.5.2.2  pgoyette #include <fcntl.h>
     41  1.5.2.2  pgoyette #include <stdio.h>
     42  1.5.2.2  pgoyette #include <stdlib.h>
     43  1.5.2.2  pgoyette #include <string.h>
     44  1.5.2.2  pgoyette #include <unistd.h>
     45  1.5.2.2  pgoyette #include <util.h>
     46  1.5.2.2  pgoyette 
     47  1.5.2.2  pgoyette #include <dev/cgdvar.h>
     48  1.5.2.2  pgoyette 
     49  1.5.2.2  pgoyette #include <rump/rump.h>
     50  1.5.2.2  pgoyette #include <rump/rump_syscalls.h>
     51  1.5.2.2  pgoyette 
     52  1.5.2.2  pgoyette #include "../../h_macros.h"
     53  1.5.2.2  pgoyette 
     54  1.5.2.2  pgoyette #define SECSIZE 512
     55  1.5.2.2  pgoyette 
     56  1.5.2.2  pgoyette struct testvec {
     57  1.5.2.2  pgoyette 	unsigned int blkno;
     58  1.5.2.2  pgoyette 	const uint8_t *ptxt;	/* PlainText  */
     59  1.5.2.2  pgoyette 	const uint8_t *ctxt;	/* CipherText */
     60  1.5.2.2  pgoyette };
     61  1.5.2.2  pgoyette 
     62  1.5.2.2  pgoyette /*
     63  1.5.2.2  pgoyette  * 128 bits CBC key, NUL terminated.
     64  1.5.2.2  pgoyette  */
     65  1.5.2.2  pgoyette static const char aes_cbc_128_key[17] = {
     66  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 01234567 */
     67  1.5.2.2  pgoyette 	0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, /* 89ABCDEF */
     68  1.5.2.2  pgoyette 	0
     69  1.5.2.2  pgoyette };
     70  1.5.2.2  pgoyette 
     71  1.5.2.2  pgoyette /*
     72  1.5.2.2  pgoyette  * 192 bits CBC key, NUL terminated.
     73  1.5.2.2  pgoyette  */
     74  1.5.2.2  pgoyette static const char aes_cbc_192_key[25] = {
     75  1.5.2.2  pgoyette 	0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, /* ABCDEFGH */
     76  1.5.2.2  pgoyette 	0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, /* IJKLMNOP */
     77  1.5.2.2  pgoyette 	0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, /* QRSTUVWX */
     78  1.5.2.2  pgoyette 	0
     79  1.5.2.2  pgoyette };
     80  1.5.2.2  pgoyette 
     81  1.5.2.2  pgoyette /*
     82  1.5.2.2  pgoyette  * 256 bits CBC key, NUL terminated.
     83  1.5.2.2  pgoyette  */
     84  1.5.2.2  pgoyette static const char aes_cbc_256_key[33] = {
     85  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 01234567 */
     86  1.5.2.2  pgoyette 	0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, /* 89ABCDEF */
     87  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 01234567 */
     88  1.5.2.2  pgoyette 	0x38, 0x39, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, /* 89abcdef */
     89  1.5.2.2  pgoyette 	0
     90  1.5.2.2  pgoyette };
     91  1.5.2.2  pgoyette 
     92  1.5.2.2  pgoyette static const uint8_t aes_cbc_ptxt[SECSIZE] =
     93  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     94  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     95  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     96  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     97  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     98  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
     99  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    100  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    101  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    102  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    103  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    104  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    105  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    106  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    107  1.5.2.2  pgoyette 	"                abcdefghijklmnop"
    108  1.5.2.2  pgoyette 	"                abcdefghijklmnop";
    109  1.5.2.2  pgoyette 
    110  1.5.2.2  pgoyette /*
    111  1.5.2.2  pgoyette  * IV method encblkno1, blkno 0.
    112  1.5.2.2  pgoyette  */
    113  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno1_vec0_ctxt[SECSIZE] = {
    114  1.5.2.2  pgoyette 	0x1e, 0x95, 0x12, 0x15, 0xf6, 0xe0, 0xa7, 0x56,
    115  1.5.2.2  pgoyette 	0x95, 0xa0, 0xa7, 0x35, 0x77, 0xf4, 0xdd, 0xdc,
    116  1.5.2.2  pgoyette 	0x37, 0xc0, 0x28, 0x20, 0x00, 0x79, 0xa0, 0x35,
    117  1.5.2.2  pgoyette 	0xe0, 0x83, 0x23, 0x95, 0x4e, 0xea, 0x8d, 0xa2,
    118  1.5.2.2  pgoyette 	0x11, 0xbf, 0x9a, 0xd5, 0x21, 0x1e, 0x15, 0xb9,
    119  1.5.2.2  pgoyette 	0xd1, 0x2e, 0xd2, 0xd9, 0xa5, 0xcc, 0x26, 0x75,
    120  1.5.2.2  pgoyette 	0xba, 0x3e, 0x30, 0x11, 0xb2, 0x40, 0xdd, 0x1d,
    121  1.5.2.2  pgoyette 	0x07, 0x3b, 0xe6, 0x00, 0xa7, 0x31, 0x9e, 0x58,
    122  1.5.2.2  pgoyette 	0x41, 0xf3, 0x02, 0xf5, 0xad, 0x35, 0x79, 0x9a,
    123  1.5.2.2  pgoyette 	0x9e, 0x03, 0xc8, 0x7a, 0x9d, 0x1d, 0x58, 0x9f,
    124  1.5.2.2  pgoyette 	0x98, 0x67, 0xe2, 0x49, 0x81, 0x0c, 0x23, 0x90,
    125  1.5.2.2  pgoyette 	0xd8, 0xc6, 0xf0, 0xc5, 0x73, 0x46, 0xd5, 0x14,
    126  1.5.2.2  pgoyette 	0x1d, 0x78, 0x24, 0x7c, 0x9f, 0x5c, 0x8c, 0xe6,
    127  1.5.2.2  pgoyette 	0x5d, 0x85, 0x7a, 0x5f, 0x76, 0xcc, 0xd8, 0xe9,
    128  1.5.2.2  pgoyette 	0x03, 0xff, 0xfd, 0xd4, 0x12, 0x3f, 0xcb, 0xb0,
    129  1.5.2.2  pgoyette 	0xfe, 0xfd, 0x86, 0x00, 0x0c, 0xe3, 0xdd, 0xa6,
    130  1.5.2.2  pgoyette 	0x89, 0x92, 0xfe, 0xc8, 0x07, 0x5a, 0x94, 0x55,
    131  1.5.2.2  pgoyette 	0x75, 0xae, 0x68, 0x47, 0xba, 0x84, 0x75, 0x58,
    132  1.5.2.2  pgoyette 	0x33, 0x30, 0x2c, 0x16, 0x5b, 0xe9, 0x3f, 0x2a,
    133  1.5.2.2  pgoyette 	0x09, 0xf9, 0x69, 0x23, 0x77, 0xd7, 0x2b, 0x95,
    134  1.5.2.2  pgoyette 	0x4b, 0x78, 0x59, 0xcc, 0xfa, 0xf5, 0x79, 0xd2,
    135  1.5.2.2  pgoyette 	0x05, 0x87, 0x66, 0x57, 0x93, 0xbf, 0x05, 0x90,
    136  1.5.2.2  pgoyette 	0x4d, 0x6d, 0xd2, 0x72, 0x92, 0x24, 0xec, 0x14,
    137  1.5.2.2  pgoyette 	0xe7, 0xbf, 0x82, 0x57, 0xbb, 0x14, 0x51, 0xe6,
    138  1.5.2.2  pgoyette 	0xce, 0x3f, 0xa1, 0xfc, 0x63, 0x75, 0xee, 0xde,
    139  1.5.2.2  pgoyette 	0xf9, 0x31, 0xd3, 0xa0, 0x07, 0xcd, 0x4d, 0x8f,
    140  1.5.2.2  pgoyette 	0x83, 0x7d, 0x65, 0xe1, 0xc6, 0x60, 0x9e, 0x5c,
    141  1.5.2.2  pgoyette 	0x51, 0x76, 0xfa, 0x64, 0xdf, 0xdc, 0xaf, 0x38,
    142  1.5.2.2  pgoyette 	0xee, 0xe9, 0x8f, 0x4b, 0xa0, 0x3a, 0x21, 0xdf,
    143  1.5.2.2  pgoyette 	0x58, 0x3b, 0x73, 0xf5, 0x30, 0xbb, 0x29, 0xe0,
    144  1.5.2.2  pgoyette 	0xff, 0x60, 0xf0, 0x05, 0x5e, 0x37, 0xbc, 0x78,
    145  1.5.2.2  pgoyette 	0x95, 0x3f, 0xa8, 0xd4, 0xb4, 0x82, 0x0d, 0xe1,
    146  1.5.2.2  pgoyette 	0x10, 0xe3, 0xa7, 0x61, 0x37, 0x58, 0x28, 0x14,
    147  1.5.2.2  pgoyette 	0x22, 0x57, 0x32, 0x28, 0x80, 0x98, 0x3e, 0x5f,
    148  1.5.2.2  pgoyette 	0x71, 0xcf, 0x34, 0xb8, 0x6d, 0x6b, 0xc0, 0x23,
    149  1.5.2.2  pgoyette 	0xc1, 0x9e, 0x58, 0x4f, 0xd5, 0xa4, 0x14, 0x03,
    150  1.5.2.2  pgoyette 	0x2a, 0xed, 0xc4, 0xa7, 0x77, 0x7c, 0x4f, 0x94,
    151  1.5.2.2  pgoyette 	0x91, 0x1d, 0x47, 0x34, 0x82, 0xe8, 0x9d, 0x32,
    152  1.5.2.2  pgoyette 	0x5c, 0xc7, 0x38, 0xe9, 0x92, 0xcd, 0x35, 0xfd,
    153  1.5.2.2  pgoyette 	0x1c, 0xcc, 0x3c, 0x28, 0x75, 0x6f, 0xff, 0xd5,
    154  1.5.2.2  pgoyette 	0xe8, 0xbf, 0x90, 0x92, 0x34, 0x13, 0x11, 0x89,
    155  1.5.2.2  pgoyette 	0xe0, 0xa2, 0x25, 0xeb, 0x82, 0x63, 0x31, 0x80,
    156  1.5.2.2  pgoyette 	0x50, 0x6c, 0x99, 0xaa, 0x97, 0x0e, 0x59, 0x45,
    157  1.5.2.2  pgoyette 	0x64, 0xb8, 0x77, 0x78, 0x6b, 0x24, 0xac, 0xc0,
    158  1.5.2.2  pgoyette 	0xc9, 0xa9, 0xbc, 0x13, 0xd1, 0x5e, 0x50, 0x9a,
    159  1.5.2.2  pgoyette 	0x91, 0x1a, 0x08, 0xf7, 0xc5, 0x18, 0x9f, 0x87,
    160  1.5.2.2  pgoyette 	0x97, 0x9c, 0x0a, 0x27, 0xf1, 0x66, 0xf8, 0x09,
    161  1.5.2.2  pgoyette 	0x52, 0x09, 0x41, 0x07, 0xc1, 0xa1, 0x91, 0xa4,
    162  1.5.2.2  pgoyette 	0x59, 0x09, 0x75, 0x57, 0x5b, 0x53, 0x79, 0x58,
    163  1.5.2.2  pgoyette 	0xa2, 0x9e, 0x49, 0xa2, 0x5e, 0xf7, 0x28, 0x1c,
    164  1.5.2.2  pgoyette 	0x43, 0xa6, 0xcb, 0x88, 0x46, 0x84, 0xc9, 0x7f,
    165  1.5.2.2  pgoyette 	0x84, 0xdb, 0x45, 0x0c, 0xb3, 0x7f, 0x01, 0x40,
    166  1.5.2.2  pgoyette 	0x71, 0x3e, 0x48, 0x12, 0x1f, 0xbc, 0x1e, 0xdf,
    167  1.5.2.2  pgoyette 	0x41, 0x50, 0xb2, 0x11, 0x67, 0x83, 0x19, 0x04,
    168  1.5.2.2  pgoyette 	0x0e, 0x21, 0xd5, 0xf2, 0x54, 0x99, 0xfb, 0x47,
    169  1.5.2.2  pgoyette 	0xf2, 0x5e, 0x02, 0x4b, 0x61, 0x6d, 0xef, 0x78,
    170  1.5.2.2  pgoyette 	0x29, 0xe4, 0x3a, 0x56, 0x14, 0x20, 0x6f, 0x70,
    171  1.5.2.2  pgoyette 	0x82, 0xea, 0x5d, 0xbc, 0x48, 0x89, 0x34, 0x69,
    172  1.5.2.2  pgoyette 	0xdb, 0x4a, 0x06, 0xa7, 0xd6, 0xc7, 0xb7, 0x06,
    173  1.5.2.2  pgoyette 	0x8e, 0x64, 0x21, 0x3e, 0xa6, 0x32, 0x61, 0x59,
    174  1.5.2.2  pgoyette 	0x03, 0xea, 0xc3, 0x71, 0xf0, 0x26, 0x02, 0xe0,
    175  1.5.2.2  pgoyette 	0x71, 0x95, 0x38, 0x11, 0x32, 0xe6, 0x3b, 0x25,
    176  1.5.2.2  pgoyette 	0x53, 0x14, 0x24, 0x34, 0xe8, 0x8c, 0xa8, 0xef,
    177  1.5.2.2  pgoyette 	0x52, 0xfe, 0x06, 0x2c, 0x20, 0x88, 0x4f, 0xa6,
    178  1.5.2.2  pgoyette };
    179  1.5.2.2  pgoyette 
    180  1.5.2.2  pgoyette /*
    181  1.5.2.2  pgoyette  * IV method encblkno1, blkno 1.
    182  1.5.2.2  pgoyette  */
    183  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno1_vec1_ctxt[SECSIZE] = {
    184  1.5.2.2  pgoyette 	0x2f, 0x69, 0x3e, 0x95, 0x87, 0x91, 0x99, 0xd4,
    185  1.5.2.2  pgoyette 	0xd9, 0x5d, 0xf2, 0x52, 0x32, 0x54, 0x2a, 0x80,
    186  1.5.2.2  pgoyette 	0xa0, 0x77, 0x6e, 0x73, 0x15, 0xb4, 0xc9, 0x13,
    187  1.5.2.2  pgoyette 	0x85, 0xed, 0x79, 0x9b, 0x84, 0x0a, 0x7e, 0xdb,
    188  1.5.2.2  pgoyette 	0xee, 0x09, 0x78, 0x11, 0x28, 0xd5, 0x26, 0xec,
    189  1.5.2.2  pgoyette 	0x1d, 0x52, 0xba, 0x33, 0x26, 0xeb, 0x91, 0xc6,
    190  1.5.2.2  pgoyette 	0x4b, 0xf0, 0x38, 0xdf, 0x9f, 0x9d, 0x6c, 0xd8,
    191  1.5.2.2  pgoyette 	0x49, 0x83, 0x88, 0xbe, 0x62, 0x2d, 0x5e, 0x88,
    192  1.5.2.2  pgoyette 	0xc0, 0x35, 0xe4, 0xc3, 0xc9, 0x9f, 0x62, 0x59,
    193  1.5.2.2  pgoyette 	0x16, 0xa7, 0x2e, 0xc0, 0xda, 0x3c, 0x2e, 0x10,
    194  1.5.2.2  pgoyette 	0x53, 0xf0, 0x84, 0x27, 0x38, 0xd0, 0xf4, 0xb5,
    195  1.5.2.2  pgoyette 	0x7c, 0x4a, 0x63, 0x04, 0x51, 0x22, 0xae, 0xf3,
    196  1.5.2.2  pgoyette 	0xe7, 0x97, 0x53, 0xee, 0xe6, 0xaf, 0xc3, 0x49,
    197  1.5.2.2  pgoyette 	0x3a, 0x5a, 0x74, 0x83, 0x18, 0xa3, 0x6b, 0xf3,
    198  1.5.2.2  pgoyette 	0x6a, 0x3b, 0xe2, 0x1b, 0xd4, 0x64, 0x41, 0xdf,
    199  1.5.2.2  pgoyette 	0xd1, 0xd2, 0xdd, 0x22, 0xa8, 0x66, 0xbd, 0x8e,
    200  1.5.2.2  pgoyette 	0xc4, 0x9a, 0x6d, 0x15, 0x38, 0x5b, 0x50, 0x9a,
    201  1.5.2.2  pgoyette 	0x65, 0x48, 0x97, 0xf1, 0x04, 0x85, 0x8b, 0x5c,
    202  1.5.2.2  pgoyette 	0x44, 0x32, 0x15, 0xea, 0x28, 0x5f, 0x98, 0x53,
    203  1.5.2.2  pgoyette 	0xb4, 0x80, 0xd0, 0x2c, 0x59, 0x04, 0x08, 0xaf,
    204  1.5.2.2  pgoyette 	0xa4, 0xb7, 0x49, 0xd1, 0x98, 0x87, 0xb9, 0xb6,
    205  1.5.2.2  pgoyette 	0x3d, 0x89, 0xd1, 0xbe, 0xf4, 0x89, 0xec, 0xf9,
    206  1.5.2.2  pgoyette 	0x2d, 0xc7, 0xc6, 0xe9, 0xe6, 0xfa, 0x1e, 0x67,
    207  1.5.2.2  pgoyette 	0x68, 0xe7, 0xb7, 0x91, 0x55, 0x77, 0xf3, 0x27,
    208  1.5.2.2  pgoyette 	0x38, 0x23, 0xcf, 0x2e, 0x3e, 0x8b, 0xfd, 0xb3,
    209  1.5.2.2  pgoyette 	0x90, 0xd8, 0x6b, 0x1e, 0x93, 0x8f, 0xb6, 0xc1,
    210  1.5.2.2  pgoyette 	0x27, 0xc2, 0xb7, 0x76, 0x10, 0x69, 0xe8, 0x7f,
    211  1.5.2.2  pgoyette 	0xfc, 0x03, 0x59, 0xa4, 0xd3, 0x7f, 0x2f, 0x03,
    212  1.5.2.2  pgoyette 	0x1c, 0x21, 0x6d, 0x2e, 0xae, 0xba, 0xa2, 0x04,
    213  1.5.2.2  pgoyette 	0x67, 0xe9, 0x33, 0xc9, 0x3a, 0x96, 0xb6, 0x7c,
    214  1.5.2.2  pgoyette 	0xf6, 0x21, 0x6b, 0x34, 0x9a, 0x5b, 0xa0, 0x8b,
    215  1.5.2.2  pgoyette 	0x51, 0xf0, 0xd4, 0x3a, 0xa3, 0xcb, 0x22, 0xfb,
    216  1.5.2.2  pgoyette 	0x8a, 0x56, 0xab, 0x9a, 0x15, 0x75, 0x07, 0x87,
    217  1.5.2.2  pgoyette 	0x32, 0xa7, 0x15, 0xc7, 0xd9, 0x40, 0x95, 0xe5,
    218  1.5.2.2  pgoyette 	0xfb, 0xb0, 0xc5, 0xb1, 0x60, 0xf8, 0xcc, 0x8b,
    219  1.5.2.2  pgoyette 	0x30, 0x20, 0xd9, 0x84, 0x6f, 0xa2, 0xcb, 0x72,
    220  1.5.2.2  pgoyette 	0xf5, 0xa5, 0x2c, 0xa3, 0xc6, 0x1c, 0xd2, 0x74,
    221  1.5.2.2  pgoyette 	0x01, 0x74, 0xdd, 0xb4, 0x68, 0x3b, 0x3b, 0x3e,
    222  1.5.2.2  pgoyette 	0x4f, 0xb5, 0x67, 0x9a, 0x9c, 0x37, 0x3d, 0xbf,
    223  1.5.2.2  pgoyette 	0xd3, 0xab, 0xd7, 0x70, 0x03, 0x28, 0x5c, 0x3b,
    224  1.5.2.2  pgoyette 	0xb7, 0x08, 0x38, 0x3d, 0x69, 0xa9, 0xcb, 0x63,
    225  1.5.2.2  pgoyette 	0x04, 0x95, 0x8a, 0x16, 0x4c, 0xff, 0x9f, 0x0c,
    226  1.5.2.2  pgoyette 	0xe2, 0x51, 0x95, 0x44, 0x52, 0x3b, 0x59, 0x9d,
    227  1.5.2.2  pgoyette 	0x0b, 0x77, 0xa0, 0x39, 0x40, 0xea, 0x33, 0x25,
    228  1.5.2.2  pgoyette 	0xc8, 0xc5, 0x90, 0x47, 0x23, 0xe3, 0x03, 0x8c,
    229  1.5.2.2  pgoyette 	0x6a, 0xe0, 0x4f, 0x76, 0xe7, 0x72, 0x82, 0xcc,
    230  1.5.2.2  pgoyette 	0xb2, 0xfd, 0xfb, 0x82, 0x1a, 0x28, 0x30, 0x89,
    231  1.5.2.2  pgoyette 	0x0e, 0x25, 0xa7, 0x63, 0x85, 0x2e, 0x9b, 0xa6,
    232  1.5.2.2  pgoyette 	0x0b, 0xa0, 0xb5, 0x34, 0xa2, 0x2e, 0x7f, 0xd4,
    233  1.5.2.2  pgoyette 	0xe5, 0xd6, 0x95, 0xe8, 0x09, 0x3d, 0x4d, 0xdf,
    234  1.5.2.2  pgoyette 	0xd9, 0xc0, 0x63, 0x17, 0xa5, 0x9c, 0xf6, 0xa3,
    235  1.5.2.2  pgoyette 	0x59, 0x17, 0xc0, 0xf8, 0xa2, 0x11, 0x14, 0x88,
    236  1.5.2.2  pgoyette 	0xf0, 0x1e, 0x4a, 0x4b, 0x13, 0xf6, 0xd6, 0x09,
    237  1.5.2.2  pgoyette 	0xac, 0xf8, 0x39, 0x5d, 0x4c, 0x68, 0x69, 0x99,
    238  1.5.2.2  pgoyette 	0x08, 0xd4, 0xf5, 0x39, 0x6d, 0x78, 0xde, 0xb5,
    239  1.5.2.2  pgoyette 	0x6f, 0x34, 0xc4, 0x28, 0x73, 0x6c, 0x29, 0xa1,
    240  1.5.2.2  pgoyette 	0xef, 0xfe, 0xed, 0x56, 0xb2, 0x70, 0x7b, 0xd5,
    241  1.5.2.2  pgoyette 	0x5b, 0xd1, 0x09, 0x6a, 0x9a, 0x59, 0xe9, 0x79,
    242  1.5.2.2  pgoyette 	0xe9, 0xee, 0xa4, 0x03, 0xc1, 0x67, 0xce, 0x62,
    243  1.5.2.2  pgoyette 	0xf6, 0x4f, 0x04, 0xa5, 0x04, 0x71, 0x13, 0xeb,
    244  1.5.2.2  pgoyette 	0x3d, 0x0a, 0x65, 0x2f, 0x57, 0xb0, 0xc0, 0xa4,
    245  1.5.2.2  pgoyette 	0xf2, 0x8d, 0x78, 0x90, 0xeb, 0xc9, 0x5e, 0x8b,
    246  1.5.2.2  pgoyette 	0xd8, 0xfb, 0xbc, 0x74, 0x1a, 0x70, 0x94, 0x2c,
    247  1.5.2.2  pgoyette 	0xeb, 0xf2, 0x5e, 0x6d, 0xbb, 0x96, 0x7a, 0x2c,
    248  1.5.2.2  pgoyette };
    249  1.5.2.2  pgoyette 
    250  1.5.2.2  pgoyette /*
    251  1.5.2.2  pgoyette  * IV method encblkno1, blkno 2.
    252  1.5.2.2  pgoyette  */
    253  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno1_vec2_ctxt[SECSIZE] = {
    254  1.5.2.2  pgoyette 	0xbc, 0x49, 0x35, 0x2c, 0xe3, 0x10, 0x12, 0x65,
    255  1.5.2.2  pgoyette 	0x7a, 0xf4, 0xde, 0xd3, 0xf8, 0xe1, 0x49, 0x97,
    256  1.5.2.2  pgoyette 	0x0a, 0x07, 0x93, 0x6c, 0xf8, 0x0e, 0xb7, 0xdf,
    257  1.5.2.2  pgoyette 	0x53, 0xba, 0x1e, 0x8e, 0x14, 0xbd, 0xf6, 0x81,
    258  1.5.2.2  pgoyette 	0xd6, 0xf6, 0x3d, 0xb2, 0xe7, 0x6a, 0x9d, 0x50,
    259  1.5.2.2  pgoyette 	0x68, 0xc2, 0x75, 0x8e, 0xfb, 0x44, 0xfa, 0xc8,
    260  1.5.2.2  pgoyette 	0x9f, 0x30, 0x15, 0xd5, 0xbe, 0xce, 0x04, 0xc1,
    261  1.5.2.2  pgoyette 	0x99, 0xde, 0x3d, 0x2b, 0xc1, 0xc4, 0x8a, 0xb1,
    262  1.5.2.2  pgoyette 	0xc5, 0x54, 0x47, 0x52, 0xf6, 0x38, 0x11, 0xcb,
    263  1.5.2.2  pgoyette 	0x11, 0xf6, 0xb7, 0xbd, 0x4d, 0x24, 0xa1, 0xac,
    264  1.5.2.2  pgoyette 	0x04, 0x17, 0x7e, 0x3c, 0xbc, 0x3b, 0xa0, 0x8d,
    265  1.5.2.2  pgoyette 	0xfb, 0x22, 0x82, 0x56, 0xa2, 0xbe, 0xfe, 0xe7,
    266  1.5.2.2  pgoyette 	0xde, 0xa4, 0xe9, 0xeb, 0xa0, 0x7a, 0x45, 0xc9,
    267  1.5.2.2  pgoyette 	0x18, 0x0b, 0x14, 0xd5, 0xff, 0x4c, 0xe5, 0x86,
    268  1.5.2.2  pgoyette 	0xac, 0xac, 0xaa, 0xb4, 0x70, 0x0c, 0x4a, 0x20,
    269  1.5.2.2  pgoyette 	0xb6, 0xd8, 0x2d, 0xac, 0x09, 0xd8, 0xf6, 0x24,
    270  1.5.2.2  pgoyette 	0xdf, 0xa5, 0x62, 0xef, 0x8c, 0x01, 0xa8, 0x1d,
    271  1.5.2.2  pgoyette 	0x8f, 0x52, 0xee, 0xa6, 0x2f, 0x9b, 0x81, 0x18,
    272  1.5.2.2  pgoyette 	0x0e, 0x6b, 0xa3, 0xe5, 0x67, 0xb3, 0xd5, 0x30,
    273  1.5.2.2  pgoyette 	0xb1, 0x9f, 0x87, 0x05, 0xd0, 0x52, 0x62, 0x6f,
    274  1.5.2.2  pgoyette 	0xb9, 0x3b, 0xbc, 0x0c, 0x0c, 0xcb, 0x73, 0x55,
    275  1.5.2.2  pgoyette 	0x23, 0x83, 0x14, 0x78, 0x05, 0x5b, 0x05, 0xf5,
    276  1.5.2.2  pgoyette 	0x3e, 0xa7, 0xf3, 0x4d, 0x0d, 0x34, 0x6f, 0xe0,
    277  1.5.2.2  pgoyette 	0x58, 0x52, 0x0a, 0x82, 0xa7, 0x49, 0x8a, 0xd2,
    278  1.5.2.2  pgoyette 	0x23, 0xb1, 0xc5, 0x0d, 0xa7, 0x0f, 0x56, 0xfc,
    279  1.5.2.2  pgoyette 	0x7e, 0xf6, 0x19, 0x4b, 0xe7, 0x63, 0x72, 0x4c,
    280  1.5.2.2  pgoyette 	0xb8, 0x5c, 0x80, 0x54, 0xf5, 0x1f, 0xb0, 0x29,
    281  1.5.2.2  pgoyette 	0x40, 0x88, 0x75, 0x54, 0x42, 0xca, 0x2c, 0xc3,
    282  1.5.2.2  pgoyette 	0xcf, 0xd7, 0xc1, 0xb2, 0xd6, 0x90, 0x70, 0x5e,
    283  1.5.2.2  pgoyette 	0xf5, 0x58, 0x70, 0xe0, 0xff, 0x5a, 0xf5, 0xee,
    284  1.5.2.2  pgoyette 	0x32, 0x4f, 0x61, 0x1c, 0xf6, 0xbf, 0xd5, 0x7c,
    285  1.5.2.2  pgoyette 	0x73, 0xb9, 0x1d, 0x30, 0xc2, 0xfb, 0x2f, 0x9a,
    286  1.5.2.2  pgoyette 	0xf7, 0x57, 0x2e, 0x87, 0x7d, 0xcb, 0xdd, 0x7e,
    287  1.5.2.2  pgoyette 	0xda, 0xec, 0x47, 0x1a, 0x0e, 0x70, 0x2d, 0x6e,
    288  1.5.2.2  pgoyette 	0x18, 0x2b, 0x89, 0xc1, 0x85, 0x58, 0x6d, 0x4b,
    289  1.5.2.2  pgoyette 	0x45, 0x11, 0xcf, 0x82, 0x9f, 0x31, 0xd0, 0x42,
    290  1.5.2.2  pgoyette 	0x11, 0xca, 0xa8, 0x52, 0x66, 0xf7, 0xf1, 0x1d,
    291  1.5.2.2  pgoyette 	0x86, 0xe3, 0xb4, 0x41, 0xcb, 0x92, 0xb1, 0x9f,
    292  1.5.2.2  pgoyette 	0x8d, 0x8e, 0x08, 0xe9, 0xc4, 0x66, 0xce, 0x9d,
    293  1.5.2.2  pgoyette 	0xae, 0x91, 0xaf, 0xe6, 0xa6, 0x2e, 0x06, 0x3a,
    294  1.5.2.2  pgoyette 	0xf5, 0x27, 0x48, 0xe4, 0x31, 0x0f, 0xc5, 0xdf,
    295  1.5.2.2  pgoyette 	0x29, 0x56, 0xed, 0x62, 0xf3, 0xef, 0xca, 0xa6,
    296  1.5.2.2  pgoyette 	0x58, 0xd1, 0x84, 0x99, 0xd3, 0x34, 0x67, 0x92,
    297  1.5.2.2  pgoyette 	0x6a, 0xb2, 0xd1, 0xd1, 0x50, 0x1f, 0xe9, 0xd8,
    298  1.5.2.2  pgoyette 	0x3c, 0xbe, 0x12, 0x97, 0x7c, 0x4f, 0xc0, 0xbe,
    299  1.5.2.2  pgoyette 	0x91, 0x32, 0x15, 0xd5, 0xf2, 0x5e, 0xe6, 0x13,
    300  1.5.2.2  pgoyette 	0x86, 0xfa, 0xc6, 0xde, 0xd8, 0xe1, 0x70, 0xb4,
    301  1.5.2.2  pgoyette 	0xf7, 0x5b, 0x9f, 0x79, 0x55, 0x22, 0x7a, 0xe1,
    302  1.5.2.2  pgoyette 	0x54, 0x40, 0x39, 0x11, 0xe1, 0x78, 0x01, 0x01,
    303  1.5.2.2  pgoyette 	0xc0, 0x44, 0xeb, 0x92, 0xb9, 0x01, 0xdd, 0x56,
    304  1.5.2.2  pgoyette 	0xb9, 0x7e, 0xa0, 0x50, 0x41, 0x58, 0xb2, 0x13,
    305  1.5.2.2  pgoyette 	0x12, 0x44, 0xd2, 0x39, 0xf2, 0x76, 0x3c, 0x53,
    306  1.5.2.2  pgoyette 	0x36, 0xfe, 0x17, 0x74, 0x91, 0x8d, 0xbe, 0xc5,
    307  1.5.2.2  pgoyette 	0x40, 0xf7, 0xa2, 0xe9, 0x65, 0xd9, 0xdf, 0x80,
    308  1.5.2.2  pgoyette 	0x7b, 0xd9, 0xc3, 0x1f, 0xb4, 0xfc, 0x9f, 0x8d,
    309  1.5.2.2  pgoyette 	0x7a, 0x4e, 0x1e, 0x32, 0x6d, 0xb1, 0x82, 0x1e,
    310  1.5.2.2  pgoyette 	0x0c, 0xb6, 0x0b, 0xe6, 0x15, 0x82, 0x5c, 0xcc,
    311  1.5.2.2  pgoyette 	0xc8, 0x4a, 0x73, 0x56, 0x9d, 0x11, 0xfa, 0xcd,
    312  1.5.2.2  pgoyette 	0x21, 0x95, 0x23, 0x71, 0xe8, 0xfe, 0x06, 0x43,
    313  1.5.2.2  pgoyette 	0xf6, 0x17, 0x51, 0x28, 0x0d, 0xfb, 0x0a, 0x49,
    314  1.5.2.2  pgoyette 	0x1b, 0x35, 0x1e, 0x4a, 0x38, 0x08, 0x6b, 0xcd,
    315  1.5.2.2  pgoyette 	0x67, 0x21, 0x94, 0x09, 0x28, 0xca, 0x0a, 0x18,
    316  1.5.2.2  pgoyette 	0xdf, 0x6c, 0x86, 0x47, 0x10, 0x29, 0x81, 0x9a,
    317  1.5.2.2  pgoyette 	0x73, 0xba, 0x78, 0xbd, 0xc0, 0x61, 0xee, 0x23,
    318  1.5.2.2  pgoyette };
    319  1.5.2.2  pgoyette 
    320  1.5.2.2  pgoyette /*
    321  1.5.2.2  pgoyette  * IV method encblkno1, blkno 3.
    322  1.5.2.2  pgoyette  */
    323  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno1_vec3_ctxt[SECSIZE] = {
    324  1.5.2.2  pgoyette 	0x29, 0x9f, 0xb1, 0x0f, 0x7d, 0xb4, 0xd9, 0xbb,
    325  1.5.2.2  pgoyette 	0xf9, 0x06, 0x60, 0xdc, 0xb9, 0xeb, 0x73, 0x6e,
    326  1.5.2.2  pgoyette 	0xfe, 0xdb, 0x99, 0x29, 0xe8, 0x42, 0x46, 0xe7,
    327  1.5.2.2  pgoyette 	0x49, 0xcf, 0x90, 0x2d, 0x08, 0xd7, 0xd5, 0xbf,
    328  1.5.2.2  pgoyette 	0x0f, 0x4f, 0x66, 0xce, 0xcd, 0xb1, 0x8a, 0xc7,
    329  1.5.2.2  pgoyette 	0x47, 0xc9, 0x8e, 0xe3, 0x9f, 0x80, 0x79, 0xc6,
    330  1.5.2.2  pgoyette 	0xa8, 0xe5, 0x20, 0x66, 0x58, 0xde, 0xab, 0x87,
    331  1.5.2.2  pgoyette 	0x5e, 0x7e, 0xcd, 0x55, 0x81, 0x09, 0x40, 0xd9,
    332  1.5.2.2  pgoyette 	0x8b, 0x7e, 0xd3, 0xf9, 0x16, 0x55, 0x72, 0x7d,
    333  1.5.2.2  pgoyette 	0xe8, 0x36, 0x76, 0x06, 0x77, 0x47, 0xa5, 0xdc,
    334  1.5.2.2  pgoyette 	0x80, 0x33, 0x7d, 0x88, 0x5f, 0x56, 0x48, 0x0f,
    335  1.5.2.2  pgoyette 	0x66, 0xb5, 0x91, 0x9d, 0xf8, 0xdb, 0x83, 0x0d,
    336  1.5.2.2  pgoyette 	0xd4, 0xc6, 0x13, 0xfc, 0xd4, 0xe5, 0x34, 0x81,
    337  1.5.2.2  pgoyette 	0x70, 0x4d, 0x96, 0x82, 0x5d, 0xb2, 0x36, 0x37,
    338  1.5.2.2  pgoyette 	0xdf, 0xd2, 0x5e, 0x31, 0xf0, 0x9d, 0x6d, 0xb7,
    339  1.5.2.2  pgoyette 	0xf9, 0x2d, 0xcb, 0x77, 0xb8, 0x59, 0xa0, 0xbb,
    340  1.5.2.2  pgoyette 	0x4f, 0x8d, 0xa0, 0xd1, 0x49, 0x17, 0x93, 0x3c,
    341  1.5.2.2  pgoyette 	0xf0, 0x4e, 0x72, 0xdd, 0x99, 0x9a, 0x87, 0xf1,
    342  1.5.2.2  pgoyette 	0x01, 0x89, 0xdf, 0xef, 0xed, 0x04, 0x86, 0x3d,
    343  1.5.2.2  pgoyette 	0x9b, 0xab, 0x6c, 0xa7, 0xef, 0x1b, 0xbb, 0x24,
    344  1.5.2.2  pgoyette 	0xbc, 0x65, 0x01, 0x06, 0x12, 0x3f, 0x7e, 0x9f,
    345  1.5.2.2  pgoyette 	0x83, 0xf3, 0xd4, 0x43, 0x18, 0x03, 0xa3, 0x07,
    346  1.5.2.2  pgoyette 	0xbc, 0x85, 0xe8, 0xdb, 0x6c, 0x8f, 0xaf, 0x70,
    347  1.5.2.2  pgoyette 	0x71, 0x5d, 0xbc, 0x6d, 0x14, 0x05, 0xdf, 0xce,
    348  1.5.2.2  pgoyette 	0x9f, 0xe2, 0xa3, 0x51, 0x66, 0x92, 0x52, 0x19,
    349  1.5.2.2  pgoyette 	0x98, 0xbd, 0xb2, 0x68, 0x79, 0xf4, 0x5d, 0x71,
    350  1.5.2.2  pgoyette 	0xcb, 0xa0, 0x1b, 0x77, 0x34, 0x46, 0x69, 0x3c,
    351  1.5.2.2  pgoyette 	0xa4, 0x0f, 0x72, 0xf5, 0x73, 0xf6, 0xa0, 0xe9,
    352  1.5.2.2  pgoyette 	0x72, 0xef, 0xa1, 0xcc, 0x43, 0xfc, 0xb7, 0xf3,
    353  1.5.2.2  pgoyette 	0x59, 0xeb, 0x40, 0x61, 0x02, 0x26, 0x9b, 0x71,
    354  1.5.2.2  pgoyette 	0x57, 0x17, 0x36, 0xac, 0xc8, 0xd5, 0x9d, 0xcb,
    355  1.5.2.2  pgoyette 	0x4d, 0x4f, 0xf7, 0xc1, 0x58, 0xce, 0xbf, 0x73,
    356  1.5.2.2  pgoyette 	0xe7, 0xd0, 0x58, 0x0d, 0x08, 0x01, 0x8f, 0x68,
    357  1.5.2.2  pgoyette 	0x1b, 0x3f, 0x3a, 0x7b, 0xdb, 0x9e, 0xa7, 0x33,
    358  1.5.2.2  pgoyette 	0x59, 0x91, 0xa8, 0xe3, 0x58, 0x22, 0x3f, 0x97,
    359  1.5.2.2  pgoyette 	0xe1, 0xdb, 0xd6, 0x99, 0x0e, 0xdd, 0x76, 0xcd,
    360  1.5.2.2  pgoyette 	0x4d, 0x02, 0x28, 0x43, 0x8a, 0xdd, 0x10, 0xad,
    361  1.5.2.2  pgoyette 	0x55, 0xe0, 0x62, 0xf7, 0x44, 0xbc, 0x3f, 0x99,
    362  1.5.2.2  pgoyette 	0x3c, 0x09, 0x25, 0xfb, 0xfd, 0x1e, 0x4c, 0x45,
    363  1.5.2.2  pgoyette 	0x0e, 0x6e, 0x75, 0x15, 0x48, 0x19, 0x08, 0xc3,
    364  1.5.2.2  pgoyette 	0x2b, 0x81, 0x60, 0x5f, 0x19, 0x09, 0x74, 0x0a,
    365  1.5.2.2  pgoyette 	0xbd, 0x0d, 0x8d, 0x94, 0x55, 0x04, 0x2b, 0x8e,
    366  1.5.2.2  pgoyette 	0x0d, 0x10, 0x60, 0x64, 0x0d, 0x7f, 0x63, 0x2e,
    367  1.5.2.2  pgoyette 	0x89, 0x0b, 0xfc, 0x1c, 0xbc, 0xf3, 0x66, 0xc5,
    368  1.5.2.2  pgoyette 	0x80, 0x93, 0x3a, 0x74, 0x15, 0x11, 0xd5, 0xba,
    369  1.5.2.2  pgoyette 	0xbc, 0x06, 0x3f, 0x85, 0xcc, 0x6c, 0xd3, 0xf2,
    370  1.5.2.2  pgoyette 	0x74, 0xc6, 0x10, 0x15, 0x0a, 0x02, 0x66, 0xa4,
    371  1.5.2.2  pgoyette 	0xa8, 0x93, 0x0b, 0x5c, 0xe7, 0x13, 0x96, 0x90,
    372  1.5.2.2  pgoyette 	0xdd, 0xe3, 0x25, 0x22, 0x46, 0x7b, 0x49, 0xde,
    373  1.5.2.2  pgoyette 	0x72, 0x55, 0xf3, 0x30, 0x62, 0x5f, 0x7a, 0x2a,
    374  1.5.2.2  pgoyette 	0x37, 0x88, 0xea, 0x57, 0x99, 0x64, 0x50, 0x2d,
    375  1.5.2.2  pgoyette 	0xd3, 0x6a, 0x09, 0x4b, 0xd6, 0x61, 0xf2, 0x22,
    376  1.5.2.2  pgoyette 	0x53, 0x36, 0xf7, 0x42, 0x21, 0xde, 0xda, 0xcb,
    377  1.5.2.2  pgoyette 	0x8b, 0x6f, 0xf3, 0x4e, 0x2c, 0x16, 0xfb, 0xfc,
    378  1.5.2.2  pgoyette 	0x13, 0xa7, 0xd1, 0xd8, 0xfd, 0x16, 0x39, 0x20,
    379  1.5.2.2  pgoyette 	0xe0, 0xb2, 0xb4, 0xd5, 0x40, 0x93, 0x30, 0xf3,
    380  1.5.2.2  pgoyette 	0xab, 0x88, 0xe3, 0xfb, 0xbe, 0xb8, 0x02, 0x3a,
    381  1.5.2.2  pgoyette 	0x78, 0x2d, 0x56, 0x4b, 0x92, 0x5b, 0x0a, 0x8d,
    382  1.5.2.2  pgoyette 	0x18, 0xa4, 0x5b, 0x11, 0x60, 0x0b, 0x45, 0xad,
    383  1.5.2.2  pgoyette 	0x0b, 0x64, 0x96, 0x7d, 0x84, 0xf2, 0x20, 0xa8,
    384  1.5.2.2  pgoyette 	0x95, 0x78, 0xb3, 0xb5, 0x98, 0x1f, 0xa7, 0x3e,
    385  1.5.2.2  pgoyette 	0x30, 0x77, 0x43, 0xd2, 0x8c, 0x20, 0xc5, 0x5e,
    386  1.5.2.2  pgoyette 	0x76, 0xcd, 0x2c, 0x7c, 0xfa, 0x34, 0x36, 0xda,
    387  1.5.2.2  pgoyette 	0x39, 0x00, 0x2e, 0x69, 0x4a, 0xb3, 0x0f, 0x6f,
    388  1.5.2.2  pgoyette };
    389  1.5.2.2  pgoyette 
    390  1.5.2.2  pgoyette const struct testvec aes_cbc_128_1_vectors[] = {
    391  1.5.2.2  pgoyette 	{
    392  1.5.2.2  pgoyette 		.blkno = 0,
    393  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    394  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno1_vec0_ctxt,
    395  1.5.2.2  pgoyette 	},
    396  1.5.2.2  pgoyette 	{
    397  1.5.2.2  pgoyette 		.blkno = 1,
    398  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    399  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno1_vec1_ctxt,
    400  1.5.2.2  pgoyette 	},
    401  1.5.2.2  pgoyette 	{
    402  1.5.2.2  pgoyette 		.blkno = 2,
    403  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    404  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno1_vec2_ctxt,
    405  1.5.2.2  pgoyette 	},
    406  1.5.2.2  pgoyette 	{
    407  1.5.2.2  pgoyette 		.blkno = 3,
    408  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    409  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno1_vec3_ctxt,
    410  1.5.2.2  pgoyette 	},
    411  1.5.2.2  pgoyette };
    412  1.5.2.2  pgoyette 
    413  1.5.2.2  pgoyette /*
    414  1.5.2.2  pgoyette  * IV method encblkno8, blkno 0.
    415  1.5.2.2  pgoyette  */
    416  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno8_vec0_ctxt[SECSIZE] = {
    417  1.5.2.2  pgoyette 	0xa6, 0x64, 0xef, 0x0f, 0xc4, 0x45, 0xcc, 0x5e,
    418  1.5.2.2  pgoyette 	0xf8, 0x27, 0x42, 0x5e, 0xbd, 0x93, 0x99, 0xcd,
    419  1.5.2.2  pgoyette 	0x79, 0xa8, 0x7d, 0x72, 0xc4, 0x02, 0x99, 0xa6,
    420  1.5.2.2  pgoyette 	0xe4, 0x69, 0x57, 0x82, 0xdf, 0x32, 0x4e, 0x67,
    421  1.5.2.2  pgoyette 	0x2a, 0xd9, 0x58, 0x8c, 0x9f, 0xfc, 0x4d, 0xcf,
    422  1.5.2.2  pgoyette 	0x7b, 0xa4, 0xa1, 0xfa, 0xd9, 0x4d, 0xb5, 0x67,
    423  1.5.2.2  pgoyette 	0x06, 0x4a, 0x9e, 0x6d, 0xe8, 0xaa, 0xdd, 0xae,
    424  1.5.2.2  pgoyette 	0x8c, 0xda, 0xcf, 0x26, 0xd5, 0x94, 0x8d, 0x12,
    425  1.5.2.2  pgoyette 	0xf8, 0xdd, 0x21, 0x4c, 0xcb, 0xc8, 0x5d, 0xd1,
    426  1.5.2.2  pgoyette 	0x6a, 0x89, 0x37, 0xd0, 0x32, 0xe4, 0x87, 0xbc,
    427  1.5.2.2  pgoyette 	0x5d, 0xef, 0xca, 0x38, 0xd5, 0x08, 0xfb, 0xcf,
    428  1.5.2.2  pgoyette 	0xb7, 0x8d, 0x65, 0x52, 0x13, 0xea, 0x2d, 0x30,
    429  1.5.2.2  pgoyette 	0xd3, 0x9a, 0xe8, 0x9c, 0x76, 0x25, 0x44, 0x2a,
    430  1.5.2.2  pgoyette 	0xf1, 0xe1, 0xbb, 0xcd, 0xbc, 0x9c, 0xf5, 0xa3,
    431  1.5.2.2  pgoyette 	0xfb, 0x23, 0x53, 0x95, 0x61, 0xea, 0x46, 0x97,
    432  1.5.2.2  pgoyette 	0xf6, 0xbf, 0xdf, 0xf9, 0xb7, 0x94, 0x73, 0xa8,
    433  1.5.2.2  pgoyette 	0xc1, 0xaa, 0x64, 0xfb, 0x66, 0x26, 0x0f, 0x4c,
    434  1.5.2.2  pgoyette 	0xee, 0x3c, 0xb6, 0x3f, 0x13, 0x88, 0xaa, 0x7d,
    435  1.5.2.2  pgoyette 	0x91, 0x01, 0x1a, 0x95, 0x3b, 0xb5, 0x7e, 0x1f,
    436  1.5.2.2  pgoyette 	0xc1, 0x84, 0xa6, 0x83, 0x99, 0xe6, 0xaf, 0x21,
    437  1.5.2.2  pgoyette 	0x33, 0xff, 0x2e, 0xc9, 0xfe, 0xf2, 0xa1, 0x37,
    438  1.5.2.2  pgoyette 	0xed, 0x91, 0x73, 0x70, 0x4f, 0xb4, 0x69, 0x69,
    439  1.5.2.2  pgoyette 	0x98, 0x1d, 0x6d, 0xd4, 0xa4, 0xac, 0x73, 0x61,
    440  1.5.2.2  pgoyette 	0x04, 0xf5, 0x13, 0x50, 0x2a, 0xa9, 0xf7, 0x61,
    441  1.5.2.2  pgoyette 	0x78, 0xf5, 0x87, 0x26, 0xc5, 0x4a, 0x30, 0xbb,
    442  1.5.2.2  pgoyette 	0x94, 0x55, 0x51, 0xb4, 0xa0, 0x83, 0x30, 0xe6,
    443  1.5.2.2  pgoyette 	0xf7, 0xc7, 0x89, 0x61, 0x73, 0xd9, 0xbd, 0xe1,
    444  1.5.2.2  pgoyette 	0x4e, 0x14, 0x8a, 0x02, 0x3d, 0x7a, 0x58, 0x92,
    445  1.5.2.2  pgoyette 	0x41, 0xe7, 0x90, 0x8d, 0xd7, 0x67, 0x62, 0xf8,
    446  1.5.2.2  pgoyette 	0x99, 0xa7, 0x9d, 0x55, 0xec, 0x18, 0x6b, 0x42,
    447  1.5.2.2  pgoyette 	0xaf, 0x27, 0x97, 0xe5, 0x51, 0xa9, 0x10, 0x27,
    448  1.5.2.2  pgoyette 	0x5e, 0x3f, 0xac, 0xda, 0xd3, 0xb5, 0x2b, 0x43,
    449  1.5.2.2  pgoyette 	0x2e, 0x10, 0xdc, 0xd9, 0xe2, 0x2f, 0x4f, 0xfe,
    450  1.5.2.2  pgoyette 	0xf3, 0x0d, 0x06, 0x76, 0xf9, 0x25, 0xcd, 0x26,
    451  1.5.2.2  pgoyette 	0xef, 0x8e, 0x9b, 0xc2, 0xb3, 0x20, 0x2b, 0x00,
    452  1.5.2.2  pgoyette 	0xb6, 0xe6, 0x2e, 0xf7, 0x17, 0xc7, 0xa8, 0x3c,
    453  1.5.2.2  pgoyette 	0x00, 0xfc, 0x78, 0x8d, 0x10, 0x38, 0xd1, 0x11,
    454  1.5.2.2  pgoyette 	0x94, 0xed, 0xb4, 0x22, 0x13, 0xcb, 0x52, 0x0f,
    455  1.5.2.2  pgoyette 	0x0f, 0xd7, 0x33, 0x3b, 0xbd, 0x01, 0x04, 0x56,
    456  1.5.2.2  pgoyette 	0xfa, 0x2c, 0xaa, 0xaf, 0x2b, 0x93, 0xde, 0xf4,
    457  1.5.2.2  pgoyette 	0x31, 0x36, 0x13, 0x71, 0xef, 0x7a, 0xf0, 0xae,
    458  1.5.2.2  pgoyette 	0xbd, 0xa7, 0x4a, 0x57, 0xa5, 0xc5, 0xf3, 0x5c,
    459  1.5.2.2  pgoyette 	0x08, 0x2b, 0xe7, 0x12, 0x42, 0x4b, 0x4b, 0x12,
    460  1.5.2.2  pgoyette 	0x49, 0x3a, 0x2e, 0x26, 0x67, 0x67, 0xa1, 0xd5,
    461  1.5.2.2  pgoyette 	0x59, 0xa6, 0x18, 0x96, 0x22, 0x2b, 0xeb, 0x56,
    462  1.5.2.2  pgoyette 	0x1e, 0x0a, 0x08, 0x75, 0xb4, 0x2b, 0x5c, 0x0a,
    463  1.5.2.2  pgoyette 	0x4e, 0x9d, 0x17, 0xd4, 0x0c, 0xfe, 0x46, 0x60,
    464  1.5.2.2  pgoyette 	0x6d, 0xfa, 0xc0, 0xb9, 0x5e, 0x1f, 0x88, 0x0e,
    465  1.5.2.2  pgoyette 	0x08, 0x2c, 0xf3, 0xb4, 0x3a, 0x15, 0xc5, 0xf9,
    466  1.5.2.2  pgoyette 	0x5b, 0x85, 0x92, 0x94, 0xa8, 0x8f, 0x2c, 0x3a,
    467  1.5.2.2  pgoyette 	0x7e, 0x22, 0x86, 0x88, 0x51, 0x03, 0xee, 0xf9,
    468  1.5.2.2  pgoyette 	0x2e, 0x83, 0xce, 0x39, 0x0c, 0x76, 0x64, 0xe5,
    469  1.5.2.2  pgoyette 	0x5a, 0x88, 0xef, 0xc5, 0x06, 0xb2, 0xe4, 0x13,
    470  1.5.2.2  pgoyette 	0x82, 0xc9, 0xee, 0xba, 0x6d, 0x56, 0xa8, 0x87,
    471  1.5.2.2  pgoyette 	0x51, 0x69, 0x3b, 0x86, 0x29, 0x8e, 0xe8, 0xb4,
    472  1.5.2.2  pgoyette 	0x44, 0x42, 0x07, 0x5b, 0xff, 0x0e, 0x1e, 0x9f,
    473  1.5.2.2  pgoyette 	0x42, 0xb1, 0xc8, 0x5f, 0xab, 0x3b, 0xc7, 0xba,
    474  1.5.2.2  pgoyette 	0x75, 0x20, 0xe6, 0x9f, 0x93, 0xb5, 0xcf, 0x8f,
    475  1.5.2.2  pgoyette 	0x7c, 0x1c, 0xf3, 0xdb, 0x6a, 0xf4, 0xde, 0x00,
    476  1.5.2.2  pgoyette 	0xe9, 0xaf, 0xd5, 0xf4, 0x36, 0x98, 0x14, 0x2d,
    477  1.5.2.2  pgoyette 	0x53, 0x20, 0x74, 0xab, 0x0c, 0xf6, 0xcd, 0x15,
    478  1.5.2.2  pgoyette 	0x32, 0xa6, 0x01, 0x8d, 0x24, 0x1b, 0x4b, 0x1f,
    479  1.5.2.2  pgoyette 	0xa3, 0xfc, 0x38, 0x82, 0x3a, 0xa1, 0xb5, 0x52,
    480  1.5.2.2  pgoyette 	0x53, 0xc7, 0x2b, 0x30, 0x7c, 0x65, 0xb9, 0x7d,
    481  1.5.2.2  pgoyette };
    482  1.5.2.2  pgoyette 
    483  1.5.2.2  pgoyette /*
    484  1.5.2.2  pgoyette  * IV method encblkno8, blkno 1.
    485  1.5.2.2  pgoyette  */
    486  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno8_vec1_ctxt[SECSIZE] = {
    487  1.5.2.2  pgoyette 	0x63, 0x45, 0x16, 0x0c, 0xe4, 0x4f, 0x51, 0xde,
    488  1.5.2.2  pgoyette 	0x74, 0xf8, 0x7b, 0xf5, 0x05, 0x17, 0x13, 0x1e,
    489  1.5.2.2  pgoyette 	0xa5, 0x3d, 0x84, 0xfa, 0x35, 0x5a, 0x2d, 0x3c,
    490  1.5.2.2  pgoyette 	0xb7, 0x61, 0x68, 0xff, 0xcd, 0x33, 0x1f, 0x0b,
    491  1.5.2.2  pgoyette 	0x53, 0x79, 0xf2, 0x2f, 0xbc, 0x8d, 0xac, 0xb9,
    492  1.5.2.2  pgoyette 	0xf9, 0xb7, 0x9c, 0x0a, 0x9d, 0xa1, 0x4d, 0x78,
    493  1.5.2.2  pgoyette 	0x9e, 0x4e, 0xfa, 0xe8, 0xc8, 0x46, 0x4b, 0x99,
    494  1.5.2.2  pgoyette 	0x91, 0x7e, 0x33, 0x6e, 0x18, 0x24, 0x01, 0xc3,
    495  1.5.2.2  pgoyette 	0x9f, 0x8c, 0x43, 0xb5, 0x15, 0x7e, 0xdd, 0xf9,
    496  1.5.2.2  pgoyette 	0x1b, 0xb0, 0xf2, 0xc3, 0x97, 0x1f, 0x7c, 0x3f,
    497  1.5.2.2  pgoyette 	0x43, 0x4c, 0x9f, 0x93, 0x29, 0x83, 0x8f, 0xad,
    498  1.5.2.2  pgoyette 	0xd1, 0x5e, 0x92, 0x1a, 0x17, 0xd1, 0xa0, 0x05,
    499  1.5.2.2  pgoyette 	0x6e, 0x62, 0x59, 0x80, 0x50, 0x6d, 0xe3, 0x28,
    500  1.5.2.2  pgoyette 	0x9a, 0x43, 0xdc, 0x81, 0x4f, 0x49, 0xc4, 0x98,
    501  1.5.2.2  pgoyette 	0xcd, 0x6d, 0x28, 0xb4, 0x86, 0xe4, 0x83, 0x45,
    502  1.5.2.2  pgoyette 	0xd4, 0x43, 0x52, 0x8a, 0xd6, 0xc8, 0x1c, 0x90,
    503  1.5.2.2  pgoyette 	0xeb, 0xf0, 0xe7, 0x76, 0xb4, 0x43, 0x9b, 0x56,
    504  1.5.2.2  pgoyette 	0x48, 0x73, 0xdd, 0x01, 0x50, 0x1c, 0x61, 0xfc,
    505  1.5.2.2  pgoyette 	0x22, 0xac, 0xf4, 0x27, 0x94, 0x02, 0x54, 0xd3,
    506  1.5.2.2  pgoyette 	0x7d, 0x25, 0xf6, 0x14, 0x29, 0xbb, 0x2b, 0x22,
    507  1.5.2.2  pgoyette 	0xc8, 0xe8, 0x7f, 0xa1, 0xfe, 0x19, 0x79, 0x97,
    508  1.5.2.2  pgoyette 	0xb6, 0xa6, 0xba, 0x5b, 0x89, 0xdf, 0x73, 0x6d,
    509  1.5.2.2  pgoyette 	0x79, 0x38, 0x5b, 0xf8, 0x89, 0xa2, 0x95, 0x1d,
    510  1.5.2.2  pgoyette 	0xda, 0x38, 0x17, 0x4b, 0x01, 0xf1, 0x7d, 0x0a,
    511  1.5.2.2  pgoyette 	0xa2, 0x8f, 0x5a, 0x02, 0x51, 0xb0, 0x88, 0x10,
    512  1.5.2.2  pgoyette 	0x16, 0xc8, 0x82, 0xb9, 0x06, 0x9f, 0x01, 0x94,
    513  1.5.2.2  pgoyette 	0xf9, 0xe0, 0x2e, 0x86, 0x8a, 0xb1, 0x7f, 0x74,
    514  1.5.2.2  pgoyette 	0x22, 0xce, 0xee, 0xa6, 0x66, 0xee, 0xe2, 0x1d,
    515  1.5.2.2  pgoyette 	0x98, 0x1b, 0x46, 0x22, 0x7e, 0x89, 0x0c, 0xc4,
    516  1.5.2.2  pgoyette 	0x91, 0xfb, 0xe4, 0xd7, 0x36, 0x2a, 0xa9, 0x53,
    517  1.5.2.2  pgoyette 	0xe9, 0xaf, 0x6c, 0xc1, 0xdd, 0x69, 0x4f, 0xde,
    518  1.5.2.2  pgoyette 	0xd8, 0xd0, 0x7f, 0xc9, 0xf4, 0x8f, 0x84, 0xfe,
    519  1.5.2.2  pgoyette 	0x0f, 0x16, 0x36, 0x90, 0x09, 0xd6, 0x0f, 0xbc,
    520  1.5.2.2  pgoyette 	0x85, 0xad, 0xe9, 0xc3, 0xa1, 0x8d, 0x14, 0x5c,
    521  1.5.2.2  pgoyette 	0x40, 0x7d, 0x0f, 0x22, 0xfe, 0x5e, 0xaf, 0xd9,
    522  1.5.2.2  pgoyette 	0x0f, 0xe5, 0x2e, 0xa6, 0x04, 0xda, 0x35, 0x90,
    523  1.5.2.2  pgoyette 	0x7f, 0x9a, 0x1f, 0xb8, 0x34, 0x1c, 0xd0, 0xf5,
    524  1.5.2.2  pgoyette 	0x5c, 0x29, 0xce, 0xbe, 0x57, 0xd8, 0x55, 0x15,
    525  1.5.2.2  pgoyette 	0x2d, 0x4c, 0x3c, 0x16, 0x93, 0x96, 0x3c, 0xf3,
    526  1.5.2.2  pgoyette 	0xa8, 0x2f, 0x09, 0xb3, 0x8b, 0xe3, 0xce, 0xf7,
    527  1.5.2.2  pgoyette 	0x3e, 0x8e, 0xcf, 0x47, 0xe2, 0xf2, 0xad, 0x06,
    528  1.5.2.2  pgoyette 	0x00, 0x9a, 0x3a, 0x55, 0xf5, 0x9e, 0xbf, 0x5a,
    529  1.5.2.2  pgoyette 	0x2e, 0x5a, 0x6c, 0x2b, 0x8f, 0x33, 0x71, 0x2c,
    530  1.5.2.2  pgoyette 	0x56, 0x43, 0xd1, 0x8b, 0xd2, 0x98, 0x14, 0xb7,
    531  1.5.2.2  pgoyette 	0x5a, 0xdc, 0x8b, 0xbc, 0xfe, 0x50, 0x99, 0x84,
    532  1.5.2.2  pgoyette 	0x48, 0x5f, 0xcd, 0xed, 0xce, 0x61, 0x6f, 0xa6,
    533  1.5.2.2  pgoyette 	0x83, 0xa3, 0x34, 0xbe, 0xf2, 0x66, 0xf3, 0x09,
    534  1.5.2.2  pgoyette 	0xf3, 0xd3, 0x97, 0xd4, 0xee, 0x66, 0x9a, 0x81,
    535  1.5.2.2  pgoyette 	0x62, 0x84, 0x85, 0x7f, 0x79, 0x18, 0xd2, 0x82,
    536  1.5.2.2  pgoyette 	0xd6, 0x96, 0x09, 0x61, 0x1e, 0x53, 0x97, 0x80,
    537  1.5.2.2  pgoyette 	0x0a, 0x81, 0x4b, 0x93, 0xf0, 0x03, 0x65, 0x18,
    538  1.5.2.2  pgoyette 	0x93, 0x5b, 0x60, 0x2f, 0xb5, 0xfe, 0x82, 0xaf,
    539  1.5.2.2  pgoyette 	0x85, 0xb7, 0x79, 0x7c, 0xee, 0xad, 0xea, 0xfa,
    540  1.5.2.2  pgoyette 	0x9b, 0xad, 0xca, 0x38, 0x21, 0x3d, 0x46, 0x8a,
    541  1.5.2.2  pgoyette 	0x5b, 0xa7, 0x55, 0x3d, 0x88, 0x4a, 0x52, 0xdb,
    542  1.5.2.2  pgoyette 	0xf2, 0x07, 0xed, 0xd6, 0x3c, 0x9f, 0x1b, 0x42,
    543  1.5.2.2  pgoyette 	0xb4, 0x14, 0x12, 0xb7, 0x00, 0xfc, 0x6a, 0x79,
    544  1.5.2.2  pgoyette 	0x61, 0x0b, 0x43, 0xaa, 0x44, 0x48, 0x30, 0x15,
    545  1.5.2.2  pgoyette 	0x48, 0x76, 0x27, 0x32, 0x7a, 0x2e, 0x25, 0x6a,
    546  1.5.2.2  pgoyette 	0x8c, 0x8c, 0x64, 0x67, 0x86, 0x54, 0x4a, 0x93,
    547  1.5.2.2  pgoyette 	0x14, 0xfe, 0x81, 0xf5, 0xcf, 0x98, 0x92, 0xd3,
    548  1.5.2.2  pgoyette 	0x92, 0xf5, 0x6a, 0x74, 0x28, 0x10, 0x6b, 0xd4,
    549  1.5.2.2  pgoyette 	0x1d, 0x64, 0x7e, 0x05, 0x32, 0xba, 0xf7, 0x4c,
    550  1.5.2.2  pgoyette 	0xe9, 0xa8, 0xa9, 0xc5, 0x35, 0x34, 0x26, 0x41,
    551  1.5.2.2  pgoyette };
    552  1.5.2.2  pgoyette 
    553  1.5.2.2  pgoyette /*
    554  1.5.2.2  pgoyette  * IV method encblkno8, blkno 2.
    555  1.5.2.2  pgoyette  */
    556  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno8_vec2_ctxt[SECSIZE] = {
    557  1.5.2.2  pgoyette 	0x64, 0x7b, 0x62, 0x7a, 0xa6, 0xa9, 0xb3, 0x47,
    558  1.5.2.2  pgoyette 	0xbc, 0x03, 0x14, 0x3d, 0x9b, 0x56, 0xfc, 0x13,
    559  1.5.2.2  pgoyette 	0x08, 0x32, 0x81, 0xe3, 0x57, 0x3c, 0x0d, 0xbb,
    560  1.5.2.2  pgoyette 	0x85, 0x44, 0x47, 0x12, 0xc4, 0x80, 0x35, 0x37,
    561  1.5.2.2  pgoyette 	0xe1, 0xb4, 0x3f, 0x35, 0x98, 0x7c, 0xb0, 0x3b,
    562  1.5.2.2  pgoyette 	0x85, 0xab, 0x3d, 0x0b, 0xd3, 0x6f, 0xf9, 0x92,
    563  1.5.2.2  pgoyette 	0x00, 0x6b, 0x18, 0xe7, 0x31, 0x8b, 0x77, 0x4c,
    564  1.5.2.2  pgoyette 	0xd0, 0x7b, 0x1d, 0xfc, 0x95, 0xe6, 0x02, 0x01,
    565  1.5.2.2  pgoyette 	0x9c, 0x17, 0x4d, 0x9b, 0x3a, 0x1d, 0x12, 0x23,
    566  1.5.2.2  pgoyette 	0xd4, 0x24, 0xf8, 0x47, 0x5e, 0x2d, 0xfd, 0xc8,
    567  1.5.2.2  pgoyette 	0x74, 0x28, 0xb4, 0x3a, 0x99, 0x6b, 0xcc, 0xba,
    568  1.5.2.2  pgoyette 	0xe5, 0x51, 0x0b, 0xab, 0x4d, 0x63, 0xfc, 0x6d,
    569  1.5.2.2  pgoyette 	0x2d, 0xd9, 0x2b, 0x4f, 0xa4, 0x26, 0xc7, 0x8d,
    570  1.5.2.2  pgoyette 	0x9d, 0x12, 0x7f, 0xc7, 0x6b, 0x15, 0x8b, 0x4a,
    571  1.5.2.2  pgoyette 	0x41, 0xf8, 0x50, 0x32, 0x76, 0x10, 0xca, 0x8e,
    572  1.5.2.2  pgoyette 	0xfe, 0x08, 0x7d, 0x9a, 0xb5, 0x1a, 0xdb, 0x10,
    573  1.5.2.2  pgoyette 	0xb3, 0x6a, 0x5f, 0xd9, 0x0a, 0x5f, 0x31, 0x19,
    574  1.5.2.2  pgoyette 	0x3e, 0xa9, 0xa1, 0x72, 0x1f, 0x6c, 0x97, 0x20,
    575  1.5.2.2  pgoyette 	0xd4, 0xab, 0xb8, 0xad, 0xf7, 0x70, 0x12, 0xd0,
    576  1.5.2.2  pgoyette 	0x8f, 0x70, 0x24, 0x58, 0x2e, 0x99, 0xcd, 0xd4,
    577  1.5.2.2  pgoyette 	0xf4, 0xcd, 0xef, 0x93, 0xfb, 0x4f, 0x9a, 0x40,
    578  1.5.2.2  pgoyette 	0x46, 0x92, 0x6b, 0xd0, 0x25, 0x24, 0xec, 0x4d,
    579  1.5.2.2  pgoyette 	0x4c, 0x42, 0x50, 0x61, 0xb6, 0x21, 0xa6, 0x2e,
    580  1.5.2.2  pgoyette 	0xc1, 0x42, 0x9e, 0x86, 0x9f, 0x57, 0x2a, 0x2c,
    581  1.5.2.2  pgoyette 	0x82, 0xbd, 0xc2, 0x25, 0xb6, 0x9f, 0x2d, 0x9f,
    582  1.5.2.2  pgoyette 	0xba, 0xe0, 0xa6, 0x06, 0x04, 0x08, 0xc5, 0x1d,
    583  1.5.2.2  pgoyette 	0x8c, 0x0f, 0xbf, 0x21, 0x85, 0x6d, 0x61, 0x4d,
    584  1.5.2.2  pgoyette 	0x93, 0xc0, 0xa2, 0x8b, 0xca, 0x07, 0xd0, 0x88,
    585  1.5.2.2  pgoyette 	0x74, 0xf9, 0x42, 0x92, 0xd5, 0x0d, 0x0c, 0x34,
    586  1.5.2.2  pgoyette 	0xa6, 0xa5, 0x86, 0x51, 0xcf, 0x40, 0x36, 0x66,
    587  1.5.2.2  pgoyette 	0x35, 0x9f, 0xa8, 0x95, 0x0b, 0xfb, 0x0c, 0xe8,
    588  1.5.2.2  pgoyette 	0xdc, 0x12, 0x78, 0x4c, 0x52, 0xf4, 0xfc, 0x4a,
    589  1.5.2.2  pgoyette 	0x77, 0xdd, 0x77, 0x34, 0xf7, 0x35, 0x94, 0x7a,
    590  1.5.2.2  pgoyette 	0x31, 0x16, 0x86, 0x44, 0x50, 0x30, 0x1c, 0x6d,
    591  1.5.2.2  pgoyette 	0x9f, 0x66, 0x49, 0xb5, 0xe6, 0x71, 0x00, 0x83,
    592  1.5.2.2  pgoyette 	0xd1, 0xa0, 0x01, 0xff, 0xc3, 0x27, 0xaa, 0x9a,
    593  1.5.2.2  pgoyette 	0xdb, 0xad, 0x24, 0xdb, 0xbd, 0xde, 0xfd, 0xa6,
    594  1.5.2.2  pgoyette 	0xaa, 0x87, 0x98, 0x98, 0xde, 0x90, 0xd5, 0x40,
    595  1.5.2.2  pgoyette 	0x20, 0x8f, 0xe9, 0xdd, 0xa8, 0xec, 0xd3, 0x18,
    596  1.5.2.2  pgoyette 	0x20, 0x85, 0x5e, 0xd5, 0xe7, 0x50, 0x58, 0x15,
    597  1.5.2.2  pgoyette 	0x69, 0x03, 0xa5, 0xe8, 0xa9, 0x7a, 0x0f, 0xd1,
    598  1.5.2.2  pgoyette 	0x7d, 0x22, 0x8a, 0xe0, 0xc6, 0x17, 0x33, 0x00,
    599  1.5.2.2  pgoyette 	0x57, 0xcb, 0xf6, 0x8d, 0xf0, 0xc1, 0x7b, 0xb5,
    600  1.5.2.2  pgoyette 	0x96, 0x0f, 0x08, 0x84, 0x5b, 0x7e, 0xa6, 0x1e,
    601  1.5.2.2  pgoyette 	0xd8, 0x5e, 0x0c, 0xca, 0x30, 0x4b, 0xe0, 0x87,
    602  1.5.2.2  pgoyette 	0x2f, 0xbc, 0x07, 0x83, 0x35, 0x76, 0x36, 0x17,
    603  1.5.2.2  pgoyette 	0xcf, 0xdb, 0x27, 0x53, 0x43, 0xf5, 0x07, 0xd0,
    604  1.5.2.2  pgoyette 	0x91, 0x83, 0xa1, 0xaa, 0x8d, 0xdb, 0x00, 0x2b,
    605  1.5.2.2  pgoyette 	0xd1, 0x88, 0xe5, 0x59, 0x47, 0x17, 0xf0, 0xe8,
    606  1.5.2.2  pgoyette 	0xce, 0x3b, 0xa0, 0x73, 0x1f, 0x22, 0x9b, 0x1b,
    607  1.5.2.2  pgoyette 	0x59, 0x02, 0xe6, 0xaf, 0x3f, 0xdd, 0xfe, 0xba,
    608  1.5.2.2  pgoyette 	0xc3, 0x6b, 0xe5, 0x82, 0x02, 0x92, 0x0c, 0x5e,
    609  1.5.2.2  pgoyette 	0x5a, 0x87, 0x88, 0x91, 0x00, 0xb5, 0x30, 0x37,
    610  1.5.2.2  pgoyette 	0xf5, 0xc6, 0xdf, 0x0a, 0x7f, 0x03, 0x1c, 0x1f,
    611  1.5.2.2  pgoyette 	0x20, 0xf1, 0xd4, 0x5f, 0x94, 0xc3, 0x6f, 0x21,
    612  1.5.2.2  pgoyette 	0x5e, 0xf2, 0x77, 0x5a, 0x42, 0xfd, 0xd3, 0xc4,
    613  1.5.2.2  pgoyette 	0x31, 0xaf, 0xd6, 0x6c, 0x6c, 0xde, 0x8c, 0x50,
    614  1.5.2.2  pgoyette 	0x01, 0x8f, 0x57, 0x90, 0x88, 0x43, 0xf9, 0x44,
    615  1.5.2.2  pgoyette 	0x09, 0x4d, 0x27, 0x58, 0x9f, 0xae, 0x50, 0x28,
    616  1.5.2.2  pgoyette 	0x12, 0x47, 0x20, 0x79, 0x2b, 0xe4, 0x02, 0x97,
    617  1.5.2.2  pgoyette 	0xcd, 0xab, 0x53, 0x28, 0x8f, 0x8f, 0xe3, 0x3b,
    618  1.5.2.2  pgoyette 	0xd6, 0xc9, 0xc8, 0xff, 0xbf, 0x18, 0x3b, 0x75,
    619  1.5.2.2  pgoyette 	0xdb, 0xcf, 0x07, 0x8c, 0xfe, 0x58, 0xee, 0x75,
    620  1.5.2.2  pgoyette 	0x01, 0x98, 0x98, 0xe4, 0x60, 0xfe, 0xe6, 0x7f,
    621  1.5.2.2  pgoyette };
    622  1.5.2.2  pgoyette 
    623  1.5.2.2  pgoyette /*
    624  1.5.2.2  pgoyette  * IV method encblkno8, blkno 3.
    625  1.5.2.2  pgoyette  */
    626  1.5.2.2  pgoyette static const uint8_t aes_cbc_128_encblkno8_vec3_ctxt[SECSIZE] = {
    627  1.5.2.2  pgoyette 	0x98, 0xae, 0x82, 0x1d, 0x76, 0x3a, 0xfe, 0x80,
    628  1.5.2.2  pgoyette 	0x04, 0xa3, 0x43, 0xf0, 0x06, 0x45, 0x83, 0xb7,
    629  1.5.2.2  pgoyette 	0xe2, 0xb5, 0x73, 0x46, 0x78, 0x01, 0x2f, 0xd6,
    630  1.5.2.2  pgoyette 	0x0d, 0x49, 0x64, 0x4c, 0xeb, 0x8d, 0xdc, 0xa9,
    631  1.5.2.2  pgoyette 	0xdc, 0xea, 0x22, 0x25, 0xd4, 0x8f, 0xba, 0x9f,
    632  1.5.2.2  pgoyette 	0xd4, 0x7a, 0x3c, 0x9e, 0xd0, 0xd9, 0xcd, 0xa4,
    633  1.5.2.2  pgoyette 	0x12, 0xdf, 0x8f, 0x50, 0x24, 0x18, 0xa2, 0x0b,
    634  1.5.2.2  pgoyette 	0xd9, 0x7f, 0xda, 0x78, 0xd6, 0x11, 0xf3, 0x99,
    635  1.5.2.2  pgoyette 	0xc4, 0xec, 0x95, 0xe2, 0x85, 0xe1, 0xa0, 0x0d,
    636  1.5.2.2  pgoyette 	0x07, 0x22, 0x56, 0xaf, 0x2f, 0xf5, 0x7d, 0x63,
    637  1.5.2.2  pgoyette 	0xf2, 0x90, 0x6c, 0x26, 0x4f, 0xa5, 0x47, 0xcd,
    638  1.5.2.2  pgoyette 	0x66, 0x2d, 0x4c, 0x4d, 0x94, 0x6a, 0x3c, 0x98,
    639  1.5.2.2  pgoyette 	0xe4, 0x5e, 0x3b, 0x42, 0x3a, 0x93, 0x02, 0xd0,
    640  1.5.2.2  pgoyette 	0x90, 0xc7, 0xcd, 0x87, 0x0e, 0x84, 0x82, 0xf5,
    641  1.5.2.2  pgoyette 	0x77, 0x7b, 0x29, 0xe4, 0xea, 0x5b, 0x60, 0x50,
    642  1.5.2.2  pgoyette 	0xf7, 0x60, 0x8d, 0xf7, 0xd8, 0xd7, 0x7d, 0x99,
    643  1.5.2.2  pgoyette 	0x8a, 0xdc, 0xe2, 0xb9, 0x40, 0xac, 0x4b, 0x9f,
    644  1.5.2.2  pgoyette 	0x55, 0x30, 0xcb, 0x5a, 0x73, 0x64, 0xf2, 0xca,
    645  1.5.2.2  pgoyette 	0x76, 0x88, 0xf7, 0x55, 0xb5, 0x33, 0xc0, 0x44,
    646  1.5.2.2  pgoyette 	0xdf, 0x42, 0xee, 0xc9, 0xc5, 0x2a, 0x47, 0x18,
    647  1.5.2.2  pgoyette 	0x8b, 0x74, 0xb9, 0x4f, 0x2c, 0xd8, 0x7a, 0xd1,
    648  1.5.2.2  pgoyette 	0x12, 0x19, 0xf9, 0x21, 0x8d, 0x21, 0x7e, 0x2a,
    649  1.5.2.2  pgoyette 	0xcf, 0xd5, 0xbb, 0x69, 0xaa, 0x20, 0x25, 0xe0,
    650  1.5.2.2  pgoyette 	0xf5, 0x3b, 0x33, 0x77, 0x63, 0xb2, 0x05, 0x5c,
    651  1.5.2.2  pgoyette 	0x10, 0x9c, 0x61, 0x48, 0xf5, 0xe6, 0x04, 0xd3,
    652  1.5.2.2  pgoyette 	0xc8, 0xb4, 0xf6, 0xcf, 0x22, 0x1c, 0xf6, 0xbb,
    653  1.5.2.2  pgoyette 	0x4b, 0xd7, 0x5d, 0x23, 0xfa, 0x0e, 0xc0, 0xac,
    654  1.5.2.2  pgoyette 	0x27, 0x38, 0x95, 0xd0, 0xdd, 0x83, 0xad, 0x9e,
    655  1.5.2.2  pgoyette 	0xcf, 0xde, 0x99, 0xe7, 0x04, 0xb7, 0x23, 0x9f,
    656  1.5.2.2  pgoyette 	0x46, 0x91, 0xb8, 0xcb, 0x18, 0xd0, 0xc5, 0xf8,
    657  1.5.2.2  pgoyette 	0xec, 0xfc, 0x33, 0xb7, 0xbe, 0x2d, 0xe9, 0x3a,
    658  1.5.2.2  pgoyette 	0x7f, 0x83, 0x5e, 0x44, 0x0f, 0x12, 0x6d, 0x05,
    659  1.5.2.2  pgoyette 	0xaa, 0xfb, 0x80, 0x7a, 0xf6, 0xdb, 0x25, 0xc6,
    660  1.5.2.2  pgoyette 	0x51, 0xf3, 0x5d, 0xf3, 0xa9, 0xb8, 0x34, 0x88,
    661  1.5.2.2  pgoyette 	0x88, 0x25, 0xd5, 0xa3, 0xe5, 0x8e, 0xb2, 0xc7,
    662  1.5.2.2  pgoyette 	0xdc, 0xd5, 0x2e, 0x99, 0xb9, 0xc5, 0x1d, 0x91,
    663  1.5.2.2  pgoyette 	0x49, 0x7b, 0xa3, 0x5e, 0x4b, 0xaf, 0x29, 0x7b,
    664  1.5.2.2  pgoyette 	0x37, 0xb5, 0x39, 0x2c, 0xdf, 0x3b, 0xb1, 0xd8,
    665  1.5.2.2  pgoyette 	0xba, 0x14, 0xc9, 0xd3, 0x6d, 0x67, 0x6a, 0x80,
    666  1.5.2.2  pgoyette 	0x89, 0x6f, 0x11, 0xc8, 0xbc, 0xd6, 0xc7, 0xab,
    667  1.5.2.2  pgoyette 	0x42, 0x1f, 0xf4, 0xa2, 0xc0, 0x9c, 0x2d, 0xca,
    668  1.5.2.2  pgoyette 	0x5f, 0xe6, 0x65, 0xfa, 0x28, 0x49, 0x99, 0xa3,
    669  1.5.2.2  pgoyette 	0x0b, 0x7b, 0x7d, 0x39, 0xaa, 0xa6, 0xd8, 0x0a,
    670  1.5.2.2  pgoyette 	0xfd, 0xde, 0x31, 0x86, 0x15, 0x95, 0x1e, 0x5c,
    671  1.5.2.2  pgoyette 	0x05, 0x4e, 0x3c, 0x18, 0xee, 0xa9, 0x56, 0x9c,
    672  1.5.2.2  pgoyette 	0x3c, 0xc3, 0x67, 0x84, 0x57, 0x77, 0x8d, 0xff,
    673  1.5.2.2  pgoyette 	0xea, 0x34, 0x3c, 0xf9, 0x58, 0xb8, 0xdc, 0x4e,
    674  1.5.2.2  pgoyette 	0xa1, 0x92, 0x2d, 0x9a, 0x91, 0x61, 0x23, 0x6a,
    675  1.5.2.2  pgoyette 	0xd9, 0xb7, 0x41, 0xc5, 0x0d, 0xb6, 0x57, 0x58,
    676  1.5.2.2  pgoyette 	0x42, 0x39, 0x4a, 0x86, 0x7e, 0x9d, 0xeb, 0x7d,
    677  1.5.2.2  pgoyette 	0xa8, 0x14, 0x1a, 0x5c, 0xa1, 0x54, 0x34, 0xb6,
    678  1.5.2.2  pgoyette 	0xb6, 0xbc, 0x1f, 0xf5, 0xe2, 0xb5, 0xe4, 0xa8,
    679  1.5.2.2  pgoyette 	0x42, 0xe3, 0x3d, 0x06, 0x6b, 0x50, 0xbb, 0xa1,
    680  1.5.2.2  pgoyette 	0x6b, 0x63, 0xe5, 0x60, 0x28, 0x07, 0x49, 0x06,
    681  1.5.2.2  pgoyette 	0x61, 0x0e, 0xa3, 0x6c, 0xc3, 0xc8, 0x3e, 0x5a,
    682  1.5.2.2  pgoyette 	0x9c, 0xa5, 0xb3, 0x9b, 0x8d, 0x46, 0xb9, 0xf5,
    683  1.5.2.2  pgoyette 	0x4a, 0x4d, 0xbe, 0xc0, 0xc1, 0x24, 0x92, 0x09,
    684  1.5.2.2  pgoyette 	0x7c, 0x9a, 0x21, 0x2c, 0x08, 0x8a, 0x0d, 0xfc,
    685  1.5.2.2  pgoyette 	0xff, 0xda, 0xdc, 0xf1, 0x45, 0x66, 0xf9, 0xcd,
    686  1.5.2.2  pgoyette 	0x64, 0x7c, 0x2f, 0x0e, 0x95, 0x5e, 0xec, 0x92,
    687  1.5.2.2  pgoyette 	0xd1, 0x03, 0x03, 0xa0, 0xcc, 0x73, 0x92, 0x15,
    688  1.5.2.2  pgoyette 	0x74, 0x42, 0x54, 0x48, 0x77, 0xbe, 0x96, 0xfb,
    689  1.5.2.2  pgoyette 	0x1f, 0x0c, 0x7a, 0x25, 0x67, 0x6b, 0x85, 0x71,
    690  1.5.2.2  pgoyette 	0x06, 0x15, 0xd3, 0x11, 0xfe, 0xf7, 0xa9, 0xb1,
    691  1.5.2.2  pgoyette };
    692  1.5.2.2  pgoyette 
    693  1.5.2.2  pgoyette const struct testvec aes_cbc_128_8_vectors[] = {
    694  1.5.2.2  pgoyette 	{
    695  1.5.2.2  pgoyette 		.blkno = 0,
    696  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    697  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno8_vec0_ctxt,
    698  1.5.2.2  pgoyette 	},
    699  1.5.2.2  pgoyette 	{
    700  1.5.2.2  pgoyette 		.blkno = 1,
    701  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    702  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno8_vec1_ctxt,
    703  1.5.2.2  pgoyette 	},
    704  1.5.2.2  pgoyette 	{
    705  1.5.2.2  pgoyette 		.blkno = 2,
    706  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    707  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno8_vec2_ctxt,
    708  1.5.2.2  pgoyette 	},
    709  1.5.2.2  pgoyette 	{
    710  1.5.2.2  pgoyette 		.blkno = 3,
    711  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
    712  1.5.2.2  pgoyette 		.ctxt = aes_cbc_128_encblkno8_vec3_ctxt,
    713  1.5.2.2  pgoyette 	},
    714  1.5.2.2  pgoyette };
    715  1.5.2.2  pgoyette 
    716  1.5.2.2  pgoyette /*
    717  1.5.2.2  pgoyette  * IV method encblkno1, blkno 0.
    718  1.5.2.2  pgoyette  */
    719  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno1_vec0_ctxt[SECSIZE] = {
    720  1.5.2.2  pgoyette 	0x7c, 0xc4, 0xec, 0x89, 0x7c, 0x13, 0xac, 0x99,
    721  1.5.2.2  pgoyette 	0x49, 0xa9, 0x96, 0xe7, 0xb1, 0x1a, 0xd6, 0xb0,
    722  1.5.2.2  pgoyette 	0xeb, 0x89, 0x27, 0x0f, 0x8b, 0x1b, 0xab, 0x8e,
    723  1.5.2.2  pgoyette 	0x2c, 0xd4, 0x00, 0x66, 0x12, 0x3a, 0x9a, 0x03,
    724  1.5.2.2  pgoyette 	0xc4, 0x49, 0xa4, 0xf0, 0xc1, 0x90, 0xf9, 0x38,
    725  1.5.2.2  pgoyette 	0xb2, 0x5c, 0xa5, 0x0d, 0x1b, 0x60, 0x94, 0xf6,
    726  1.5.2.2  pgoyette 	0x31, 0x4a, 0x72, 0xdb, 0xfc, 0xe1, 0x3c, 0xd6,
    727  1.5.2.2  pgoyette 	0x9d, 0x03, 0x07, 0x45, 0xdb, 0xad, 0xdb, 0xb3,
    728  1.5.2.2  pgoyette 	0x86, 0xfa, 0xce, 0x2c, 0xeb, 0xa2, 0xac, 0x05,
    729  1.5.2.2  pgoyette 	0xd9, 0x52, 0xb8, 0xae, 0xa9, 0x91, 0x86, 0x4b,
    730  1.5.2.2  pgoyette 	0xbb, 0xf8, 0x03, 0xb0, 0x6c, 0x40, 0xcc, 0xbf,
    731  1.5.2.2  pgoyette 	0xa3, 0x76, 0x60, 0xf7, 0x29, 0x03, 0xe6, 0x44,
    732  1.5.2.2  pgoyette 	0xcc, 0x2a, 0xe7, 0x74, 0x8e, 0x62, 0xfe, 0x99,
    733  1.5.2.2  pgoyette 	0x6a, 0x6d, 0x04, 0x1b, 0xe7, 0xf7, 0x9f, 0x13,
    734  1.5.2.2  pgoyette 	0xa7, 0x1d, 0x93, 0x0e, 0x8f, 0xe0, 0x77, 0x9b,
    735  1.5.2.2  pgoyette 	0xe3, 0x91, 0x67, 0x12, 0x33, 0x12, 0x42, 0x55,
    736  1.5.2.2  pgoyette 	0x28, 0x04, 0x2d, 0x01, 0x2b, 0xd2, 0xda, 0xbe,
    737  1.5.2.2  pgoyette 	0x7c, 0x83, 0xf2, 0x87, 0x71, 0x67, 0xaf, 0x6b,
    738  1.5.2.2  pgoyette 	0x50, 0x6c, 0x8c, 0x9f, 0x48, 0xee, 0x90, 0x0c,
    739  1.5.2.2  pgoyette 	0x9a, 0x9e, 0x40, 0xa8, 0x13, 0x2f, 0x58, 0xfb,
    740  1.5.2.2  pgoyette 	0xdc, 0xb1, 0xda, 0xff, 0x06, 0x9c, 0xeb, 0x5e,
    741  1.5.2.2  pgoyette 	0x0f, 0xaf, 0xc0, 0x9a, 0x47, 0x88, 0x25, 0xfd,
    742  1.5.2.2  pgoyette 	0x19, 0x5e, 0xd4, 0xe0, 0x7f, 0xe0, 0x71, 0x7a,
    743  1.5.2.2  pgoyette 	0x60, 0x54, 0xe7, 0x0d, 0xfe, 0x11, 0x9d, 0x77,
    744  1.5.2.2  pgoyette 	0xbd, 0x9b, 0xd0, 0xf8, 0x77, 0xe4, 0x5b, 0x88,
    745  1.5.2.2  pgoyette 	0x90, 0x12, 0x29, 0x88, 0xb6, 0xd9, 0x1e, 0x6c,
    746  1.5.2.2  pgoyette 	0xbf, 0xa4, 0x18, 0xe1, 0xe0, 0x5e, 0xed, 0x48,
    747  1.5.2.2  pgoyette 	0x9b, 0x05, 0x13, 0x37, 0x0f, 0x41, 0x54, 0xc8,
    748  1.5.2.2  pgoyette 	0xe4, 0x25, 0x0e, 0x82, 0x5f, 0x81, 0xba, 0x5d,
    749  1.5.2.2  pgoyette 	0x79, 0x8f, 0x9c, 0x17, 0x4b, 0x59, 0xf4, 0x5d,
    750  1.5.2.2  pgoyette 	0xd6, 0x83, 0xfd, 0x44, 0xd0, 0xe1, 0x89, 0x09,
    751  1.5.2.2  pgoyette 	0xf9, 0xe2, 0xb6, 0x9c, 0x1c, 0xbd, 0x13, 0xaa,
    752  1.5.2.2  pgoyette 	0xa0, 0x43, 0xaa, 0xaf, 0x6d, 0x65, 0x73, 0xba,
    753  1.5.2.2  pgoyette 	0x3a, 0x55, 0x69, 0x51, 0xb9, 0x52, 0x09, 0xaa,
    754  1.5.2.2  pgoyette 	0x9f, 0x91, 0x3c, 0x65, 0xe2, 0x81, 0xdb, 0xe8,
    755  1.5.2.2  pgoyette 	0x5a, 0xe3, 0x74, 0x11, 0x7b, 0xec, 0x2f, 0x18,
    756  1.5.2.2  pgoyette 	0x8d, 0x4c, 0x8f, 0xf2, 0x06, 0x3d, 0x22, 0xc6,
    757  1.5.2.2  pgoyette 	0x43, 0xef, 0x42, 0x7d, 0xe1, 0xe7, 0xde, 0x4c,
    758  1.5.2.2  pgoyette 	0x58, 0xad, 0x40, 0xbb, 0x8b, 0xce, 0x1f, 0x57,
    759  1.5.2.2  pgoyette 	0x8e, 0x6a, 0x27, 0x43, 0x46, 0x7f, 0x94, 0xe5,
    760  1.5.2.2  pgoyette 	0x45, 0x67, 0x12, 0xc8, 0x99, 0x85, 0x08, 0x2a,
    761  1.5.2.2  pgoyette 	0x37, 0x40, 0x0b, 0xb5, 0xd9, 0xa3, 0xf7, 0xc8,
    762  1.5.2.2  pgoyette 	0x87, 0xb1, 0xe6, 0x87, 0x2f, 0x86, 0xd8, 0x9c,
    763  1.5.2.2  pgoyette 	0x7b, 0xec, 0xcf, 0xa4, 0xe5, 0xd5, 0x50, 0x3f,
    764  1.5.2.2  pgoyette 	0xdf, 0xc9, 0xb7, 0x29, 0x97, 0xd6, 0x33, 0xba,
    765  1.5.2.2  pgoyette 	0xf0, 0x72, 0xf0, 0x76, 0x12, 0xd3, 0x99, 0x4f,
    766  1.5.2.2  pgoyette 	0x1b, 0x36, 0xda, 0xa1, 0x83, 0xfe, 0xf5, 0x94,
    767  1.5.2.2  pgoyette 	0x9e, 0x61, 0x82, 0x62, 0xe0, 0x08, 0x3a, 0xbd,
    768  1.5.2.2  pgoyette 	0xba, 0x8b, 0x3d, 0xd6, 0xbd, 0x16, 0x5f, 0xd7,
    769  1.5.2.2  pgoyette 	0x1d, 0x6c, 0x0e, 0x92, 0x89, 0x8c, 0x38, 0x62,
    770  1.5.2.2  pgoyette 	0x80, 0xee, 0x7e, 0x63, 0x82, 0x88, 0x0b, 0xbf,
    771  1.5.2.2  pgoyette 	0xdd, 0x9f, 0xbc, 0xba, 0xa7, 0x5a, 0xc6, 0x0d,
    772  1.5.2.2  pgoyette 	0x87, 0x59, 0xbf, 0x0a, 0x85, 0x06, 0xa3, 0xb4,
    773  1.5.2.2  pgoyette 	0x66, 0x63, 0xda, 0x12, 0x29, 0x5f, 0x2e, 0x4d,
    774  1.5.2.2  pgoyette 	0x60, 0xfd, 0x85, 0x76, 0xaf, 0xf7, 0x87, 0xed,
    775  1.5.2.2  pgoyette 	0x1f, 0x46, 0xc2, 0xd6, 0x6c, 0x98, 0x6b, 0x4b,
    776  1.5.2.2  pgoyette 	0x60, 0x04, 0xed, 0x89, 0x3b, 0x85, 0x6c, 0xe9,
    777  1.5.2.2  pgoyette 	0x46, 0xd9, 0xfa, 0x35, 0x61, 0xe8, 0x0c, 0x84,
    778  1.5.2.2  pgoyette 	0x1b, 0x93, 0xc0, 0xfe, 0x5d, 0x29, 0x14, 0xe1,
    779  1.5.2.2  pgoyette 	0x1c, 0x66, 0x73, 0xc8, 0x0b, 0x98, 0xff, 0x1a,
    780  1.5.2.2  pgoyette 	0x78, 0x2b, 0x6a, 0x93, 0x7a, 0x29, 0xd8, 0x7b,
    781  1.5.2.2  pgoyette 	0xb1, 0x39, 0xf0, 0xad, 0x93, 0x4d, 0x2d, 0xab,
    782  1.5.2.2  pgoyette 	0x67, 0x3c, 0xa4, 0xa1, 0x08, 0x36, 0x0b, 0xe9,
    783  1.5.2.2  pgoyette 	0x77, 0xd0, 0xe3, 0x45, 0x7d, 0x99, 0x75, 0xc3,
    784  1.5.2.2  pgoyette };
    785  1.5.2.2  pgoyette 
    786  1.5.2.2  pgoyette /*
    787  1.5.2.2  pgoyette  * IV method encblkno1, blkno 1.
    788  1.5.2.2  pgoyette  */
    789  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno1_vec1_ctxt[SECSIZE] = {
    790  1.5.2.2  pgoyette 	0xe6, 0x41, 0x75, 0xd6, 0x80, 0xdf, 0x44, 0x37,
    791  1.5.2.2  pgoyette 	0xa7, 0xa2, 0xb2, 0x29, 0x0d, 0xf0, 0x02, 0x78,
    792  1.5.2.2  pgoyette 	0x92, 0xb2, 0x06, 0x5f, 0x86, 0xd3, 0x9c, 0xa3,
    793  1.5.2.2  pgoyette 	0xd0, 0xc5, 0x08, 0x03, 0x6d, 0x41, 0x9d, 0x61,
    794  1.5.2.2  pgoyette 	0xb4, 0xb9, 0xa1, 0x69, 0x6e, 0x3a, 0x78, 0xd7,
    795  1.5.2.2  pgoyette 	0x04, 0x94, 0xf2, 0x53, 0xed, 0xd1, 0xf6, 0xd8,
    796  1.5.2.2  pgoyette 	0x98, 0xe2, 0x49, 0x75, 0x15, 0x85, 0xe0, 0x78,
    797  1.5.2.2  pgoyette 	0x5b, 0x28, 0x5e, 0xe6, 0xfa, 0x60, 0x3d, 0x4b,
    798  1.5.2.2  pgoyette 	0x8c, 0xf1, 0x1a, 0xfd, 0x1f, 0xe8, 0xad, 0xb4,
    799  1.5.2.2  pgoyette 	0xa1, 0xe7, 0xd3, 0x71, 0x16, 0xdf, 0xc6, 0x95,
    800  1.5.2.2  pgoyette 	0xd4, 0x43, 0xaf, 0x92, 0xab, 0x74, 0x0f, 0x77,
    801  1.5.2.2  pgoyette 	0x75, 0x4d, 0xd7, 0x13, 0x97, 0x18, 0xea, 0x43,
    802  1.5.2.2  pgoyette 	0x92, 0x0d, 0x88, 0xc8, 0x41, 0xf7, 0x15, 0x34,
    803  1.5.2.2  pgoyette 	0x0f, 0x63, 0xbf, 0x50, 0x18, 0xbe, 0x9d, 0x3b,
    804  1.5.2.2  pgoyette 	0xfc, 0x17, 0x7d, 0x03, 0x39, 0xc2, 0x39, 0x28,
    805  1.5.2.2  pgoyette 	0xb2, 0x23, 0x1c, 0x7f, 0x3f, 0x19, 0x6c, 0x2f,
    806  1.5.2.2  pgoyette 	0x64, 0xbd, 0xc9, 0x7d, 0xbe, 0x98, 0xe0, 0x83,
    807  1.5.2.2  pgoyette 	0xa4, 0x48, 0xfc, 0x89, 0xe7, 0xe0, 0x93, 0x93,
    808  1.5.2.2  pgoyette 	0x7b, 0x15, 0x35, 0xaf, 0xf8, 0x00, 0x81, 0xcc,
    809  1.5.2.2  pgoyette 	0x04, 0x80, 0x8b, 0x20, 0xc8, 0x6a, 0xb7, 0x5e,
    810  1.5.2.2  pgoyette 	0x95, 0xce, 0x69, 0x50, 0x39, 0x88, 0x90, 0x41,
    811  1.5.2.2  pgoyette 	0x3f, 0xa8, 0x62, 0x42, 0xf1, 0xa9, 0x56, 0xce,
    812  1.5.2.2  pgoyette 	0x25, 0x53, 0x1d, 0x97, 0x5d, 0x3a, 0x4e, 0x6b,
    813  1.5.2.2  pgoyette 	0x1f, 0xd6, 0xea, 0x20, 0x81, 0x6c, 0xe5, 0xa1,
    814  1.5.2.2  pgoyette 	0x0d, 0x9a, 0xd9, 0x3c, 0xbb, 0xbc, 0xc1, 0x77,
    815  1.5.2.2  pgoyette 	0xe2, 0xf4, 0x9c, 0x11, 0x3a, 0x2f, 0xd0, 0x77,
    816  1.5.2.2  pgoyette 	0x10, 0xa6, 0x36, 0xd1, 0xbf, 0x3b, 0x50, 0x39,
    817  1.5.2.2  pgoyette 	0x4b, 0x2c, 0x62, 0x06, 0x1a, 0xe4, 0x18, 0xc0,
    818  1.5.2.2  pgoyette 	0x35, 0x7c, 0xc3, 0xd0, 0x22, 0xf8, 0xee, 0x19,
    819  1.5.2.2  pgoyette 	0xa5, 0x3d, 0x69, 0xa9, 0x34, 0xe6, 0x29, 0xf9,
    820  1.5.2.2  pgoyette 	0xf1, 0xff, 0x26, 0x7a, 0x66, 0x13, 0x1a, 0xa2,
    821  1.5.2.2  pgoyette 	0xc6, 0xac, 0x84, 0xf6, 0x6b, 0x09, 0xbd, 0x32,
    822  1.5.2.2  pgoyette 	0x6f, 0x26, 0x37, 0x7c, 0x7d, 0x74, 0xe4, 0xa0,
    823  1.5.2.2  pgoyette 	0xeb, 0x85, 0x7a, 0xa1, 0x92, 0x19, 0x2e, 0x64,
    824  1.5.2.2  pgoyette 	0x82, 0x7c, 0x89, 0x1b, 0x14, 0x92, 0xd1, 0xf4,
    825  1.5.2.2  pgoyette 	0x1f, 0x29, 0x84, 0x04, 0x70, 0x09, 0x13, 0x4c,
    826  1.5.2.2  pgoyette 	0x62, 0x9a, 0xb4, 0xf7, 0xc1, 0x7b, 0x83, 0xd1,
    827  1.5.2.2  pgoyette 	0x2d, 0x1a, 0xbe, 0x83, 0x9b, 0x73, 0xba, 0x8d,
    828  1.5.2.2  pgoyette 	0xbb, 0xb0, 0xf2, 0x5c, 0x72, 0x75, 0x01, 0x0b,
    829  1.5.2.2  pgoyette 	0xa6, 0x43, 0x6b, 0x76, 0x56, 0x4e, 0x71, 0x1b,
    830  1.5.2.2  pgoyette 	0xb2, 0x34, 0x1f, 0x70, 0x44, 0xe6, 0xfb, 0x67,
    831  1.5.2.2  pgoyette 	0xd1, 0x4d, 0x63, 0xce, 0x17, 0x46, 0x9b, 0x11,
    832  1.5.2.2  pgoyette 	0xda, 0x93, 0xf8, 0x03, 0x11, 0x8f, 0x90, 0xff,
    833  1.5.2.2  pgoyette 	0x80, 0x85, 0x02, 0x1f, 0xb6, 0x6a, 0x28, 0x3f,
    834  1.5.2.2  pgoyette 	0x01, 0xa8, 0x36, 0x2e, 0xc7, 0x42, 0xd4, 0x02,
    835  1.5.2.2  pgoyette 	0x26, 0xea, 0xb5, 0x84, 0x6c, 0x9f, 0xa0, 0x4a,
    836  1.5.2.2  pgoyette 	0x73, 0x49, 0xea, 0x91, 0x4d, 0x62, 0xf8, 0x23,
    837  1.5.2.2  pgoyette 	0xe4, 0x3d, 0x91, 0xfb, 0x53, 0x2c, 0x8c, 0xa4,
    838  1.5.2.2  pgoyette 	0xfe, 0x81, 0x05, 0x5d, 0x4b, 0x9a, 0x75, 0x29,
    839  1.5.2.2  pgoyette 	0xf8, 0xbe, 0x3f, 0x05, 0xb4, 0x8f, 0xdc, 0xcc,
    840  1.5.2.2  pgoyette 	0xfa, 0xcc, 0xd7, 0xb2, 0x06, 0x03, 0xd4, 0xf3,
    841  1.5.2.2  pgoyette 	0x8e, 0x09, 0x09, 0x80, 0xf8, 0xc3, 0x3b, 0x66,
    842  1.5.2.2  pgoyette 	0xe9, 0x9c, 0x5b, 0x16, 0xed, 0x2d, 0x35, 0x1c,
    843  1.5.2.2  pgoyette 	0x99, 0x3b, 0x1f, 0x0e, 0x04, 0x30, 0x23, 0x3a,
    844  1.5.2.2  pgoyette 	0x83, 0x0c, 0xec, 0x76, 0xf2, 0x5d, 0x13, 0x54,
    845  1.5.2.2  pgoyette 	0x15, 0x62, 0x36, 0x26, 0x6b, 0x21, 0x62, 0xdd,
    846  1.5.2.2  pgoyette 	0xb4, 0x1a, 0x57, 0x16, 0xfd, 0xa0, 0x9c, 0xfa,
    847  1.5.2.2  pgoyette 	0x37, 0xb3, 0xda, 0xe0, 0x46, 0x91, 0xb3, 0x20,
    848  1.5.2.2  pgoyette 	0xe7, 0xe2, 0xf3, 0x0e, 0x20, 0x3c, 0x98, 0x1b,
    849  1.5.2.2  pgoyette 	0xe4, 0xc2, 0xd3, 0xa9, 0x97, 0xaf, 0x12, 0x69,
    850  1.5.2.2  pgoyette 	0x23, 0x97, 0x62, 0x6e, 0xae, 0x54, 0x9c, 0x82,
    851  1.5.2.2  pgoyette 	0x92, 0x50, 0x74, 0x07, 0x4a, 0xb1, 0xdc, 0xcf,
    852  1.5.2.2  pgoyette 	0x53, 0x1d, 0xc8, 0x29, 0x1f, 0x6e, 0xf1, 0x13,
    853  1.5.2.2  pgoyette 	0xec, 0xb6, 0x60, 0xb1, 0x4c, 0x9d, 0xd7, 0x77,
    854  1.5.2.2  pgoyette };
    855  1.5.2.2  pgoyette 
    856  1.5.2.2  pgoyette /*
    857  1.5.2.2  pgoyette  * IV method encblkno1, blkno 2.
    858  1.5.2.2  pgoyette  */
    859  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno1_vec2_ctxt[SECSIZE] = {
    860  1.5.2.2  pgoyette 	0x33, 0xfd, 0xfa, 0x44, 0x64, 0x75, 0x22, 0x7e,
    861  1.5.2.2  pgoyette 	0xe3, 0xb3, 0xa0, 0x75, 0x99, 0x96, 0xc0, 0xec,
    862  1.5.2.2  pgoyette 	0x56, 0x06, 0x7d, 0x19, 0x0b, 0x66, 0x89, 0xe0,
    863  1.5.2.2  pgoyette 	0x69, 0x1d, 0x93, 0x91, 0xd7, 0x0f, 0xf8, 0xf5,
    864  1.5.2.2  pgoyette 	0x5a, 0x39, 0x30, 0xad, 0x64, 0x42, 0x06, 0xa3,
    865  1.5.2.2  pgoyette 	0xce, 0x3f, 0x67, 0xd6, 0x6e, 0xcd, 0x3b, 0xf5,
    866  1.5.2.2  pgoyette 	0x03, 0x2b, 0x07, 0x83, 0x18, 0x1a, 0x4f, 0x4c,
    867  1.5.2.2  pgoyette 	0xe7, 0x6b, 0xe8, 0xf9, 0x19, 0xa5, 0x23, 0x8f,
    868  1.5.2.2  pgoyette 	0x46, 0x35, 0x13, 0x7b, 0x61, 0x05, 0xfc, 0x7d,
    869  1.5.2.2  pgoyette 	0x17, 0x39, 0x03, 0xa8, 0xec, 0x7a, 0xd2, 0x5f,
    870  1.5.2.2  pgoyette 	0x91, 0xa7, 0x26, 0x07, 0x9d, 0xd7, 0x0c, 0xd7,
    871  1.5.2.2  pgoyette 	0xd4, 0x8e, 0x37, 0xf3, 0x1a, 0x3c, 0x04, 0x83,
    872  1.5.2.2  pgoyette 	0x04, 0x71, 0x06, 0xa6, 0x5f, 0x82, 0xe0, 0x6d,
    873  1.5.2.2  pgoyette 	0x87, 0x5c, 0x7c, 0x03, 0x25, 0x03, 0x4b, 0x24,
    874  1.5.2.2  pgoyette 	0x07, 0x40, 0xad, 0xe4, 0x1d, 0x1d, 0xcb, 0x34,
    875  1.5.2.2  pgoyette 	0xc2, 0x53, 0x1d, 0x13, 0xc5, 0x87, 0xab, 0xa7,
    876  1.5.2.2  pgoyette 	0x95, 0x11, 0x8b, 0xbb, 0xf0, 0xc3, 0x00, 0xeb,
    877  1.5.2.2  pgoyette 	0xe5, 0xb0, 0x9e, 0x88, 0x8b, 0xad, 0xca, 0xcb,
    878  1.5.2.2  pgoyette 	0x17, 0xf8, 0x92, 0x4d, 0x00, 0xb0, 0x08, 0x74,
    879  1.5.2.2  pgoyette 	0x08, 0xb9, 0x8b, 0x95, 0x96, 0xd9, 0x36, 0x35,
    880  1.5.2.2  pgoyette 	0x31, 0x92, 0x89, 0xf6, 0x35, 0x33, 0xfb, 0x18,
    881  1.5.2.2  pgoyette 	0x5b, 0x84, 0xa1, 0xfe, 0xe1, 0x62, 0x04, 0x6f,
    882  1.5.2.2  pgoyette 	0x3c, 0xc1, 0xd2, 0xc2, 0x10, 0xd7, 0x97, 0xba,
    883  1.5.2.2  pgoyette 	0x29, 0x7c, 0xe3, 0x85, 0xee, 0x59, 0x90, 0xaf,
    884  1.5.2.2  pgoyette 	0x7f, 0x6f, 0x97, 0x97, 0xa2, 0x41, 0x18, 0x7f,
    885  1.5.2.2  pgoyette 	0x2f, 0x06, 0x15, 0xb2, 0x46, 0x82, 0x49, 0x39,
    886  1.5.2.2  pgoyette 	0xd0, 0xfb, 0xa8, 0x48, 0x44, 0x28, 0x58, 0xff,
    887  1.5.2.2  pgoyette 	0xd8, 0xf2, 0x65, 0xf9, 0x4f, 0x2c, 0xbe, 0xec,
    888  1.5.2.2  pgoyette 	0xb6, 0xdf, 0x27, 0x1a, 0xf2, 0x05, 0x15, 0x5e,
    889  1.5.2.2  pgoyette 	0xe3, 0x2a, 0x98, 0x29, 0x92, 0x4a, 0x1b, 0x5d,
    890  1.5.2.2  pgoyette 	0x5c, 0x2c, 0x70, 0xf6, 0x41, 0xd4, 0xbe, 0x64,
    891  1.5.2.2  pgoyette 	0xa1, 0xd9, 0x79, 0xf1, 0x11, 0x16, 0xda, 0xa2,
    892  1.5.2.2  pgoyette 	0xaf, 0xdd, 0x4d, 0xa8, 0xed, 0xec, 0xbe, 0x7d,
    893  1.5.2.2  pgoyette 	0x49, 0x6c, 0x30, 0xf2, 0xf5, 0x36, 0x3c, 0xae,
    894  1.5.2.2  pgoyette 	0x4b, 0xa7, 0x77, 0xa3, 0xca, 0x22, 0xa5, 0xe2,
    895  1.5.2.2  pgoyette 	0x4d, 0x44, 0xcb, 0x36, 0xd5, 0x3f, 0x20, 0x13,
    896  1.5.2.2  pgoyette 	0xb6, 0xfb, 0xcd, 0x79, 0xd7, 0x42, 0xf9, 0x75,
    897  1.5.2.2  pgoyette 	0x09, 0x45, 0x28, 0x9e, 0xf2, 0xbd, 0x15, 0x57,
    898  1.5.2.2  pgoyette 	0xf8, 0x4b, 0xc0, 0xd3, 0xb3, 0xb8, 0xde, 0x55,
    899  1.5.2.2  pgoyette 	0x9e, 0x11, 0x67, 0xab, 0xc5, 0x5d, 0x58, 0xdb,
    900  1.5.2.2  pgoyette 	0x4d, 0x20, 0x34, 0x77, 0x33, 0x9c, 0x46, 0x76,
    901  1.5.2.2  pgoyette 	0x9b, 0x1e, 0x0e, 0x6b, 0x4e, 0xd9, 0x63, 0x68,
    902  1.5.2.2  pgoyette 	0x78, 0x5e, 0x7c, 0x52, 0xa2, 0x64, 0xa9, 0xfc,
    903  1.5.2.2  pgoyette 	0x21, 0x35, 0x17, 0x93, 0x18, 0x9e, 0x10, 0xcf,
    904  1.5.2.2  pgoyette 	0x95, 0x6b, 0xf0, 0x55, 0x46, 0xc3, 0x4b, 0xfc,
    905  1.5.2.2  pgoyette 	0x86, 0x8b, 0x0d, 0x3b, 0x5c, 0x30, 0xcc, 0xf1,
    906  1.5.2.2  pgoyette 	0x4c, 0x43, 0xf0, 0xd6, 0xf6, 0x3b, 0x0b, 0x68,
    907  1.5.2.2  pgoyette 	0x6f, 0x21, 0xd1, 0x61, 0xda, 0x35, 0x92, 0x94,
    908  1.5.2.2  pgoyette 	0xa5, 0x5d, 0x47, 0x39, 0x96, 0x50, 0x5f, 0xbd,
    909  1.5.2.2  pgoyette 	0x57, 0x22, 0xd2, 0x65, 0x73, 0x05, 0x8f, 0x2b,
    910  1.5.2.2  pgoyette 	0xf2, 0x96, 0x53, 0x6b, 0x8e, 0xd3, 0x1e, 0xe7,
    911  1.5.2.2  pgoyette 	0x92, 0xd4, 0xea, 0x41, 0xee, 0x92, 0x4d, 0x10,
    912  1.5.2.2  pgoyette 	0x9f, 0x68, 0xd8, 0xe9, 0xac, 0x1f, 0x38, 0x0b,
    913  1.5.2.2  pgoyette 	0x12, 0xa4, 0x1c, 0xb2, 0x63, 0x2b, 0x87, 0x07,
    914  1.5.2.2  pgoyette 	0xb8, 0x1e, 0x02, 0x2b, 0x4d, 0xad, 0x99, 0xdf,
    915  1.5.2.2  pgoyette 	0xe3, 0x98, 0x69, 0x29, 0x11, 0xe3, 0x77, 0x45,
    916  1.5.2.2  pgoyette 	0x9a, 0xe9, 0x6c, 0x47, 0x4e, 0xc0, 0x85, 0x15,
    917  1.5.2.2  pgoyette 	0x68, 0x58, 0x41, 0x37, 0xab, 0x96, 0x11, 0x94,
    918  1.5.2.2  pgoyette 	0x9e, 0xbb, 0xa8, 0x5d, 0x51, 0x05, 0x93, 0xdd,
    919  1.5.2.2  pgoyette 	0x2e, 0xb8, 0xdf, 0xcf, 0x83, 0xbc, 0xf6, 0x53,
    920  1.5.2.2  pgoyette 	0x95, 0x93, 0x27, 0xda, 0xa5, 0x20, 0x1b, 0x7d,
    921  1.5.2.2  pgoyette 	0x1d, 0xd9, 0x0c, 0xde, 0xe5, 0x3f, 0xc8, 0x60,
    922  1.5.2.2  pgoyette 	0x16, 0x32, 0x95, 0x24, 0xa7, 0x2b, 0x74, 0xf1,
    923  1.5.2.2  pgoyette 	0x67, 0xf9, 0xf2, 0x49, 0xda, 0x12, 0x97, 0xdd,
    924  1.5.2.2  pgoyette };
    925  1.5.2.2  pgoyette 
    926  1.5.2.2  pgoyette /*
    927  1.5.2.2  pgoyette  * IV method encblkno1, blkno 3.
    928  1.5.2.2  pgoyette  */
    929  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno1_vec3_ctxt[SECSIZE] = {
    930  1.5.2.2  pgoyette 	0xa5, 0x81, 0x86, 0x78, 0x4a, 0xd7, 0x5b, 0x83,
    931  1.5.2.2  pgoyette 	0xcf, 0xbf, 0x7e, 0x3c, 0xd7, 0xcd, 0xaf, 0xfa,
    932  1.5.2.2  pgoyette 	0x82, 0x18, 0xce, 0xbd, 0x8b, 0xe6, 0xd9, 0x39,
    933  1.5.2.2  pgoyette 	0x22, 0x2d, 0x1e, 0x75, 0x65, 0xee, 0x61, 0xf2,
    934  1.5.2.2  pgoyette 	0xc3, 0x8b, 0xf4, 0x40, 0x03, 0x73, 0x8a, 0x21,
    935  1.5.2.2  pgoyette 	0x9f, 0xf3, 0xcc, 0x93, 0x08, 0x3d, 0xff, 0x8a,
    936  1.5.2.2  pgoyette 	0xbc, 0x0f, 0x19, 0xa1, 0x9f, 0xc8, 0x73, 0xe8,
    937  1.5.2.2  pgoyette 	0xa6, 0x14, 0x2e, 0x43, 0x19, 0x79, 0x61, 0x35,
    938  1.5.2.2  pgoyette 	0x8d, 0x55, 0x06, 0xeb, 0x96, 0xe7, 0xf5, 0x4b,
    939  1.5.2.2  pgoyette 	0x95, 0x5f, 0x9b, 0xb2, 0x18, 0x0d, 0x13, 0xc2,
    940  1.5.2.2  pgoyette 	0x96, 0x79, 0x50, 0x78, 0x98, 0x50, 0x88, 0x2b,
    941  1.5.2.2  pgoyette 	0xab, 0x05, 0x66, 0xa1, 0x3a, 0x25, 0x85, 0xe2,
    942  1.5.2.2  pgoyette 	0xd0, 0xe2, 0xac, 0xb5, 0x26, 0xde, 0x95, 0x04,
    943  1.5.2.2  pgoyette 	0x45, 0xe7, 0x22, 0x71, 0x02, 0xb3, 0x84, 0x4c,
    944  1.5.2.2  pgoyette 	0xb5, 0xad, 0x64, 0x5c, 0x27, 0x5c, 0x71, 0xcd,
    945  1.5.2.2  pgoyette 	0x0b, 0x62, 0x91, 0xd6, 0x84, 0x00, 0x62, 0x52,
    946  1.5.2.2  pgoyette 	0x54, 0xbd, 0x22, 0xc8, 0x57, 0xa7, 0x41, 0xac,
    947  1.5.2.2  pgoyette 	0xc7, 0xa8, 0x56, 0x6f, 0x1b, 0x7e, 0xce, 0x02,
    948  1.5.2.2  pgoyette 	0x29, 0x3b, 0xc0, 0x5d, 0x8e, 0x11, 0xa9, 0x54,
    949  1.5.2.2  pgoyette 	0xc2, 0xf2, 0xf0, 0x81, 0x6c, 0x9a, 0x24, 0x5b,
    950  1.5.2.2  pgoyette 	0x81, 0x7d, 0xf3, 0x84, 0x93, 0xc6, 0x2a, 0xd4,
    951  1.5.2.2  pgoyette 	0xd3, 0x1a, 0x2f, 0x97, 0x2e, 0x31, 0x8a, 0x62,
    952  1.5.2.2  pgoyette 	0x43, 0xcb, 0xc7, 0x3d, 0x73, 0x8e, 0xd6, 0x86,
    953  1.5.2.2  pgoyette 	0x17, 0x8f, 0x63, 0xd4, 0xb1, 0x50, 0x92, 0xce,
    954  1.5.2.2  pgoyette 	0x90, 0x37, 0x91, 0xce, 0x37, 0x13, 0x8e, 0x61,
    955  1.5.2.2  pgoyette 	0x21, 0xd8, 0x1a, 0xbf, 0x42, 0x65, 0x1d, 0x86,
    956  1.5.2.2  pgoyette 	0x07, 0x04, 0x9b, 0xd1, 0xd3, 0x26, 0x6b, 0x7c,
    957  1.5.2.2  pgoyette 	0xa1, 0x77, 0x54, 0x5b, 0x9f, 0x95, 0x62, 0x43,
    958  1.5.2.2  pgoyette 	0xb3, 0x71, 0x1e, 0x4c, 0x32, 0xd1, 0x3e, 0xe8,
    959  1.5.2.2  pgoyette 	0x60, 0x9c, 0x0c, 0x15, 0x55, 0xf0, 0x38, 0xb7,
    960  1.5.2.2  pgoyette 	0x1e, 0x40, 0xe5, 0x26, 0x4e, 0x46, 0x49, 0x47,
    961  1.5.2.2  pgoyette 	0x59, 0x3d, 0x49, 0x76, 0x28, 0xd3, 0xed, 0x03,
    962  1.5.2.2  pgoyette 	0xdd, 0xf8, 0x1a, 0xf4, 0x1a, 0xfe, 0xe4, 0x03,
    963  1.5.2.2  pgoyette 	0xb9, 0xa5, 0x8e, 0x7c, 0x91, 0x7a, 0xb2, 0x17,
    964  1.5.2.2  pgoyette 	0x84, 0x97, 0x3f, 0x12, 0x68, 0xaa, 0xf5, 0x73,
    965  1.5.2.2  pgoyette 	0xbc, 0x84, 0xdd, 0x03, 0x4a, 0xc4, 0xcd, 0xdb,
    966  1.5.2.2  pgoyette 	0xb0, 0x8a, 0x3b, 0xac, 0xf1, 0xdd, 0x10, 0x20,
    967  1.5.2.2  pgoyette 	0x69, 0xee, 0x94, 0xcd, 0x60, 0x3f, 0x01, 0xcf,
    968  1.5.2.2  pgoyette 	0xf4, 0xff, 0xdb, 0x91, 0x8a, 0xf3, 0xb8, 0x44,
    969  1.5.2.2  pgoyette 	0x62, 0xdc, 0xdc, 0xc8, 0x2b, 0xaf, 0x0d, 0x5e,
    970  1.5.2.2  pgoyette 	0x1b, 0x58, 0x7f, 0x6b, 0x0d, 0xc4, 0xd4, 0x1c,
    971  1.5.2.2  pgoyette 	0x89, 0x29, 0x60, 0x5d, 0xe9, 0x59, 0xbb, 0x19,
    972  1.5.2.2  pgoyette 	0x03, 0x7c, 0x25, 0x63, 0xc6, 0x89, 0x6f, 0xe6,
    973  1.5.2.2  pgoyette 	0xbe, 0xcd, 0xaa, 0xf2, 0xbf, 0x16, 0xcb, 0x47,
    974  1.5.2.2  pgoyette 	0xc6, 0x74, 0xdd, 0x90, 0x41, 0x75, 0x7f, 0x26,
    975  1.5.2.2  pgoyette 	0x7b, 0x5a, 0xb9, 0x11, 0xa0, 0xc7, 0x75, 0x60,
    976  1.5.2.2  pgoyette 	0xc5, 0x54, 0x7d, 0xb0, 0xb4, 0xd0, 0x95, 0x01,
    977  1.5.2.2  pgoyette 	0xff, 0x07, 0x49, 0x56, 0xfb, 0xec, 0xa9, 0x4c,
    978  1.5.2.2  pgoyette 	0x68, 0x28, 0x41, 0x81, 0x80, 0x05, 0x88, 0x58,
    979  1.5.2.2  pgoyette 	0xf5, 0xdc, 0x42, 0x99, 0xd8, 0xb7, 0x47, 0xd9,
    980  1.5.2.2  pgoyette 	0xf7, 0x0e, 0x2c, 0x0f, 0x95, 0x04, 0xb3, 0xc8,
    981  1.5.2.2  pgoyette 	0x8a, 0xe2, 0x21, 0x57, 0x8d, 0x64, 0x54, 0x40,
    982  1.5.2.2  pgoyette 	0xf6, 0xd0, 0x3c, 0x97, 0xcf, 0x22, 0xce, 0xcd,
    983  1.5.2.2  pgoyette 	0xbf, 0x05, 0x15, 0xaa, 0x89, 0xd9, 0x2b, 0x48,
    984  1.5.2.2  pgoyette 	0xaf, 0x34, 0xe0, 0xf5, 0xe3, 0x58, 0x06, 0xd7,
    985  1.5.2.2  pgoyette 	0x49, 0x00, 0x95, 0x3a, 0xb3, 0xc8, 0xcd, 0x2b,
    986  1.5.2.2  pgoyette 	0x3e, 0xe8, 0x1b, 0x60, 0xe8, 0xea, 0xaf, 0x09,
    987  1.5.2.2  pgoyette 	0xbb, 0xee, 0xce, 0xbc, 0xa0, 0x9b, 0x17, 0x90,
    988  1.5.2.2  pgoyette 	0x42, 0x40, 0x18, 0x35, 0x2e, 0x17, 0xa0, 0x6e,
    989  1.5.2.2  pgoyette 	0x43, 0xe7, 0xac, 0x89, 0x96, 0x3c, 0x16, 0xe0,
    990  1.5.2.2  pgoyette 	0xdb, 0x09, 0x51, 0x4a, 0x45, 0x33, 0x63, 0xe9,
    991  1.5.2.2  pgoyette 	0x4e, 0x3f, 0x32, 0x34, 0x36, 0x43, 0xd5, 0x0c,
    992  1.5.2.2  pgoyette 	0x5a, 0x2e, 0x0e, 0x8b, 0x80, 0xb7, 0xf4, 0xe4,
    993  1.5.2.2  pgoyette 	0x99, 0x9b, 0x05, 0xf5, 0xb2, 0xe4, 0x03, 0xe4,
    994  1.5.2.2  pgoyette };
    995  1.5.2.2  pgoyette 
    996  1.5.2.2  pgoyette const struct testvec aes_cbc_192_1_vectors[] = {
    997  1.5.2.2  pgoyette 	{
    998  1.5.2.2  pgoyette 		.blkno = 0,
    999  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1000  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno1_vec0_ctxt,
   1001  1.5.2.2  pgoyette 	},
   1002  1.5.2.2  pgoyette 	{
   1003  1.5.2.2  pgoyette 		.blkno = 1,
   1004  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1005  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno1_vec1_ctxt,
   1006  1.5.2.2  pgoyette 	},
   1007  1.5.2.2  pgoyette 	{
   1008  1.5.2.2  pgoyette 		.blkno = 2,
   1009  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1010  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno1_vec2_ctxt,
   1011  1.5.2.2  pgoyette 	},
   1012  1.5.2.2  pgoyette 	{
   1013  1.5.2.2  pgoyette 		.blkno = 3,
   1014  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1015  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno1_vec3_ctxt,
   1016  1.5.2.2  pgoyette 	},
   1017  1.5.2.2  pgoyette };
   1018  1.5.2.2  pgoyette 
   1019  1.5.2.2  pgoyette /*
   1020  1.5.2.2  pgoyette  * IV method encblkno8, blkno 0.
   1021  1.5.2.2  pgoyette  */
   1022  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno8_vec0_ctxt[SECSIZE] = {
   1023  1.5.2.2  pgoyette 	0x87, 0x9c, 0x05, 0xd6, 0x25, 0xb9, 0xe0, 0xbe,
   1024  1.5.2.2  pgoyette 	0x78, 0x21, 0x85, 0x81, 0x8e, 0x2f, 0x13, 0x5e,
   1025  1.5.2.2  pgoyette 	0xf2, 0x73, 0x11, 0xfa, 0x73, 0x77, 0x93, 0x5e,
   1026  1.5.2.2  pgoyette 	0x71, 0x16, 0x98, 0x68, 0x6f, 0xe8, 0x22, 0x34,
   1027  1.5.2.2  pgoyette 	0xf5, 0x11, 0xfa, 0x61, 0xe6, 0x1a, 0xfb, 0x42,
   1028  1.5.2.2  pgoyette 	0xa7, 0xa3, 0x2e, 0x0d, 0xc1, 0x9d, 0x7d, 0xd9,
   1029  1.5.2.2  pgoyette 	0xfb, 0xbb, 0xc5, 0x08, 0x9d, 0xc2, 0xab, 0x5c,
   1030  1.5.2.2  pgoyette 	0xdf, 0x9b, 0x3c, 0x1a, 0xbd, 0x66, 0x5a, 0x91,
   1031  1.5.2.2  pgoyette 	0x1c, 0x00, 0x59, 0x2e, 0x92, 0xe9, 0x23, 0xf6,
   1032  1.5.2.2  pgoyette 	0x90, 0x3d, 0x5b, 0x72, 0x76, 0x78, 0xd9, 0xa2,
   1033  1.5.2.2  pgoyette 	0x48, 0x33, 0x29, 0xe2, 0xfd, 0x77, 0x14, 0xda,
   1034  1.5.2.2  pgoyette 	0x01, 0x92, 0x63, 0xdd, 0x8c, 0x1c, 0x2e, 0xf7,
   1035  1.5.2.2  pgoyette 	0x61, 0xfb, 0xc5, 0x76, 0xec, 0x7f, 0xef, 0xdc,
   1036  1.5.2.2  pgoyette 	0xbe, 0x2d, 0x3b, 0x69, 0x30, 0xb9, 0x08, 0x00,
   1037  1.5.2.2  pgoyette 	0xe8, 0x37, 0x09, 0xaa, 0x2a, 0x02, 0x80, 0x11,
   1038  1.5.2.2  pgoyette 	0x91, 0x16, 0x94, 0x7d, 0xb5, 0xdc, 0x9f, 0xb3,
   1039  1.5.2.2  pgoyette 	0xb0, 0x26, 0x72, 0x85, 0x93, 0x85, 0x19, 0x08,
   1040  1.5.2.2  pgoyette 	0x97, 0xef, 0x97, 0x57, 0xa8, 0x76, 0x0e, 0x85,
   1041  1.5.2.2  pgoyette 	0xb1, 0x1d, 0x79, 0xe3, 0x7a, 0xe8, 0x06, 0x3b,
   1042  1.5.2.2  pgoyette 	0xc4, 0x00, 0xbd, 0xaa, 0xd9, 0x17, 0x81, 0x37,
   1043  1.5.2.2  pgoyette 	0x12, 0x86, 0x52, 0xea, 0x04, 0xb2, 0x11, 0x0f,
   1044  1.5.2.2  pgoyette 	0x5a, 0x08, 0x68, 0xcb, 0x48, 0xca, 0x2f, 0xda,
   1045  1.5.2.2  pgoyette 	0xa3, 0x0a, 0x60, 0x57, 0xc7, 0x80, 0x36, 0x60,
   1046  1.5.2.2  pgoyette 	0x05, 0xce, 0xd5, 0x43, 0xc9, 0xbc, 0x6c, 0xe6,
   1047  1.5.2.2  pgoyette 	0x63, 0x38, 0x2e, 0x81, 0x90, 0x34, 0x11, 0x2c,
   1048  1.5.2.2  pgoyette 	0x84, 0x0c, 0x62, 0x68, 0xde, 0x17, 0x57, 0x43,
   1049  1.5.2.2  pgoyette 	0x19, 0xa5, 0x92, 0x9d, 0x91, 0x2b, 0xa2, 0x95,
   1050  1.5.2.2  pgoyette 	0x7c, 0x20, 0x72, 0xaa, 0x83, 0x24, 0x54, 0x94,
   1051  1.5.2.2  pgoyette 	0x10, 0x80, 0xd4, 0x3f, 0x58, 0xb9, 0x7b, 0x74,
   1052  1.5.2.2  pgoyette 	0x68, 0xd5, 0xfb, 0x3e, 0xdd, 0xb4, 0xdf, 0x65,
   1053  1.5.2.2  pgoyette 	0x72, 0x88, 0x45, 0x8a, 0xd0, 0x93, 0x6e, 0x99,
   1054  1.5.2.2  pgoyette 	0x84, 0xad, 0x39, 0x73, 0x16, 0x88, 0xdc, 0x89,
   1055  1.5.2.2  pgoyette 	0x33, 0x34, 0xd7, 0xd8, 0x97, 0xfb, 0x90, 0xd2,
   1056  1.5.2.2  pgoyette 	0xc5, 0x8e, 0x94, 0xc4, 0xf1, 0xfe, 0xbe, 0x23,
   1057  1.5.2.2  pgoyette 	0xf1, 0x3a, 0x10, 0x1c, 0x42, 0x6b, 0xf5, 0xee,
   1058  1.5.2.2  pgoyette 	0xe4, 0x78, 0x8a, 0x7e, 0x13, 0x02, 0x25, 0xcb,
   1059  1.5.2.2  pgoyette 	0xd1, 0x61, 0x1f, 0xab, 0x45, 0x1f, 0x90, 0x88,
   1060  1.5.2.2  pgoyette 	0x0f, 0x6b, 0xff, 0x61, 0xba, 0xf3, 0xac, 0x8e,
   1061  1.5.2.2  pgoyette 	0x13, 0xc2, 0xfb, 0xca, 0x41, 0xed, 0xfe, 0x6c,
   1062  1.5.2.2  pgoyette 	0xcb, 0xdf, 0x97, 0x60, 0x29, 0x8a, 0x72, 0x8d,
   1063  1.5.2.2  pgoyette 	0x7d, 0xad, 0x6e, 0xe9, 0x7b, 0xc4, 0x92, 0x14,
   1064  1.5.2.2  pgoyette 	0x5e, 0x33, 0x27, 0xe2, 0xda, 0x2f, 0x95, 0x5f,
   1065  1.5.2.2  pgoyette 	0x40, 0x27, 0xeb, 0xdb, 0x0d, 0x1e, 0xc5, 0xd4,
   1066  1.5.2.2  pgoyette 	0x43, 0x50, 0x1a, 0x62, 0x82, 0xbe, 0x24, 0x7f,
   1067  1.5.2.2  pgoyette 	0xb7, 0x46, 0xa8, 0x70, 0x10, 0x33, 0xb6, 0x3f,
   1068  1.5.2.2  pgoyette 	0xbf, 0xa8, 0xa8, 0x85, 0xab, 0x1d, 0xb4, 0x3f,
   1069  1.5.2.2  pgoyette 	0x84, 0x06, 0x91, 0xd6, 0x18, 0x3d, 0xeb, 0x8b,
   1070  1.5.2.2  pgoyette 	0x3f, 0x9b, 0x37, 0x9e, 0x2e, 0xd2, 0xec, 0xe5,
   1071  1.5.2.2  pgoyette 	0x2d, 0xf0, 0x3f, 0x45, 0xd5, 0x9d, 0xb9, 0x28,
   1072  1.5.2.2  pgoyette 	0x89, 0xe4, 0x0c, 0xa9, 0x38, 0xca, 0x22, 0x56,
   1073  1.5.2.2  pgoyette 	0x53, 0xdf, 0x49, 0xba, 0x5d, 0x99, 0xd6, 0x4b,
   1074  1.5.2.2  pgoyette 	0x1d, 0x0d, 0x6d, 0xee, 0x7c, 0xf2, 0x6f, 0x50,
   1075  1.5.2.2  pgoyette 	0x04, 0xf1, 0xf8, 0x49, 0xd1, 0x2f, 0x50, 0x3e,
   1076  1.5.2.2  pgoyette 	0xf1, 0x08, 0x49, 0x17, 0x08, 0xd2, 0xac, 0x5d,
   1077  1.5.2.2  pgoyette 	0x58, 0xe7, 0x27, 0xe6, 0x59, 0x02, 0x9f, 0x1c,
   1078  1.5.2.2  pgoyette 	0x40, 0xff, 0x6c, 0x67, 0xae, 0x49, 0x1a, 0x2a,
   1079  1.5.2.2  pgoyette 	0xab, 0xd9, 0x63, 0x25, 0x2d, 0x9b, 0xd8, 0x1a,
   1080  1.5.2.2  pgoyette 	0x41, 0xa6, 0xea, 0x72, 0xfd, 0x56, 0xa1, 0x57,
   1081  1.5.2.2  pgoyette 	0x59, 0xdd, 0xf5, 0xa3, 0xb2, 0x2f, 0x64, 0xb1,
   1082  1.5.2.2  pgoyette 	0xc5, 0xfe, 0x8d, 0x9b, 0x93, 0xd1, 0x51, 0x77,
   1083  1.5.2.2  pgoyette 	0x13, 0x50, 0x74, 0x30, 0x28, 0xe4, 0x7a, 0x06,
   1084  1.5.2.2  pgoyette 	0x69, 0xd4, 0xa8, 0x0a, 0xae, 0x02, 0x4a, 0x61,
   1085  1.5.2.2  pgoyette 	0x24, 0xc2, 0xcd, 0xc8, 0xd3, 0x12, 0x2e, 0xac,
   1086  1.5.2.2  pgoyette 	0x9a, 0x0c, 0x24, 0x06, 0xb8, 0x1e, 0x3d, 0x29,
   1087  1.5.2.2  pgoyette };
   1088  1.5.2.2  pgoyette 
   1089  1.5.2.2  pgoyette /*
   1090  1.5.2.2  pgoyette  * IV method encblkno8, blkno 1.
   1091  1.5.2.2  pgoyette  */
   1092  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno8_vec1_ctxt[SECSIZE] = {
   1093  1.5.2.2  pgoyette 	0x1e, 0x3b, 0x66, 0x76, 0xd9, 0x9e, 0xf7, 0x82,
   1094  1.5.2.2  pgoyette 	0x17, 0x76, 0x69, 0x4d, 0x64, 0x63, 0xf1, 0x01,
   1095  1.5.2.2  pgoyette 	0x81, 0x8a, 0xa4, 0x97, 0x05, 0x42, 0xdb, 0x8c,
   1096  1.5.2.2  pgoyette 	0x27, 0xc8, 0xfd, 0x08, 0x21, 0x17, 0x87, 0xa9,
   1097  1.5.2.2  pgoyette 	0x0c, 0x86, 0x2d, 0xda, 0x17, 0xd5, 0x5d, 0x67,
   1098  1.5.2.2  pgoyette 	0x12, 0x93, 0x8d, 0x34, 0x5a, 0xfc, 0x2a, 0x49,
   1099  1.5.2.2  pgoyette 	0x1a, 0x1a, 0x77, 0x20, 0xfb, 0x1d, 0x5d, 0xd8,
   1100  1.5.2.2  pgoyette 	0x99, 0xb0, 0x8f, 0x1c, 0x13, 0x4d, 0x28, 0x6d,
   1101  1.5.2.2  pgoyette 	0x2d, 0x79, 0xa9, 0x8e, 0x04, 0x0c, 0x5a, 0xd5,
   1102  1.5.2.2  pgoyette 	0x52, 0x09, 0x15, 0x4a, 0xfb, 0x7a, 0xf8, 0xdc,
   1103  1.5.2.2  pgoyette 	0x3b, 0x77, 0xaf, 0xe0, 0x80, 0x6b, 0xac, 0x5f,
   1104  1.5.2.2  pgoyette 	0xc0, 0x0f, 0x0f, 0x29, 0xf5, 0xcc, 0xbc, 0x85,
   1105  1.5.2.2  pgoyette 	0x77, 0xe7, 0x9f, 0x59, 0x23, 0x83, 0x67, 0x74,
   1106  1.5.2.2  pgoyette 	0x3b, 0x1c, 0x0f, 0x75, 0xd8, 0x58, 0xa2, 0xce,
   1107  1.5.2.2  pgoyette 	0x8c, 0x3a, 0x80, 0xd7, 0xff, 0xa1, 0x83, 0xa3,
   1108  1.5.2.2  pgoyette 	0xe0, 0xad, 0x18, 0x7a, 0xc5, 0x28, 0x28, 0x71,
   1109  1.5.2.2  pgoyette 	0x46, 0xb5, 0x13, 0x76, 0x4d, 0x67, 0x37, 0x38,
   1110  1.5.2.2  pgoyette 	0x3f, 0x9e, 0xa6, 0x8b, 0xc2, 0xaf, 0x83, 0x7d,
   1111  1.5.2.2  pgoyette 	0x8b, 0x82, 0xd0, 0xe2, 0xec, 0x13, 0xce, 0x2b,
   1112  1.5.2.2  pgoyette 	0x1e, 0x13, 0xe7, 0xb6, 0xfa, 0x9e, 0xa2, 0x32,
   1113  1.5.2.2  pgoyette 	0xb7, 0xdc, 0xe5, 0xb5, 0x35, 0xa3, 0xb4, 0x84,
   1114  1.5.2.2  pgoyette 	0x57, 0x05, 0x2d, 0x3e, 0xb0, 0x0a, 0x52, 0x61,
   1115  1.5.2.2  pgoyette 	0x00, 0xe4, 0x84, 0xab, 0xf4, 0x98, 0xe4, 0xe6,
   1116  1.5.2.2  pgoyette 	0xcd, 0xb1, 0xd4, 0x40, 0x31, 0x5f, 0x8f, 0x73,
   1117  1.5.2.2  pgoyette 	0x16, 0x6e, 0xc0, 0x3d, 0x07, 0x5d, 0x6b, 0x91,
   1118  1.5.2.2  pgoyette 	0x70, 0x71, 0x8a, 0x4b, 0xfe, 0xeb, 0xbe, 0x04,
   1119  1.5.2.2  pgoyette 	0x5d, 0x75, 0x0a, 0x74, 0x52, 0x1e, 0xd3, 0x94,
   1120  1.5.2.2  pgoyette 	0xc5, 0xcd, 0xc1, 0xd6, 0x12, 0x6a, 0x58, 0x52,
   1121  1.5.2.2  pgoyette 	0x6e, 0x45, 0x1f, 0x49, 0x09, 0x4c, 0x32, 0xf3,
   1122  1.5.2.2  pgoyette 	0x3d, 0x3d, 0x73, 0x15, 0xa3, 0xa5, 0x2f, 0xf2,
   1123  1.5.2.2  pgoyette 	0x02, 0x10, 0x1e, 0xaf, 0xf5, 0xb4, 0x78, 0x48,
   1124  1.5.2.2  pgoyette 	0x8a, 0x6c, 0x58, 0x71, 0x77, 0x91, 0x95, 0x57,
   1125  1.5.2.2  pgoyette 	0x79, 0xbf, 0x1f, 0x3e, 0xb3, 0xf8, 0xc4, 0x33,
   1126  1.5.2.2  pgoyette 	0x07, 0x5d, 0x96, 0x41, 0x76, 0xb1, 0xe1, 0xe0,
   1127  1.5.2.2  pgoyette 	0xa9, 0x97, 0x14, 0x99, 0x1d, 0xaa, 0x91, 0xbb,
   1128  1.5.2.2  pgoyette 	0xdf, 0x89, 0xf1, 0x0d, 0xd0, 0x52, 0xf9, 0xa7,
   1129  1.5.2.2  pgoyette 	0x4c, 0x82, 0xc0, 0xeb, 0xb7, 0xaf, 0x7b, 0x4b,
   1130  1.5.2.2  pgoyette 	0x5a, 0x2a, 0x7a, 0x4e, 0xb2, 0x69, 0x87, 0x28,
   1131  1.5.2.2  pgoyette 	0x84, 0xf7, 0x76, 0x56, 0xee, 0xf8, 0x37, 0x35,
   1132  1.5.2.2  pgoyette 	0xc9, 0xbc, 0x08, 0x8b, 0xfe, 0x1e, 0x54, 0xb3,
   1133  1.5.2.2  pgoyette 	0x01, 0xa7, 0x0f, 0x20, 0x70, 0xac, 0xa6, 0x6b,
   1134  1.5.2.2  pgoyette 	0x9f, 0x98, 0xfe, 0xdb, 0x3e, 0x4f, 0x9f, 0xfc,
   1135  1.5.2.2  pgoyette 	0x95, 0x37, 0xf4, 0x90, 0x61, 0x62, 0x60, 0xeb,
   1136  1.5.2.2  pgoyette 	0x7a, 0x4a, 0x56, 0xae, 0x49, 0xcc, 0x92, 0xff,
   1137  1.5.2.2  pgoyette 	0xd3, 0x06, 0xc6, 0x62, 0x4c, 0x05, 0x28, 0xa7,
   1138  1.5.2.2  pgoyette 	0x3f, 0xe9, 0xee, 0x70, 0x6f, 0xd2, 0x80, 0x41,
   1139  1.5.2.2  pgoyette 	0x4d, 0xa0, 0xbc, 0x00, 0xaf, 0x30, 0xe4, 0x34,
   1140  1.5.2.2  pgoyette 	0x61, 0xda, 0xb4, 0xff, 0x2a, 0x85, 0x8b, 0x1a,
   1141  1.5.2.2  pgoyette 	0xbf, 0xb5, 0xe4, 0x7f, 0x27, 0xee, 0xf3, 0x25,
   1142  1.5.2.2  pgoyette 	0xe6, 0x52, 0x2a, 0x83, 0xbe, 0xe4, 0x64, 0xc3,
   1143  1.5.2.2  pgoyette 	0x67, 0x0c, 0x9e, 0x0f, 0xba, 0xb4, 0x67, 0xd1,
   1144  1.5.2.2  pgoyette 	0x1b, 0x4a, 0xb0, 0xb2, 0xb4, 0xf2, 0x8a, 0x1b,
   1145  1.5.2.2  pgoyette 	0x21, 0x34, 0x3c, 0x97, 0x5a, 0xdb, 0x92, 0x8b,
   1146  1.5.2.2  pgoyette 	0x2d, 0xe9, 0x94, 0x4e, 0x11, 0xfb, 0xd4, 0x2e,
   1147  1.5.2.2  pgoyette 	0xc2, 0xed, 0xf9, 0x75, 0xfd, 0x1a, 0xef, 0x3b,
   1148  1.5.2.2  pgoyette 	0x98, 0x5d, 0xa9, 0x75, 0xd5, 0x14, 0x0a, 0xe3,
   1149  1.5.2.2  pgoyette 	0xda, 0x07, 0xa6, 0x20, 0x7b, 0x49, 0x47, 0x87,
   1150  1.5.2.2  pgoyette 	0xff, 0xf0, 0xe8, 0x7e, 0xcf, 0xc4, 0x2c, 0x02,
   1151  1.5.2.2  pgoyette 	0xdd, 0x53, 0xe9, 0x79, 0xc7, 0x6d, 0x16, 0x9f,
   1152  1.5.2.2  pgoyette 	0x2b, 0xd7, 0x1a, 0x36, 0x25, 0x5c, 0xba, 0x5c,
   1153  1.5.2.2  pgoyette 	0xdb, 0x44, 0x88, 0x99, 0x32, 0x2e, 0xb6, 0x3f,
   1154  1.5.2.2  pgoyette 	0xb4, 0xdd, 0x15, 0xeb, 0xec, 0x2a, 0x9e, 0xc5,
   1155  1.5.2.2  pgoyette 	0x37, 0x30, 0x2a, 0xd5, 0xc4, 0x2a, 0x9b, 0x40,
   1156  1.5.2.2  pgoyette 	0x97, 0x83, 0x94, 0xe7, 0x79, 0x79, 0x63, 0x4b,
   1157  1.5.2.2  pgoyette };
   1158  1.5.2.2  pgoyette 
   1159  1.5.2.2  pgoyette /*
   1160  1.5.2.2  pgoyette  * IV method encblkno8, blkno 2.
   1161  1.5.2.2  pgoyette  */
   1162  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno8_vec2_ctxt[SECSIZE] = {
   1163  1.5.2.2  pgoyette 	0x34, 0x07, 0x20, 0x14, 0x64, 0x0b, 0xa2, 0x2c,
   1164  1.5.2.2  pgoyette 	0xed, 0xba, 0x46, 0x24, 0xa0, 0xe6, 0x99, 0x8a,
   1165  1.5.2.2  pgoyette 	0x20, 0x75, 0x5f, 0x9f, 0x2a, 0x10, 0xa6, 0x1c,
   1166  1.5.2.2  pgoyette 	0x52, 0x60, 0x18, 0x67, 0xd6, 0x0d, 0x90, 0x4e,
   1167  1.5.2.2  pgoyette 	0xbc, 0x25, 0x5f, 0x81, 0xb4, 0x10, 0xdb, 0xd9,
   1168  1.5.2.2  pgoyette 	0xaf, 0x36, 0x84, 0x5c, 0x20, 0x25, 0x25, 0xbf,
   1169  1.5.2.2  pgoyette 	0x0d, 0xfa, 0xc5, 0x75, 0x2b, 0xec, 0xf2, 0xa6,
   1170  1.5.2.2  pgoyette 	0x69, 0x5c, 0xfe, 0xee, 0x21, 0xd8, 0x87, 0xdf,
   1171  1.5.2.2  pgoyette 	0xe3, 0x83, 0xeb, 0xb3, 0x3f, 0x5b, 0xda, 0x37,
   1172  1.5.2.2  pgoyette 	0x11, 0x05, 0xf7, 0xd8, 0xe0, 0x94, 0x08, 0x2b,
   1173  1.5.2.2  pgoyette 	0x75, 0x6b, 0xf3, 0x40, 0x53, 0x85, 0xde, 0x7a,
   1174  1.5.2.2  pgoyette 	0x64, 0xb1, 0x0e, 0x5f, 0x01, 0xb5, 0xfb, 0x74,
   1175  1.5.2.2  pgoyette 	0x48, 0x9a, 0xd4, 0x41, 0x33, 0x70, 0x9b, 0x08,
   1176  1.5.2.2  pgoyette 	0x7e, 0x34, 0x60, 0xfc, 0xfa, 0xe6, 0x2c, 0xec,
   1177  1.5.2.2  pgoyette 	0x0e, 0xb7, 0x1a, 0xf1, 0x49, 0x48, 0x0c, 0xd4,
   1178  1.5.2.2  pgoyette 	0xd7, 0xbc, 0x60, 0x28, 0xdb, 0x57, 0xa4, 0x29,
   1179  1.5.2.2  pgoyette 	0x55, 0x2d, 0x92, 0xa6, 0xca, 0x9a, 0xaf, 0x4d,
   1180  1.5.2.2  pgoyette 	0x7f, 0xb8, 0x29, 0x9f, 0x50, 0x98, 0x21, 0x94,
   1181  1.5.2.2  pgoyette 	0x7a, 0x94, 0x44, 0x3d, 0xd1, 0xcf, 0xf4, 0x6f,
   1182  1.5.2.2  pgoyette 	0xad, 0xb4, 0x58, 0x66, 0x74, 0x01, 0x2c, 0x5b,
   1183  1.5.2.2  pgoyette 	0x8f, 0x1b, 0xa6, 0x09, 0xd0, 0x3f, 0x79, 0xc9,
   1184  1.5.2.2  pgoyette 	0x4f, 0x3b, 0x37, 0x0d, 0xb8, 0x07, 0xb0, 0x61,
   1185  1.5.2.2  pgoyette 	0xbc, 0x5a, 0x40, 0x3a, 0x10, 0x3c, 0x12, 0xe6,
   1186  1.5.2.2  pgoyette 	0x04, 0xc7, 0xd1, 0xe1, 0x18, 0x6f, 0xde, 0x72,
   1187  1.5.2.2  pgoyette 	0xf5, 0xcf, 0x24, 0x58, 0x76, 0xe1, 0xcd, 0x62,
   1188  1.5.2.2  pgoyette 	0x90, 0xc3, 0x16, 0xcc, 0x3f, 0xda, 0xd6, 0x6b,
   1189  1.5.2.2  pgoyette 	0x6a, 0xcc, 0x61, 0x76, 0xc1, 0xaf, 0xdc, 0x53,
   1190  1.5.2.2  pgoyette 	0xef, 0x06, 0x23, 0x22, 0x93, 0x11, 0x59, 0xf5,
   1191  1.5.2.2  pgoyette 	0x7f, 0x46, 0xac, 0xb8, 0x6c, 0x3b, 0x36, 0x69,
   1192  1.5.2.2  pgoyette 	0xc5, 0x14, 0x0a, 0x51, 0xa1, 0x5f, 0xb9, 0xc7,
   1193  1.5.2.2  pgoyette 	0x37, 0xe3, 0xd9, 0xaf, 0x8c, 0xe9, 0x49, 0xd4,
   1194  1.5.2.2  pgoyette 	0xf9, 0xf9, 0x5e, 0x1f, 0x5f, 0x7c, 0x07, 0xb5,
   1195  1.5.2.2  pgoyette 	0x1c, 0x9e, 0xbd, 0x10, 0x75, 0xc3, 0x93, 0x48,
   1196  1.5.2.2  pgoyette 	0xdc, 0x32, 0xe7, 0x55, 0x90, 0x48, 0x42, 0xc0,
   1197  1.5.2.2  pgoyette 	0x73, 0x20, 0x40, 0x17, 0xbb, 0x71, 0x30, 0xfe,
   1198  1.5.2.2  pgoyette 	0xd1, 0x84, 0xe9, 0x7d, 0x92, 0xd4, 0xff, 0xbe,
   1199  1.5.2.2  pgoyette 	0x3e, 0xd9, 0x41, 0xfb, 0x41, 0x43, 0x2b, 0x9f,
   1200  1.5.2.2  pgoyette 	0x04, 0x7b, 0xe7, 0x81, 0xbb, 0x2a, 0xd6, 0x7b,
   1201  1.5.2.2  pgoyette 	0x96, 0x72, 0x29, 0x30, 0x52, 0x5c, 0xea, 0xcc,
   1202  1.5.2.2  pgoyette 	0x4c, 0x77, 0xed, 0x5a, 0xd9, 0xab, 0x51, 0x90,
   1203  1.5.2.2  pgoyette 	0x21, 0x3b, 0x5b, 0x26, 0xeb, 0x14, 0xd5, 0xea,
   1204  1.5.2.2  pgoyette 	0x01, 0xb0, 0x7c, 0xbd, 0xa6, 0x3d, 0x7f, 0x42,
   1205  1.5.2.2  pgoyette 	0xd7, 0x7e, 0xf1, 0x6c, 0x71, 0x7d, 0xc0, 0x25,
   1206  1.5.2.2  pgoyette 	0x61, 0xe9, 0x66, 0xe1, 0xf2, 0x67, 0x99, 0xa1,
   1207  1.5.2.2  pgoyette 	0xe7, 0x3a, 0x6f, 0x88, 0x1e, 0x8b, 0x76, 0xed,
   1208  1.5.2.2  pgoyette 	0x50, 0x2c, 0x4e, 0xac, 0x73, 0xd7, 0xf2, 0x85,
   1209  1.5.2.2  pgoyette 	0x8f, 0xcc, 0xb1, 0x4f, 0x6c, 0x9a, 0xf7, 0x45,
   1210  1.5.2.2  pgoyette 	0x28, 0x4f, 0xfc, 0x3f, 0xf1, 0x80, 0xc3, 0xf3,
   1211  1.5.2.2  pgoyette 	0xce, 0x5e, 0xfc, 0x56, 0xd9, 0x45, 0xdd, 0x81,
   1212  1.5.2.2  pgoyette 	0xe3, 0x48, 0x22, 0xc9, 0xb8, 0x13, 0xc1, 0x48,
   1213  1.5.2.2  pgoyette 	0x6c, 0x95, 0x97, 0xc0, 0x91, 0x37, 0xf5, 0x8a,
   1214  1.5.2.2  pgoyette 	0x11, 0x3b, 0xab, 0xce, 0x7a, 0xb0, 0xb4, 0x4c,
   1215  1.5.2.2  pgoyette 	0xba, 0xc0, 0x91, 0x7f, 0x3c, 0x27, 0xe9, 0xc0,
   1216  1.5.2.2  pgoyette 	0x58, 0x92, 0x70, 0x67, 0xf4, 0x80, 0x40, 0x92,
   1217  1.5.2.2  pgoyette 	0x51, 0x80, 0x8e, 0x9d, 0x2d, 0x87, 0x89, 0x8e,
   1218  1.5.2.2  pgoyette 	0xe7, 0xd1, 0xb5, 0xc5, 0x4f, 0xd0, 0x86, 0x31,
   1219  1.5.2.2  pgoyette 	0x7f, 0x90, 0x77, 0x05, 0x35, 0xfe, 0xa7, 0xcb,
   1220  1.5.2.2  pgoyette 	0x9d, 0x94, 0xf3, 0xf8, 0xbb, 0x4f, 0xe1, 0xb3,
   1221  1.5.2.2  pgoyette 	0x48, 0x57, 0xbf, 0xd1, 0x77, 0xe8, 0x72, 0x31,
   1222  1.5.2.2  pgoyette 	0x4d, 0x2f, 0xe8, 0xa0, 0xf4, 0x7c, 0x25, 0x9c,
   1223  1.5.2.2  pgoyette 	0xcd, 0xa5, 0x7e, 0xd3, 0x30, 0xda, 0x46, 0xf5,
   1224  1.5.2.2  pgoyette 	0x48, 0x9e, 0x39, 0x34, 0x94, 0xd6, 0x24, 0x10,
   1225  1.5.2.2  pgoyette 	0xfc, 0x74, 0x2b, 0x6d, 0xcc, 0x00, 0x76, 0x3e,
   1226  1.5.2.2  pgoyette 	0x3b, 0x85, 0xfa, 0xef, 0x87, 0x70, 0x53, 0x4e,
   1227  1.5.2.2  pgoyette };
   1228  1.5.2.2  pgoyette 
   1229  1.5.2.2  pgoyette /*
   1230  1.5.2.2  pgoyette  * IV method encblkno8, blkno 3.
   1231  1.5.2.2  pgoyette  */
   1232  1.5.2.2  pgoyette static const uint8_t aes_cbc_192_encblkno8_vec3_ctxt[SECSIZE] = {
   1233  1.5.2.2  pgoyette 	0xfe, 0xad, 0xf3, 0x4a, 0x9d, 0x64, 0x4e, 0x5d,
   1234  1.5.2.2  pgoyette 	0xaf, 0xa8, 0x44, 0x7e, 0xc9, 0x75, 0xe8, 0xd0,
   1235  1.5.2.2  pgoyette 	0x87, 0x73, 0x66, 0x4c, 0x77, 0x00, 0xfb, 0x7b,
   1236  1.5.2.2  pgoyette 	0x04, 0xe7, 0xd8, 0x82, 0x75, 0xe3, 0xa5, 0xbc,
   1237  1.5.2.2  pgoyette 	0xf3, 0x80, 0xae, 0x7c, 0xc9, 0x75, 0x9a, 0xc1,
   1238  1.5.2.2  pgoyette 	0x73, 0x49, 0x69, 0xf6, 0xa0, 0x49, 0x6e, 0x77,
   1239  1.5.2.2  pgoyette 	0x5f, 0x9b, 0x95, 0x9b, 0x9f, 0x41, 0x54, 0x57,
   1240  1.5.2.2  pgoyette 	0x0e, 0x3c, 0xe5, 0x2c, 0xbb, 0xbf, 0xd5, 0x76,
   1241  1.5.2.2  pgoyette 	0xf6, 0xb6, 0x05, 0xaa, 0x20, 0x5b, 0xdb, 0xcb,
   1242  1.5.2.2  pgoyette 	0x81, 0xad, 0x0c, 0x8a, 0x68, 0x94, 0x7d, 0x88,
   1243  1.5.2.2  pgoyette 	0xdc, 0x15, 0x6c, 0x89, 0x97, 0x53, 0x30, 0x96,
   1244  1.5.2.2  pgoyette 	0x4a, 0x54, 0xf9, 0x88, 0x00, 0xf7, 0x3b, 0x99,
   1245  1.5.2.2  pgoyette 	0xfc, 0x82, 0xe3, 0x48, 0xd2, 0x16, 0x2b, 0xba,
   1246  1.5.2.2  pgoyette 	0xd4, 0xba, 0x24, 0xd0, 0xd1, 0xb0, 0x8e, 0xcd,
   1247  1.5.2.2  pgoyette 	0x77, 0xdc, 0x01, 0xdf, 0xb2, 0x20, 0xc5, 0xa7,
   1248  1.5.2.2  pgoyette 	0x48, 0x2a, 0xcf, 0x56, 0xc8, 0x63, 0x6e, 0xc9,
   1249  1.5.2.2  pgoyette 	0xa8, 0xa4, 0xc2, 0x9c, 0x66, 0x25, 0x50, 0x77,
   1250  1.5.2.2  pgoyette 	0x08, 0x51, 0x92, 0xce, 0x3c, 0xaf, 0xff, 0xee,
   1251  1.5.2.2  pgoyette 	0x3e, 0x6d, 0x61, 0x37, 0xcd, 0x85, 0x67, 0x9c,
   1252  1.5.2.2  pgoyette 	0xe0, 0x7e, 0xa6, 0x17, 0x7b, 0x5f, 0x6a, 0xe2,
   1253  1.5.2.2  pgoyette 	0x4e, 0x76, 0xca, 0x95, 0x88, 0xdf, 0xad, 0x78,
   1254  1.5.2.2  pgoyette 	0x91, 0xfa, 0x9e, 0x71, 0x3e, 0xfd, 0x10, 0x78,
   1255  1.5.2.2  pgoyette 	0x32, 0x2b, 0x75, 0xbc, 0x3a, 0x06, 0x55, 0x8b,
   1256  1.5.2.2  pgoyette 	0x9b, 0xfb, 0x9c, 0x4b, 0xa1, 0x7d, 0x35, 0x3d,
   1257  1.5.2.2  pgoyette 	0x63, 0x80, 0x30, 0x61, 0xe0, 0x2d, 0x8a, 0x28,
   1258  1.5.2.2  pgoyette 	0xb4, 0x2d, 0x48, 0x9d, 0x27, 0x1a, 0x28, 0x86,
   1259  1.5.2.2  pgoyette 	0xfc, 0xfa, 0x93, 0xcf, 0x3e, 0x9c, 0x41, 0xc8,
   1260  1.5.2.2  pgoyette 	0xc5, 0x5e, 0x88, 0x22, 0xb8, 0xaf, 0x1d, 0x92,
   1261  1.5.2.2  pgoyette 	0xc5, 0x91, 0x1b, 0x1e, 0x95, 0x62, 0xbb, 0x80,
   1262  1.5.2.2  pgoyette 	0x0c, 0xae, 0x2a, 0xb3, 0x55, 0x77, 0x86, 0x39,
   1263  1.5.2.2  pgoyette 	0xa6, 0xed, 0xc1, 0xd2, 0xc4, 0x95, 0x7e, 0xd4,
   1264  1.5.2.2  pgoyette 	0xbe, 0xf3, 0x1b, 0xbc, 0x5e, 0x92, 0x0d, 0x9c,
   1265  1.5.2.2  pgoyette 	0x38, 0xb1, 0xb9, 0xd3, 0xf6, 0x3f, 0x97, 0xf9,
   1266  1.5.2.2  pgoyette 	0x48, 0x08, 0x2b, 0xa6, 0x98, 0x50, 0xc9, 0x84,
   1267  1.5.2.2  pgoyette 	0xec, 0x54, 0xe0, 0x1a, 0x65, 0x76, 0xf2, 0xbe,
   1268  1.5.2.2  pgoyette 	0x62, 0xb9, 0x40, 0x3a, 0xb1, 0xef, 0xa0, 0x51,
   1269  1.5.2.2  pgoyette 	0xab, 0x3a, 0xfa, 0xaf, 0x33, 0x32, 0xa5, 0x0c,
   1270  1.5.2.2  pgoyette 	0xc7, 0x9a, 0x9c, 0x5c, 0xa7, 0x8e, 0xc6, 0x4e,
   1271  1.5.2.2  pgoyette 	0x61, 0xe3, 0x83, 0xa1, 0xd4, 0x2c, 0xb2, 0x2c,
   1272  1.5.2.2  pgoyette 	0x46, 0x5a, 0xbf, 0x96, 0xeb, 0xda, 0x45, 0x2d,
   1273  1.5.2.2  pgoyette 	0x25, 0x37, 0x69, 0x1a, 0x6b, 0xd6, 0xbc, 0xe1,
   1274  1.5.2.2  pgoyette 	0x28, 0x65, 0xf9, 0xfc, 0xa7, 0xda, 0xf8, 0x79,
   1275  1.5.2.2  pgoyette 	0x87, 0x18, 0x99, 0x01, 0x74, 0x5a, 0x42, 0x79,
   1276  1.5.2.2  pgoyette 	0x8e, 0xe4, 0x23, 0x1a, 0x6c, 0xda, 0x93, 0x0f,
   1277  1.5.2.2  pgoyette 	0x19, 0xf0, 0xff, 0x0e, 0x25, 0x45, 0x1e, 0xbb,
   1278  1.5.2.2  pgoyette 	0x17, 0xca, 0x87, 0x6a, 0x9e, 0xd0, 0xd3, 0xd5,
   1279  1.5.2.2  pgoyette 	0x22, 0x5f, 0xce, 0x92, 0xeb, 0x82, 0x8e, 0x3e,
   1280  1.5.2.2  pgoyette 	0x4e, 0x99, 0x44, 0xa2, 0x9e, 0x78, 0x53, 0x89,
   1281  1.5.2.2  pgoyette 	0x4e, 0x45, 0x51, 0x41, 0x28, 0x91, 0xdb, 0x7e,
   1282  1.5.2.2  pgoyette 	0x8f, 0xac, 0xc2, 0xee, 0x09, 0xcb, 0xed, 0x04,
   1283  1.5.2.2  pgoyette 	0x7b, 0x37, 0xa1, 0x1d, 0x9c, 0x90, 0x19, 0xb1,
   1284  1.5.2.2  pgoyette 	0xdd, 0xc3, 0x22, 0xc8, 0x70, 0x07, 0x26, 0xce,
   1285  1.5.2.2  pgoyette 	0x4a, 0xc4, 0xde, 0xee, 0x87, 0xf3, 0x62, 0x69,
   1286  1.5.2.2  pgoyette 	0xed, 0xb2, 0x2d, 0x10, 0xc4, 0xfa, 0x86, 0x2e,
   1287  1.5.2.2  pgoyette 	0xd1, 0xb8, 0x58, 0xa3, 0xa4, 0x0b, 0x30, 0x87,
   1288  1.5.2.2  pgoyette 	0x23, 0x62, 0xed, 0xf3, 0x7b, 0x80, 0x7e, 0x4f,
   1289  1.5.2.2  pgoyette 	0xc2, 0xb3, 0xe8, 0xba, 0x25, 0x3e, 0xd3, 0x12,
   1290  1.5.2.2  pgoyette 	0x7e, 0x27, 0xd5, 0x72, 0x3b, 0x02, 0xf4, 0xfd,
   1291  1.5.2.2  pgoyette 	0x2f, 0x8b, 0xc2, 0x5f, 0x44, 0x40, 0x31, 0x88,
   1292  1.5.2.2  pgoyette 	0x73, 0x81, 0xa3, 0xcc, 0xc4, 0x78, 0x2b, 0xfc,
   1293  1.5.2.2  pgoyette 	0x41, 0x2e, 0xb2, 0xd0, 0xb4, 0x00, 0x29, 0xc1,
   1294  1.5.2.2  pgoyette 	0x46, 0xdf, 0xc1, 0xbd, 0x15, 0x59, 0xa3, 0x6a,
   1295  1.5.2.2  pgoyette 	0xc8, 0x2f, 0x29, 0x28, 0x12, 0x9b, 0x1e, 0xea,
   1296  1.5.2.2  pgoyette 	0x4e, 0xa9, 0x80, 0xa1, 0xb8, 0x89, 0x21, 0x3b,
   1297  1.5.2.2  pgoyette };
   1298  1.5.2.2  pgoyette 
   1299  1.5.2.2  pgoyette const struct testvec aes_cbc_192_8_vectors[] = {
   1300  1.5.2.2  pgoyette 	{
   1301  1.5.2.2  pgoyette 		.blkno = 0,
   1302  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1303  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno8_vec0_ctxt,
   1304  1.5.2.2  pgoyette 	},
   1305  1.5.2.2  pgoyette 	{
   1306  1.5.2.2  pgoyette 		.blkno = 1,
   1307  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1308  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno8_vec1_ctxt,
   1309  1.5.2.2  pgoyette 	},
   1310  1.5.2.2  pgoyette 	{
   1311  1.5.2.2  pgoyette 		.blkno = 2,
   1312  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1313  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno8_vec2_ctxt,
   1314  1.5.2.2  pgoyette 	},
   1315  1.5.2.2  pgoyette 	{
   1316  1.5.2.2  pgoyette 		.blkno = 3,
   1317  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1318  1.5.2.2  pgoyette 		.ctxt = aes_cbc_192_encblkno8_vec3_ctxt,
   1319  1.5.2.2  pgoyette 	},
   1320  1.5.2.2  pgoyette };
   1321  1.5.2.2  pgoyette 
   1322  1.5.2.2  pgoyette /*
   1323  1.5.2.2  pgoyette  * IV method encblkno1, blkno 0.
   1324  1.5.2.2  pgoyette  */
   1325  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno1_vec0_ctxt[SECSIZE] = {
   1326  1.5.2.2  pgoyette 	0x1a, 0xa4, 0xe3, 0x09, 0x23, 0x2e, 0x91, 0x1b,
   1327  1.5.2.2  pgoyette 	0xa8, 0x3e, 0xda, 0x92, 0xb3, 0x22, 0xd2, 0xe8,
   1328  1.5.2.2  pgoyette 	0x8b, 0xed, 0x6c, 0xa7, 0x78, 0xe6, 0x32, 0x25,
   1329  1.5.2.2  pgoyette 	0xc4, 0x88, 0xd5, 0xb7, 0x6e, 0xef, 0xbf, 0x37,
   1330  1.5.2.2  pgoyette 	0x00, 0xd9, 0xb2, 0x55, 0x10, 0x4f, 0x7d, 0x84,
   1331  1.5.2.2  pgoyette 	0x3a, 0xae, 0xd2, 0xc6, 0x48, 0xdd, 0x3c, 0xd5,
   1332  1.5.2.2  pgoyette 	0x9b, 0xa7, 0xf8, 0xc2, 0xda, 0x6d, 0x14, 0xa2,
   1333  1.5.2.2  pgoyette 	0xdc, 0x54, 0x12, 0x8f, 0x1c, 0x22, 0x98, 0x6a,
   1334  1.5.2.2  pgoyette 	0xc0, 0x5f, 0x47, 0xa7, 0x78, 0xec, 0x79, 0x5d,
   1335  1.5.2.2  pgoyette 	0x04, 0xed, 0x5e, 0x20, 0x33, 0x53, 0x66, 0x40,
   1336  1.5.2.2  pgoyette 	0x83, 0x94, 0x5b, 0x34, 0x05, 0x25, 0x2e, 0x17,
   1337  1.5.2.2  pgoyette 	0xba, 0x23, 0x60, 0xb1, 0xd0, 0x27, 0xf0, 0x24,
   1338  1.5.2.2  pgoyette 	0xd2, 0x0b, 0xd3, 0xea, 0xa7, 0x13, 0x1e, 0xf9,
   1339  1.5.2.2  pgoyette 	0x56, 0xe1, 0xd4, 0xa2, 0x89, 0x5a, 0xaa, 0x42,
   1340  1.5.2.2  pgoyette 	0xa9, 0xd7, 0x85, 0x64, 0x9e, 0x44, 0x71, 0xa2,
   1341  1.5.2.2  pgoyette 	0xf9, 0xc3, 0xf4, 0x81, 0xbd, 0xa0, 0x40, 0xed,
   1342  1.5.2.2  pgoyette 	0x33, 0xeb, 0x09, 0x0f, 0x7f, 0x78, 0xe4, 0xd5,
   1343  1.5.2.2  pgoyette 	0x7b, 0x61, 0x42, 0xee, 0x65, 0x25, 0xcc, 0xba,
   1344  1.5.2.2  pgoyette 	0xc6, 0x99, 0x29, 0x25, 0x71, 0x9a, 0xf0, 0x0e,
   1345  1.5.2.2  pgoyette 	0x98, 0x3f, 0x12, 0xf2, 0xf9, 0x4d, 0x00, 0x3c,
   1346  1.5.2.2  pgoyette 	0xbe, 0x9f, 0x2b, 0x83, 0x1e, 0x5b, 0xab, 0x80,
   1347  1.5.2.2  pgoyette 	0x4c, 0x81, 0x82, 0x29, 0xbb, 0xeb, 0xc0, 0x89,
   1348  1.5.2.2  pgoyette 	0x07, 0x43, 0xdd, 0x69, 0xd3, 0x02, 0x6c, 0x1c,
   1349  1.5.2.2  pgoyette 	0x4b, 0xab, 0x44, 0x42, 0x6c, 0x25, 0xfc, 0xf5,
   1350  1.5.2.2  pgoyette 	0x73, 0xaa, 0x60, 0x48, 0xbc, 0xd2, 0x1c, 0x77,
   1351  1.5.2.2  pgoyette 	0x8b, 0x64, 0x3e, 0x5f, 0x24, 0xae, 0x14, 0x65,
   1352  1.5.2.2  pgoyette 	0xea, 0x18, 0xb1, 0xab, 0xbc, 0x3d, 0xa3, 0xb9,
   1353  1.5.2.2  pgoyette 	0xfc, 0xcc, 0x0f, 0x8d, 0x8e, 0x13, 0x0f, 0x4d,
   1354  1.5.2.2  pgoyette 	0x4e, 0xeb, 0x90, 0x9b, 0x1e, 0xbf, 0x2a, 0xc7,
   1355  1.5.2.2  pgoyette 	0xac, 0x5b, 0x11, 0xeb, 0x67, 0xf2, 0x9d, 0xef,
   1356  1.5.2.2  pgoyette 	0xf3, 0x66, 0x9e, 0x81, 0x9f, 0x24, 0x4d, 0xcd,
   1357  1.5.2.2  pgoyette 	0x4f, 0x31, 0xce, 0xc9, 0xa4, 0x2c, 0xd7, 0x58,
   1358  1.5.2.2  pgoyette 	0x7c, 0x2e, 0x88, 0xa2, 0xec, 0x4c, 0x02, 0x29,
   1359  1.5.2.2  pgoyette 	0x00, 0xbd, 0x14, 0x0f, 0xaa, 0xd8, 0xc3, 0x02,
   1360  1.5.2.2  pgoyette 	0x64, 0xdc, 0xa0, 0x15, 0xc8, 0xf6, 0x17, 0x8b,
   1361  1.5.2.2  pgoyette 	0x9c, 0xb3, 0xf2, 0x27, 0xc1, 0x3f, 0x60, 0x94,
   1362  1.5.2.2  pgoyette 	0x33, 0x10, 0x89, 0x49, 0x5f, 0xd2, 0x0e, 0xfe,
   1363  1.5.2.2  pgoyette 	0x9e, 0x99, 0x68, 0x95, 0xe4, 0x12, 0xfc, 0xe3,
   1364  1.5.2.2  pgoyette 	0x7f, 0xc4, 0xb1, 0x88, 0x4f, 0x66, 0xcd, 0x24,
   1365  1.5.2.2  pgoyette 	0x89, 0x09, 0xbb, 0x01, 0xf6, 0x9a, 0xe4, 0x41,
   1366  1.5.2.2  pgoyette 	0xee, 0x83, 0xd2, 0x28, 0xf5, 0x28, 0x49, 0x13,
   1367  1.5.2.2  pgoyette 	0x78, 0xfb, 0xb2, 0x0d, 0x5c, 0x97, 0xf4, 0x9c,
   1368  1.5.2.2  pgoyette 	0xe0, 0xdf, 0xef, 0x84, 0x36, 0x7d, 0xe5, 0x45,
   1369  1.5.2.2  pgoyette 	0xe0, 0xf8, 0xce, 0x82, 0x39, 0xc4, 0x54, 0x69,
   1370  1.5.2.2  pgoyette 	0xf1, 0x62, 0x7d, 0x1a, 0xf6, 0x6c, 0x20, 0x86,
   1371  1.5.2.2  pgoyette 	0x72, 0x4b, 0xf9, 0x3d, 0x87, 0x68, 0xec, 0x74,
   1372  1.5.2.2  pgoyette 	0x67, 0xee, 0xbd, 0xb8, 0xc6, 0x12, 0x91, 0x0f,
   1373  1.5.2.2  pgoyette 	0xf6, 0xd9, 0x4f, 0x34, 0x96, 0xa9, 0xe7, 0x52,
   1374  1.5.2.2  pgoyette 	0x7b, 0xe0, 0x08, 0x57, 0x0a, 0x8b, 0x09, 0xcb,
   1375  1.5.2.2  pgoyette 	0xd3, 0x3e, 0x4e, 0x64, 0xca, 0x38, 0x50, 0x07,
   1376  1.5.2.2  pgoyette 	0x0e, 0x7b, 0x95, 0x69, 0x1b, 0x82, 0xba, 0x50,
   1377  1.5.2.2  pgoyette 	0x93, 0x4f, 0x9a, 0x8e, 0x11, 0x9b, 0x64, 0xf5,
   1378  1.5.2.2  pgoyette 	0x6a, 0xd4, 0x81, 0xf0, 0x1f, 0xb8, 0x85, 0x90,
   1379  1.5.2.2  pgoyette 	0x9c, 0x79, 0xde, 0xcb, 0x50, 0xba, 0xa9, 0x56,
   1380  1.5.2.2  pgoyette 	0x66, 0xd1, 0x1e, 0x78, 0xa8, 0x6a, 0xd5, 0xa5,
   1381  1.5.2.2  pgoyette 	0x83, 0x73, 0xe2, 0x88, 0xf2, 0x04, 0x33, 0x61,
   1382  1.5.2.2  pgoyette 	0xdf, 0x89, 0xd5, 0x3d, 0x03, 0x4e, 0x94, 0xb0,
   1383  1.5.2.2  pgoyette 	0x0f, 0x8d, 0x4d, 0xb4, 0x09, 0xb2, 0xf1, 0xb0,
   1384  1.5.2.2  pgoyette 	0xe7, 0xfe, 0xb0, 0x18, 0xe2, 0xfc, 0x92, 0xeb,
   1385  1.5.2.2  pgoyette 	0x2d, 0x7d, 0x56, 0x29, 0xbd, 0x34, 0x20, 0x7c,
   1386  1.5.2.2  pgoyette 	0xb6, 0xe7, 0x7b, 0xd7, 0x95, 0xa5, 0x0d, 0x10,
   1387  1.5.2.2  pgoyette 	0xbc, 0x7d, 0x9d, 0xd9, 0xbe, 0xc7, 0x23, 0x44,
   1388  1.5.2.2  pgoyette 	0x37, 0xb3, 0x98, 0x36, 0x33, 0x1a, 0x11, 0xfe,
   1389  1.5.2.2  pgoyette 	0x41, 0xea, 0x59, 0x48, 0x75, 0x34, 0xf6, 0xc4,
   1390  1.5.2.2  pgoyette };
   1391  1.5.2.2  pgoyette 
   1392  1.5.2.2  pgoyette /*
   1393  1.5.2.2  pgoyette  * IV method encblkno1, blkno 1.
   1394  1.5.2.2  pgoyette  */
   1395  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno1_vec1_ctxt[SECSIZE] = {
   1396  1.5.2.2  pgoyette 	0x58, 0xfc, 0x1e, 0x48, 0x66, 0x7d, 0x91, 0xc7,
   1397  1.5.2.2  pgoyette 	0x56, 0xa3, 0x41, 0x89, 0xe8, 0x1e, 0x02, 0x77,
   1398  1.5.2.2  pgoyette 	0x93, 0x38, 0x12, 0x99, 0x06, 0x0d, 0xf3, 0x6d,
   1399  1.5.2.2  pgoyette 	0x2a, 0x5d, 0x3d, 0x7b, 0x4e, 0x05, 0x4f, 0x8f,
   1400  1.5.2.2  pgoyette 	0xe3, 0x86, 0x76, 0xfe, 0x11, 0x9d, 0xde, 0xd4,
   1401  1.5.2.2  pgoyette 	0x83, 0xd9, 0x47, 0x8d, 0x51, 0xdf, 0x4a, 0x24,
   1402  1.5.2.2  pgoyette 	0x2d, 0x11, 0xf0, 0xbd, 0xde, 0x17, 0x7e, 0x52,
   1403  1.5.2.2  pgoyette 	0x20, 0xc7, 0x17, 0x88, 0x2e, 0xa4, 0xd5, 0xa0,
   1404  1.5.2.2  pgoyette 	0x1e, 0xbc, 0x61, 0x15, 0x1e, 0x52, 0xa1, 0x8b,
   1405  1.5.2.2  pgoyette 	0xe9, 0xe4, 0x1f, 0x81, 0x49, 0x64, 0x17, 0xd4,
   1406  1.5.2.2  pgoyette 	0xef, 0xb6, 0x40, 0x05, 0x2f, 0x36, 0xf7, 0x39,
   1407  1.5.2.2  pgoyette 	0x03, 0x05, 0x80, 0xff, 0xf2, 0x1a, 0x15, 0xf1,
   1408  1.5.2.2  pgoyette 	0xfc, 0xaf, 0x71, 0x51, 0x73, 0xc5, 0x9e, 0x2f,
   1409  1.5.2.2  pgoyette 	0xd1, 0x7a, 0x2d, 0xd7, 0xed, 0x90, 0x11, 0xd2,
   1410  1.5.2.2  pgoyette 	0x80, 0x49, 0x46, 0x9f, 0x13, 0xa7, 0x32, 0x33,
   1411  1.5.2.2  pgoyette 	0x24, 0x39, 0x59, 0xf1, 0xed, 0x64, 0x75, 0x61,
   1412  1.5.2.2  pgoyette 	0xc3, 0x14, 0x68, 0x48, 0xf7, 0xc7, 0xbd, 0xe0,
   1413  1.5.2.2  pgoyette 	0x21, 0x59, 0x91, 0x07, 0x70, 0x83, 0x8f, 0xfc,
   1414  1.5.2.2  pgoyette 	0x59, 0x72, 0xca, 0xdd, 0x60, 0xa0, 0xbb, 0xb1,
   1415  1.5.2.2  pgoyette 	0x2f, 0xb8, 0x98, 0x8d, 0xf2, 0x4d, 0x3a, 0x19,
   1416  1.5.2.2  pgoyette 	0xbc, 0x6b, 0x37, 0xad, 0xd2, 0xb5, 0x7d, 0x1c,
   1417  1.5.2.2  pgoyette 	0x4a, 0x7b, 0x58, 0x76, 0x2e, 0xf5, 0x6b, 0xaf,
   1418  1.5.2.2  pgoyette 	0x4c, 0x92, 0x00, 0x8a, 0xb4, 0xa3, 0x86, 0x66,
   1419  1.5.2.2  pgoyette 	0x07, 0xc7, 0xfc, 0x57, 0x3c, 0x73, 0xf4, 0x8b,
   1420  1.5.2.2  pgoyette 	0xef, 0xb6, 0xae, 0x01, 0xfb, 0x88, 0x13, 0x04,
   1421  1.5.2.2  pgoyette 	0xa8, 0xc7, 0xec, 0xc4, 0xe0, 0x67, 0x3a, 0xfb,
   1422  1.5.2.2  pgoyette 	0x67, 0xce, 0x83, 0x9b, 0x8e, 0x66, 0xff, 0xa6,
   1423  1.5.2.2  pgoyette 	0x17, 0x1b, 0x66, 0x27, 0xdf, 0x2a, 0xfe, 0xf3,
   1424  1.5.2.2  pgoyette 	0x9a, 0xba, 0x59, 0xce, 0x28, 0xd4, 0xd2, 0x40,
   1425  1.5.2.2  pgoyette 	0x78, 0xb6, 0xe9, 0x7d, 0x8b, 0xcc, 0x47, 0x5c,
   1426  1.5.2.2  pgoyette 	0xf6, 0x5d, 0xc2, 0x5d, 0xe0, 0xa7, 0x61, 0x8b,
   1427  1.5.2.2  pgoyette 	0xe6, 0x7d, 0x38, 0xb6, 0xea, 0xfb, 0x13, 0x31,
   1428  1.5.2.2  pgoyette 	0x33, 0x2a, 0xb5, 0x45, 0x7b, 0xf6, 0x9f, 0x29,
   1429  1.5.2.2  pgoyette 	0x06, 0x2d, 0xd8, 0xab, 0x36, 0x27, 0xe4, 0x6c,
   1430  1.5.2.2  pgoyette 	0xf1, 0xab, 0xcd, 0xb9, 0x08, 0x0f, 0x4b, 0x8f,
   1431  1.5.2.2  pgoyette 	0x22, 0xea, 0xe4, 0x5d, 0x22, 0x05, 0x2e, 0xd4,
   1432  1.5.2.2  pgoyette 	0xd7, 0xff, 0x58, 0x50, 0x38, 0x17, 0x6f, 0x80,
   1433  1.5.2.2  pgoyette 	0x61, 0x98, 0xdc, 0xd4, 0x9f, 0x8f, 0xeb, 0x13,
   1434  1.5.2.2  pgoyette 	0xd3, 0x86, 0xe9, 0xa9, 0xe7, 0x07, 0x6f, 0x4f,
   1435  1.5.2.2  pgoyette 	0x54, 0x9e, 0x37, 0x3d, 0xbc, 0x82, 0x5f, 0x4f,
   1436  1.5.2.2  pgoyette 	0xd5, 0x0c, 0x21, 0xaa, 0x91, 0xcb, 0x06, 0x9a,
   1437  1.5.2.2  pgoyette 	0xaf, 0x57, 0x14, 0xfb, 0x57, 0xd8, 0x63, 0x58,
   1438  1.5.2.2  pgoyette 	0x0a, 0x03, 0x12, 0x0e, 0xd3, 0x37, 0x0b, 0xbf,
   1439  1.5.2.2  pgoyette 	0x67, 0xb7, 0x9d, 0xb7, 0x6b, 0x38, 0xeb, 0x17,
   1440  1.5.2.2  pgoyette 	0xd8, 0xb9, 0x5a, 0x37, 0x9f, 0x98, 0xa6, 0xca,
   1441  1.5.2.2  pgoyette 	0x7e, 0x95, 0xa7, 0x27, 0xc4, 0xd3, 0x15, 0x00,
   1442  1.5.2.2  pgoyette 	0x7b, 0x5e, 0x05, 0xc0, 0xc1, 0xb0, 0xe0, 0x13,
   1443  1.5.2.2  pgoyette 	0x7d, 0x91, 0xed, 0x2b, 0x99, 0x74, 0x1c, 0x16,
   1444  1.5.2.2  pgoyette 	0x45, 0x55, 0x21, 0xbc, 0x7c, 0x52, 0x87, 0x0f,
   1445  1.5.2.2  pgoyette 	0xb9, 0xbf, 0x71, 0x7c, 0x3a, 0x81, 0x72, 0x97,
   1446  1.5.2.2  pgoyette 	0xf8, 0x86, 0x61, 0x20, 0x17, 0xd8, 0xc8, 0xe0,
   1447  1.5.2.2  pgoyette 	0xfc, 0x42, 0x0f, 0x5b, 0xd6, 0x7e, 0x99, 0x81,
   1448  1.5.2.2  pgoyette 	0x5c, 0x2e, 0x2e, 0x3e, 0xe8, 0xce, 0x12, 0xcf,
   1449  1.5.2.2  pgoyette 	0x2c, 0xe6, 0x7a, 0x00, 0x5d, 0x36, 0x00, 0x92,
   1450  1.5.2.2  pgoyette 	0x60, 0xc5, 0xc0, 0xfd, 0xe0, 0xa3, 0xb9, 0x3e,
   1451  1.5.2.2  pgoyette 	0x92, 0xf8, 0x8f, 0xe2, 0x0f, 0xe5, 0xb4, 0x6a,
   1452  1.5.2.2  pgoyette 	0xd6, 0x5b, 0xa4, 0x5d, 0xf9, 0xef, 0x7e, 0xae,
   1453  1.5.2.2  pgoyette 	0xdd, 0xd0, 0x5d, 0x40, 0xfe, 0xa7, 0xed, 0xda,
   1454  1.5.2.2  pgoyette 	0xa9, 0x48, 0x1d, 0x6f, 0xc2, 0xd3, 0x35, 0x65,
   1455  1.5.2.2  pgoyette 	0xd8, 0x67, 0xc2, 0x9d, 0xed, 0xf7, 0x9f, 0x7b,
   1456  1.5.2.2  pgoyette 	0x7c, 0xd4, 0x03, 0xe0, 0xa6, 0xf9, 0x3c, 0xd0,
   1457  1.5.2.2  pgoyette 	0x21, 0x98, 0x60, 0xa6, 0x59, 0x86, 0xbd, 0x40,
   1458  1.5.2.2  pgoyette 	0x17, 0x47, 0x82, 0xb9, 0xe1, 0x11, 0x8d, 0x4b,
   1459  1.5.2.2  pgoyette 	0xcd, 0x1f, 0x54, 0x96, 0x17, 0x42, 0x22, 0x44,
   1460  1.5.2.2  pgoyette };
   1461  1.5.2.2  pgoyette 
   1462  1.5.2.2  pgoyette /*
   1463  1.5.2.2  pgoyette  * IV method encblkno1, blkno 2.
   1464  1.5.2.2  pgoyette  */
   1465  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno1_vec2_ctxt[SECSIZE] = {
   1466  1.5.2.2  pgoyette 	0x1d, 0x65, 0xb2, 0x4e, 0xfa, 0x3f, 0xdb, 0xab,
   1467  1.5.2.2  pgoyette 	0x34, 0x9d, 0x37, 0x03, 0x17, 0x44, 0xed, 0x5b,
   1468  1.5.2.2  pgoyette 	0xf7, 0x1b, 0x6b, 0xc0, 0x5c, 0xfe, 0x5b, 0xcd,
   1469  1.5.2.2  pgoyette 	0xf0, 0xaf, 0x26, 0x82, 0x97, 0x12, 0xb8, 0x4f,
   1470  1.5.2.2  pgoyette 	0x76, 0x3d, 0x07, 0xd8, 0x29, 0x56, 0x3c, 0xbd,
   1471  1.5.2.2  pgoyette 	0x0e, 0xac, 0xd1, 0x8f, 0x53, 0x1a, 0x8f, 0xcd,
   1472  1.5.2.2  pgoyette 	0x04, 0x5b, 0x49, 0xe0, 0xf0, 0xea, 0xc9, 0x8a,
   1473  1.5.2.2  pgoyette 	0x08, 0x3d, 0x1f, 0x2d, 0x8c, 0xec, 0xb8, 0xea,
   1474  1.5.2.2  pgoyette 	0xe9, 0x24, 0xd1, 0x93, 0xd7, 0x9a, 0x0f, 0xd7,
   1475  1.5.2.2  pgoyette 	0x0f, 0x6b, 0xa0, 0x08, 0x58, 0x81, 0x68, 0x2f,
   1476  1.5.2.2  pgoyette 	0xde, 0x36, 0xb5, 0x87, 0xd9, 0xcd, 0x82, 0x13,
   1477  1.5.2.2  pgoyette 	0x36, 0x16, 0x6a, 0x9a, 0x02, 0xca, 0xda, 0x6f,
   1478  1.5.2.2  pgoyette 	0x51, 0x87, 0x75, 0x47, 0x89, 0xa4, 0x10, 0x60,
   1479  1.5.2.2  pgoyette 	0xfb, 0x1a, 0x74, 0x55, 0x6d, 0x18, 0x8d, 0x42,
   1480  1.5.2.2  pgoyette 	0x74, 0x2d, 0x12, 0x56, 0xc0, 0xcd, 0xa2, 0x57,
   1481  1.5.2.2  pgoyette 	0x53, 0x31, 0x8c, 0x7a, 0x8b, 0xa8, 0x6d, 0x89,
   1482  1.5.2.2  pgoyette 	0x81, 0xaf, 0x9c, 0xd9, 0x56, 0xe6, 0xdc, 0xe7,
   1483  1.5.2.2  pgoyette 	0x84, 0x0f, 0x81, 0x56, 0x1a, 0xc8, 0x5d, 0xa3,
   1484  1.5.2.2  pgoyette 	0xe0, 0x93, 0xea, 0x62, 0x7d, 0xa4, 0x5a, 0x58,
   1485  1.5.2.2  pgoyette 	0x8f, 0x05, 0x85, 0x34, 0x0c, 0x74, 0x8e, 0xe7,
   1486  1.5.2.2  pgoyette 	0xb4, 0x47, 0x93, 0x61, 0xbf, 0x61, 0x0a, 0xa2,
   1487  1.5.2.2  pgoyette 	0x37, 0xcd, 0x82, 0x9d, 0x55, 0x9e, 0x32, 0x9e,
   1488  1.5.2.2  pgoyette 	0x30, 0xce, 0x61, 0x89, 0xed, 0x25, 0x9e, 0x7c,
   1489  1.5.2.2  pgoyette 	0x2a, 0xcd, 0x39, 0x45, 0x56, 0xbb, 0x1a, 0xe8,
   1490  1.5.2.2  pgoyette 	0xb0, 0x75, 0x8f, 0xa1, 0x59, 0x09, 0xf8, 0x7a,
   1491  1.5.2.2  pgoyette 	0xbd, 0x4f, 0x69, 0x8b, 0xe2, 0xf3, 0xbe, 0x9b,
   1492  1.5.2.2  pgoyette 	0xea, 0x5f, 0x2c, 0x1e, 0x84, 0x69, 0xb2, 0xfa,
   1493  1.5.2.2  pgoyette 	0xaf, 0x1d, 0xc8, 0xcf, 0x76, 0x91, 0xd0, 0x7a,
   1494  1.5.2.2  pgoyette 	0xc9, 0xd1, 0x3d, 0xa5, 0xae, 0xae, 0xd7, 0x23,
   1495  1.5.2.2  pgoyette 	0xbb, 0xb3, 0x5e, 0x8a, 0x10, 0xc6, 0xbe, 0xa6,
   1496  1.5.2.2  pgoyette 	0x79, 0x69, 0x40, 0x83, 0x81, 0xe6, 0xb1, 0xa3,
   1497  1.5.2.2  pgoyette 	0x7e, 0x57, 0x44, 0x66, 0xc9, 0x2e, 0x84, 0xdd,
   1498  1.5.2.2  pgoyette 	0x00, 0xb4, 0x93, 0xae, 0x8f, 0x23, 0x12, 0xd6,
   1499  1.5.2.2  pgoyette 	0x54, 0x56, 0xc3, 0x51, 0xe5, 0xf7, 0x69, 0x47,
   1500  1.5.2.2  pgoyette 	0x00, 0x97, 0x71, 0x29, 0xcb, 0xcf, 0xeb, 0xd9,
   1501  1.5.2.2  pgoyette 	0xaf, 0xc0, 0x2f, 0x5c, 0xd7, 0x3e, 0xe4, 0x07,
   1502  1.5.2.2  pgoyette 	0xc9, 0x65, 0x2e, 0x8c, 0xf4, 0x54, 0xce, 0x8b,
   1503  1.5.2.2  pgoyette 	0xc7, 0x0c, 0xb4, 0x74, 0x56, 0x79, 0xa6, 0x40,
   1504  1.5.2.2  pgoyette 	0x4a, 0x58, 0xfd, 0x3f, 0x7b, 0x4c, 0xe9, 0xdb,
   1505  1.5.2.2  pgoyette 	0x33, 0x85, 0x6f, 0xf7, 0x5a, 0x9f, 0x6f, 0xc4,
   1506  1.5.2.2  pgoyette 	0x60, 0xad, 0x1b, 0xe2, 0xf5, 0xeb, 0x42, 0x7d,
   1507  1.5.2.2  pgoyette 	0xa4, 0x43, 0x8d, 0x40, 0xfa, 0x53, 0xcc, 0xf0,
   1508  1.5.2.2  pgoyette 	0x5f, 0x90, 0x0d, 0x04, 0x51, 0xb1, 0x48, 0xc7,
   1509  1.5.2.2  pgoyette 	0x90, 0x65, 0xb2, 0xef, 0xca, 0xc5, 0x9a, 0xec,
   1510  1.5.2.2  pgoyette 	0xde, 0x84, 0x21, 0x22, 0xeb, 0x97, 0xdd, 0xa2,
   1511  1.5.2.2  pgoyette 	0x9d, 0x71, 0xb1, 0xe0, 0x86, 0x58, 0xc3, 0x57,
   1512  1.5.2.2  pgoyette 	0xd5, 0x5a, 0x6f, 0xdc, 0xe5, 0xcc, 0x64, 0xc7,
   1513  1.5.2.2  pgoyette 	0x80, 0x2a, 0xef, 0x90, 0x91, 0x96, 0xb4, 0xeb,
   1514  1.5.2.2  pgoyette 	0xda, 0x3b, 0x7b, 0xbc, 0x14, 0x60, 0x52, 0xe5,
   1515  1.5.2.2  pgoyette 	0xe5, 0xc8, 0x6a, 0x99, 0x46, 0x9d, 0x00, 0x77,
   1516  1.5.2.2  pgoyette 	0x3b, 0x60, 0x75, 0x04, 0x06, 0x4a, 0x5a, 0x64,
   1517  1.5.2.2  pgoyette 	0x6f, 0x2f, 0x58, 0x77, 0x27, 0x9a, 0xc5, 0x90,
   1518  1.5.2.2  pgoyette 	0x37, 0xa7, 0xf3, 0x89, 0x72, 0x47, 0x4e, 0x08,
   1519  1.5.2.2  pgoyette 	0xa5, 0x79, 0x11, 0x2f, 0x22, 0x5a, 0xbb, 0xcf,
   1520  1.5.2.2  pgoyette 	0x76, 0xb9, 0x28, 0xc8, 0xc4, 0x5a, 0xe5, 0x90,
   1521  1.5.2.2  pgoyette 	0xf7, 0x02, 0xe4, 0xf9, 0x0c, 0x4c, 0x9a, 0xb1,
   1522  1.5.2.2  pgoyette 	0xa7, 0x99, 0x34, 0xd4, 0x77, 0x66, 0xff, 0x3c,
   1523  1.5.2.2  pgoyette 	0x50, 0x9a, 0xff, 0x13, 0x49, 0xd6, 0x5a, 0xf6,
   1524  1.5.2.2  pgoyette 	0x17, 0x6f, 0xca, 0x1a, 0xef, 0x0a, 0x2d, 0xf1,
   1525  1.5.2.2  pgoyette 	0xdf, 0xd0, 0xa5, 0x6f, 0xa6, 0x22, 0x3c, 0x1f,
   1526  1.5.2.2  pgoyette 	0xcf, 0xe7, 0xec, 0x23, 0x39, 0x6e, 0xc0, 0x37,
   1527  1.5.2.2  pgoyette 	0x31, 0x84, 0xff, 0xe2, 0x5a, 0xd6, 0x88, 0x74,
   1528  1.5.2.2  pgoyette 	0x15, 0x15, 0x46, 0x21, 0x00, 0xe4, 0x13, 0x9a,
   1529  1.5.2.2  pgoyette 	0xfa, 0xb2, 0x49, 0x7e, 0x79, 0xfb, 0x8a, 0x2a,
   1530  1.5.2.2  pgoyette };
   1531  1.5.2.2  pgoyette 
   1532  1.5.2.2  pgoyette /*
   1533  1.5.2.2  pgoyette  * IV method encblkno1, blkno 3.
   1534  1.5.2.2  pgoyette  */
   1535  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno1_vec3_ctxt[SECSIZE] = {
   1536  1.5.2.2  pgoyette 	0xc1, 0x4a, 0x3c, 0x90, 0xba, 0xd4, 0x9c, 0xe7,
   1537  1.5.2.2  pgoyette 	0xf2, 0x5b, 0x3a, 0xc4, 0xce, 0x4a, 0x26, 0x4a,
   1538  1.5.2.2  pgoyette 	0x9c, 0x3f, 0xe5, 0x7a, 0x15, 0xbb, 0xbd, 0x3e,
   1539  1.5.2.2  pgoyette 	0xc6, 0x49, 0x47, 0x04, 0x4e, 0x8b, 0x73, 0xa6,
   1540  1.5.2.2  pgoyette 	0x02, 0x3a, 0xc1, 0xa3, 0xfa, 0x1a, 0xd0, 0x03,
   1541  1.5.2.2  pgoyette 	0xf7, 0x26, 0x9f, 0xad, 0x06, 0x8f, 0x86, 0xdc,
   1542  1.5.2.2  pgoyette 	0xb8, 0x73, 0x87, 0xa2, 0x82, 0xc6, 0x80, 0xe1,
   1543  1.5.2.2  pgoyette 	0xac, 0x3d, 0x16, 0x4c, 0xc3, 0x7c, 0x86, 0x01,
   1544  1.5.2.2  pgoyette 	0xa5, 0x7a, 0x1c, 0x4b, 0x56, 0x68, 0xf6, 0x06,
   1545  1.5.2.2  pgoyette 	0x99, 0x32, 0x42, 0x40, 0xf1, 0xb7, 0x44, 0x4b,
   1546  1.5.2.2  pgoyette 	0xd1, 0xdb, 0xad, 0x4e, 0xa6, 0xc2, 0x5f, 0xee,
   1547  1.5.2.2  pgoyette 	0x21, 0x1d, 0x58, 0xc6, 0xd5, 0x02, 0xef, 0xb2,
   1548  1.5.2.2  pgoyette 	0x38, 0xef, 0x29, 0x25, 0xfd, 0x28, 0x8a, 0x5b,
   1549  1.5.2.2  pgoyette 	0x8b, 0x36, 0x1a, 0xd6, 0x68, 0xf8, 0x77, 0xed,
   1550  1.5.2.2  pgoyette 	0xba, 0xb3, 0xa5, 0x6f, 0x76, 0x5e, 0xb5, 0xd4,
   1551  1.5.2.2  pgoyette 	0xc3, 0xb8, 0xf9, 0x67, 0x7a, 0x18, 0x43, 0xb6,
   1552  1.5.2.2  pgoyette 	0x65, 0x07, 0x48, 0x1d, 0x56, 0x20, 0x11, 0xe1,
   1553  1.5.2.2  pgoyette 	0x62, 0x6b, 0x70, 0xc9, 0x18, 0xa9, 0xa7, 0x36,
   1554  1.5.2.2  pgoyette 	0xbf, 0x31, 0x74, 0xe3, 0x33, 0x02, 0x96, 0x7a,
   1555  1.5.2.2  pgoyette 	0xf5, 0xd9, 0x8d, 0x05, 0x2b, 0xfd, 0x85, 0x4f,
   1556  1.5.2.2  pgoyette 	0x03, 0x0f, 0xe1, 0xfb, 0x1a, 0x57, 0xaf, 0xdc,
   1557  1.5.2.2  pgoyette 	0xff, 0xff, 0x5a, 0x96, 0x27, 0xca, 0xf3, 0x0c,
   1558  1.5.2.2  pgoyette 	0xd8, 0x39, 0x3e, 0xbe, 0x41, 0x5a, 0x21, 0x95,
   1559  1.5.2.2  pgoyette 	0x66, 0xe0, 0x69, 0x14, 0x2b, 0x18, 0xf2, 0x9b,
   1560  1.5.2.2  pgoyette 	0xf4, 0x22, 0xdf, 0xa9, 0xe4, 0x7d, 0x32, 0x5d,
   1561  1.5.2.2  pgoyette 	0x98, 0xa0, 0xe0, 0xe1, 0xe1, 0xbe, 0xae, 0x58,
   1562  1.5.2.2  pgoyette 	0x63, 0xbe, 0x4b, 0x97, 0x83, 0xaa, 0x67, 0xd3,
   1563  1.5.2.2  pgoyette 	0x1a, 0x70, 0xca, 0x82, 0x98, 0x77, 0x74, 0x1a,
   1564  1.5.2.2  pgoyette 	0xf2, 0x3d, 0x6a, 0x7b, 0x8e, 0xc8, 0xca, 0x34,
   1565  1.5.2.2  pgoyette 	0x44, 0xb8, 0xc0, 0xd0, 0x77, 0x8c, 0x4a, 0x5c,
   1566  1.5.2.2  pgoyette 	0xae, 0xd3, 0x17, 0x7c, 0x12, 0x47, 0x3e, 0xe2,
   1567  1.5.2.2  pgoyette 	0x2e, 0x51, 0xe0, 0x52, 0x88, 0x8e, 0xe9, 0x68,
   1568  1.5.2.2  pgoyette 	0xb6, 0x13, 0xf8, 0x69, 0xc9, 0x4b, 0xdd, 0x91,
   1569  1.5.2.2  pgoyette 	0x27, 0xb0, 0x22, 0x0c, 0x7d, 0xad, 0xb0, 0x75,
   1570  1.5.2.2  pgoyette 	0xe8, 0x76, 0x34, 0xc2, 0xd9, 0xf3, 0x20, 0xf7,
   1571  1.5.2.2  pgoyette 	0x1d, 0x0f, 0x07, 0x61, 0xc2, 0xb8, 0x7d, 0x00,
   1572  1.5.2.2  pgoyette 	0xa6, 0x68, 0xad, 0xd4, 0x0b, 0xa4, 0xa0, 0x32,
   1573  1.5.2.2  pgoyette 	0x6d, 0xa5, 0xc0, 0x07, 0x65, 0xae, 0xda, 0x2e,
   1574  1.5.2.2  pgoyette 	0xd6, 0xb7, 0xd3, 0x99, 0x8b, 0x37, 0x08, 0x13,
   1575  1.5.2.2  pgoyette 	0x6a, 0x94, 0xe9, 0xe4, 0xea, 0x34, 0xee, 0x07,
   1576  1.5.2.2  pgoyette 	0xee, 0x77, 0xb1, 0x3f, 0x54, 0x05, 0xbe, 0x66,
   1577  1.5.2.2  pgoyette 	0x7f, 0xf2, 0x70, 0x34, 0x45, 0xa7, 0x4b, 0x27,
   1578  1.5.2.2  pgoyette 	0xef, 0xe6, 0x39, 0x2e, 0x13, 0x41, 0xdb, 0x2d,
   1579  1.5.2.2  pgoyette 	0x1f, 0x76, 0x11, 0x76, 0x33, 0xf3, 0x92, 0x33,
   1580  1.5.2.2  pgoyette 	0x69, 0x16, 0x34, 0x86, 0x23, 0xc5, 0xfa, 0xaf,
   1581  1.5.2.2  pgoyette 	0xff, 0xbf, 0xee, 0x84, 0x56, 0xf6, 0x1e, 0x54,
   1582  1.5.2.2  pgoyette 	0x37, 0x32, 0x79, 0x83, 0x45, 0x04, 0x6f, 0x0e,
   1583  1.5.2.2  pgoyette 	0x75, 0x75, 0xd9, 0xd6, 0x4a, 0x87, 0xfb, 0x3c,
   1584  1.5.2.2  pgoyette 	0xb1, 0xcf, 0x66, 0xab, 0xa4, 0xaa, 0xf6, 0x96,
   1585  1.5.2.2  pgoyette 	0xb0, 0xcd, 0xaf, 0xac, 0x2c, 0x6d, 0x72, 0xca,
   1586  1.5.2.2  pgoyette 	0x43, 0xef, 0xb7, 0xa0, 0x4c, 0x62, 0xba, 0x7e,
   1587  1.5.2.2  pgoyette 	0x59, 0x0b, 0xff, 0x90, 0x49, 0x63, 0xf6, 0x31,
   1588  1.5.2.2  pgoyette 	0x8b, 0x50, 0x20, 0x82, 0x7d, 0xf0, 0x2d, 0xe4,
   1589  1.5.2.2  pgoyette 	0x5b, 0xda, 0xdf, 0xb0, 0xfb, 0x07, 0x7b, 0xe3,
   1590  1.5.2.2  pgoyette 	0x5f, 0xac, 0xd8, 0xe5, 0xa0, 0x3e, 0xc5, 0x60,
   1591  1.5.2.2  pgoyette 	0x94, 0xbc, 0xf7, 0x7e, 0xdc, 0x18, 0x27, 0x20,
   1592  1.5.2.2  pgoyette 	0xb1, 0xdd, 0x51, 0x4a, 0xb2, 0xe0, 0xc0, 0xe7,
   1593  1.5.2.2  pgoyette 	0x5d, 0x0f, 0x88, 0xb2, 0xa0, 0x42, 0x73, 0xfb,
   1594  1.5.2.2  pgoyette 	0xc4, 0x24, 0xa7, 0x17, 0x8a, 0xc9, 0x6d, 0x34,
   1595  1.5.2.2  pgoyette 	0xe8, 0x7b, 0x51, 0x37, 0x32, 0x3f, 0xf8, 0x7e,
   1596  1.5.2.2  pgoyette 	0x92, 0xe4, 0x87, 0xd2, 0x89, 0x66, 0xb0, 0xf6,
   1597  1.5.2.2  pgoyette 	0xc2, 0xba, 0x2f, 0x42, 0x8f, 0x1d, 0x5d, 0x81,
   1598  1.5.2.2  pgoyette 	0xad, 0xfd, 0x00, 0xbc, 0xa9, 0x11, 0x96, 0xae,
   1599  1.5.2.2  pgoyette 	0x80, 0xf1, 0x27, 0xe0, 0xeb, 0x5b, 0x60, 0x39,
   1600  1.5.2.2  pgoyette };
   1601  1.5.2.2  pgoyette 
   1602  1.5.2.2  pgoyette const struct testvec aes_cbc_256_1_vectors[] = {
   1603  1.5.2.2  pgoyette 	{
   1604  1.5.2.2  pgoyette 		.blkno = 0,
   1605  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1606  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno1_vec0_ctxt,
   1607  1.5.2.2  pgoyette 	},
   1608  1.5.2.2  pgoyette 	{
   1609  1.5.2.2  pgoyette 		.blkno = 1,
   1610  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1611  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno1_vec1_ctxt,
   1612  1.5.2.2  pgoyette 	},
   1613  1.5.2.2  pgoyette 	{
   1614  1.5.2.2  pgoyette 		.blkno = 2,
   1615  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1616  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno1_vec2_ctxt,
   1617  1.5.2.2  pgoyette 	},
   1618  1.5.2.2  pgoyette 	{
   1619  1.5.2.2  pgoyette 		.blkno = 3,
   1620  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1621  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno1_vec3_ctxt,
   1622  1.5.2.2  pgoyette 	},
   1623  1.5.2.2  pgoyette };
   1624  1.5.2.2  pgoyette 
   1625  1.5.2.2  pgoyette /*
   1626  1.5.2.2  pgoyette  * IV method encblkno8, blkno 0.
   1627  1.5.2.2  pgoyette  */
   1628  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno8_vec0_ctxt[SECSIZE] = {
   1629  1.5.2.2  pgoyette 	0xe5, 0x55, 0xd9, 0xae, 0xc0, 0x66, 0x2d, 0x2f,
   1630  1.5.2.2  pgoyette 	0x11, 0xb1, 0x27, 0xd2, 0xb2, 0x73, 0xe4, 0x0a,
   1631  1.5.2.2  pgoyette 	0x85, 0xb5, 0x3c, 0x79, 0x78, 0xd6, 0x35, 0x3d,
   1632  1.5.2.2  pgoyette 	0x46, 0xac, 0xa3, 0x81, 0x55, 0x76, 0x86, 0xfc,
   1633  1.5.2.2  pgoyette 	0x37, 0xa0, 0x95, 0xc2, 0x30, 0xc9, 0x19, 0xc2,
   1634  1.5.2.2  pgoyette 	0x5f, 0xb0, 0x13, 0xa2, 0xa8, 0xe1, 0xc7, 0xb7,
   1635  1.5.2.2  pgoyette 	0x61, 0x54, 0xd8, 0xe6, 0xca, 0x94, 0x6f, 0x47,
   1636  1.5.2.2  pgoyette 	0x87, 0x33, 0x58, 0xd9, 0xd5, 0xd2, 0x95, 0x73,
   1637  1.5.2.2  pgoyette 	0x87, 0x9a, 0x31, 0xe5, 0x2e, 0x95, 0x83, 0x7d,
   1638  1.5.2.2  pgoyette 	0xdc, 0x0f, 0xc5, 0x2f, 0x14, 0xbc, 0x80, 0xac,
   1639  1.5.2.2  pgoyette 	0x47, 0xd6, 0xd8, 0x17, 0x9e, 0xf7, 0xff, 0x5b,
   1640  1.5.2.2  pgoyette 	0x85, 0x05, 0x91, 0xe0, 0x73, 0xd2, 0x5c, 0xa7,
   1641  1.5.2.2  pgoyette 	0x41, 0xf8, 0xcb, 0x3d, 0x38, 0x14, 0x28, 0x3e,
   1642  1.5.2.2  pgoyette 	0x89, 0x6f, 0xd4, 0xac, 0xb6, 0x11, 0x35, 0x67,
   1643  1.5.2.2  pgoyette 	0x7b, 0xef, 0x0d, 0xd8, 0x4d, 0xdd, 0x7e, 0x73,
   1644  1.5.2.2  pgoyette 	0xcd, 0x58, 0x0f, 0x5a, 0xcf, 0x42, 0xc5, 0x2f,
   1645  1.5.2.2  pgoyette 	0x61, 0x62, 0x13, 0xde, 0xcd, 0x2e, 0x22, 0xab,
   1646  1.5.2.2  pgoyette 	0xb0, 0x47, 0x5c, 0x1e, 0x5c, 0xc5, 0x49, 0xc6,
   1647  1.5.2.2  pgoyette 	0x3b, 0x0c, 0xe3, 0xb3, 0x59, 0xbf, 0xbf, 0x85,
   1648  1.5.2.2  pgoyette 	0xf6, 0x0a, 0x3d, 0x14, 0x74, 0x2a, 0xcd, 0xea,
   1649  1.5.2.2  pgoyette 	0x67, 0xd6, 0x80, 0x42, 0x3c, 0x6a, 0x92, 0x50,
   1650  1.5.2.2  pgoyette 	0x95, 0x73, 0xb5, 0x7a, 0xb2, 0xbc, 0x76, 0xe5,
   1651  1.5.2.2  pgoyette 	0x8f, 0xf3, 0x85, 0x5e, 0xcd, 0xf9, 0xb4, 0x9d,
   1652  1.5.2.2  pgoyette 	0xa8, 0x0a, 0xda, 0x95, 0x11, 0x2e, 0x22, 0x0c,
   1653  1.5.2.2  pgoyette 	0x2f, 0xb0, 0xbf, 0x92, 0x6b, 0x45, 0xec, 0x20,
   1654  1.5.2.2  pgoyette 	0xd2, 0x2b, 0x98, 0x3f, 0x4f, 0x97, 0xf2, 0xed,
   1655  1.5.2.2  pgoyette 	0xf7, 0x9b, 0x89, 0x4e, 0xd6, 0x59, 0xbb, 0x24,
   1656  1.5.2.2  pgoyette 	0x22, 0x44, 0x9f, 0x03, 0xb5, 0x42, 0xc8, 0x97,
   1657  1.5.2.2  pgoyette 	0xc7, 0xdb, 0x21, 0xfc, 0xcf, 0x33, 0xa1, 0xf1,
   1658  1.5.2.2  pgoyette 	0xc0, 0x1f, 0x28, 0x77, 0xee, 0xa5, 0x6a, 0x12,
   1659  1.5.2.2  pgoyette 	0xef, 0x8b, 0x48, 0xd1, 0xb3, 0xac, 0x65, 0x69,
   1660  1.5.2.2  pgoyette 	0x46, 0x04, 0x39, 0xb1, 0x9e, 0xfa, 0xab, 0x21,
   1661  1.5.2.2  pgoyette 	0x51, 0xa4, 0x33, 0xe9, 0x58, 0x5d, 0xf1, 0xc6,
   1662  1.5.2.2  pgoyette 	0x69, 0x44, 0x8c, 0x17, 0xf9, 0xaa, 0x96, 0xcb,
   1663  1.5.2.2  pgoyette 	0x40, 0xb4, 0x5c, 0x83, 0x76, 0x1e, 0x8a, 0x2b,
   1664  1.5.2.2  pgoyette 	0x5f, 0x6b, 0xc1, 0x73, 0xd4, 0x5f, 0x48, 0xa3,
   1665  1.5.2.2  pgoyette 	0x0e, 0x07, 0x69, 0x12, 0xc1, 0xbd, 0x13, 0xad,
   1666  1.5.2.2  pgoyette 	0xe2, 0xcf, 0x3d, 0x96, 0xd8, 0xaf, 0xed, 0xdc,
   1667  1.5.2.2  pgoyette 	0x4c, 0x72, 0xf6, 0xce, 0x15, 0x86, 0x88, 0x8c,
   1668  1.5.2.2  pgoyette 	0xbb, 0x60, 0xb3, 0xb9, 0xde, 0x42, 0x58, 0x6e,
   1669  1.5.2.2  pgoyette 	0xc4, 0x58, 0xac, 0x77, 0x8d, 0x35, 0x23, 0x5f,
   1670  1.5.2.2  pgoyette 	0xc3, 0xf9, 0x33, 0x46, 0x17, 0x80, 0x31, 0xfd,
   1671  1.5.2.2  pgoyette 	0xcd, 0x0a, 0x1e, 0x9b, 0xac, 0x42, 0xda, 0x70,
   1672  1.5.2.2  pgoyette 	0x54, 0x9a, 0xeb, 0x22, 0x27, 0x09, 0x0c, 0x6c,
   1673  1.5.2.2  pgoyette 	0x18, 0x1d, 0x1a, 0x5b, 0x86, 0x4d, 0x80, 0xca,
   1674  1.5.2.2  pgoyette 	0x4d, 0xda, 0x0e, 0x9a, 0x8e, 0x61, 0x04, 0x68,
   1675  1.5.2.2  pgoyette 	0x29, 0x08, 0x3b, 0xae, 0x14, 0x7d, 0x8e, 0x43,
   1676  1.5.2.2  pgoyette 	0x7a, 0xa7, 0x83, 0xcf, 0xb3, 0x95, 0xd3, 0x42,
   1677  1.5.2.2  pgoyette 	0x2d, 0x6b, 0xd8, 0x5c, 0x43, 0x31, 0x5b, 0x9c,
   1678  1.5.2.2  pgoyette 	0x18, 0x30, 0x0d, 0x61, 0x9c, 0xab, 0x29, 0x55,
   1679  1.5.2.2  pgoyette 	0xdd, 0x84, 0x24, 0x21, 0xec, 0x44, 0xad, 0xf3,
   1680  1.5.2.2  pgoyette 	0xb3, 0x70, 0x77, 0x2b, 0xfc, 0x3f, 0x99, 0xb8,
   1681  1.5.2.2  pgoyette 	0x50, 0x26, 0x8d, 0x96, 0xa2, 0x22, 0x99, 0x33,
   1682  1.5.2.2  pgoyette 	0x53, 0xa8, 0x5d, 0x84, 0x9b, 0x76, 0x26, 0x6e,
   1683  1.5.2.2  pgoyette 	0x75, 0x14, 0x7e, 0x63, 0xc6, 0x7a, 0x4f, 0x5c,
   1684  1.5.2.2  pgoyette 	0xfe, 0x4b, 0x80, 0xee, 0xb3, 0x32, 0x8d, 0x25,
   1685  1.5.2.2  pgoyette 	0x1c, 0x80, 0x7b, 0x3d, 0xd3, 0x84, 0x01, 0x1e,
   1686  1.5.2.2  pgoyette 	0x16, 0xa4, 0xca, 0x0d, 0x38, 0x40, 0x03, 0x6f,
   1687  1.5.2.2  pgoyette 	0x81, 0x8b, 0x5c, 0xad, 0x22, 0xfa, 0x6f, 0xeb,
   1688  1.5.2.2  pgoyette 	0x60, 0xa1, 0xcb, 0x2d, 0x97, 0xf8, 0xa6, 0x5e,
   1689  1.5.2.2  pgoyette 	0xbe, 0x93, 0xb7, 0xe6, 0x66, 0xbf, 0x9b, 0xd2,
   1690  1.5.2.2  pgoyette 	0x5c, 0x31, 0xcc, 0x70, 0x0c, 0xf1, 0xfb, 0x9f,
   1691  1.5.2.2  pgoyette 	0x09, 0x1b, 0xc2, 0x85, 0x2f, 0x22, 0x7c, 0x95,
   1692  1.5.2.2  pgoyette 	0x58, 0x09, 0xce, 0x9c, 0x7c, 0x50, 0xca, 0x89,
   1693  1.5.2.2  pgoyette };
   1694  1.5.2.2  pgoyette 
   1695  1.5.2.2  pgoyette /*
   1696  1.5.2.2  pgoyette  * IV method encblkno8, blkno 1.
   1697  1.5.2.2  pgoyette  */
   1698  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno8_vec1_ctxt[SECSIZE] = {
   1699  1.5.2.2  pgoyette 	0x37, 0x4d, 0x25, 0xdb, 0x35, 0xe0, 0x8b, 0x82,
   1700  1.5.2.2  pgoyette 	0x5f, 0x77, 0xd2, 0x53, 0xd1, 0x1f, 0xf0, 0x91,
   1701  1.5.2.2  pgoyette 	0x5b, 0xd8, 0x93, 0x2f, 0xb2, 0x81, 0xbd, 0x75,
   1702  1.5.2.2  pgoyette 	0xf0, 0xd8, 0xff, 0x46, 0x8c, 0x9d, 0xf6, 0xe2,
   1703  1.5.2.2  pgoyette 	0x99, 0x1e, 0x76, 0x9d, 0x00, 0x3a, 0xe3, 0xcf,
   1704  1.5.2.2  pgoyette 	0x6d, 0x24, 0xa8, 0xe8, 0xb4, 0xa7, 0xa0, 0x87,
   1705  1.5.2.2  pgoyette 	0xa8, 0x43, 0x01, 0x21, 0x29, 0x70, 0x39, 0x2d,
   1706  1.5.2.2  pgoyette 	0x0b, 0x2a, 0xe9, 0x11, 0x57, 0x86, 0x13, 0xd4,
   1707  1.5.2.2  pgoyette 	0x1c, 0x1b, 0x59, 0x19, 0xc4, 0x7d, 0x2c, 0x94,
   1708  1.5.2.2  pgoyette 	0xc7, 0x01, 0xb8, 0x96, 0x01, 0xd2, 0x01, 0x17,
   1709  1.5.2.2  pgoyette 	0x97, 0x41, 0x68, 0xab, 0xba, 0x9c, 0xc8, 0xad,
   1710  1.5.2.2  pgoyette 	0x4e, 0xd7, 0xa8, 0x4c, 0x96, 0x3f, 0xf9, 0xfc,
   1711  1.5.2.2  pgoyette 	0x7e, 0xd7, 0x59, 0xe8, 0x25, 0x51, 0x4d, 0x1d,
   1712  1.5.2.2  pgoyette 	0x99, 0xfd, 0x0b, 0xe9, 0x88, 0x23, 0xd1, 0x4b,
   1713  1.5.2.2  pgoyette 	0x30, 0x6e, 0x18, 0x7c, 0xe3, 0x7a, 0x54, 0x2a,
   1714  1.5.2.2  pgoyette 	0x4f, 0x2a, 0x99, 0x8f, 0xaf, 0xd7, 0x5e, 0x25,
   1715  1.5.2.2  pgoyette 	0xfe, 0x9c, 0x47, 0x09, 0x63, 0x38, 0x0d, 0x5f,
   1716  1.5.2.2  pgoyette 	0xb3, 0x43, 0xa6, 0x66, 0x9b, 0xc5, 0x3d, 0x88,
   1717  1.5.2.2  pgoyette 	0x5e, 0xc7, 0x60, 0x99, 0x8e, 0xcb, 0x6a, 0x65,
   1718  1.5.2.2  pgoyette 	0x60, 0x92, 0x88, 0xe1, 0x2b, 0xfe, 0x83, 0x34,
   1719  1.5.2.2  pgoyette 	0x92, 0xa6, 0x6c, 0x22, 0x56, 0x5b, 0x75, 0x8a,
   1720  1.5.2.2  pgoyette 	0x93, 0xc3, 0x72, 0xca, 0xff, 0x59, 0x3b, 0xd8,
   1721  1.5.2.2  pgoyette 	0xa0, 0x80, 0x56, 0x98, 0x62, 0x8a, 0x70, 0xf2,
   1722  1.5.2.2  pgoyette 	0x5d, 0xd9, 0x40, 0x6b, 0xbf, 0x9f, 0x71, 0x8d,
   1723  1.5.2.2  pgoyette 	0x2e, 0x38, 0xe8, 0x06, 0x42, 0xa9, 0x95, 0x70,
   1724  1.5.2.2  pgoyette 	0x31, 0xd1, 0xe9, 0x6c, 0xab, 0xbb, 0xed, 0x25,
   1725  1.5.2.2  pgoyette 	0xe8, 0xca, 0xe8, 0xa4, 0x98, 0x82, 0xf5, 0xe3,
   1726  1.5.2.2  pgoyette 	0x11, 0x3c, 0xc4, 0xea, 0xea, 0x88, 0x56, 0x91,
   1727  1.5.2.2  pgoyette 	0xd6, 0x5d, 0xaa, 0xf7, 0xe9, 0x49, 0x2f, 0x42,
   1728  1.5.2.2  pgoyette 	0x5b, 0x76, 0xef, 0xed, 0x03, 0x9e, 0x5f, 0x4d,
   1729  1.5.2.2  pgoyette 	0x65, 0x25, 0xa5, 0xe8, 0x26, 0xba, 0x03, 0x4f,
   1730  1.5.2.2  pgoyette 	0x0e, 0x39, 0xd2, 0x53, 0x62, 0x98, 0x81, 0x9d,
   1731  1.5.2.2  pgoyette 	0x8e, 0xad, 0x50, 0x17, 0x9f, 0xcc, 0x34, 0x45,
   1732  1.5.2.2  pgoyette 	0x19, 0x5c, 0x1c, 0xd1, 0xbc, 0x71, 0x89, 0xaa,
   1733  1.5.2.2  pgoyette 	0x9a, 0x65, 0x55, 0x6f, 0x78, 0xd4, 0xd3, 0x5b,
   1734  1.5.2.2  pgoyette 	0x27, 0x8d, 0x94, 0x46, 0xd9, 0x95, 0xb3, 0x5f,
   1735  1.5.2.2  pgoyette 	0xc4, 0x35, 0x8d, 0xba, 0x1c, 0x40, 0x52, 0xd1,
   1736  1.5.2.2  pgoyette 	0x99, 0x27, 0x5d, 0x42, 0x28, 0xef, 0xcb, 0x9b,
   1737  1.5.2.2  pgoyette 	0x10, 0x7a, 0x19, 0xbf, 0x72, 0xa3, 0x4a, 0xb9,
   1738  1.5.2.2  pgoyette 	0x56, 0x83, 0x39, 0xa6, 0xb2, 0xcd, 0x48, 0x85,
   1739  1.5.2.2  pgoyette 	0xf9, 0xcc, 0x72, 0x88, 0xb3, 0x5a, 0x9b, 0x45,
   1740  1.5.2.2  pgoyette 	0xb2, 0xd3, 0x66, 0x2d, 0x24, 0x51, 0x68, 0x91,
   1741  1.5.2.2  pgoyette 	0x9d, 0x47, 0x6a, 0xb3, 0x9a, 0x60, 0xb3, 0xcd,
   1742  1.5.2.2  pgoyette 	0x6b, 0x43, 0x96, 0x21, 0xa0, 0x65, 0x43, 0xde,
   1743  1.5.2.2  pgoyette 	0x4f, 0x6e, 0xb5, 0x81, 0x50, 0x7e, 0xca, 0x4b,
   1744  1.5.2.2  pgoyette 	0xdb, 0x30, 0xf2, 0xcb, 0x28, 0x3b, 0x19, 0x6a,
   1745  1.5.2.2  pgoyette 	0x0a, 0xfa, 0x05, 0x5e, 0x61, 0xde, 0x76, 0x7e,
   1746  1.5.2.2  pgoyette 	0xdf, 0xd9, 0xa9, 0x1b, 0xd0, 0x8a, 0xb5, 0x04,
   1747  1.5.2.2  pgoyette 	0x51, 0xf5, 0x66, 0xa2, 0x32, 0x21, 0xb2, 0xa9,
   1748  1.5.2.2  pgoyette 	0x40, 0x78, 0x60, 0x9d, 0xdc, 0x45, 0xbe, 0xb4,
   1749  1.5.2.2  pgoyette 	0x3a, 0xba, 0xd1, 0xec, 0x31, 0x53, 0x24, 0x22,
   1750  1.5.2.2  pgoyette 	0x70, 0x99, 0xda, 0xc8, 0x17, 0x04, 0x87, 0x2c,
   1751  1.5.2.2  pgoyette 	0x89, 0x86, 0x24, 0xec, 0x52, 0x12, 0x6a, 0x51,
   1752  1.5.2.2  pgoyette 	0x1e, 0x2a, 0x5e, 0x96, 0xfb, 0xac, 0x95, 0x4a,
   1753  1.5.2.2  pgoyette 	0x1a, 0x06, 0x8f, 0xdf, 0xa7, 0x26, 0xeb, 0x6c,
   1754  1.5.2.2  pgoyette 	0x79, 0x4a, 0x77, 0xea, 0xb3, 0xb1, 0x3a, 0x19,
   1755  1.5.2.2  pgoyette 	0xe6, 0x5e, 0xe2, 0x26, 0x1b, 0x85, 0x3c, 0x9b,
   1756  1.5.2.2  pgoyette 	0x1d, 0x05, 0x1d, 0xbe, 0x5c, 0x25, 0x7f, 0x45,
   1757  1.5.2.2  pgoyette 	0x4c, 0x09, 0x4c, 0xc1, 0x47, 0xa5, 0x44, 0xfc,
   1758  1.5.2.2  pgoyette 	0x04, 0x2b, 0xad, 0x53, 0xac, 0x57, 0x22, 0x54,
   1759  1.5.2.2  pgoyette 	0x13, 0x7c, 0xc9, 0x96, 0x44, 0xda, 0x74, 0x95,
   1760  1.5.2.2  pgoyette 	0x6e, 0x8c, 0xe6, 0x6a, 0x05, 0x05, 0xf3, 0x8c,
   1761  1.5.2.2  pgoyette 	0x81, 0xaf, 0xbc, 0xb1, 0x91, 0xe7, 0xfd, 0x81,
   1762  1.5.2.2  pgoyette 	0x3f, 0x47, 0xc2, 0x6f, 0x0d, 0x62, 0xf6, 0x6e,
   1763  1.5.2.2  pgoyette };
   1764  1.5.2.2  pgoyette 
   1765  1.5.2.2  pgoyette /*
   1766  1.5.2.2  pgoyette  * IV method encblkno8, blkno 2.
   1767  1.5.2.2  pgoyette  */
   1768  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno8_vec2_ctxt[SECSIZE] = {
   1769  1.5.2.2  pgoyette 	0x5a, 0x24, 0xfd, 0xee, 0x9a, 0x44, 0xfb, 0xac,
   1770  1.5.2.2  pgoyette 	0x3e, 0x46, 0x53, 0x95, 0x9e, 0xeb, 0x1f, 0xd9,
   1771  1.5.2.2  pgoyette 	0xfd, 0xc6, 0x4f, 0xae, 0x0b, 0xc8, 0xf2, 0xbd,
   1772  1.5.2.2  pgoyette 	0x77, 0x16, 0x7a, 0x2e, 0x8e, 0xec, 0x7a, 0x53,
   1773  1.5.2.2  pgoyette 	0xf4, 0xe0, 0x34, 0xba, 0x6e, 0xfa, 0xc4, 0x69,
   1774  1.5.2.2  pgoyette 	0xd7, 0x50, 0x13, 0x03, 0xfb, 0xb9, 0x66, 0x96,
   1775  1.5.2.2  pgoyette 	0xd4, 0x21, 0x67, 0xcc, 0x4c, 0x4d, 0x10, 0x2f,
   1776  1.5.2.2  pgoyette 	0x17, 0xeb, 0x41, 0xf4, 0x65, 0x80, 0x0b, 0x57,
   1777  1.5.2.2  pgoyette 	0x2d, 0xdf, 0xcf, 0x9f, 0xb9, 0xd8, 0x53, 0x36,
   1778  1.5.2.2  pgoyette 	0xbc, 0x1d, 0x9a, 0xe3, 0x17, 0xe7, 0x08, 0x23,
   1779  1.5.2.2  pgoyette 	0xb3, 0x60, 0xfe, 0xdf, 0x24, 0x06, 0xc5, 0x86,
   1780  1.5.2.2  pgoyette 	0x74, 0x89, 0xa3, 0xb2, 0xfc, 0x4a, 0x57, 0xf5,
   1781  1.5.2.2  pgoyette 	0xa6, 0x96, 0xfb, 0x56, 0xf0, 0xf4, 0xdc, 0xdc,
   1782  1.5.2.2  pgoyette 	0xb8, 0x53, 0x5f, 0xb2, 0xb0, 0x8d, 0x2d, 0x90,
   1783  1.5.2.2  pgoyette 	0x3d, 0x78, 0x4d, 0x42, 0x3a, 0x74, 0xa4, 0x8e,
   1784  1.5.2.2  pgoyette 	0x41, 0x7c, 0x2a, 0xff, 0xe4, 0x57, 0x1c, 0x9d,
   1785  1.5.2.2  pgoyette 	0x94, 0xc5, 0x5d, 0xd8, 0x8b, 0x88, 0x48, 0x15,
   1786  1.5.2.2  pgoyette 	0x16, 0x8a, 0xf3, 0x07, 0x3a, 0xee, 0x65, 0x24,
   1787  1.5.2.2  pgoyette 	0xbc, 0x7f, 0x58, 0xad, 0xed, 0xf2, 0xbd, 0x18,
   1788  1.5.2.2  pgoyette 	0x88, 0x1a, 0x80, 0x6e, 0xb7, 0x93, 0xe0, 0x45,
   1789  1.5.2.2  pgoyette 	0x04, 0xb0, 0xfc, 0xf9, 0x48, 0x76, 0xaf, 0xec,
   1790  1.5.2.2  pgoyette 	0x08, 0xca, 0x99, 0x64, 0x85, 0x98, 0x2c, 0xd8,
   1791  1.5.2.2  pgoyette 	0x85, 0x72, 0x32, 0xbe, 0x92, 0x18, 0xdd, 0xab,
   1792  1.5.2.2  pgoyette 	0x20, 0x8f, 0x8e, 0x11, 0xc6, 0x08, 0xf9, 0x8b,
   1793  1.5.2.2  pgoyette 	0xaf, 0x5f, 0xa9, 0xe5, 0x11, 0xc7, 0x45, 0x91,
   1794  1.5.2.2  pgoyette 	0x6e, 0x47, 0xaa, 0x0f, 0x4c, 0xf4, 0xc1, 0xb0,
   1795  1.5.2.2  pgoyette 	0x75, 0x4c, 0xba, 0x1d, 0xb3, 0x33, 0xf7, 0x47,
   1796  1.5.2.2  pgoyette 	0xbe, 0x94, 0x0b, 0x2e, 0xfa, 0x38, 0x5e, 0x5f,
   1797  1.5.2.2  pgoyette 	0x0a, 0xc2, 0x0c, 0x4e, 0x72, 0x29, 0x16, 0xc1,
   1798  1.5.2.2  pgoyette 	0x82, 0x70, 0xd4, 0xd3, 0x1b, 0x25, 0xbe, 0x0d,
   1799  1.5.2.2  pgoyette 	0x6b, 0x0a, 0x13, 0x9f, 0x4d, 0x3d, 0x7b, 0x10,
   1800  1.5.2.2  pgoyette 	0x9f, 0x93, 0x43, 0x50, 0xd1, 0x17, 0x08, 0x77,
   1801  1.5.2.2  pgoyette 	0x23, 0x58, 0x35, 0x41, 0x23, 0xf6, 0x9c, 0x6f,
   1802  1.5.2.2  pgoyette 	0x2e, 0x81, 0x6e, 0x75, 0x9b, 0x9f, 0x37, 0x4f,
   1803  1.5.2.2  pgoyette 	0xb7, 0xa1, 0xce, 0xde, 0x0c, 0x74, 0x99, 0x31,
   1804  1.5.2.2  pgoyette 	0x0e, 0x27, 0x42, 0x99, 0xdd, 0x93, 0x03, 0x6b,
   1805  1.5.2.2  pgoyette 	0x44, 0x22, 0xd4, 0xc8, 0x67, 0xb5, 0xb2, 0x4d,
   1806  1.5.2.2  pgoyette 	0x11, 0x2e, 0x80, 0x09, 0xa2, 0x5b, 0xcf, 0x0c,
   1807  1.5.2.2  pgoyette 	0xff, 0xfa, 0x51, 0xe5, 0x9b, 0xdd, 0x11, 0xa1,
   1808  1.5.2.2  pgoyette 	0x17, 0x04, 0x9e, 0xc8, 0xd8, 0x1d, 0xc1, 0x5c,
   1809  1.5.2.2  pgoyette 	0xc3, 0xde, 0x83, 0x77, 0xa3, 0xec, 0x59, 0x7e,
   1810  1.5.2.2  pgoyette 	0xfb, 0xe8, 0x45, 0xff, 0xc3, 0xb3, 0xd3, 0x9e,
   1811  1.5.2.2  pgoyette 	0x3e, 0xc4, 0x75, 0xca, 0xc1, 0x77, 0xee, 0x1a,
   1812  1.5.2.2  pgoyette 	0xdc, 0x58, 0xab, 0x27, 0xc1, 0xfe, 0x21, 0x26,
   1813  1.5.2.2  pgoyette 	0x9a, 0xe0, 0x15, 0xab, 0x35, 0x8d, 0xbc, 0x22,
   1814  1.5.2.2  pgoyette 	0x37, 0xbb, 0x4e, 0xab, 0x9d, 0xa2, 0xaf, 0xf9,
   1815  1.5.2.2  pgoyette 	0x45, 0x17, 0xb1, 0xb8, 0xd4, 0x52, 0x1e, 0x67,
   1816  1.5.2.2  pgoyette 	0xeb, 0xac, 0xe0, 0x87, 0x6c, 0xe4, 0x7a, 0x03,
   1817  1.5.2.2  pgoyette 	0x73, 0xe4, 0x43, 0xeb, 0x3b, 0x57, 0x3f, 0x56,
   1818  1.5.2.2  pgoyette 	0x4b, 0x6c, 0x26, 0x81, 0x27, 0xbf, 0x7e, 0x59,
   1819  1.5.2.2  pgoyette 	0xcd, 0xab, 0x67, 0x8c, 0x4b, 0x6f, 0xa5, 0x47,
   1820  1.5.2.2  pgoyette 	0x2c, 0x45, 0x28, 0x5a, 0x3d, 0x88, 0x53, 0xf9,
   1821  1.5.2.2  pgoyette 	0x25, 0xdf, 0x5d, 0xba, 0xf7, 0x18, 0xa7, 0x3d,
   1822  1.5.2.2  pgoyette 	0x79, 0xb4, 0x43, 0x59, 0x77, 0xf9, 0xd5, 0x5d,
   1823  1.5.2.2  pgoyette 	0x4f, 0x31, 0x56, 0x8c, 0x21, 0xb5, 0xc0, 0xa2,
   1824  1.5.2.2  pgoyette 	0xca, 0x04, 0x62, 0x2c, 0xc8, 0xa8, 0x11, 0x82,
   1825  1.5.2.2  pgoyette 	0x1b, 0xde, 0xad, 0x20, 0x5b, 0xd2, 0x63, 0xfb,
   1826  1.5.2.2  pgoyette 	0x6d, 0xba, 0xd4, 0xcc, 0xb4, 0x9d, 0xe8, 0xa8,
   1827  1.5.2.2  pgoyette 	0xd1, 0x06, 0x81, 0xf0, 0xb9, 0xd4, 0x90, 0x30,
   1828  1.5.2.2  pgoyette 	0xcd, 0x0a, 0xe8, 0xd2, 0x8c, 0x7a, 0xbf, 0xf6,
   1829  1.5.2.2  pgoyette 	0x0d, 0xa0, 0xae, 0x1b, 0x21, 0x18, 0x93, 0x18,
   1830  1.5.2.2  pgoyette 	0x71, 0xe1, 0xa0, 0x63, 0x5a, 0x9d, 0x4e, 0x6a,
   1831  1.5.2.2  pgoyette 	0x52, 0x90, 0xaf, 0xdb, 0x26, 0x1e, 0xa9, 0xa1,
   1832  1.5.2.2  pgoyette 	0xc7, 0xf9, 0xf8, 0xa7, 0x3f, 0x85, 0xa1, 0xa4,
   1833  1.5.2.2  pgoyette };
   1834  1.5.2.2  pgoyette 
   1835  1.5.2.2  pgoyette /*
   1836  1.5.2.2  pgoyette  * IV method encblkno8, blkno 3.
   1837  1.5.2.2  pgoyette  */
   1838  1.5.2.2  pgoyette static const uint8_t aes_cbc_256_encblkno8_vec3_ctxt[SECSIZE] = {
   1839  1.5.2.2  pgoyette 	0x83, 0x77, 0xd8, 0xa8, 0x6a, 0x36, 0x41, 0x72,
   1840  1.5.2.2  pgoyette 	0xb6, 0x03, 0x4e, 0x5e, 0x39, 0x36, 0xe3, 0xf5,
   1841  1.5.2.2  pgoyette 	0xd0, 0x1b, 0x0d, 0x97, 0x78, 0x46, 0xee, 0xfd,
   1842  1.5.2.2  pgoyette 	0x34, 0x34, 0x16, 0xa0, 0x44, 0xcf, 0x0b, 0xdc,
   1843  1.5.2.2  pgoyette 	0xfb, 0x82, 0x98, 0xa2, 0x79, 0xc2, 0xe7, 0x1c,
   1844  1.5.2.2  pgoyette 	0x43, 0x43, 0x4c, 0x7f, 0xe7, 0xa6, 0xe6, 0x10,
   1845  1.5.2.2  pgoyette 	0x9e, 0x65, 0xb2, 0x09, 0xc7, 0x5f, 0xaa, 0xb7,
   1846  1.5.2.2  pgoyette 	0xb8, 0xad, 0x83, 0xd5, 0x9e, 0xd1, 0xb2, 0xce,
   1847  1.5.2.2  pgoyette 	0x4b, 0xa4, 0x5d, 0xbc, 0xd6, 0xf6, 0x0a, 0xe7,
   1848  1.5.2.2  pgoyette 	0x1b, 0xe9, 0x86, 0xbc, 0x72, 0xcc, 0x6f, 0xcc,
   1849  1.5.2.2  pgoyette 	0xf2, 0xde, 0x08, 0x48, 0xa2, 0x20, 0x31, 0x6a,
   1850  1.5.2.2  pgoyette 	0xdd, 0xbe, 0xc5, 0x36, 0x55, 0xff, 0xce, 0xfa,
   1851  1.5.2.2  pgoyette 	0xdf, 0x60, 0x26, 0x77, 0x7f, 0xd0, 0xfa, 0xd7,
   1852  1.5.2.2  pgoyette 	0x76, 0x70, 0x14, 0x11, 0xbf, 0x57, 0xc2, 0xdd,
   1853  1.5.2.2  pgoyette 	0x5f, 0xd3, 0x50, 0x49, 0xf8, 0xd1, 0xa7, 0xe2,
   1854  1.5.2.2  pgoyette 	0x8b, 0x89, 0xa0, 0xbc, 0x44, 0x42, 0x45, 0x10,
   1855  1.5.2.2  pgoyette 	0xfe, 0x66, 0x3d, 0x56, 0x09, 0x21, 0x7c, 0x49,
   1856  1.5.2.2  pgoyette 	0x30, 0xde, 0xe2, 0x4b, 0x26, 0x65, 0x8a, 0xe4,
   1857  1.5.2.2  pgoyette 	0x79, 0x08, 0x3a, 0xca, 0x36, 0x4f, 0x97, 0x3c,
   1858  1.5.2.2  pgoyette 	0xe4, 0x6a, 0xc3, 0xdb, 0xce, 0xac, 0x78, 0x76,
   1859  1.5.2.2  pgoyette 	0x25, 0x81, 0x7a, 0x01, 0x7b, 0xd8, 0xf1, 0x00,
   1860  1.5.2.2  pgoyette 	0x8d, 0x2e, 0xb7, 0x98, 0x3c, 0x86, 0x20, 0xa3,
   1861  1.5.2.2  pgoyette 	0x4c, 0x24, 0x2a, 0x78, 0x3a, 0x8d, 0xeb, 0xcd,
   1862  1.5.2.2  pgoyette 	0xae, 0xe1, 0x32, 0xf8, 0x21, 0x37, 0x30, 0x27,
   1863  1.5.2.2  pgoyette 	0xe1, 0xf3, 0x14, 0x60, 0x96, 0x77, 0x37, 0x50,
   1864  1.5.2.2  pgoyette 	0xa2, 0x92, 0xae, 0xe5, 0xd8, 0xea, 0x1a, 0x7e,
   1865  1.5.2.2  pgoyette 	0xa3, 0xd1, 0x04, 0x17, 0x03, 0x51, 0x2f, 0x21,
   1866  1.5.2.2  pgoyette 	0xa7, 0x00, 0x23, 0xb3, 0x24, 0xd8, 0x7d, 0xb7,
   1867  1.5.2.2  pgoyette 	0x4c, 0x51, 0xb1, 0xaf, 0xb0, 0x64, 0xe4, 0x62,
   1868  1.5.2.2  pgoyette 	0x91, 0x4c, 0xd5, 0x4b, 0xe8, 0xfb, 0x95, 0x61,
   1869  1.5.2.2  pgoyette 	0xa4, 0x6f, 0xf8, 0xb8, 0xea, 0xa9, 0xb2, 0x10,
   1870  1.5.2.2  pgoyette 	0xd3, 0x96, 0xcb, 0x1c, 0xdc, 0x86, 0x43, 0x26,
   1871  1.5.2.2  pgoyette 	0x2d, 0x39, 0xc2, 0xa7, 0x69, 0xfa, 0x8f, 0x3a,
   1872  1.5.2.2  pgoyette 	0xe7, 0xe0, 0x27, 0xbe, 0xc2, 0xe8, 0xd5, 0x05,
   1873  1.5.2.2  pgoyette 	0xbe, 0x5a, 0x96, 0xdc, 0x86, 0xcd, 0x93, 0x75,
   1874  1.5.2.2  pgoyette 	0x1b, 0x61, 0x40, 0x8c, 0x60, 0x64, 0x79, 0x85,
   1875  1.5.2.2  pgoyette 	0x6c, 0xed, 0x39, 0x72, 0x26, 0x69, 0xba, 0xb2,
   1876  1.5.2.2  pgoyette 	0xff, 0xa8, 0x68, 0x29, 0x03, 0xf7, 0x26, 0xe7,
   1877  1.5.2.2  pgoyette 	0x0f, 0x53, 0x1b, 0x5b, 0x37, 0x21, 0x68, 0x70,
   1878  1.5.2.2  pgoyette 	0x1c, 0x39, 0x7f, 0x5b, 0x31, 0xca, 0xde, 0xed,
   1879  1.5.2.2  pgoyette 	0x33, 0x8d, 0xaf, 0xe6, 0x01, 0xd5, 0x72, 0x5f,
   1880  1.5.2.2  pgoyette 	0x46, 0x44, 0x34, 0x1b, 0x4c, 0xd7, 0x75, 0xf0,
   1881  1.5.2.2  pgoyette 	0x47, 0x16, 0x6c, 0xd6, 0x65, 0x3c, 0xd3, 0xc2,
   1882  1.5.2.2  pgoyette 	0xb1, 0x46, 0x7d, 0xd5, 0x5c, 0x48, 0x5b, 0x61,
   1883  1.5.2.2  pgoyette 	0x3e, 0x88, 0xff, 0x24, 0x5c, 0x7b, 0xf7, 0xa9,
   1884  1.5.2.2  pgoyette 	0x44, 0xcb, 0x3b, 0x3e, 0x3b, 0x93, 0x24, 0x46,
   1885  1.5.2.2  pgoyette 	0x7e, 0x34, 0x8d, 0xc4, 0x2b, 0xb7, 0x8e, 0x22,
   1886  1.5.2.2  pgoyette 	0x9e, 0x87, 0x62, 0xca, 0xbc, 0x10, 0x09, 0x4a,
   1887  1.5.2.2  pgoyette 	0x4b, 0x0b, 0xdb, 0x57, 0x9b, 0xa9, 0x3e, 0xa8,
   1888  1.5.2.2  pgoyette 	0x99, 0x59, 0xa0, 0x12, 0xf3, 0xa5, 0xe4, 0x91,
   1889  1.5.2.2  pgoyette 	0xbb, 0xb9, 0x05, 0x8d, 0xcf, 0xb9, 0xcb, 0x36,
   1890  1.5.2.2  pgoyette 	0x97, 0xb2, 0x6a, 0x31, 0x8f, 0xcb, 0xf8, 0x5a,
   1891  1.5.2.2  pgoyette 	0x2f, 0x9e, 0xa1, 0xf9, 0x7a, 0xf4, 0x10, 0x0e,
   1892  1.5.2.2  pgoyette 	0xe7, 0x7f, 0x4c, 0xcb, 0xe3, 0x83, 0x17, 0x39,
   1893  1.5.2.2  pgoyette 	0x34, 0xef, 0x49, 0x35, 0x68, 0x50, 0x80, 0xf9,
   1894  1.5.2.2  pgoyette 	0xcd, 0x3a, 0x10, 0xf6, 0x71, 0x1a, 0x94, 0xc3,
   1895  1.5.2.2  pgoyette 	0xec, 0xb9, 0x36, 0x84, 0x36, 0xe7, 0x3f, 0x6f,
   1896  1.5.2.2  pgoyette 	0x9b, 0xa9, 0x2b, 0x5c, 0x96, 0x49, 0x26, 0xda,
   1897  1.5.2.2  pgoyette 	0xb3, 0x08, 0x3d, 0x5e, 0x9e, 0x59, 0xdf, 0x0f,
   1898  1.5.2.2  pgoyette 	0xfc, 0xbe, 0xa8, 0x0b, 0xbc, 0xaa, 0x32, 0xf0,
   1899  1.5.2.2  pgoyette 	0xa5, 0x21, 0x50, 0x15, 0x7e, 0x46, 0xb9, 0x76,
   1900  1.5.2.2  pgoyette 	0x09, 0x4e, 0x4b, 0x6f, 0x9f, 0xc7, 0x8c, 0x6d,
   1901  1.5.2.2  pgoyette 	0x80, 0x37, 0xf9, 0xaa, 0xd1, 0x5f, 0x12, 0xb9,
   1902  1.5.2.2  pgoyette 	0xb3, 0x15, 0xe4, 0x96, 0xa1, 0x01, 0xd5, 0xa0,
   1903  1.5.2.2  pgoyette };
   1904  1.5.2.2  pgoyette 
   1905  1.5.2.2  pgoyette const struct testvec aes_cbc_256_8_vectors[] = {
   1906  1.5.2.2  pgoyette 	{
   1907  1.5.2.2  pgoyette 		.blkno = 0,
   1908  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1909  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno8_vec0_ctxt,
   1910  1.5.2.2  pgoyette 	},
   1911  1.5.2.2  pgoyette 	{
   1912  1.5.2.2  pgoyette 		.blkno = 1,
   1913  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1914  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno8_vec1_ctxt,
   1915  1.5.2.2  pgoyette 	},
   1916  1.5.2.2  pgoyette 	{
   1917  1.5.2.2  pgoyette 		.blkno = 2,
   1918  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1919  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno8_vec2_ctxt,
   1920  1.5.2.2  pgoyette 	},
   1921  1.5.2.2  pgoyette 	{
   1922  1.5.2.2  pgoyette 		.blkno = 3,
   1923  1.5.2.2  pgoyette 		.ptxt = aes_cbc_ptxt,
   1924  1.5.2.2  pgoyette 		.ctxt = aes_cbc_256_encblkno8_vec3_ctxt,
   1925  1.5.2.2  pgoyette 	},
   1926  1.5.2.2  pgoyette };
   1927  1.5.2.2  pgoyette 
   1928  1.5.2.2  pgoyette /*
   1929  1.5.2.2  pgoyette  * 256 bits key from IEEE 1619/D16, NUL terminated.
   1930  1.5.2.2  pgoyette  */
   1931  1.5.2.2  pgoyette static const char aes_xts_256_key[33] = {
   1932  1.5.2.2  pgoyette 	0x27, 0x18, 0x28, 0x18, 0x28, 0x45, 0x90, 0x45,
   1933  1.5.2.2  pgoyette 	0x23, 0x53, 0x60, 0x28, 0x74, 0x71, 0x35, 0x26,
   1934  1.5.2.2  pgoyette 	0x31, 0x41, 0x59, 0x26, 0x53, 0x58, 0x97, 0x93,
   1935  1.5.2.2  pgoyette 	0x23, 0x84, 0x62, 0x64, 0x33, 0x83, 0x27, 0x95,
   1936  1.5.2.2  pgoyette 	0
   1937  1.5.2.2  pgoyette };
   1938  1.5.2.2  pgoyette 
   1939  1.5.2.2  pgoyette /*
   1940  1.5.2.2  pgoyette  * 512 bits key from IEEE 1619/D16, NUL terminated.
   1941  1.5.2.2  pgoyette  */
   1942  1.5.2.2  pgoyette static const char aes_xts_512_key[65] = {
   1943  1.5.2.2  pgoyette 	0x27, 0x18, 0x28, 0x18, 0x28, 0x45, 0x90, 0x45,
   1944  1.5.2.2  pgoyette 	0x23, 0x53, 0x60, 0x28, 0x74, 0x71, 0x35, 0x26,
   1945  1.5.2.2  pgoyette 	0x62, 0x49, 0x77, 0x57, 0x24, 0x70, 0x93, 0x69,
   1946  1.5.2.2  pgoyette 	0x99, 0x59, 0x57, 0x49, 0x66, 0x96, 0x76, 0x27,
   1947  1.5.2.2  pgoyette 	0x31, 0x41, 0x59, 0x26, 0x53, 0x58, 0x97, 0x93,
   1948  1.5.2.2  pgoyette 	0x23, 0x84, 0x62, 0x64, 0x33, 0x83, 0x27, 0x95,
   1949  1.5.2.2  pgoyette 	0x02, 0x88, 0x41, 0x97, 0x16, 0x93, 0x99, 0x37,
   1950  1.5.2.2  pgoyette 	0x51, 0x05, 0x82, 0x09, 0x74, 0x94, 0x45, 0x92,
   1951  1.5.2.2  pgoyette 	0
   1952  1.5.2.2  pgoyette };
   1953  1.5.2.2  pgoyette 
   1954  1.5.2.2  pgoyette /*
   1955  1.5.2.2  pgoyette  * Vector 4 from IEEE 1619/D16, blkno 0.
   1956  1.5.2.2  pgoyette  */
   1957  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec4_ptxt[SECSIZE] = {
   1958  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   1959  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   1960  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   1961  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   1962  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   1963  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   1964  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   1965  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   1966  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   1967  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   1968  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   1969  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   1970  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   1971  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   1972  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   1973  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   1974  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   1975  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   1976  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   1977  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   1978  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   1979  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   1980  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   1981  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   1982  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   1983  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   1984  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   1985  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   1986  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   1987  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   1988  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   1989  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   1990  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   1991  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   1992  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   1993  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   1994  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   1995  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   1996  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   1997  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   1998  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   1999  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   2000  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   2001  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   2002  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   2003  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   2004  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   2005  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   2006  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   2007  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   2008  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   2009  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   2010  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   2011  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   2012  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   2013  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   2014  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   2015  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   2016  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   2017  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   2018  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   2019  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   2020  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   2021  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   2022  1.5.2.2  pgoyette };
   2023  1.5.2.2  pgoyette 
   2024  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec4_ctxt[SECSIZE] = {
   2025  1.5.2.2  pgoyette 	0x27, 0xa7, 0x47, 0x9b, 0xef, 0xa1, 0xd4, 0x76,
   2026  1.5.2.2  pgoyette 	0x48, 0x9f, 0x30, 0x8c, 0xd4, 0xcf, 0xa6, 0xe2,
   2027  1.5.2.2  pgoyette 	0xa9, 0x6e, 0x4b, 0xbe, 0x32, 0x08, 0xff, 0x25,
   2028  1.5.2.2  pgoyette 	0x28, 0x7d, 0xd3, 0x81, 0x96, 0x16, 0xe8, 0x9c,
   2029  1.5.2.2  pgoyette 	0xc7, 0x8c, 0xf7, 0xf5, 0xe5, 0x43, 0x44, 0x5f,
   2030  1.5.2.2  pgoyette 	0x83, 0x33, 0xd8, 0xfa, 0x7f, 0x56, 0x00, 0x00,
   2031  1.5.2.2  pgoyette 	0x05, 0x27, 0x9f, 0xa5, 0xd8, 0xb5, 0xe4, 0xad,
   2032  1.5.2.2  pgoyette 	0x40, 0xe7, 0x36, 0xdd, 0xb4, 0xd3, 0x54, 0x12,
   2033  1.5.2.2  pgoyette 	0x32, 0x80, 0x63, 0xfd, 0x2a, 0xab, 0x53, 0xe5,
   2034  1.5.2.2  pgoyette 	0xea, 0x1e, 0x0a, 0x9f, 0x33, 0x25, 0x00, 0xa5,
   2035  1.5.2.2  pgoyette 	0xdf, 0x94, 0x87, 0xd0, 0x7a, 0x5c, 0x92, 0xcc,
   2036  1.5.2.2  pgoyette 	0x51, 0x2c, 0x88, 0x66, 0xc7, 0xe8, 0x60, 0xce,
   2037  1.5.2.2  pgoyette 	0x93, 0xfd, 0xf1, 0x66, 0xa2, 0x49, 0x12, 0xb4,
   2038  1.5.2.2  pgoyette 	0x22, 0x97, 0x61, 0x46, 0xae, 0x20, 0xce, 0x84,
   2039  1.5.2.2  pgoyette 	0x6b, 0xb7, 0xdc, 0x9b, 0xa9, 0x4a, 0x76, 0x7a,
   2040  1.5.2.2  pgoyette 	0xae, 0xf2, 0x0c, 0x0d, 0x61, 0xad, 0x02, 0x65,
   2041  1.5.2.2  pgoyette 	0x5e, 0xa9, 0x2d, 0xc4, 0xc4, 0xe4, 0x1a, 0x89,
   2042  1.5.2.2  pgoyette 	0x52, 0xc6, 0x51, 0xd3, 0x31, 0x74, 0xbe, 0x51,
   2043  1.5.2.2  pgoyette 	0xa1, 0x0c, 0x42, 0x11, 0x10, 0xe6, 0xd8, 0x15,
   2044  1.5.2.2  pgoyette 	0x88, 0xed, 0xe8, 0x21, 0x03, 0xa2, 0x52, 0xd8,
   2045  1.5.2.2  pgoyette 	0xa7, 0x50, 0xe8, 0x76, 0x8d, 0xef, 0xff, 0xed,
   2046  1.5.2.2  pgoyette 	0x91, 0x22, 0x81, 0x0a, 0xae, 0xb9, 0x9f, 0x91,
   2047  1.5.2.2  pgoyette 	0x72, 0xaf, 0x82, 0xb6, 0x04, 0xdc, 0x4b, 0x8e,
   2048  1.5.2.2  pgoyette 	0x51, 0xbc, 0xb0, 0x82, 0x35, 0xa6, 0xf4, 0x34,
   2049  1.5.2.2  pgoyette 	0x13, 0x32, 0xe4, 0xca, 0x60, 0x48, 0x2a, 0x4b,
   2050  1.5.2.2  pgoyette 	0xa1, 0xa0, 0x3b, 0x3e, 0x65, 0x00, 0x8f, 0xc5,
   2051  1.5.2.2  pgoyette 	0xda, 0x76, 0xb7, 0x0b, 0xf1, 0x69, 0x0d, 0xb4,
   2052  1.5.2.2  pgoyette 	0xea, 0xe2, 0x9c, 0x5f, 0x1b, 0xad, 0xd0, 0x3c,
   2053  1.5.2.2  pgoyette 	0x5c, 0xcf, 0x2a, 0x55, 0xd7, 0x05, 0xdd, 0xcd,
   2054  1.5.2.2  pgoyette 	0x86, 0xd4, 0x49, 0x51, 0x1c, 0xeb, 0x7e, 0xc3,
   2055  1.5.2.2  pgoyette 	0x0b, 0xf1, 0x2b, 0x1f, 0xa3, 0x5b, 0x91, 0x3f,
   2056  1.5.2.2  pgoyette 	0x9f, 0x74, 0x7a, 0x8a, 0xfd, 0x1b, 0x13, 0x0e,
   2057  1.5.2.2  pgoyette 	0x94, 0xbf, 0xf9, 0x4e, 0xff, 0xd0, 0x1a, 0x91,
   2058  1.5.2.2  pgoyette 	0x73, 0x5c, 0xa1, 0x72, 0x6a, 0xcd, 0x0b, 0x19,
   2059  1.5.2.2  pgoyette 	0x7c, 0x4e, 0x5b, 0x03, 0x39, 0x36, 0x97, 0xe1,
   2060  1.5.2.2  pgoyette 	0x26, 0x82, 0x6f, 0xb6, 0xbb, 0xde, 0x8e, 0xcc,
   2061  1.5.2.2  pgoyette 	0x1e, 0x08, 0x29, 0x85, 0x16, 0xe2, 0xc9, 0xed,
   2062  1.5.2.2  pgoyette 	0x03, 0xff, 0x3c, 0x1b, 0x78, 0x60, 0xf6, 0xde,
   2063  1.5.2.2  pgoyette 	0x76, 0xd4, 0xce, 0xcd, 0x94, 0xc8, 0x11, 0x98,
   2064  1.5.2.2  pgoyette 	0x55, 0xef, 0x52, 0x97, 0xca, 0x67, 0xe9, 0xf3,
   2065  1.5.2.2  pgoyette 	0xe7, 0xff, 0x72, 0xb1, 0xe9, 0x97, 0x85, 0xca,
   2066  1.5.2.2  pgoyette 	0x0a, 0x7e, 0x77, 0x20, 0xc5, 0xb3, 0x6d, 0xc6,
   2067  1.5.2.2  pgoyette 	0xd7, 0x2c, 0xac, 0x95, 0x74, 0xc8, 0xcb, 0xbc,
   2068  1.5.2.2  pgoyette 	0x2f, 0x80, 0x1e, 0x23, 0xe5, 0x6f, 0xd3, 0x44,
   2069  1.5.2.2  pgoyette 	0xb0, 0x7f, 0x22, 0x15, 0x4b, 0xeb, 0xa0, 0xf0,
   2070  1.5.2.2  pgoyette 	0x8c, 0xe8, 0x89, 0x1e, 0x64, 0x3e, 0xd9, 0x95,
   2071  1.5.2.2  pgoyette 	0xc9, 0x4d, 0x9a, 0x69, 0xc9, 0xf1, 0xb5, 0xf4,
   2072  1.5.2.2  pgoyette 	0x99, 0x02, 0x7a, 0x78, 0x57, 0x2a, 0xee, 0xbd,
   2073  1.5.2.2  pgoyette 	0x74, 0xd2, 0x0c, 0xc3, 0x98, 0x81, 0xc2, 0x13,
   2074  1.5.2.2  pgoyette 	0xee, 0x77, 0x0b, 0x10, 0x10, 0xe4, 0xbe, 0xa7,
   2075  1.5.2.2  pgoyette 	0x18, 0x84, 0x69, 0x77, 0xae, 0x11, 0x9f, 0x7a,
   2076  1.5.2.2  pgoyette 	0x02, 0x3a, 0xb5, 0x8c, 0xca, 0x0a, 0xd7, 0x52,
   2077  1.5.2.2  pgoyette 	0xaf, 0xe6, 0x56, 0xbb, 0x3c, 0x17, 0x25, 0x6a,
   2078  1.5.2.2  pgoyette 	0x9f, 0x6e, 0x9b, 0xf1, 0x9f, 0xdd, 0x5a, 0x38,
   2079  1.5.2.2  pgoyette 	0xfc, 0x82, 0xbb, 0xe8, 0x72, 0xc5, 0x53, 0x9e,
   2080  1.5.2.2  pgoyette 	0xdb, 0x60, 0x9e, 0xf4, 0xf7, 0x9c, 0x20, 0x3e,
   2081  1.5.2.2  pgoyette 	0xbb, 0x14, 0x0f, 0x2e, 0x58, 0x3c, 0xb2, 0xad,
   2082  1.5.2.2  pgoyette 	0x15, 0xb4, 0xaa, 0x5b, 0x65, 0x50, 0x16, 0xa8,
   2083  1.5.2.2  pgoyette 	0x44, 0x92, 0x77, 0xdb, 0xd4, 0x77, 0xef, 0x2c,
   2084  1.5.2.2  pgoyette 	0x8d, 0x6c, 0x01, 0x7d, 0xb7, 0x38, 0xb1, 0x8d,
   2085  1.5.2.2  pgoyette 	0xeb, 0x4a, 0x42, 0x7d, 0x19, 0x23, 0xce, 0x3f,
   2086  1.5.2.2  pgoyette 	0xf2, 0x62, 0x73, 0x57, 0x79, 0xa4, 0x18, 0xf2,
   2087  1.5.2.2  pgoyette 	0x0a, 0x28, 0x2d, 0xf9, 0x20, 0x14, 0x7b, 0xea,
   2088  1.5.2.2  pgoyette 	0xbe, 0x42, 0x1e, 0xe5, 0x31, 0x9d, 0x05, 0x68,
   2089  1.5.2.2  pgoyette };
   2090  1.5.2.2  pgoyette 
   2091  1.5.2.2  pgoyette /*
   2092  1.5.2.2  pgoyette  * Vector 5 from IEEE 1619/D16, blkno 1.
   2093  1.5.2.2  pgoyette  */
   2094  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec5_ptxt[SECSIZE] = {
   2095  1.5.2.2  pgoyette 	0x27, 0xa7, 0x47, 0x9b, 0xef, 0xa1, 0xd4, 0x76,
   2096  1.5.2.2  pgoyette 	0x48, 0x9f, 0x30, 0x8c, 0xd4, 0xcf, 0xa6, 0xe2,
   2097  1.5.2.2  pgoyette 	0xa9, 0x6e, 0x4b, 0xbe, 0x32, 0x08, 0xff, 0x25,
   2098  1.5.2.2  pgoyette 	0x28, 0x7d, 0xd3, 0x81, 0x96, 0x16, 0xe8, 0x9c,
   2099  1.5.2.2  pgoyette 	0xc7, 0x8c, 0xf7, 0xf5, 0xe5, 0x43, 0x44, 0x5f,
   2100  1.5.2.2  pgoyette 	0x83, 0x33, 0xd8, 0xfa, 0x7f, 0x56, 0x00, 0x00,
   2101  1.5.2.2  pgoyette 	0x05, 0x27, 0x9f, 0xa5, 0xd8, 0xb5, 0xe4, 0xad,
   2102  1.5.2.2  pgoyette 	0x40, 0xe7, 0x36, 0xdd, 0xb4, 0xd3, 0x54, 0x12,
   2103  1.5.2.2  pgoyette 	0x32, 0x80, 0x63, 0xfd, 0x2a, 0xab, 0x53, 0xe5,
   2104  1.5.2.2  pgoyette 	0xea, 0x1e, 0x0a, 0x9f, 0x33, 0x25, 0x00, 0xa5,
   2105  1.5.2.2  pgoyette 	0xdf, 0x94, 0x87, 0xd0, 0x7a, 0x5c, 0x92, 0xcc,
   2106  1.5.2.2  pgoyette 	0x51, 0x2c, 0x88, 0x66, 0xc7, 0xe8, 0x60, 0xce,
   2107  1.5.2.2  pgoyette 	0x93, 0xfd, 0xf1, 0x66, 0xa2, 0x49, 0x12, 0xb4,
   2108  1.5.2.2  pgoyette 	0x22, 0x97, 0x61, 0x46, 0xae, 0x20, 0xce, 0x84,
   2109  1.5.2.2  pgoyette 	0x6b, 0xb7, 0xdc, 0x9b, 0xa9, 0x4a, 0x76, 0x7a,
   2110  1.5.2.2  pgoyette 	0xae, 0xf2, 0x0c, 0x0d, 0x61, 0xad, 0x02, 0x65,
   2111  1.5.2.2  pgoyette 	0x5e, 0xa9, 0x2d, 0xc4, 0xc4, 0xe4, 0x1a, 0x89,
   2112  1.5.2.2  pgoyette 	0x52, 0xc6, 0x51, 0xd3, 0x31, 0x74, 0xbe, 0x51,
   2113  1.5.2.2  pgoyette 	0xa1, 0x0c, 0x42, 0x11, 0x10, 0xe6, 0xd8, 0x15,
   2114  1.5.2.2  pgoyette 	0x88, 0xed, 0xe8, 0x21, 0x03, 0xa2, 0x52, 0xd8,
   2115  1.5.2.2  pgoyette 	0xa7, 0x50, 0xe8, 0x76, 0x8d, 0xef, 0xff, 0xed,
   2116  1.5.2.2  pgoyette 	0x91, 0x22, 0x81, 0x0a, 0xae, 0xb9, 0x9f, 0x91,
   2117  1.5.2.2  pgoyette 	0x72, 0xaf, 0x82, 0xb6, 0x04, 0xdc, 0x4b, 0x8e,
   2118  1.5.2.2  pgoyette 	0x51, 0xbc, 0xb0, 0x82, 0x35, 0xa6, 0xf4, 0x34,
   2119  1.5.2.2  pgoyette 	0x13, 0x32, 0xe4, 0xca, 0x60, 0x48, 0x2a, 0x4b,
   2120  1.5.2.2  pgoyette 	0xa1, 0xa0, 0x3b, 0x3e, 0x65, 0x00, 0x8f, 0xc5,
   2121  1.5.2.2  pgoyette 	0xda, 0x76, 0xb7, 0x0b, 0xf1, 0x69, 0x0d, 0xb4,
   2122  1.5.2.2  pgoyette 	0xea, 0xe2, 0x9c, 0x5f, 0x1b, 0xad, 0xd0, 0x3c,
   2123  1.5.2.2  pgoyette 	0x5c, 0xcf, 0x2a, 0x55, 0xd7, 0x05, 0xdd, 0xcd,
   2124  1.5.2.2  pgoyette 	0x86, 0xd4, 0x49, 0x51, 0x1c, 0xeb, 0x7e, 0xc3,
   2125  1.5.2.2  pgoyette 	0x0b, 0xf1, 0x2b, 0x1f, 0xa3, 0x5b, 0x91, 0x3f,
   2126  1.5.2.2  pgoyette 	0x9f, 0x74, 0x7a, 0x8a, 0xfd, 0x1b, 0x13, 0x0e,
   2127  1.5.2.2  pgoyette 	0x94, 0xbf, 0xf9, 0x4e, 0xff, 0xd0, 0x1a, 0x91,
   2128  1.5.2.2  pgoyette 	0x73, 0x5c, 0xa1, 0x72, 0x6a, 0xcd, 0x0b, 0x19,
   2129  1.5.2.2  pgoyette 	0x7c, 0x4e, 0x5b, 0x03, 0x39, 0x36, 0x97, 0xe1,
   2130  1.5.2.2  pgoyette 	0x26, 0x82, 0x6f, 0xb6, 0xbb, 0xde, 0x8e, 0xcc,
   2131  1.5.2.2  pgoyette 	0x1e, 0x08, 0x29, 0x85, 0x16, 0xe2, 0xc9, 0xed,
   2132  1.5.2.2  pgoyette 	0x03, 0xff, 0x3c, 0x1b, 0x78, 0x60, 0xf6, 0xde,
   2133  1.5.2.2  pgoyette 	0x76, 0xd4, 0xce, 0xcd, 0x94, 0xc8, 0x11, 0x98,
   2134  1.5.2.2  pgoyette 	0x55, 0xef, 0x52, 0x97, 0xca, 0x67, 0xe9, 0xf3,
   2135  1.5.2.2  pgoyette 	0xe7, 0xff, 0x72, 0xb1, 0xe9, 0x97, 0x85, 0xca,
   2136  1.5.2.2  pgoyette 	0x0a, 0x7e, 0x77, 0x20, 0xc5, 0xb3, 0x6d, 0xc6,
   2137  1.5.2.2  pgoyette 	0xd7, 0x2c, 0xac, 0x95, 0x74, 0xc8, 0xcb, 0xbc,
   2138  1.5.2.2  pgoyette 	0x2f, 0x80, 0x1e, 0x23, 0xe5, 0x6f, 0xd3, 0x44,
   2139  1.5.2.2  pgoyette 	0xb0, 0x7f, 0x22, 0x15, 0x4b, 0xeb, 0xa0, 0xf0,
   2140  1.5.2.2  pgoyette 	0x8c, 0xe8, 0x89, 0x1e, 0x64, 0x3e, 0xd9, 0x95,
   2141  1.5.2.2  pgoyette 	0xc9, 0x4d, 0x9a, 0x69, 0xc9, 0xf1, 0xb5, 0xf4,
   2142  1.5.2.2  pgoyette 	0x99, 0x02, 0x7a, 0x78, 0x57, 0x2a, 0xee, 0xbd,
   2143  1.5.2.2  pgoyette 	0x74, 0xd2, 0x0c, 0xc3, 0x98, 0x81, 0xc2, 0x13,
   2144  1.5.2.2  pgoyette 	0xee, 0x77, 0x0b, 0x10, 0x10, 0xe4, 0xbe, 0xa7,
   2145  1.5.2.2  pgoyette 	0x18, 0x84, 0x69, 0x77, 0xae, 0x11, 0x9f, 0x7a,
   2146  1.5.2.2  pgoyette 	0x02, 0x3a, 0xb5, 0x8c, 0xca, 0x0a, 0xd7, 0x52,
   2147  1.5.2.2  pgoyette 	0xaf, 0xe6, 0x56, 0xbb, 0x3c, 0x17, 0x25, 0x6a,
   2148  1.5.2.2  pgoyette 	0x9f, 0x6e, 0x9b, 0xf1, 0x9f, 0xdd, 0x5a, 0x38,
   2149  1.5.2.2  pgoyette 	0xfc, 0x82, 0xbb, 0xe8, 0x72, 0xc5, 0x53, 0x9e,
   2150  1.5.2.2  pgoyette 	0xdb, 0x60, 0x9e, 0xf4, 0xf7, 0x9c, 0x20, 0x3e,
   2151  1.5.2.2  pgoyette 	0xbb, 0x14, 0x0f, 0x2e, 0x58, 0x3c, 0xb2, 0xad,
   2152  1.5.2.2  pgoyette 	0x15, 0xb4, 0xaa, 0x5b, 0x65, 0x50, 0x16, 0xa8,
   2153  1.5.2.2  pgoyette 	0x44, 0x92, 0x77, 0xdb, 0xd4, 0x77, 0xef, 0x2c,
   2154  1.5.2.2  pgoyette 	0x8d, 0x6c, 0x01, 0x7d, 0xb7, 0x38, 0xb1, 0x8d,
   2155  1.5.2.2  pgoyette 	0xeb, 0x4a, 0x42, 0x7d, 0x19, 0x23, 0xce, 0x3f,
   2156  1.5.2.2  pgoyette 	0xf2, 0x62, 0x73, 0x57, 0x79, 0xa4, 0x18, 0xf2,
   2157  1.5.2.2  pgoyette 	0x0a, 0x28, 0x2d, 0xf9, 0x20, 0x14, 0x7b, 0xea,
   2158  1.5.2.2  pgoyette 	0xbe, 0x42, 0x1e, 0xe5, 0x31, 0x9d, 0x05, 0x68,
   2159  1.5.2.2  pgoyette };
   2160  1.5.2.2  pgoyette 
   2161  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec5_ctxt[SECSIZE] = {
   2162  1.5.2.2  pgoyette 	0x26, 0x4d, 0x3c, 0xa8, 0x51, 0x21, 0x94, 0xfe,
   2163  1.5.2.2  pgoyette 	0xc3, 0x12, 0xc8, 0xc9, 0x89, 0x1f, 0x27, 0x9f,
   2164  1.5.2.2  pgoyette 	0xef, 0xdd, 0x60, 0x8d, 0x0c, 0x02, 0x7b, 0x60,
   2165  1.5.2.2  pgoyette 	0x48, 0x3a, 0x3f, 0xa8, 0x11, 0xd6, 0x5e, 0xe5,
   2166  1.5.2.2  pgoyette 	0x9d, 0x52, 0xd9, 0xe4, 0x0e, 0xc5, 0x67, 0x2d,
   2167  1.5.2.2  pgoyette 	0x81, 0x53, 0x2b, 0x38, 0xb6, 0xb0, 0x89, 0xce,
   2168  1.5.2.2  pgoyette 	0x95, 0x1f, 0x0f, 0x9c, 0x35, 0x59, 0x0b, 0x8b,
   2169  1.5.2.2  pgoyette 	0x97, 0x8d, 0x17, 0x52, 0x13, 0xf3, 0x29, 0xbb,
   2170  1.5.2.2  pgoyette 	0x1c, 0x2f, 0xd3, 0x0f, 0x2f, 0x7f, 0x30, 0x49,
   2171  1.5.2.2  pgoyette 	0x2a, 0x61, 0xa5, 0x32, 0xa7, 0x9f, 0x51, 0xd3,
   2172  1.5.2.2  pgoyette 	0x6f, 0x5e, 0x31, 0xa7, 0xc9, 0xa1, 0x2c, 0x28,
   2173  1.5.2.2  pgoyette 	0x60, 0x82, 0xff, 0x7d, 0x23, 0x94, 0xd1, 0x8f,
   2174  1.5.2.2  pgoyette 	0x78, 0x3e, 0x1a, 0x8e, 0x72, 0xc7, 0x22, 0xca,
   2175  1.5.2.2  pgoyette 	0xaa, 0xa5, 0x2d, 0x8f, 0x06, 0x56, 0x57, 0xd2,
   2176  1.5.2.2  pgoyette 	0x63, 0x1f, 0xd2, 0x5b, 0xfd, 0x8e, 0x5b, 0xaa,
   2177  1.5.2.2  pgoyette 	0xd6, 0xe5, 0x27, 0xd7, 0x63, 0x51, 0x75, 0x01,
   2178  1.5.2.2  pgoyette 	0xc6, 0x8c, 0x5e, 0xdc, 0x3c, 0xdd, 0x55, 0x43,
   2179  1.5.2.2  pgoyette 	0x5c, 0x53, 0x2d, 0x71, 0x25, 0xc8, 0x61, 0x4d,
   2180  1.5.2.2  pgoyette 	0xee, 0xd9, 0xad, 0xaa, 0x3a, 0xca, 0xde, 0x58,
   2181  1.5.2.2  pgoyette 	0x88, 0xb8, 0x7b, 0xef, 0x64, 0x1c, 0x4c, 0x99,
   2182  1.5.2.2  pgoyette 	0x4c, 0x80, 0x91, 0xb5, 0xbc, 0xd3, 0x87, 0xf3,
   2183  1.5.2.2  pgoyette 	0x96, 0x3f, 0xb5, 0xbc, 0x37, 0xaa, 0x92, 0x2f,
   2184  1.5.2.2  pgoyette 	0xbf, 0xe3, 0xdf, 0x4e, 0x5b, 0x91, 0x5e, 0x6e,
   2185  1.5.2.2  pgoyette 	0xb5, 0x14, 0x71, 0x7b, 0xdd, 0x2a, 0x74, 0x07,
   2186  1.5.2.2  pgoyette 	0x9a, 0x50, 0x73, 0xf5, 0xc4, 0xbf, 0xd4, 0x6a,
   2187  1.5.2.2  pgoyette 	0xdf, 0x7d, 0x28, 0x2e, 0x7a, 0x39, 0x3a, 0x52,
   2188  1.5.2.2  pgoyette 	0x57, 0x9d, 0x11, 0xa0, 0x28, 0xda, 0x4d, 0x9c,
   2189  1.5.2.2  pgoyette 	0xd9, 0xc7, 0x71, 0x24, 0xf9, 0x64, 0x8e, 0xe3,
   2190  1.5.2.2  pgoyette 	0x83, 0xb1, 0xac, 0x76, 0x39, 0x30, 0xe7, 0x16,
   2191  1.5.2.2  pgoyette 	0x2a, 0x8d, 0x37, 0xf3, 0x50, 0xb2, 0xf7, 0x4b,
   2192  1.5.2.2  pgoyette 	0x84, 0x72, 0xcf, 0x09, 0x90, 0x20, 0x63, 0xc6,
   2193  1.5.2.2  pgoyette 	0xb3, 0x2e, 0x8c, 0x2d, 0x92, 0x90, 0xce, 0xfb,
   2194  1.5.2.2  pgoyette 	0xd7, 0x34, 0x6d, 0x1c, 0x77, 0x9a, 0x0d, 0xf5,
   2195  1.5.2.2  pgoyette 	0x0e, 0xdc, 0xde, 0x45, 0x31, 0xda, 0x07, 0xb0,
   2196  1.5.2.2  pgoyette 	0x99, 0xc6, 0x38, 0xe8, 0x3a, 0x75, 0x59, 0x44,
   2197  1.5.2.2  pgoyette 	0xdf, 0x2a, 0xef, 0x1a, 0xa3, 0x17, 0x52, 0xfd,
   2198  1.5.2.2  pgoyette 	0x32, 0x3d, 0xcb, 0x71, 0x0f, 0xb4, 0xbf, 0xbb,
   2199  1.5.2.2  pgoyette 	0x9d, 0x22, 0xb9, 0x25, 0xbc, 0x35, 0x77, 0xe1,
   2200  1.5.2.2  pgoyette 	0xb8, 0x94, 0x9e, 0x72, 0x9a, 0x90, 0xbb, 0xaf,
   2201  1.5.2.2  pgoyette 	0xea, 0xcf, 0x7f, 0x78, 0x79, 0xe7, 0xb1, 0x14,
   2202  1.5.2.2  pgoyette 	0x7e, 0x28, 0xba, 0x0b, 0xae, 0x94, 0x0d, 0xb7,
   2203  1.5.2.2  pgoyette 	0x95, 0xa6, 0x1b, 0x15, 0xec, 0xf4, 0xdf, 0x8d,
   2204  1.5.2.2  pgoyette 	0xb0, 0x7b, 0x82, 0x4b, 0xb0, 0x62, 0x80, 0x2c,
   2205  1.5.2.2  pgoyette 	0xc9, 0x8a, 0x95, 0x45, 0xbb, 0x2a, 0xae, 0xed,
   2206  1.5.2.2  pgoyette 	0x77, 0xcb, 0x3f, 0xc6, 0xdb, 0x15, 0xdc, 0xd7,
   2207  1.5.2.2  pgoyette 	0xd8, 0x0d, 0x7d, 0x5b, 0xc4, 0x06, 0xc4, 0x97,
   2208  1.5.2.2  pgoyette 	0x0a, 0x34, 0x78, 0xad, 0xa8, 0x89, 0x9b, 0x32,
   2209  1.5.2.2  pgoyette 	0x91, 0x98, 0xeb, 0x61, 0xc1, 0x93, 0xfb, 0x62,
   2210  1.5.2.2  pgoyette 	0x75, 0xaa, 0x8c, 0xa3, 0x40, 0x34, 0x4a, 0x75,
   2211  1.5.2.2  pgoyette 	0xa8, 0x62, 0xae, 0xbe, 0x92, 0xee, 0xe1, 0xce,
   2212  1.5.2.2  pgoyette 	0x03, 0x2f, 0xd9, 0x50, 0xb4, 0x7d, 0x77, 0x04,
   2213  1.5.2.2  pgoyette 	0xa3, 0x87, 0x69, 0x23, 0xb4, 0xad, 0x62, 0x84,
   2214  1.5.2.2  pgoyette 	0x4b, 0xf4, 0xa0, 0x9c, 0x4d, 0xbe, 0x8b, 0x43,
   2215  1.5.2.2  pgoyette 	0x97, 0x18, 0x4b, 0x74, 0x71, 0x36, 0x0c, 0x95,
   2216  1.5.2.2  pgoyette 	0x64, 0x88, 0x0a, 0xed, 0xdd, 0xb9, 0xba, 0xa4,
   2217  1.5.2.2  pgoyette 	0xaf, 0x2e, 0x75, 0x39, 0x4b, 0x08, 0xcd, 0x32,
   2218  1.5.2.2  pgoyette 	0xff, 0x47, 0x9c, 0x57, 0xa0, 0x7d, 0x3e, 0xab,
   2219  1.5.2.2  pgoyette 	0x5d, 0x54, 0xde, 0x5f, 0x97, 0x38, 0xb8, 0xd2,
   2220  1.5.2.2  pgoyette 	0x7f, 0x27, 0xa9, 0xf0, 0xab, 0x11, 0x79, 0x9d,
   2221  1.5.2.2  pgoyette 	0x7b, 0x7f, 0xfe, 0xfb, 0x27, 0x04, 0xc9, 0x5c,
   2222  1.5.2.2  pgoyette 	0x6a, 0xd1, 0x2c, 0x39, 0xf1, 0xe8, 0x67, 0xa4,
   2223  1.5.2.2  pgoyette 	0xb7, 0xb1, 0xd7, 0x81, 0x8a, 0x4b, 0x75, 0x3d,
   2224  1.5.2.2  pgoyette 	0xfd, 0x2a, 0x89, 0xcc, 0xb4, 0x5e, 0x00, 0x1a,
   2225  1.5.2.2  pgoyette 	0x03, 0xa8, 0x67, 0xb1, 0x87, 0xf2, 0x25, 0xdd,
   2226  1.5.2.2  pgoyette };
   2227  1.5.2.2  pgoyette 
   2228  1.5.2.2  pgoyette /*
   2229  1.5.2.2  pgoyette  * Vector 6 from IEEE 1619/D16, blkno 2.
   2230  1.5.2.2  pgoyette  */
   2231  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec6_ptxt[SECSIZE] = {
   2232  1.5.2.2  pgoyette 	0x26, 0x4d, 0x3c, 0xa8, 0x51, 0x21, 0x94, 0xfe,
   2233  1.5.2.2  pgoyette 	0xc3, 0x12, 0xc8, 0xc9, 0x89, 0x1f, 0x27, 0x9f,
   2234  1.5.2.2  pgoyette 	0xef, 0xdd, 0x60, 0x8d, 0x0c, 0x02, 0x7b, 0x60,
   2235  1.5.2.2  pgoyette 	0x48, 0x3a, 0x3f, 0xa8, 0x11, 0xd6, 0x5e, 0xe5,
   2236  1.5.2.2  pgoyette 	0x9d, 0x52, 0xd9, 0xe4, 0x0e, 0xc5, 0x67, 0x2d,
   2237  1.5.2.2  pgoyette 	0x81, 0x53, 0x2b, 0x38, 0xb6, 0xb0, 0x89, 0xce,
   2238  1.5.2.2  pgoyette 	0x95, 0x1f, 0x0f, 0x9c, 0x35, 0x59, 0x0b, 0x8b,
   2239  1.5.2.2  pgoyette 	0x97, 0x8d, 0x17, 0x52, 0x13, 0xf3, 0x29, 0xbb,
   2240  1.5.2.2  pgoyette 	0x1c, 0x2f, 0xd3, 0x0f, 0x2f, 0x7f, 0x30, 0x49,
   2241  1.5.2.2  pgoyette 	0x2a, 0x61, 0xa5, 0x32, 0xa7, 0x9f, 0x51, 0xd3,
   2242  1.5.2.2  pgoyette 	0x6f, 0x5e, 0x31, 0xa7, 0xc9, 0xa1, 0x2c, 0x28,
   2243  1.5.2.2  pgoyette 	0x60, 0x82, 0xff, 0x7d, 0x23, 0x94, 0xd1, 0x8f,
   2244  1.5.2.2  pgoyette 	0x78, 0x3e, 0x1a, 0x8e, 0x72, 0xc7, 0x22, 0xca,
   2245  1.5.2.2  pgoyette 	0xaa, 0xa5, 0x2d, 0x8f, 0x06, 0x56, 0x57, 0xd2,
   2246  1.5.2.2  pgoyette 	0x63, 0x1f, 0xd2, 0x5b, 0xfd, 0x8e, 0x5b, 0xaa,
   2247  1.5.2.2  pgoyette 	0xd6, 0xe5, 0x27, 0xd7, 0x63, 0x51, 0x75, 0x01,
   2248  1.5.2.2  pgoyette 	0xc6, 0x8c, 0x5e, 0xdc, 0x3c, 0xdd, 0x55, 0x43,
   2249  1.5.2.2  pgoyette 	0x5c, 0x53, 0x2d, 0x71, 0x25, 0xc8, 0x61, 0x4d,
   2250  1.5.2.2  pgoyette 	0xee, 0xd9, 0xad, 0xaa, 0x3a, 0xca, 0xde, 0x58,
   2251  1.5.2.2  pgoyette 	0x88, 0xb8, 0x7b, 0xef, 0x64, 0x1c, 0x4c, 0x99,
   2252  1.5.2.2  pgoyette 	0x4c, 0x80, 0x91, 0xb5, 0xbc, 0xd3, 0x87, 0xf3,
   2253  1.5.2.2  pgoyette 	0x96, 0x3f, 0xb5, 0xbc, 0x37, 0xaa, 0x92, 0x2f,
   2254  1.5.2.2  pgoyette 	0xbf, 0xe3, 0xdf, 0x4e, 0x5b, 0x91, 0x5e, 0x6e,
   2255  1.5.2.2  pgoyette 	0xb5, 0x14, 0x71, 0x7b, 0xdd, 0x2a, 0x74, 0x07,
   2256  1.5.2.2  pgoyette 	0x9a, 0x50, 0x73, 0xf5, 0xc4, 0xbf, 0xd4, 0x6a,
   2257  1.5.2.2  pgoyette 	0xdf, 0x7d, 0x28, 0x2e, 0x7a, 0x39, 0x3a, 0x52,
   2258  1.5.2.2  pgoyette 	0x57, 0x9d, 0x11, 0xa0, 0x28, 0xda, 0x4d, 0x9c,
   2259  1.5.2.2  pgoyette 	0xd9, 0xc7, 0x71, 0x24, 0xf9, 0x64, 0x8e, 0xe3,
   2260  1.5.2.2  pgoyette 	0x83, 0xb1, 0xac, 0x76, 0x39, 0x30, 0xe7, 0x16,
   2261  1.5.2.2  pgoyette 	0x2a, 0x8d, 0x37, 0xf3, 0x50, 0xb2, 0xf7, 0x4b,
   2262  1.5.2.2  pgoyette 	0x84, 0x72, 0xcf, 0x09, 0x90, 0x20, 0x63, 0xc6,
   2263  1.5.2.2  pgoyette 	0xb3, 0x2e, 0x8c, 0x2d, 0x92, 0x90, 0xce, 0xfb,
   2264  1.5.2.2  pgoyette 	0xd7, 0x34, 0x6d, 0x1c, 0x77, 0x9a, 0x0d, 0xf5,
   2265  1.5.2.2  pgoyette 	0x0e, 0xdc, 0xde, 0x45, 0x31, 0xda, 0x07, 0xb0,
   2266  1.5.2.2  pgoyette 	0x99, 0xc6, 0x38, 0xe8, 0x3a, 0x75, 0x59, 0x44,
   2267  1.5.2.2  pgoyette 	0xdf, 0x2a, 0xef, 0x1a, 0xa3, 0x17, 0x52, 0xfd,
   2268  1.5.2.2  pgoyette 	0x32, 0x3d, 0xcb, 0x71, 0x0f, 0xb4, 0xbf, 0xbb,
   2269  1.5.2.2  pgoyette 	0x9d, 0x22, 0xb9, 0x25, 0xbc, 0x35, 0x77, 0xe1,
   2270  1.5.2.2  pgoyette 	0xb8, 0x94, 0x9e, 0x72, 0x9a, 0x90, 0xbb, 0xaf,
   2271  1.5.2.2  pgoyette 	0xea, 0xcf, 0x7f, 0x78, 0x79, 0xe7, 0xb1, 0x14,
   2272  1.5.2.2  pgoyette 	0x7e, 0x28, 0xba, 0x0b, 0xae, 0x94, 0x0d, 0xb7,
   2273  1.5.2.2  pgoyette 	0x95, 0xa6, 0x1b, 0x15, 0xec, 0xf4, 0xdf, 0x8d,
   2274  1.5.2.2  pgoyette 	0xb0, 0x7b, 0x82, 0x4b, 0xb0, 0x62, 0x80, 0x2c,
   2275  1.5.2.2  pgoyette 	0xc9, 0x8a, 0x95, 0x45, 0xbb, 0x2a, 0xae, 0xed,
   2276  1.5.2.2  pgoyette 	0x77, 0xcb, 0x3f, 0xc6, 0xdb, 0x15, 0xdc, 0xd7,
   2277  1.5.2.2  pgoyette 	0xd8, 0x0d, 0x7d, 0x5b, 0xc4, 0x06, 0xc4, 0x97,
   2278  1.5.2.2  pgoyette 	0x0a, 0x34, 0x78, 0xad, 0xa8, 0x89, 0x9b, 0x32,
   2279  1.5.2.2  pgoyette 	0x91, 0x98, 0xeb, 0x61, 0xc1, 0x93, 0xfb, 0x62,
   2280  1.5.2.2  pgoyette 	0x75, 0xaa, 0x8c, 0xa3, 0x40, 0x34, 0x4a, 0x75,
   2281  1.5.2.2  pgoyette 	0xa8, 0x62, 0xae, 0xbe, 0x92, 0xee, 0xe1, 0xce,
   2282  1.5.2.2  pgoyette 	0x03, 0x2f, 0xd9, 0x50, 0xb4, 0x7d, 0x77, 0x04,
   2283  1.5.2.2  pgoyette 	0xa3, 0x87, 0x69, 0x23, 0xb4, 0xad, 0x62, 0x84,
   2284  1.5.2.2  pgoyette 	0x4b, 0xf4, 0xa0, 0x9c, 0x4d, 0xbe, 0x8b, 0x43,
   2285  1.5.2.2  pgoyette 	0x97, 0x18, 0x4b, 0x74, 0x71, 0x36, 0x0c, 0x95,
   2286  1.5.2.2  pgoyette 	0x64, 0x88, 0x0a, 0xed, 0xdd, 0xb9, 0xba, 0xa4,
   2287  1.5.2.2  pgoyette 	0xaf, 0x2e, 0x75, 0x39, 0x4b, 0x08, 0xcd, 0x32,
   2288  1.5.2.2  pgoyette 	0xff, 0x47, 0x9c, 0x57, 0xa0, 0x7d, 0x3e, 0xab,
   2289  1.5.2.2  pgoyette 	0x5d, 0x54, 0xde, 0x5f, 0x97, 0x38, 0xb8, 0xd2,
   2290  1.5.2.2  pgoyette 	0x7f, 0x27, 0xa9, 0xf0, 0xab, 0x11, 0x79, 0x9d,
   2291  1.5.2.2  pgoyette 	0x7b, 0x7f, 0xfe, 0xfb, 0x27, 0x04, 0xc9, 0x5c,
   2292  1.5.2.2  pgoyette 	0x6a, 0xd1, 0x2c, 0x39, 0xf1, 0xe8, 0x67, 0xa4,
   2293  1.5.2.2  pgoyette 	0xb7, 0xb1, 0xd7, 0x81, 0x8a, 0x4b, 0x75, 0x3d,
   2294  1.5.2.2  pgoyette 	0xfd, 0x2a, 0x89, 0xcc, 0xb4, 0x5e, 0x00, 0x1a,
   2295  1.5.2.2  pgoyette 	0x03, 0xa8, 0x67, 0xb1, 0x87, 0xf2, 0x25, 0xdd,
   2296  1.5.2.2  pgoyette };
   2297  1.5.2.2  pgoyette 
   2298  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec6_ctxt[SECSIZE] = {
   2299  1.5.2.2  pgoyette 	0xfa, 0x76, 0x2a, 0x36, 0x80, 0xb7, 0x60, 0x07,
   2300  1.5.2.2  pgoyette 	0x92, 0x8e, 0xd4, 0xa4, 0xf4, 0x9a, 0x94, 0x56,
   2301  1.5.2.2  pgoyette 	0x03, 0x1b, 0x70, 0x47, 0x82, 0xe6, 0x5e, 0x16,
   2302  1.5.2.2  pgoyette 	0xce, 0xcb, 0x54, 0xed, 0x7d, 0x01, 0x7b, 0x5e,
   2303  1.5.2.2  pgoyette 	0x18, 0xab, 0xd6, 0x7b, 0x33, 0x8e, 0x81, 0x07,
   2304  1.5.2.2  pgoyette 	0x8f, 0x21, 0xed, 0xb7, 0x86, 0x8d, 0x90, 0x1e,
   2305  1.5.2.2  pgoyette 	0xbe, 0x9c, 0x73, 0x1a, 0x7c, 0x18, 0xb5, 0xe6,
   2306  1.5.2.2  pgoyette 	0xde, 0xc1, 0xd6, 0xa7, 0x2e, 0x07, 0x8a, 0xc9,
   2307  1.5.2.2  pgoyette 	0xa4, 0x26, 0x2f, 0x86, 0x0b, 0xee, 0xfa, 0x14,
   2308  1.5.2.2  pgoyette 	0xf4, 0xe8, 0x21, 0x01, 0x82, 0x72, 0xe4, 0x11,
   2309  1.5.2.2  pgoyette 	0xa9, 0x51, 0x50, 0x2b, 0x6e, 0x79, 0x06, 0x6e,
   2310  1.5.2.2  pgoyette 	0x84, 0x25, 0x2c, 0x33, 0x46, 0xf3, 0xaa, 0x62,
   2311  1.5.2.2  pgoyette 	0x34, 0x43, 0x51, 0xa2, 0x91, 0xd4, 0xbe, 0xdc,
   2312  1.5.2.2  pgoyette 	0x7a, 0x07, 0x61, 0x8b, 0xde, 0xa2, 0xaf, 0x63,
   2313  1.5.2.2  pgoyette 	0x14, 0x5c, 0xc7, 0xa4, 0xb8, 0xd4, 0x07, 0x06,
   2314  1.5.2.2  pgoyette 	0x91, 0xae, 0x89, 0x0c, 0xd6, 0x57, 0x33, 0xe7,
   2315  1.5.2.2  pgoyette 	0x94, 0x6e, 0x90, 0x21, 0xa1, 0xdf, 0xfc, 0x4c,
   2316  1.5.2.2  pgoyette 	0x59, 0xf1, 0x59, 0x42, 0x5e, 0xe6, 0xd5, 0x0c,
   2317  1.5.2.2  pgoyette 	0xa9, 0xb1, 0x35, 0xfa, 0x61, 0x62, 0xce, 0xa1,
   2318  1.5.2.2  pgoyette 	0x8a, 0x93, 0x98, 0x38, 0xdc, 0x00, 0x0f, 0xb3,
   2319  1.5.2.2  pgoyette 	0x86, 0xfa, 0xd0, 0x86, 0xac, 0xce, 0x5a, 0xc0,
   2320  1.5.2.2  pgoyette 	0x7c, 0xb2, 0xec, 0xe7, 0xfd, 0x58, 0x0b, 0x00,
   2321  1.5.2.2  pgoyette 	0xcf, 0xa5, 0xe9, 0x85, 0x89, 0x63, 0x1d, 0xc2,
   2322  1.5.2.2  pgoyette 	0x5e, 0x8e, 0x2a, 0x3d, 0xaf, 0x2f, 0xfd, 0xec,
   2323  1.5.2.2  pgoyette 	0x26, 0x53, 0x16, 0x59, 0x91, 0x2c, 0x9d, 0x8f,
   2324  1.5.2.2  pgoyette 	0x7a, 0x15, 0xe5, 0x86, 0x5e, 0xa8, 0xfb, 0x58,
   2325  1.5.2.2  pgoyette 	0x16, 0xd6, 0x20, 0x70, 0x52, 0xbd, 0x71, 0x28,
   2326  1.5.2.2  pgoyette 	0xcd, 0x74, 0x3c, 0x12, 0xc8, 0x11, 0x87, 0x91,
   2327  1.5.2.2  pgoyette 	0xa4, 0x73, 0x68, 0x11, 0x93, 0x5e, 0xb9, 0x82,
   2328  1.5.2.2  pgoyette 	0xa5, 0x32, 0x34, 0x9e, 0x31, 0xdd, 0x40, 0x1e,
   2329  1.5.2.2  pgoyette 	0x0b, 0x66, 0x0a, 0x56, 0x8c, 0xb1, 0xa4, 0x71,
   2330  1.5.2.2  pgoyette 	0x1f, 0x55, 0x2f, 0x55, 0xde, 0xd5, 0x9f, 0x1f,
   2331  1.5.2.2  pgoyette 	0x15, 0xbf, 0x71, 0x96, 0xb3, 0xca, 0x12, 0xa9,
   2332  1.5.2.2  pgoyette 	0x1e, 0x48, 0x8e, 0xf5, 0x9d, 0x64, 0xf3, 0xa0,
   2333  1.5.2.2  pgoyette 	0x2b, 0xf4, 0x52, 0x39, 0x49, 0x9a, 0xc6, 0x17,
   2334  1.5.2.2  pgoyette 	0x6a, 0xe3, 0x21, 0xc4, 0xa2, 0x11, 0xec, 0x54,
   2335  1.5.2.2  pgoyette 	0x53, 0x65, 0x97, 0x1c, 0x5d, 0x3f, 0x4f, 0x09,
   2336  1.5.2.2  pgoyette 	0xd4, 0xeb, 0x13, 0x9b, 0xfd, 0xf2, 0x07, 0x3d,
   2337  1.5.2.2  pgoyette 	0x33, 0x18, 0x0b, 0x21, 0x00, 0x2b, 0x65, 0xcc,
   2338  1.5.2.2  pgoyette 	0x98, 0x65, 0xe7, 0x6c, 0xb2, 0x4c, 0xd9, 0x2c,
   2339  1.5.2.2  pgoyette 	0x87, 0x4c, 0x24, 0xc1, 0x83, 0x50, 0x39, 0x9a,
   2340  1.5.2.2  pgoyette 	0x93, 0x6a, 0xb3, 0x63, 0x70, 0x79, 0x29, 0x5d,
   2341  1.5.2.2  pgoyette 	0x76, 0xc4, 0x17, 0x77, 0x6b, 0x94, 0xef, 0xce,
   2342  1.5.2.2  pgoyette 	0x3a, 0x0e, 0xf7, 0x20, 0x6b, 0x15, 0x11, 0x05,
   2343  1.5.2.2  pgoyette 	0x19, 0x65, 0x5c, 0x95, 0x6c, 0xbd, 0x8b, 0x24,
   2344  1.5.2.2  pgoyette 	0x89, 0x40, 0x5e, 0xe2, 0xb0, 0x9a, 0x6b, 0x6e,
   2345  1.5.2.2  pgoyette 	0xeb, 0xe0, 0xc5, 0x37, 0x90, 0xa1, 0x2a, 0x89,
   2346  1.5.2.2  pgoyette 	0x98, 0x37, 0x8b, 0x33, 0xa5, 0xb7, 0x11, 0x59,
   2347  1.5.2.2  pgoyette 	0x62, 0x5f, 0x4b, 0xa4, 0x9d, 0x2a, 0x2f, 0xdb,
   2348  1.5.2.2  pgoyette 	0xa5, 0x9f, 0xbf, 0x08, 0x97, 0xbc, 0x7a, 0xab,
   2349  1.5.2.2  pgoyette 	0xd8, 0xd7, 0x07, 0xdc, 0x14, 0x0a, 0x80, 0xf0,
   2350  1.5.2.2  pgoyette 	0xf3, 0x09, 0xf8, 0x35, 0xd3, 0xda, 0x54, 0xab,
   2351  1.5.2.2  pgoyette 	0x58, 0x4e, 0x50, 0x1d, 0xfa, 0x0e, 0xe9, 0x77,
   2352  1.5.2.2  pgoyette 	0xfe, 0xc5, 0x43, 0xf7, 0x41, 0x86, 0xa8, 0x02,
   2353  1.5.2.2  pgoyette 	0xb9, 0xa3, 0x7a, 0xdb, 0x3e, 0x82, 0x91, 0xec,
   2354  1.5.2.2  pgoyette 	0xa0, 0x4d, 0x66, 0x52, 0x0d, 0x22, 0x9e, 0x60,
   2355  1.5.2.2  pgoyette 	0x40, 0x1e, 0x72, 0x82, 0xbe, 0xf4, 0x86, 0xae,
   2356  1.5.2.2  pgoyette 	0x05, 0x9a, 0xa7, 0x06, 0x96, 0xe0, 0xe3, 0x05,
   2357  1.5.2.2  pgoyette 	0xd7, 0x77, 0x14, 0x0a, 0x7a, 0x88, 0x3e, 0xcd,
   2358  1.5.2.2  pgoyette 	0xcb, 0x69, 0xb9, 0xff, 0x93, 0x8e, 0x8a, 0x42,
   2359  1.5.2.2  pgoyette 	0x31, 0x86, 0x4c, 0x69, 0xca, 0x2c, 0x20, 0x43,
   2360  1.5.2.2  pgoyette 	0xbe, 0xd0, 0x07, 0xff, 0x3e, 0x60, 0x5e, 0x01,
   2361  1.5.2.2  pgoyette 	0x4b, 0xcf, 0x51, 0x81, 0x38, 0xdc, 0x3a, 0x25,
   2362  1.5.2.2  pgoyette 	0xc5, 0xe2, 0x36, 0x17, 0x1a, 0x2d, 0x01, 0xd6,
   2363  1.5.2.2  pgoyette };
   2364  1.5.2.2  pgoyette 
   2365  1.5.2.2  pgoyette /*
   2366  1.5.2.2  pgoyette  * Vector 7 from IEEE 1619/D16, blkno 0xfd.
   2367  1.5.2.2  pgoyette  */
   2368  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec7_ptxt[SECSIZE] = {
   2369  1.5.2.2  pgoyette 	0x8e, 0x41, 0xb7, 0x8c, 0x39, 0x0b, 0x5a, 0xf9,
   2370  1.5.2.2  pgoyette 	0xd7, 0x58, 0xbb, 0x21, 0x4a, 0x67, 0xe9, 0xf6,
   2371  1.5.2.2  pgoyette 	0xbf, 0x77, 0x27, 0xb0, 0x9a, 0xc6, 0x12, 0x40,
   2372  1.5.2.2  pgoyette 	0x84, 0xc3, 0x76, 0x11, 0x39, 0x8f, 0xa4, 0x5d,
   2373  1.5.2.2  pgoyette 	0xaa, 0xd9, 0x48, 0x68, 0x60, 0x0e, 0xd3, 0x91,
   2374  1.5.2.2  pgoyette 	0xfb, 0x1a, 0xcd, 0x48, 0x57, 0xa9, 0x5b, 0x46,
   2375  1.5.2.2  pgoyette 	0x6e, 0x62, 0xef, 0x9f, 0x4b, 0x37, 0x72, 0x44,
   2376  1.5.2.2  pgoyette 	0xd1, 0xc1, 0x52, 0xe7, 0xb3, 0x0d, 0x73, 0x1a,
   2377  1.5.2.2  pgoyette 	0xad, 0x30, 0xc7, 0x16, 0xd2, 0x14, 0xb7, 0x07,
   2378  1.5.2.2  pgoyette 	0xae, 0xd9, 0x9e, 0xb5, 0xb5, 0xe5, 0x80, 0xb3,
   2379  1.5.2.2  pgoyette 	0xe8, 0x87, 0xcf, 0x74, 0x97, 0x46, 0x56, 0x51,
   2380  1.5.2.2  pgoyette 	0xd4, 0xb6, 0x0e, 0x60, 0x42, 0x05, 0x1d, 0xa3,
   2381  1.5.2.2  pgoyette 	0x69, 0x3c, 0x3b, 0x78, 0xc1, 0x44, 0x89, 0x54,
   2382  1.5.2.2  pgoyette 	0x3b, 0xe8, 0xb6, 0xad, 0x0b, 0xa6, 0x29, 0x56,
   2383  1.5.2.2  pgoyette 	0x5b, 0xba, 0x20, 0x23, 0x13, 0xba, 0x7b, 0x0d,
   2384  1.5.2.2  pgoyette 	0x0c, 0x94, 0xa3, 0x25, 0x2b, 0x67, 0x6f, 0x46,
   2385  1.5.2.2  pgoyette 	0xcc, 0x02, 0xce, 0x0f, 0x8a, 0x7d, 0x34, 0xc0,
   2386  1.5.2.2  pgoyette 	0xed, 0x22, 0x91, 0x29, 0x67, 0x3c, 0x1f, 0x61,
   2387  1.5.2.2  pgoyette 	0xae, 0xd5, 0x79, 0xd0, 0x8a, 0x92, 0x03, 0xa2,
   2388  1.5.2.2  pgoyette 	0x5a, 0xac, 0x3a, 0x77, 0xe9, 0xdb, 0x60, 0x26,
   2389  1.5.2.2  pgoyette 	0x79, 0x96, 0xdb, 0x38, 0xdf, 0x63, 0x73, 0x56,
   2390  1.5.2.2  pgoyette 	0xd9, 0xdc, 0xd1, 0x63, 0x2e, 0x36, 0x99, 0x39,
   2391  1.5.2.2  pgoyette 	0xf2, 0xa2, 0x9d, 0x89, 0x34, 0x5c, 0x66, 0xe0,
   2392  1.5.2.2  pgoyette 	0x50, 0x66, 0xf1, 0xa3, 0x67, 0x7a, 0xef, 0x18,
   2393  1.5.2.2  pgoyette 	0xde, 0xa4, 0x11, 0x3f, 0xae, 0xb6, 0x29, 0xe4,
   2394  1.5.2.2  pgoyette 	0x67, 0x21, 0xa6, 0x6d, 0x0a, 0x7e, 0x78, 0x5d,
   2395  1.5.2.2  pgoyette 	0x3e, 0x29, 0xaf, 0x25, 0x94, 0xeb, 0x67, 0xdf,
   2396  1.5.2.2  pgoyette 	0xa9, 0x82, 0xaf, 0xfe, 0x0a, 0xac, 0x05, 0x8f,
   2397  1.5.2.2  pgoyette 	0x6e, 0x15, 0x86, 0x42, 0x69, 0xb1, 0x35, 0x41,
   2398  1.5.2.2  pgoyette 	0x82, 0x61, 0xfc, 0x3a, 0xfb, 0x08, 0x94, 0x72,
   2399  1.5.2.2  pgoyette 	0xcf, 0x68, 0xc4, 0x5d, 0xd7, 0xf2, 0x31, 0xc6,
   2400  1.5.2.2  pgoyette 	0x24, 0x9b, 0xa0, 0x25, 0x5e, 0x1e, 0x03, 0x38,
   2401  1.5.2.2  pgoyette 	0x33, 0xfc, 0x4d, 0x00, 0xa3, 0xfe, 0x02, 0x13,
   2402  1.5.2.2  pgoyette 	0x2d, 0x7b, 0xc3, 0x87, 0x36, 0x14, 0xb8, 0xae,
   2403  1.5.2.2  pgoyette 	0xe3, 0x42, 0x73, 0x58, 0x1e, 0xa0, 0x32, 0x5c,
   2404  1.5.2.2  pgoyette 	0x81, 0xf0, 0x27, 0x0a, 0xff, 0xa1, 0x36, 0x41,
   2405  1.5.2.2  pgoyette 	0xd0, 0x52, 0xd3, 0x6f, 0x07, 0x57, 0xd4, 0x84,
   2406  1.5.2.2  pgoyette 	0x01, 0x43, 0x54, 0xd0, 0x2d, 0x68, 0x83, 0xca,
   2407  1.5.2.2  pgoyette 	0x15, 0xc2, 0x4d, 0x8c, 0x39, 0x56, 0xb1, 0xbd,
   2408  1.5.2.2  pgoyette 	0x02, 0x7b, 0xcf, 0x41, 0xf1, 0x51, 0xfd, 0x80,
   2409  1.5.2.2  pgoyette 	0x23, 0xc5, 0x34, 0x0e, 0x56, 0x06, 0xf3, 0x7e,
   2410  1.5.2.2  pgoyette 	0x90, 0xfd, 0xb8, 0x7c, 0x86, 0xfb, 0x4f, 0xa6,
   2411  1.5.2.2  pgoyette 	0x34, 0xb3, 0x71, 0x8a, 0x30, 0xba, 0xce, 0x06,
   2412  1.5.2.2  pgoyette 	0xa6, 0x6e, 0xaf, 0x8f, 0x63, 0xc4, 0xaa, 0x3b,
   2413  1.5.2.2  pgoyette 	0x63, 0x78, 0x26, 0xa8, 0x7f, 0xe8, 0xcf, 0xa4,
   2414  1.5.2.2  pgoyette 	0x42, 0x82, 0xe9, 0x2c, 0xb1, 0x61, 0x5a, 0xf3,
   2415  1.5.2.2  pgoyette 	0xa2, 0x8e, 0x53, 0xbc, 0x74, 0xc7, 0xcb, 0xa1,
   2416  1.5.2.2  pgoyette 	0xa0, 0x97, 0x7b, 0xe9, 0x06, 0x5d, 0x0c, 0x1a,
   2417  1.5.2.2  pgoyette 	0x5d, 0xec, 0x6c, 0x54, 0xae, 0x38, 0xd3, 0x7f,
   2418  1.5.2.2  pgoyette 	0x37, 0xaa, 0x35, 0x28, 0x3e, 0x04, 0x8e, 0x55,
   2419  1.5.2.2  pgoyette 	0x30, 0xa8, 0x5c, 0x4e, 0x7a, 0x29, 0xd7, 0xb9,
   2420  1.5.2.2  pgoyette 	0x2e, 0xc0, 0xc3, 0x16, 0x9c, 0xdf, 0x2a, 0x80,
   2421  1.5.2.2  pgoyette 	0x5c, 0x76, 0x04, 0xbc, 0xe6, 0x00, 0x49, 0xb9,
   2422  1.5.2.2  pgoyette 	0xfb, 0x7b, 0x8e, 0xaa, 0xc1, 0x0f, 0x51, 0xae,
   2423  1.5.2.2  pgoyette 	0x23, 0x79, 0x4c, 0xeb, 0xa6, 0x8b, 0xb5, 0x81,
   2424  1.5.2.2  pgoyette 	0x12, 0xe2, 0x93, 0xb9, 0xb6, 0x92, 0xca, 0x72,
   2425  1.5.2.2  pgoyette 	0x1b, 0x37, 0xc6, 0x62, 0xf8, 0x57, 0x4e, 0xd4,
   2426  1.5.2.2  pgoyette 	0xdb, 0xa6, 0xf8, 0x8e, 0x17, 0x08, 0x81, 0xc8,
   2427  1.5.2.2  pgoyette 	0x2c, 0xdd, 0xc1, 0x03, 0x4a, 0x0c, 0xa7, 0xe2,
   2428  1.5.2.2  pgoyette 	0x84, 0xbf, 0x09, 0x62, 0xb6, 0xb2, 0x62, 0x92,
   2429  1.5.2.2  pgoyette 	0xd8, 0x36, 0xfa, 0x9f, 0x73, 0xc1, 0xac, 0x77,
   2430  1.5.2.2  pgoyette 	0x0e, 0xef, 0x0f, 0x2d, 0x3a, 0x1e, 0xaf, 0x61,
   2431  1.5.2.2  pgoyette 	0xd3, 0xe0, 0x35, 0x55, 0xfd, 0x42, 0x4e, 0xed,
   2432  1.5.2.2  pgoyette 	0xd6, 0x7e, 0x18, 0xa1, 0x80, 0x94, 0xf8, 0x88,
   2433  1.5.2.2  pgoyette };
   2434  1.5.2.2  pgoyette 
   2435  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec7_ctxt[SECSIZE] = {
   2436  1.5.2.2  pgoyette 	0xd5, 0x5f, 0x68, 0x4f, 0x81, 0xf4, 0x42, 0x6e,
   2437  1.5.2.2  pgoyette 	0x9f, 0xde, 0x92, 0xa5, 0xff, 0x02, 0xdf, 0x2a,
   2438  1.5.2.2  pgoyette 	0xc8, 0x96, 0xaf, 0x63, 0x96, 0x28, 0x88, 0xa9,
   2439  1.5.2.2  pgoyette 	0x79, 0x10, 0xc1, 0x37, 0x9e, 0x20, 0xb0, 0xa3,
   2440  1.5.2.2  pgoyette 	0xb1, 0xdb, 0x61, 0x3f, 0xb7, 0xfe, 0x2e, 0x07,
   2441  1.5.2.2  pgoyette 	0x00, 0x43, 0x29, 0xea, 0x5c, 0x22, 0xbf, 0xd3,
   2442  1.5.2.2  pgoyette 	0x3e, 0x3d, 0xbe, 0x4c, 0xf5, 0x8c, 0xc6, 0x08,
   2443  1.5.2.2  pgoyette 	0xc2, 0xc2, 0x6c, 0x19, 0xa2, 0xe2, 0xfe, 0x22,
   2444  1.5.2.2  pgoyette 	0xf9, 0x87, 0x32, 0xc2, 0xb5, 0xcb, 0x84, 0x4c,
   2445  1.5.2.2  pgoyette 	0xc6, 0xc0, 0x70, 0x2d, 0x91, 0xe1, 0xd5, 0x0f,
   2446  1.5.2.2  pgoyette 	0xc4, 0x38, 0x2a, 0x7e, 0xba, 0x56, 0x35, 0xcd,
   2447  1.5.2.2  pgoyette 	0x60, 0x24, 0x32, 0xa2, 0x30, 0x6a, 0xc4, 0xce,
   2448  1.5.2.2  pgoyette 	0x82, 0xf8, 0xd7, 0x0c, 0x8d, 0x9b, 0xc1, 0x5f,
   2449  1.5.2.2  pgoyette 	0x91, 0x8f, 0xe7, 0x1e, 0x74, 0xc6, 0x22, 0xd5,
   2450  1.5.2.2  pgoyette 	0xcf, 0x71, 0x17, 0x8b, 0xf6, 0xe0, 0xb9, 0xcc,
   2451  1.5.2.2  pgoyette 	0x9f, 0x2b, 0x41, 0xdd, 0x8d, 0xbe, 0x44, 0x1c,
   2452  1.5.2.2  pgoyette 	0x41, 0xcd, 0x0c, 0x73, 0xa6, 0xdc, 0x47, 0xa3,
   2453  1.5.2.2  pgoyette 	0x48, 0xf6, 0x70, 0x2f, 0x9d, 0x0e, 0x9b, 0x1b,
   2454  1.5.2.2  pgoyette 	0x14, 0x31, 0xe9, 0x48, 0xe2, 0x99, 0xb9, 0xec,
   2455  1.5.2.2  pgoyette 	0x22, 0x72, 0xab, 0x2c, 0x5f, 0x0c, 0x7b, 0xe8,
   2456  1.5.2.2  pgoyette 	0x6a, 0xff, 0xa5, 0xde, 0xc8, 0x7a, 0x0b, 0xee,
   2457  1.5.2.2  pgoyette 	0x81, 0xd3, 0xd5, 0x00, 0x07, 0xed, 0xaa, 0x2b,
   2458  1.5.2.2  pgoyette 	0xcf, 0xcc, 0xb3, 0x56, 0x05, 0x15, 0x5f, 0xf3,
   2459  1.5.2.2  pgoyette 	0x6e, 0xd8, 0xed, 0xd4, 0xa4, 0x0d, 0xcd, 0x4b,
   2460  1.5.2.2  pgoyette 	0x24, 0x3a, 0xcd, 0x11, 0xb2, 0xb9, 0x87, 0xbd,
   2461  1.5.2.2  pgoyette 	0xbf, 0xaf, 0x91, 0xa7, 0xca, 0xc2, 0x7e, 0x9c,
   2462  1.5.2.2  pgoyette 	0x5a, 0xea, 0x52, 0x5e, 0xe5, 0x3d, 0xe7, 0xb2,
   2463  1.5.2.2  pgoyette 	0xd3, 0x33, 0x2c, 0x86, 0x44, 0x40, 0x2b, 0x82,
   2464  1.5.2.2  pgoyette 	0x3e, 0x94, 0xa7, 0xdb, 0x26, 0x27, 0x6d, 0x2d,
   2465  1.5.2.2  pgoyette 	0x23, 0xaa, 0x07, 0x18, 0x0f, 0x76, 0xb4, 0xfd,
   2466  1.5.2.2  pgoyette 	0x29, 0xb9, 0xc0, 0x82, 0x30, 0x99, 0xc9, 0xd6,
   2467  1.5.2.2  pgoyette 	0x2c, 0x51, 0x98, 0x80, 0xae, 0xe7, 0xe9, 0x69,
   2468  1.5.2.2  pgoyette 	0x76, 0x17, 0xc1, 0x49, 0x7d, 0x47, 0xbf, 0x3e,
   2469  1.5.2.2  pgoyette 	0x57, 0x19, 0x50, 0x31, 0x14, 0x21, 0xb6, 0xb7,
   2470  1.5.2.2  pgoyette 	0x34, 0xd3, 0x8b, 0x0d, 0xb9, 0x1e, 0xb8, 0x53,
   2471  1.5.2.2  pgoyette 	0x31, 0xb9, 0x1e, 0xa9, 0xf6, 0x15, 0x30, 0xf5,
   2472  1.5.2.2  pgoyette 	0x45, 0x12, 0xa5, 0xa5, 0x2a, 0x4b, 0xad, 0x58,
   2473  1.5.2.2  pgoyette 	0x9e, 0xb6, 0x97, 0x81, 0xd5, 0x37, 0xf2, 0x32,
   2474  1.5.2.2  pgoyette 	0x97, 0xbb, 0x45, 0x9b, 0xda, 0xd2, 0x94, 0x8a,
   2475  1.5.2.2  pgoyette 	0x29, 0xe1, 0x55, 0x0b, 0xf4, 0x78, 0x7e, 0x0b,
   2476  1.5.2.2  pgoyette 	0xe9, 0x5b, 0xb1, 0x73, 0xcf, 0x5f, 0xab, 0x17,
   2477  1.5.2.2  pgoyette 	0xda, 0xb7, 0xa1, 0x3a, 0x05, 0x2a, 0x63, 0x45,
   2478  1.5.2.2  pgoyette 	0x3d, 0x97, 0xcc, 0xec, 0x1a, 0x32, 0x19, 0x54,
   2479  1.5.2.2  pgoyette 	0x88, 0x6b, 0x7a, 0x12, 0x99, 0xfa, 0xae, 0xec,
   2480  1.5.2.2  pgoyette 	0xae, 0x35, 0xc6, 0xea, 0xac, 0xa7, 0x53, 0xb0,
   2481  1.5.2.2  pgoyette 	0x41, 0xb5, 0xe5, 0xf0, 0x93, 0xbf, 0x83, 0x39,
   2482  1.5.2.2  pgoyette 	0x7f, 0xd2, 0x1d, 0xd6, 0xb3, 0x01, 0x20, 0x66,
   2483  1.5.2.2  pgoyette 	0xfc, 0xc0, 0x58, 0xcc, 0x32, 0xc3, 0xb0, 0x9d,
   2484  1.5.2.2  pgoyette 	0x75, 0x62, 0xde, 0xe2, 0x95, 0x09, 0xb5, 0x83,
   2485  1.5.2.2  pgoyette 	0x93, 0x92, 0xc9, 0xff, 0x05, 0xf5, 0x1f, 0x31,
   2486  1.5.2.2  pgoyette 	0x66, 0xaa, 0xac, 0x4a, 0xc5, 0xf2, 0x38, 0x03,
   2487  1.5.2.2  pgoyette 	0x8a, 0x30, 0x45, 0xe6, 0xf7, 0x2e, 0x48, 0xef,
   2488  1.5.2.2  pgoyette 	0x0f, 0xe8, 0xbc, 0x67, 0x5e, 0x82, 0xc3, 0x18,
   2489  1.5.2.2  pgoyette 	0xa2, 0x68, 0xe4, 0x39, 0x70, 0x27, 0x1b, 0xf1,
   2490  1.5.2.2  pgoyette 	0x19, 0xb8, 0x1b, 0xf6, 0xa9, 0x82, 0x74, 0x65,
   2491  1.5.2.2  pgoyette 	0x54, 0xf8, 0x4e, 0x72, 0xb9, 0xf0, 0x02, 0x80,
   2492  1.5.2.2  pgoyette 	0xa3, 0x20, 0xa0, 0x81, 0x42, 0x92, 0x3c, 0x23,
   2493  1.5.2.2  pgoyette 	0xc8, 0x83, 0x42, 0x3f, 0xf9, 0x49, 0x82, 0x7f,
   2494  1.5.2.2  pgoyette 	0x29, 0xbb, 0xac, 0xdc, 0x1c, 0xcd, 0xb0, 0x49,
   2495  1.5.2.2  pgoyette 	0x38, 0xce, 0x60, 0x98, 0xc9, 0x5b, 0xa6, 0xb3,
   2496  1.5.2.2  pgoyette 	0x25, 0x28, 0xf4, 0xef, 0x78, 0xee, 0xd7, 0x78,
   2497  1.5.2.2  pgoyette 	0xb2, 0xe1, 0x22, 0xdd, 0xfd, 0x1c, 0xbd, 0xd1,
   2498  1.5.2.2  pgoyette 	0x1d, 0x1c, 0x0a, 0x67, 0x83, 0xe0, 0x11, 0xfc,
   2499  1.5.2.2  pgoyette 	0x53, 0x6d, 0x63, 0xd0, 0x53, 0x26, 0x06, 0x37,
   2500  1.5.2.2  pgoyette };
   2501  1.5.2.2  pgoyette 
   2502  1.5.2.2  pgoyette /*
   2503  1.5.2.2  pgoyette  * Vector 8 from IEEE 1619/D16, blkno 0xfe.
   2504  1.5.2.2  pgoyette  */
   2505  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec8_ptxt[SECSIZE] = {
   2506  1.5.2.2  pgoyette 	0xd5, 0x5f, 0x68, 0x4f, 0x81, 0xf4, 0x42, 0x6e,
   2507  1.5.2.2  pgoyette 	0x9f, 0xde, 0x92, 0xa5, 0xff, 0x02, 0xdf, 0x2a,
   2508  1.5.2.2  pgoyette 	0xc8, 0x96, 0xaf, 0x63, 0x96, 0x28, 0x88, 0xa9,
   2509  1.5.2.2  pgoyette 	0x79, 0x10, 0xc1, 0x37, 0x9e, 0x20, 0xb0, 0xa3,
   2510  1.5.2.2  pgoyette 	0xb1, 0xdb, 0x61, 0x3f, 0xb7, 0xfe, 0x2e, 0x07,
   2511  1.5.2.2  pgoyette 	0x00, 0x43, 0x29, 0xea, 0x5c, 0x22, 0xbf, 0xd3,
   2512  1.5.2.2  pgoyette 	0x3e, 0x3d, 0xbe, 0x4c, 0xf5, 0x8c, 0xc6, 0x08,
   2513  1.5.2.2  pgoyette 	0xc2, 0xc2, 0x6c, 0x19, 0xa2, 0xe2, 0xfe, 0x22,
   2514  1.5.2.2  pgoyette 	0xf9, 0x87, 0x32, 0xc2, 0xb5, 0xcb, 0x84, 0x4c,
   2515  1.5.2.2  pgoyette 	0xc6, 0xc0, 0x70, 0x2d, 0x91, 0xe1, 0xd5, 0x0f,
   2516  1.5.2.2  pgoyette 	0xc4, 0x38, 0x2a, 0x7e, 0xba, 0x56, 0x35, 0xcd,
   2517  1.5.2.2  pgoyette 	0x60, 0x24, 0x32, 0xa2, 0x30, 0x6a, 0xc4, 0xce,
   2518  1.5.2.2  pgoyette 	0x82, 0xf8, 0xd7, 0x0c, 0x8d, 0x9b, 0xc1, 0x5f,
   2519  1.5.2.2  pgoyette 	0x91, 0x8f, 0xe7, 0x1e, 0x74, 0xc6, 0x22, 0xd5,
   2520  1.5.2.2  pgoyette 	0xcf, 0x71, 0x17, 0x8b, 0xf6, 0xe0, 0xb9, 0xcc,
   2521  1.5.2.2  pgoyette 	0x9f, 0x2b, 0x41, 0xdd, 0x8d, 0xbe, 0x44, 0x1c,
   2522  1.5.2.2  pgoyette 	0x41, 0xcd, 0x0c, 0x73, 0xa6, 0xdc, 0x47, 0xa3,
   2523  1.5.2.2  pgoyette 	0x48, 0xf6, 0x70, 0x2f, 0x9d, 0x0e, 0x9b, 0x1b,
   2524  1.5.2.2  pgoyette 	0x14, 0x31, 0xe9, 0x48, 0xe2, 0x99, 0xb9, 0xec,
   2525  1.5.2.2  pgoyette 	0x22, 0x72, 0xab, 0x2c, 0x5f, 0x0c, 0x7b, 0xe8,
   2526  1.5.2.2  pgoyette 	0x6a, 0xff, 0xa5, 0xde, 0xc8, 0x7a, 0x0b, 0xee,
   2527  1.5.2.2  pgoyette 	0x81, 0xd3, 0xd5, 0x00, 0x07, 0xed, 0xaa, 0x2b,
   2528  1.5.2.2  pgoyette 	0xcf, 0xcc, 0xb3, 0x56, 0x05, 0x15, 0x5f, 0xf3,
   2529  1.5.2.2  pgoyette 	0x6e, 0xd8, 0xed, 0xd4, 0xa4, 0x0d, 0xcd, 0x4b,
   2530  1.5.2.2  pgoyette 	0x24, 0x3a, 0xcd, 0x11, 0xb2, 0xb9, 0x87, 0xbd,
   2531  1.5.2.2  pgoyette 	0xbf, 0xaf, 0x91, 0xa7, 0xca, 0xc2, 0x7e, 0x9c,
   2532  1.5.2.2  pgoyette 	0x5a, 0xea, 0x52, 0x5e, 0xe5, 0x3d, 0xe7, 0xb2,
   2533  1.5.2.2  pgoyette 	0xd3, 0x33, 0x2c, 0x86, 0x44, 0x40, 0x2b, 0x82,
   2534  1.5.2.2  pgoyette 	0x3e, 0x94, 0xa7, 0xdb, 0x26, 0x27, 0x6d, 0x2d,
   2535  1.5.2.2  pgoyette 	0x23, 0xaa, 0x07, 0x18, 0x0f, 0x76, 0xb4, 0xfd,
   2536  1.5.2.2  pgoyette 	0x29, 0xb9, 0xc0, 0x82, 0x30, 0x99, 0xc9, 0xd6,
   2537  1.5.2.2  pgoyette 	0x2c, 0x51, 0x98, 0x80, 0xae, 0xe7, 0xe9, 0x69,
   2538  1.5.2.2  pgoyette 	0x76, 0x17, 0xc1, 0x49, 0x7d, 0x47, 0xbf, 0x3e,
   2539  1.5.2.2  pgoyette 	0x57, 0x19, 0x50, 0x31, 0x14, 0x21, 0xb6, 0xb7,
   2540  1.5.2.2  pgoyette 	0x34, 0xd3, 0x8b, 0x0d, 0xb9, 0x1e, 0xb8, 0x53,
   2541  1.5.2.2  pgoyette 	0x31, 0xb9, 0x1e, 0xa9, 0xf6, 0x15, 0x30, 0xf5,
   2542  1.5.2.2  pgoyette 	0x45, 0x12, 0xa5, 0xa5, 0x2a, 0x4b, 0xad, 0x58,
   2543  1.5.2.2  pgoyette 	0x9e, 0xb6, 0x97, 0x81, 0xd5, 0x37, 0xf2, 0x32,
   2544  1.5.2.2  pgoyette 	0x97, 0xbb, 0x45, 0x9b, 0xda, 0xd2, 0x94, 0x8a,
   2545  1.5.2.2  pgoyette 	0x29, 0xe1, 0x55, 0x0b, 0xf4, 0x78, 0x7e, 0x0b,
   2546  1.5.2.2  pgoyette 	0xe9, 0x5b, 0xb1, 0x73, 0xcf, 0x5f, 0xab, 0x17,
   2547  1.5.2.2  pgoyette 	0xda, 0xb7, 0xa1, 0x3a, 0x05, 0x2a, 0x63, 0x45,
   2548  1.5.2.2  pgoyette 	0x3d, 0x97, 0xcc, 0xec, 0x1a, 0x32, 0x19, 0x54,
   2549  1.5.2.2  pgoyette 	0x88, 0x6b, 0x7a, 0x12, 0x99, 0xfa, 0xae, 0xec,
   2550  1.5.2.2  pgoyette 	0xae, 0x35, 0xc6, 0xea, 0xac, 0xa7, 0x53, 0xb0,
   2551  1.5.2.2  pgoyette 	0x41, 0xb5, 0xe5, 0xf0, 0x93, 0xbf, 0x83, 0x39,
   2552  1.5.2.2  pgoyette 	0x7f, 0xd2, 0x1d, 0xd6, 0xb3, 0x01, 0x20, 0x66,
   2553  1.5.2.2  pgoyette 	0xfc, 0xc0, 0x58, 0xcc, 0x32, 0xc3, 0xb0, 0x9d,
   2554  1.5.2.2  pgoyette 	0x75, 0x62, 0xde, 0xe2, 0x95, 0x09, 0xb5, 0x83,
   2555  1.5.2.2  pgoyette 	0x93, 0x92, 0xc9, 0xff, 0x05, 0xf5, 0x1f, 0x31,
   2556  1.5.2.2  pgoyette 	0x66, 0xaa, 0xac, 0x4a, 0xc5, 0xf2, 0x38, 0x03,
   2557  1.5.2.2  pgoyette 	0x8a, 0x30, 0x45, 0xe6, 0xf7, 0x2e, 0x48, 0xef,
   2558  1.5.2.2  pgoyette 	0x0f, 0xe8, 0xbc, 0x67, 0x5e, 0x82, 0xc3, 0x18,
   2559  1.5.2.2  pgoyette 	0xa2, 0x68, 0xe4, 0x39, 0x70, 0x27, 0x1b, 0xf1,
   2560  1.5.2.2  pgoyette 	0x19, 0xb8, 0x1b, 0xf6, 0xa9, 0x82, 0x74, 0x65,
   2561  1.5.2.2  pgoyette 	0x54, 0xf8, 0x4e, 0x72, 0xb9, 0xf0, 0x02, 0x80,
   2562  1.5.2.2  pgoyette 	0xa3, 0x20, 0xa0, 0x81, 0x42, 0x92, 0x3c, 0x23,
   2563  1.5.2.2  pgoyette 	0xc8, 0x83, 0x42, 0x3f, 0xf9, 0x49, 0x82, 0x7f,
   2564  1.5.2.2  pgoyette 	0x29, 0xbb, 0xac, 0xdc, 0x1c, 0xcd, 0xb0, 0x49,
   2565  1.5.2.2  pgoyette 	0x38, 0xce, 0x60, 0x98, 0xc9, 0x5b, 0xa6, 0xb3,
   2566  1.5.2.2  pgoyette 	0x25, 0x28, 0xf4, 0xef, 0x78, 0xee, 0xd7, 0x78,
   2567  1.5.2.2  pgoyette 	0xb2, 0xe1, 0x22, 0xdd, 0xfd, 0x1c, 0xbd, 0xd1,
   2568  1.5.2.2  pgoyette 	0x1d, 0x1c, 0x0a, 0x67, 0x83, 0xe0, 0x11, 0xfc,
   2569  1.5.2.2  pgoyette 	0x53, 0x6d, 0x63, 0xd0, 0x53, 0x26, 0x06, 0x37,
   2570  1.5.2.2  pgoyette };
   2571  1.5.2.2  pgoyette 
   2572  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec8_ctxt[SECSIZE] = {
   2573  1.5.2.2  pgoyette 	0x72, 0xef, 0xc1, 0xeb, 0xfe, 0x1e, 0xe2, 0x59,
   2574  1.5.2.2  pgoyette 	0x75, 0xa6, 0xeb, 0x3a, 0xa8, 0x58, 0x9d, 0xda,
   2575  1.5.2.2  pgoyette 	0x2b, 0x26, 0x1f, 0x1c, 0x85, 0xbd, 0xab, 0x44,
   2576  1.5.2.2  pgoyette 	0x2a, 0x9e, 0x5b, 0x2d, 0xd1, 0xd7, 0xc3, 0x95,
   2577  1.5.2.2  pgoyette 	0x7a, 0x16, 0xfc, 0x08, 0xe5, 0x26, 0xd4, 0xb1,
   2578  1.5.2.2  pgoyette 	0x22, 0x3f, 0x1b, 0x12, 0x32, 0xa1, 0x1a, 0xf2,
   2579  1.5.2.2  pgoyette 	0x74, 0xc3, 0xd7, 0x0d, 0xac, 0x57, 0xf8, 0x3e,
   2580  1.5.2.2  pgoyette 	0x09, 0x83, 0xc4, 0x98, 0xf1, 0xa6, 0xf1, 0xae,
   2581  1.5.2.2  pgoyette 	0xcb, 0x02, 0x1c, 0x3e, 0x70, 0x08, 0x5a, 0x1e,
   2582  1.5.2.2  pgoyette 	0x52, 0x7f, 0x1c, 0xe4, 0x1e, 0xe5, 0x91, 0x1a,
   2583  1.5.2.2  pgoyette 	0x82, 0x02, 0x01, 0x61, 0x52, 0x9c, 0xd8, 0x27,
   2584  1.5.2.2  pgoyette 	0x73, 0x76, 0x2d, 0xaf, 0x54, 0x59, 0xde, 0x94,
   2585  1.5.2.2  pgoyette 	0xa0, 0xa8, 0x2a, 0xda, 0xe7, 0xe1, 0x70, 0x3c,
   2586  1.5.2.2  pgoyette 	0x80, 0x85, 0x43, 0xc2, 0x9e, 0xd6, 0xfb, 0x32,
   2587  1.5.2.2  pgoyette 	0xd9, 0xe0, 0x04, 0x32, 0x7c, 0x13, 0x55, 0x18,
   2588  1.5.2.2  pgoyette 	0x0c, 0x99, 0x5a, 0x07, 0x74, 0x14, 0x93, 0xa0,
   2589  1.5.2.2  pgoyette 	0x9c, 0x21, 0xba, 0x01, 0xa3, 0x87, 0x88, 0x2d,
   2590  1.5.2.2  pgoyette 	0xa4, 0xf6, 0x25, 0x34, 0xb8, 0x7b, 0xb1, 0x5d,
   2591  1.5.2.2  pgoyette 	0x60, 0xd1, 0x97, 0x20, 0x1c, 0x0f, 0xd3, 0xbf,
   2592  1.5.2.2  pgoyette 	0x30, 0xc1, 0x50, 0x0a, 0x3e, 0xcf, 0xec, 0xdd,
   2593  1.5.2.2  pgoyette 	0x66, 0xd8, 0x72, 0x1f, 0x90, 0xbc, 0xc4, 0xc1,
   2594  1.5.2.2  pgoyette 	0x7e, 0xe9, 0x25, 0xc6, 0x1b, 0x0a, 0x03, 0x72,
   2595  1.5.2.2  pgoyette 	0x7a, 0x9c, 0x0d, 0x5f, 0x5c, 0xa4, 0x62, 0xfb,
   2596  1.5.2.2  pgoyette 	0xfa, 0x0a, 0xf1, 0xc2, 0x51, 0x3a, 0x9d, 0x9d,
   2597  1.5.2.2  pgoyette 	0x4b, 0x53, 0x45, 0xbd, 0x27, 0xa5, 0xf6, 0xe6,
   2598  1.5.2.2  pgoyette 	0x53, 0xf7, 0x51, 0x69, 0x3e, 0x6b, 0x6a, 0x2b,
   2599  1.5.2.2  pgoyette 	0x8e, 0xad, 0x57, 0xd5, 0x11, 0xe0, 0x0e, 0x58,
   2600  1.5.2.2  pgoyette 	0xc4, 0x5b, 0x7b, 0x8d, 0x00, 0x5a, 0xf7, 0x92,
   2601  1.5.2.2  pgoyette 	0x88, 0xf5, 0xc7, 0xc2, 0x2f, 0xd4, 0xf1, 0xbf,
   2602  1.5.2.2  pgoyette 	0x7a, 0x89, 0x8b, 0x03, 0xa5, 0x63, 0x4c, 0x6a,
   2603  1.5.2.2  pgoyette 	0x1a, 0xe3, 0xf9, 0xfa, 0xe5, 0xde, 0x4f, 0x29,
   2604  1.5.2.2  pgoyette 	0x6a, 0x28, 0x96, 0xb2, 0x3e, 0x7e, 0xd4, 0x3e,
   2605  1.5.2.2  pgoyette 	0xd1, 0x4f, 0xa5, 0xa2, 0x80, 0x3f, 0x4d, 0x28,
   2606  1.5.2.2  pgoyette 	0xf0, 0xd3, 0xff, 0xcf, 0x24, 0x75, 0x76, 0x77,
   2607  1.5.2.2  pgoyette 	0xae, 0xbd, 0xb4, 0x7b, 0xb3, 0x88, 0x37, 0x87,
   2608  1.5.2.2  pgoyette 	0x08, 0x94, 0x8a, 0x8d, 0x41, 0x26, 0xed, 0x18,
   2609  1.5.2.2  pgoyette 	0x39, 0xe0, 0xda, 0x29, 0xa5, 0x37, 0xa8, 0xc1,
   2610  1.5.2.2  pgoyette 	0x98, 0xb3, 0xc6, 0x6a, 0xb0, 0x07, 0x12, 0xdd,
   2611  1.5.2.2  pgoyette 	0x26, 0x16, 0x74, 0xbf, 0x45, 0xa7, 0x3d, 0x67,
   2612  1.5.2.2  pgoyette 	0xf7, 0x69, 0x14, 0xf8, 0x30, 0xca, 0x01, 0x4b,
   2613  1.5.2.2  pgoyette 	0x65, 0x59, 0x6f, 0x27, 0xe4, 0xcf, 0x62, 0xde,
   2614  1.5.2.2  pgoyette 	0x66, 0x12, 0x5a, 0x55, 0x66, 0xdf, 0x99, 0x75,
   2615  1.5.2.2  pgoyette 	0x15, 0x56, 0x28, 0xb4, 0x00, 0xfb, 0xfb, 0x3a,
   2616  1.5.2.2  pgoyette 	0x29, 0x04, 0x0e, 0xd5, 0x0f, 0xaf, 0xfd, 0xbb,
   2617  1.5.2.2  pgoyette 	0x18, 0xae, 0xce, 0x7c, 0x5c, 0x44, 0x69, 0x32,
   2618  1.5.2.2  pgoyette 	0x60, 0xaa, 0xb3, 0x86, 0xc0, 0xa3, 0x7b, 0x11,
   2619  1.5.2.2  pgoyette 	0xb1, 0x14, 0xf1, 0xc4, 0x15, 0xae, 0xbb, 0x65,
   2620  1.5.2.2  pgoyette 	0x3b, 0xe4, 0x68, 0x17, 0x94, 0x28, 0xd4, 0x3a,
   2621  1.5.2.2  pgoyette 	0x4d, 0x8b, 0xc3, 0xec, 0x38, 0x81, 0x3e, 0xca,
   2622  1.5.2.2  pgoyette 	0x30, 0xa1, 0x3c, 0xf1, 0xbb, 0x18, 0xd5, 0x24,
   2623  1.5.2.2  pgoyette 	0xf1, 0x99, 0x2d, 0x44, 0xd8, 0xb1, 0xa4, 0x2e,
   2624  1.5.2.2  pgoyette 	0xa3, 0x0b, 0x22, 0xe6, 0xc9, 0x5b, 0x19, 0x9d,
   2625  1.5.2.2  pgoyette 	0x8d, 0x18, 0x2f, 0x88, 0x40, 0xb0, 0x9d, 0x05,
   2626  1.5.2.2  pgoyette 	0x95, 0x85, 0xc3, 0x1a, 0xd6, 0x91, 0xfa, 0x06,
   2627  1.5.2.2  pgoyette 	0x19, 0xff, 0x03, 0x8a, 0xca, 0x2c, 0x39, 0xa9,
   2628  1.5.2.2  pgoyette 	0x43, 0x42, 0x11, 0x57, 0x36, 0x17, 0x17, 0xc4,
   2629  1.5.2.2  pgoyette 	0x9d, 0x32, 0x20, 0x28, 0xa7, 0x46, 0x48, 0x11,
   2630  1.5.2.2  pgoyette 	0x3b, 0xd8, 0xc9, 0xd7, 0xec, 0x77, 0xcf, 0x3c,
   2631  1.5.2.2  pgoyette 	0x89, 0xc1, 0xec, 0x87, 0x18, 0xce, 0xff, 0x85,
   2632  1.5.2.2  pgoyette 	0x16, 0xd9, 0x6b, 0x34, 0xc3, 0xc6, 0x14, 0xf1,
   2633  1.5.2.2  pgoyette 	0x06, 0x99, 0xc9, 0xab, 0xc4, 0xed, 0x04, 0x11,
   2634  1.5.2.2  pgoyette 	0x50, 0x62, 0x23, 0xbe, 0xa1, 0x6a, 0xf3, 0x5c,
   2635  1.5.2.2  pgoyette 	0x88, 0x3a, 0xcc, 0xdb, 0xe1, 0x10, 0x4e, 0xef,
   2636  1.5.2.2  pgoyette 	0x0c, 0xfd, 0xb5, 0x4e, 0x12, 0xfb, 0x23, 0x0a,
   2637  1.5.2.2  pgoyette };
   2638  1.5.2.2  pgoyette 
   2639  1.5.2.2  pgoyette /*
   2640  1.5.2.2  pgoyette  * Vector 9 from IEEE 1619/D16, blkno 0xff.
   2641  1.5.2.2  pgoyette  */
   2642  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec9_ptxt[SECSIZE] = {
   2643  1.5.2.2  pgoyette 	0x72, 0xef, 0xc1, 0xeb, 0xfe, 0x1e, 0xe2, 0x59,
   2644  1.5.2.2  pgoyette 	0x75, 0xa6, 0xeb, 0x3a, 0xa8, 0x58, 0x9d, 0xda,
   2645  1.5.2.2  pgoyette 	0x2b, 0x26, 0x1f, 0x1c, 0x85, 0xbd, 0xab, 0x44,
   2646  1.5.2.2  pgoyette 	0x2a, 0x9e, 0x5b, 0x2d, 0xd1, 0xd7, 0xc3, 0x95,
   2647  1.5.2.2  pgoyette 	0x7a, 0x16, 0xfc, 0x08, 0xe5, 0x26, 0xd4, 0xb1,
   2648  1.5.2.2  pgoyette 	0x22, 0x3f, 0x1b, 0x12, 0x32, 0xa1, 0x1a, 0xf2,
   2649  1.5.2.2  pgoyette 	0x74, 0xc3, 0xd7, 0x0d, 0xac, 0x57, 0xf8, 0x3e,
   2650  1.5.2.2  pgoyette 	0x09, 0x83, 0xc4, 0x98, 0xf1, 0xa6, 0xf1, 0xae,
   2651  1.5.2.2  pgoyette 	0xcb, 0x02, 0x1c, 0x3e, 0x70, 0x08, 0x5a, 0x1e,
   2652  1.5.2.2  pgoyette 	0x52, 0x7f, 0x1c, 0xe4, 0x1e, 0xe5, 0x91, 0x1a,
   2653  1.5.2.2  pgoyette 	0x82, 0x02, 0x01, 0x61, 0x52, 0x9c, 0xd8, 0x27,
   2654  1.5.2.2  pgoyette 	0x73, 0x76, 0x2d, 0xaf, 0x54, 0x59, 0xde, 0x94,
   2655  1.5.2.2  pgoyette 	0xa0, 0xa8, 0x2a, 0xda, 0xe7, 0xe1, 0x70, 0x3c,
   2656  1.5.2.2  pgoyette 	0x80, 0x85, 0x43, 0xc2, 0x9e, 0xd6, 0xfb, 0x32,
   2657  1.5.2.2  pgoyette 	0xd9, 0xe0, 0x04, 0x32, 0x7c, 0x13, 0x55, 0x18,
   2658  1.5.2.2  pgoyette 	0x0c, 0x99, 0x5a, 0x07, 0x74, 0x14, 0x93, 0xa0,
   2659  1.5.2.2  pgoyette 	0x9c, 0x21, 0xba, 0x01, 0xa3, 0x87, 0x88, 0x2d,
   2660  1.5.2.2  pgoyette 	0xa4, 0xf6, 0x25, 0x34, 0xb8, 0x7b, 0xb1, 0x5d,
   2661  1.5.2.2  pgoyette 	0x60, 0xd1, 0x97, 0x20, 0x1c, 0x0f, 0xd3, 0xbf,
   2662  1.5.2.2  pgoyette 	0x30, 0xc1, 0x50, 0x0a, 0x3e, 0xcf, 0xec, 0xdd,
   2663  1.5.2.2  pgoyette 	0x66, 0xd8, 0x72, 0x1f, 0x90, 0xbc, 0xc4, 0xc1,
   2664  1.5.2.2  pgoyette 	0x7e, 0xe9, 0x25, 0xc6, 0x1b, 0x0a, 0x03, 0x72,
   2665  1.5.2.2  pgoyette 	0x7a, 0x9c, 0x0d, 0x5f, 0x5c, 0xa4, 0x62, 0xfb,
   2666  1.5.2.2  pgoyette 	0xfa, 0x0a, 0xf1, 0xc2, 0x51, 0x3a, 0x9d, 0x9d,
   2667  1.5.2.2  pgoyette 	0x4b, 0x53, 0x45, 0xbd, 0x27, 0xa5, 0xf6, 0xe6,
   2668  1.5.2.2  pgoyette 	0x53, 0xf7, 0x51, 0x69, 0x3e, 0x6b, 0x6a, 0x2b,
   2669  1.5.2.2  pgoyette 	0x8e, 0xad, 0x57, 0xd5, 0x11, 0xe0, 0x0e, 0x58,
   2670  1.5.2.2  pgoyette 	0xc4, 0x5b, 0x7b, 0x8d, 0x00, 0x5a, 0xf7, 0x92,
   2671  1.5.2.2  pgoyette 	0x88, 0xf5, 0xc7, 0xc2, 0x2f, 0xd4, 0xf1, 0xbf,
   2672  1.5.2.2  pgoyette 	0x7a, 0x89, 0x8b, 0x03, 0xa5, 0x63, 0x4c, 0x6a,
   2673  1.5.2.2  pgoyette 	0x1a, 0xe3, 0xf9, 0xfa, 0xe5, 0xde, 0x4f, 0x29,
   2674  1.5.2.2  pgoyette 	0x6a, 0x28, 0x96, 0xb2, 0x3e, 0x7e, 0xd4, 0x3e,
   2675  1.5.2.2  pgoyette 	0xd1, 0x4f, 0xa5, 0xa2, 0x80, 0x3f, 0x4d, 0x28,
   2676  1.5.2.2  pgoyette 	0xf0, 0xd3, 0xff, 0xcf, 0x24, 0x75, 0x76, 0x77,
   2677  1.5.2.2  pgoyette 	0xae, 0xbd, 0xb4, 0x7b, 0xb3, 0x88, 0x37, 0x87,
   2678  1.5.2.2  pgoyette 	0x08, 0x94, 0x8a, 0x8d, 0x41, 0x26, 0xed, 0x18,
   2679  1.5.2.2  pgoyette 	0x39, 0xe0, 0xda, 0x29, 0xa5, 0x37, 0xa8, 0xc1,
   2680  1.5.2.2  pgoyette 	0x98, 0xb3, 0xc6, 0x6a, 0xb0, 0x07, 0x12, 0xdd,
   2681  1.5.2.2  pgoyette 	0x26, 0x16, 0x74, 0xbf, 0x45, 0xa7, 0x3d, 0x67,
   2682  1.5.2.2  pgoyette 	0xf7, 0x69, 0x14, 0xf8, 0x30, 0xca, 0x01, 0x4b,
   2683  1.5.2.2  pgoyette 	0x65, 0x59, 0x6f, 0x27, 0xe4, 0xcf, 0x62, 0xde,
   2684  1.5.2.2  pgoyette 	0x66, 0x12, 0x5a, 0x55, 0x66, 0xdf, 0x99, 0x75,
   2685  1.5.2.2  pgoyette 	0x15, 0x56, 0x28, 0xb4, 0x00, 0xfb, 0xfb, 0x3a,
   2686  1.5.2.2  pgoyette 	0x29, 0x04, 0x0e, 0xd5, 0x0f, 0xaf, 0xfd, 0xbb,
   2687  1.5.2.2  pgoyette 	0x18, 0xae, 0xce, 0x7c, 0x5c, 0x44, 0x69, 0x32,
   2688  1.5.2.2  pgoyette 	0x60, 0xaa, 0xb3, 0x86, 0xc0, 0xa3, 0x7b, 0x11,
   2689  1.5.2.2  pgoyette 	0xb1, 0x14, 0xf1, 0xc4, 0x15, 0xae, 0xbb, 0x65,
   2690  1.5.2.2  pgoyette 	0x3b, 0xe4, 0x68, 0x17, 0x94, 0x28, 0xd4, 0x3a,
   2691  1.5.2.2  pgoyette 	0x4d, 0x8b, 0xc3, 0xec, 0x38, 0x81, 0x3e, 0xca,
   2692  1.5.2.2  pgoyette 	0x30, 0xa1, 0x3c, 0xf1, 0xbb, 0x18, 0xd5, 0x24,
   2693  1.5.2.2  pgoyette 	0xf1, 0x99, 0x2d, 0x44, 0xd8, 0xb1, 0xa4, 0x2e,
   2694  1.5.2.2  pgoyette 	0xa3, 0x0b, 0x22, 0xe6, 0xc9, 0x5b, 0x19, 0x9d,
   2695  1.5.2.2  pgoyette 	0x8d, 0x18, 0x2f, 0x88, 0x40, 0xb0, 0x9d, 0x05,
   2696  1.5.2.2  pgoyette 	0x95, 0x85, 0xc3, 0x1a, 0xd6, 0x91, 0xfa, 0x06,
   2697  1.5.2.2  pgoyette 	0x19, 0xff, 0x03, 0x8a, 0xca, 0x2c, 0x39, 0xa9,
   2698  1.5.2.2  pgoyette 	0x43, 0x42, 0x11, 0x57, 0x36, 0x17, 0x17, 0xc4,
   2699  1.5.2.2  pgoyette 	0x9d, 0x32, 0x20, 0x28, 0xa7, 0x46, 0x48, 0x11,
   2700  1.5.2.2  pgoyette 	0x3b, 0xd8, 0xc9, 0xd7, 0xec, 0x77, 0xcf, 0x3c,
   2701  1.5.2.2  pgoyette 	0x89, 0xc1, 0xec, 0x87, 0x18, 0xce, 0xff, 0x85,
   2702  1.5.2.2  pgoyette 	0x16, 0xd9, 0x6b, 0x34, 0xc3, 0xc6, 0x14, 0xf1,
   2703  1.5.2.2  pgoyette 	0x06, 0x99, 0xc9, 0xab, 0xc4, 0xed, 0x04, 0x11,
   2704  1.5.2.2  pgoyette 	0x50, 0x62, 0x23, 0xbe, 0xa1, 0x6a, 0xf3, 0x5c,
   2705  1.5.2.2  pgoyette 	0x88, 0x3a, 0xcc, 0xdb, 0xe1, 0x10, 0x4e, 0xef,
   2706  1.5.2.2  pgoyette 	0x0c, 0xfd, 0xb5, 0x4e, 0x12, 0xfb, 0x23, 0x0a,
   2707  1.5.2.2  pgoyette };
   2708  1.5.2.2  pgoyette 
   2709  1.5.2.2  pgoyette static const uint8_t aes_xts_256_vec9_ctxt[SECSIZE] = {
   2710  1.5.2.2  pgoyette 	0x32, 0x60, 0xae, 0x8d, 0xad, 0x1f, 0x4a, 0x32,
   2711  1.5.2.2  pgoyette 	0xc5, 0xca, 0xfe, 0x3a, 0xb0, 0xeb, 0x95, 0x54,
   2712  1.5.2.2  pgoyette 	0x9d, 0x46, 0x1a, 0x67, 0xce, 0xb9, 0xe5, 0xaa,
   2713  1.5.2.2  pgoyette 	0x2d, 0x3a, 0xfb, 0x62, 0xde, 0xce, 0x05, 0x53,
   2714  1.5.2.2  pgoyette 	0x19, 0x3b, 0xa5, 0x0c, 0x75, 0xbe, 0x25, 0x1e,
   2715  1.5.2.2  pgoyette 	0x08, 0xd1, 0xd0, 0x8f, 0x10, 0x88, 0x57, 0x6c,
   2716  1.5.2.2  pgoyette 	0x7e, 0xfd, 0xfa, 0xaf, 0x3f, 0x45, 0x95, 0x59,
   2717  1.5.2.2  pgoyette 	0x57, 0x1e, 0x12, 0x51, 0x17, 0x53, 0xb0, 0x7a,
   2718  1.5.2.2  pgoyette 	0xf0, 0x73, 0xf3, 0x5d, 0xa0, 0x6a, 0xf0, 0xce,
   2719  1.5.2.2  pgoyette 	0x0b, 0xbf, 0x6b, 0x8f, 0x5c, 0xcc, 0x5c, 0xea,
   2720  1.5.2.2  pgoyette 	0x50, 0x0e, 0xc1, 0xb2, 0x11, 0xbd, 0x51, 0xf6,
   2721  1.5.2.2  pgoyette 	0x3b, 0x60, 0x6b, 0xf6, 0x52, 0x87, 0x96, 0xca,
   2722  1.5.2.2  pgoyette 	0x12, 0x17, 0x3b, 0xa3, 0x9b, 0x89, 0x35, 0xee,
   2723  1.5.2.2  pgoyette 	0x44, 0xcc, 0xce, 0x64, 0x6f, 0x90, 0xa4, 0x5b,
   2724  1.5.2.2  pgoyette 	0xf9, 0xcc, 0xc5, 0x67, 0xf0, 0xac, 0xe1, 0x3d,
   2725  1.5.2.2  pgoyette 	0xc2, 0xd5, 0x3e, 0xbe, 0xed, 0xc8, 0x1f, 0x58,
   2726  1.5.2.2  pgoyette 	0xb2, 0xe4, 0x11, 0x79, 0xdd, 0xdf, 0x0d, 0x5a,
   2727  1.5.2.2  pgoyette 	0x5c, 0x42, 0xf5, 0xd8, 0x50, 0x6c, 0x1a, 0x5d,
   2728  1.5.2.2  pgoyette 	0x2f, 0x8f, 0x59, 0xf3, 0xea, 0x87, 0x3c, 0xbc,
   2729  1.5.2.2  pgoyette 	0xd0, 0xee, 0xc1, 0x9a, 0xcb, 0xf3, 0x25, 0x42,
   2730  1.5.2.2  pgoyette 	0x3b, 0xd3, 0xdc, 0xb8, 0xc2, 0xb1, 0xbf, 0x1d,
   2731  1.5.2.2  pgoyette 	0x1e, 0xae, 0xd0, 0xeb, 0xa7, 0xf0, 0x69, 0x8e,
   2732  1.5.2.2  pgoyette 	0x43, 0x14, 0xfb, 0xeb, 0x2f, 0x15, 0x66, 0xd1,
   2733  1.5.2.2  pgoyette 	0xb9, 0x25, 0x30, 0x08, 0xcb, 0xcc, 0xf4, 0x5a,
   2734  1.5.2.2  pgoyette 	0x2b, 0x0d, 0x9c, 0x5c, 0x9c, 0x21, 0x47, 0x4f,
   2735  1.5.2.2  pgoyette 	0x40, 0x76, 0xe0, 0x2b, 0xe2, 0x60, 0x50, 0xb9,
   2736  1.5.2.2  pgoyette 	0x9d, 0xee, 0x4f, 0xd6, 0x8a, 0x4c, 0xf8, 0x90,
   2737  1.5.2.2  pgoyette 	0xe4, 0x96, 0xe4, 0xfc, 0xae, 0x7b, 0x70, 0xf9,
   2738  1.5.2.2  pgoyette 	0x4e, 0xa5, 0xa9, 0x06, 0x2d, 0xa0, 0xda, 0xeb,
   2739  1.5.2.2  pgoyette 	0xa1, 0x99, 0x3d, 0x2c, 0xcd, 0x1d, 0xd3, 0xc2,
   2740  1.5.2.2  pgoyette 	0x44, 0xb8, 0x42, 0x88, 0x01, 0x49, 0x5a, 0x58,
   2741  1.5.2.2  pgoyette 	0xb2, 0x16, 0x54, 0x7e, 0x7e, 0x84, 0x7c, 0x46,
   2742  1.5.2.2  pgoyette 	0xd1, 0xd7, 0x56, 0x37, 0x7b, 0x62, 0x42, 0xd2,
   2743  1.5.2.2  pgoyette 	0xe5, 0xfb, 0x83, 0xbf, 0x75, 0x2b, 0x54, 0xe0,
   2744  1.5.2.2  pgoyette 	0xdf, 0x71, 0xe8, 0x89, 0xf3, 0xa2, 0xbb, 0x0f,
   2745  1.5.2.2  pgoyette 	0x4c, 0x10, 0x80, 0x5b, 0xf3, 0xc5, 0x90, 0x37,
   2746  1.5.2.2  pgoyette 	0x6e, 0x3c, 0x24, 0xe2, 0x2f, 0xf5, 0x7f, 0x7f,
   2747  1.5.2.2  pgoyette 	0xa9, 0x65, 0x57, 0x73, 0x75, 0x32, 0x5c, 0xea,
   2748  1.5.2.2  pgoyette 	0x5d, 0x92, 0x0d, 0xb9, 0x4b, 0x9c, 0x33, 0x6b,
   2749  1.5.2.2  pgoyette 	0x45, 0x5f, 0x6e, 0x89, 0x4c, 0x01, 0x86, 0x6f,
   2750  1.5.2.2  pgoyette 	0xe9, 0xfb, 0xb8, 0xc8, 0xd3, 0xf7, 0x0a, 0x29,
   2751  1.5.2.2  pgoyette 	0x57, 0x28, 0x5f, 0x6d, 0xfb, 0x5d, 0xcd, 0x8c,
   2752  1.5.2.2  pgoyette 	0xbf, 0x54, 0x78, 0x2f, 0x8f, 0xe7, 0x76, 0x6d,
   2753  1.5.2.2  pgoyette 	0x47, 0x23, 0x81, 0x99, 0x13, 0xac, 0x77, 0x34,
   2754  1.5.2.2  pgoyette 	0x21, 0xe3, 0xa3, 0x10, 0x95, 0x86, 0x6b, 0xad,
   2755  1.5.2.2  pgoyette 	0x22, 0xc8, 0x6a, 0x60, 0x36, 0xb2, 0x51, 0x8b,
   2756  1.5.2.2  pgoyette 	0x20, 0x59, 0xb4, 0x22, 0x9d, 0x18, 0xc8, 0xc2,
   2757  1.5.2.2  pgoyette 	0xcc, 0xbd, 0xf9, 0x06, 0xc6, 0xcc, 0x6e, 0x82,
   2758  1.5.2.2  pgoyette 	0x46, 0x4e, 0xe5, 0x7b, 0xdd, 0xb0, 0xbe, 0xbc,
   2759  1.5.2.2  pgoyette 	0xb1, 0xdc, 0x64, 0x53, 0x25, 0xbf, 0xb3, 0xe6,
   2760  1.5.2.2  pgoyette 	0x65, 0xef, 0x72, 0x51, 0x08, 0x2c, 0x88, 0xeb,
   2761  1.5.2.2  pgoyette 	0xb1, 0xcf, 0x20, 0x3b, 0xd7, 0x79, 0xfd, 0xd3,
   2762  1.5.2.2  pgoyette 	0x86, 0x75, 0x71, 0x3c, 0x8d, 0xaa, 0xdd, 0x17,
   2763  1.5.2.2  pgoyette 	0xe1, 0xca, 0xbe, 0xe4, 0x32, 0xb0, 0x97, 0x87,
   2764  1.5.2.2  pgoyette 	0xb6, 0xdd, 0xf3, 0x30, 0x4e, 0x38, 0xb7, 0x31,
   2765  1.5.2.2  pgoyette 	0xb4, 0x5d, 0xf5, 0xdf, 0x51, 0xb7, 0x8f, 0xcf,
   2766  1.5.2.2  pgoyette 	0xb3, 0xd3, 0x24, 0x66, 0x02, 0x8d, 0x0b, 0xa3,
   2767  1.5.2.2  pgoyette 	0x65, 0x55, 0xe7, 0xe1, 0x1a, 0xb0, 0xee, 0x06,
   2768  1.5.2.2  pgoyette 	0x66, 0x06, 0x1d, 0x16, 0x45, 0xd9, 0x62, 0x44,
   2769  1.5.2.2  pgoyette 	0x4b, 0xc4, 0x7a, 0x38, 0x18, 0x89, 0x30, 0xa8,
   2770  1.5.2.2  pgoyette 	0x4b, 0x4d, 0x56, 0x13, 0x95, 0xc7, 0x3c, 0x08,
   2771  1.5.2.2  pgoyette 	0x70, 0x21, 0x92, 0x7c, 0xa6, 0x38, 0xb7, 0xaf,
   2772  1.5.2.2  pgoyette 	0xc8, 0xa8, 0x67, 0x9c, 0xcb, 0x84, 0xc2, 0x65,
   2773  1.5.2.2  pgoyette 	0x55, 0x44, 0x0e, 0xc7, 0xf1, 0x04, 0x45, 0xcd,
   2774  1.5.2.2  pgoyette };
   2775  1.5.2.2  pgoyette 
   2776  1.5.2.2  pgoyette const struct testvec aes_xts_256_vectors[] = {
   2777  1.5.2.2  pgoyette 	{
   2778  1.5.2.2  pgoyette 		.blkno = 0,
   2779  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec4_ptxt,
   2780  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec4_ctxt,
   2781  1.5.2.2  pgoyette 	},
   2782  1.5.2.2  pgoyette 	{
   2783  1.5.2.2  pgoyette 		.blkno = 1,
   2784  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec5_ptxt,
   2785  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec5_ctxt,
   2786  1.5.2.2  pgoyette 	},
   2787  1.5.2.2  pgoyette 	{
   2788  1.5.2.2  pgoyette 		.blkno = 2,
   2789  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec6_ptxt,
   2790  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec6_ctxt,
   2791  1.5.2.2  pgoyette 	},
   2792  1.5.2.2  pgoyette 	{
   2793  1.5.2.2  pgoyette 		.blkno = 0xfd,
   2794  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec7_ptxt,
   2795  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec7_ctxt,
   2796  1.5.2.2  pgoyette 	},
   2797  1.5.2.2  pgoyette 	{
   2798  1.5.2.2  pgoyette 		.blkno = 0xfe,
   2799  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec8_ptxt,
   2800  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec8_ctxt,
   2801  1.5.2.2  pgoyette 	},
   2802  1.5.2.2  pgoyette 	{
   2803  1.5.2.2  pgoyette 		.blkno = 0xff,
   2804  1.5.2.2  pgoyette 		.ptxt = aes_xts_256_vec9_ptxt,
   2805  1.5.2.2  pgoyette 		.ctxt = aes_xts_256_vec9_ctxt,
   2806  1.5.2.2  pgoyette 	},
   2807  1.5.2.2  pgoyette };
   2808  1.5.2.2  pgoyette 
   2809  1.5.2.2  pgoyette /*
   2810  1.5.2.2  pgoyette  * Vector 10 from IEEE 1619/D16, blkno 0xff.
   2811  1.5.2.2  pgoyette  */
   2812  1.5.2.2  pgoyette static const uint8_t aes_xts_512_vec10_ptxt[SECSIZE] = {
   2813  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   2814  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   2815  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   2816  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   2817  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   2818  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   2819  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   2820  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   2821  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   2822  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   2823  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   2824  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   2825  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   2826  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   2827  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   2828  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   2829  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   2830  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   2831  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   2832  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   2833  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   2834  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   2835  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   2836  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   2837  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   2838  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   2839  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   2840  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   2841  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   2842  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   2843  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   2844  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   2845  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   2846  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   2847  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   2848  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   2849  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   2850  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   2851  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   2852  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   2853  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   2854  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   2855  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   2856  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   2857  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   2858  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   2859  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   2860  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   2861  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   2862  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   2863  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   2864  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   2865  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   2866  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   2867  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   2868  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   2869  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   2870  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   2871  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   2872  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   2873  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   2874  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   2875  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   2876  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   2877  1.5.2.2  pgoyette };
   2878  1.5.2.2  pgoyette 
   2879  1.5.2.2  pgoyette static const uint8_t aes_xts_512_vec10_ctxt[SECSIZE] = {
   2880  1.5.2.2  pgoyette 	0x1c, 0x3b, 0x3a, 0x10, 0x2f, 0x77, 0x03, 0x86,
   2881  1.5.2.2  pgoyette 	0xe4, 0x83, 0x6c, 0x99, 0xe3, 0x70, 0xcf, 0x9b,
   2882  1.5.2.2  pgoyette 	0xea, 0x00, 0x80, 0x3f, 0x5e, 0x48, 0x23, 0x57,
   2883  1.5.2.2  pgoyette 	0xa4, 0xae, 0x12, 0xd4, 0x14, 0xa3, 0xe6, 0x3b,
   2884  1.5.2.2  pgoyette 	0x5d, 0x31, 0xe2, 0x76, 0xf8, 0xfe, 0x4a, 0x8d,
   2885  1.5.2.2  pgoyette 	0x66, 0xb3, 0x17, 0xf9, 0xac, 0x68, 0x3f, 0x44,
   2886  1.5.2.2  pgoyette 	0x68, 0x0a, 0x86, 0xac, 0x35, 0xad, 0xfc, 0x33,
   2887  1.5.2.2  pgoyette 	0x45, 0xbe, 0xfe, 0xcb, 0x4b, 0xb1, 0x88, 0xfd,
   2888  1.5.2.2  pgoyette 	0x57, 0x76, 0x92, 0x6c, 0x49, 0xa3, 0x09, 0x5e,
   2889  1.5.2.2  pgoyette 	0xb1, 0x08, 0xfd, 0x10, 0x98, 0xba, 0xec, 0x70,
   2890  1.5.2.2  pgoyette 	0xaa, 0xa6, 0x69, 0x99, 0xa7, 0x2a, 0x82, 0xf2,
   2891  1.5.2.2  pgoyette 	0x7d, 0x84, 0x8b, 0x21, 0xd4, 0xa7, 0x41, 0xb0,
   2892  1.5.2.2  pgoyette 	0xc5, 0xcd, 0x4d, 0x5f, 0xff, 0x9d, 0xac, 0x89,
   2893  1.5.2.2  pgoyette 	0xae, 0xba, 0x12, 0x29, 0x61, 0xd0, 0x3a, 0x75,
   2894  1.5.2.2  pgoyette 	0x71, 0x23, 0xe9, 0x87, 0x0f, 0x8a, 0xcf, 0x10,
   2895  1.5.2.2  pgoyette 	0x00, 0x02, 0x08, 0x87, 0x89, 0x14, 0x29, 0xca,
   2896  1.5.2.2  pgoyette 	0x2a, 0x3e, 0x7a, 0x7d, 0x7d, 0xf7, 0xb1, 0x03,
   2897  1.5.2.2  pgoyette 	0x55, 0x16, 0x5c, 0x8b, 0x9a, 0x6d, 0x0a, 0x7d,
   2898  1.5.2.2  pgoyette 	0xe8, 0xb0, 0x62, 0xc4, 0x50, 0x0d, 0xc4, 0xcd,
   2899  1.5.2.2  pgoyette 	0x12, 0x0c, 0x0f, 0x74, 0x18, 0xda, 0xe3, 0xd0,
   2900  1.5.2.2  pgoyette 	0xb5, 0x78, 0x1c, 0x34, 0x80, 0x3f, 0xa7, 0x54,
   2901  1.5.2.2  pgoyette 	0x21, 0xc7, 0x90, 0xdf, 0xe1, 0xde, 0x18, 0x34,
   2902  1.5.2.2  pgoyette 	0xf2, 0x80, 0xd7, 0x66, 0x7b, 0x32, 0x7f, 0x6c,
   2903  1.5.2.2  pgoyette 	0x8c, 0xd7, 0x55, 0x7e, 0x12, 0xac, 0x3a, 0x0f,
   2904  1.5.2.2  pgoyette 	0x93, 0xec, 0x05, 0xc5, 0x2e, 0x04, 0x93, 0xef,
   2905  1.5.2.2  pgoyette 	0x31, 0xa1, 0x2d, 0x3d, 0x92, 0x60, 0xf7, 0x9a,
   2906  1.5.2.2  pgoyette 	0x28, 0x9d, 0x6a, 0x37, 0x9b, 0xc7, 0x0c, 0x50,
   2907  1.5.2.2  pgoyette 	0x84, 0x14, 0x73, 0xd1, 0xa8, 0xcc, 0x81, 0xec,
   2908  1.5.2.2  pgoyette 	0x58, 0x3e, 0x96, 0x45, 0xe0, 0x7b, 0x8d, 0x96,
   2909  1.5.2.2  pgoyette 	0x70, 0x65, 0x5b, 0xa5, 0xbb, 0xcf, 0xec, 0xc6,
   2910  1.5.2.2  pgoyette 	0xdc, 0x39, 0x66, 0x38, 0x0a, 0xd8, 0xfe, 0xcb,
   2911  1.5.2.2  pgoyette 	0x17, 0xb6, 0xba, 0x02, 0x46, 0x9a, 0x02, 0x0a,
   2912  1.5.2.2  pgoyette 	0x84, 0xe1, 0x8e, 0x8f, 0x84, 0x25, 0x20, 0x70,
   2913  1.5.2.2  pgoyette 	0xc1, 0x3e, 0x9f, 0x1f, 0x28, 0x9b, 0xe5, 0x4f,
   2914  1.5.2.2  pgoyette 	0xbc, 0x48, 0x14, 0x57, 0x77, 0x8f, 0x61, 0x60,
   2915  1.5.2.2  pgoyette 	0x15, 0xe1, 0x32, 0x7a, 0x02, 0xb1, 0x40, 0xf1,
   2916  1.5.2.2  pgoyette 	0x50, 0x5e, 0xb3, 0x09, 0x32, 0x6d, 0x68, 0x37,
   2917  1.5.2.2  pgoyette 	0x8f, 0x83, 0x74, 0x59, 0x5c, 0x84, 0x9d, 0x84,
   2918  1.5.2.2  pgoyette 	0xf4, 0xc3, 0x33, 0xec, 0x44, 0x23, 0x88, 0x51,
   2919  1.5.2.2  pgoyette 	0x43, 0xcb, 0x47, 0xbd, 0x71, 0xc5, 0xed, 0xae,
   2920  1.5.2.2  pgoyette 	0x9b, 0xe6, 0x9a, 0x2f, 0xfe, 0xce, 0xb1, 0xbe,
   2921  1.5.2.2  pgoyette 	0xc9, 0xde, 0x24, 0x4f, 0xbe, 0x15, 0x99, 0x2b,
   2922  1.5.2.2  pgoyette 	0x11, 0xb7, 0x7c, 0x04, 0x0f, 0x12, 0xbd, 0x8f,
   2923  1.5.2.2  pgoyette 	0x6a, 0x97, 0x5a, 0x44, 0xa0, 0xf9, 0x0c, 0x29,
   2924  1.5.2.2  pgoyette 	0xa9, 0xab, 0xc3, 0xd4, 0xd8, 0x93, 0x92, 0x72,
   2925  1.5.2.2  pgoyette 	0x84, 0xc5, 0x87, 0x54, 0xcc, 0xe2, 0x94, 0x52,
   2926  1.5.2.2  pgoyette 	0x9f, 0x86, 0x14, 0xdc, 0xd2, 0xab, 0xa9, 0x91,
   2927  1.5.2.2  pgoyette 	0x92, 0x5f, 0xed, 0xc4, 0xae, 0x74, 0xff, 0xac,
   2928  1.5.2.2  pgoyette 	0x6e, 0x33, 0x3b, 0x93, 0xeb, 0x4a, 0xff, 0x04,
   2929  1.5.2.2  pgoyette 	0x79, 0xda, 0x9a, 0x41, 0x0e, 0x44, 0x50, 0xe0,
   2930  1.5.2.2  pgoyette 	0xdd, 0x7a, 0xe4, 0xc6, 0xe2, 0x91, 0x09, 0x00,
   2931  1.5.2.2  pgoyette 	0x57, 0x5d, 0xa4, 0x01, 0xfc, 0x07, 0x05, 0x9f,
   2932  1.5.2.2  pgoyette 	0x64, 0x5e, 0x8b, 0x7e, 0x9b, 0xfd, 0xef, 0x33,
   2933  1.5.2.2  pgoyette 	0x94, 0x30, 0x54, 0xff, 0x84, 0x01, 0x14, 0x93,
   2934  1.5.2.2  pgoyette 	0xc2, 0x7b, 0x34, 0x29, 0xea, 0xed, 0xb4, 0xed,
   2935  1.5.2.2  pgoyette 	0x53, 0x76, 0x44, 0x1a, 0x77, 0xed, 0x43, 0x85,
   2936  1.5.2.2  pgoyette 	0x1a, 0xd7, 0x7f, 0x16, 0xf5, 0x41, 0xdf, 0xd2,
   2937  1.5.2.2  pgoyette 	0x69, 0xd5, 0x0d, 0x6a, 0x5f, 0x14, 0xfb, 0x0a,
   2938  1.5.2.2  pgoyette 	0xab, 0x1c, 0xbb, 0x4c, 0x15, 0x50, 0xbe, 0x97,
   2939  1.5.2.2  pgoyette 	0xf7, 0xab, 0x40, 0x66, 0x19, 0x3c, 0x4c, 0xaa,
   2940  1.5.2.2  pgoyette 	0x77, 0x3d, 0xad, 0x38, 0x01, 0x4b, 0xd2, 0x09,
   2941  1.5.2.2  pgoyette 	0x2f, 0xa7, 0x55, 0xc8, 0x24, 0xbb, 0x5e, 0x54,
   2942  1.5.2.2  pgoyette 	0xc4, 0xf3, 0x6f, 0xfd, 0xa9, 0xfc, 0xea, 0x70,
   2943  1.5.2.2  pgoyette 	0xb9, 0xc6, 0xe6, 0x93, 0xe1, 0x48, 0xc1, 0x51,
   2944  1.5.2.2  pgoyette };
   2945  1.5.2.2  pgoyette 
   2946  1.5.2.2  pgoyette /*
   2947  1.5.2.2  pgoyette  * Vector 11 from IEEE 1619/D16, blkno 0xffff.
   2948  1.5.2.2  pgoyette  */
   2949  1.5.2.2  pgoyette static const uint8_t aes_xts_512_vec11_ptxt[SECSIZE] = {
   2950  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   2951  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   2952  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   2953  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   2954  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   2955  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   2956  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   2957  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   2958  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   2959  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   2960  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   2961  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   2962  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   2963  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   2964  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   2965  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   2966  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   2967  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   2968  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   2969  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   2970  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   2971  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   2972  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   2973  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   2974  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   2975  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   2976  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   2977  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   2978  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   2979  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   2980  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   2981  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   2982  1.5.2.2  pgoyette 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
   2983  1.5.2.2  pgoyette 	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
   2984  1.5.2.2  pgoyette 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
   2985  1.5.2.2  pgoyette 	0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
   2986  1.5.2.2  pgoyette 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
   2987  1.5.2.2  pgoyette 	0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
   2988  1.5.2.2  pgoyette 	0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
   2989  1.5.2.2  pgoyette 	0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
   2990  1.5.2.2  pgoyette 	0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
   2991  1.5.2.2  pgoyette 	0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
   2992  1.5.2.2  pgoyette 	0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
   2993  1.5.2.2  pgoyette 	0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
   2994  1.5.2.2  pgoyette 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
   2995  1.5.2.2  pgoyette 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
   2996  1.5.2.2  pgoyette 	0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
   2997  1.5.2.2  pgoyette 	0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
   2998  1.5.2.2  pgoyette 	0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
   2999  1.5.2.2  pgoyette 	0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
   3000  1.5.2.2  pgoyette 	0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
   3001  1.5.2.2  pgoyette 	0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
   3002  1.5.2.2  pgoyette 	0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
   3003  1.5.2.2  pgoyette 	0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
   3004  1.5.2.2  pgoyette 	0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
   3005  1.5.2.2  pgoyette 	0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
   3006  1.5.2.2  pgoyette 	0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
   3007  1.5.2.2  pgoyette 	0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
   3008  1.5.2.2  pgoyette 	0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
   3009  1.5.2.2  pgoyette 	0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
   3010  1.5.2.2  pgoyette 	0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
   3011  1.5.2.2  pgoyette 	0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
   3012  1.5.2.2  pgoyette 	0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
   3013  1.5.2.2  pgoyette 	0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff,
   3014  1.5.2.2  pgoyette };
   3015  1.5.2.2  pgoyette 
   3016  1.5.2.2  pgoyette static const uint8_t aes_xts_512_vec11_ctxt[SECSIZE] = {
   3017  1.5.2.2  pgoyette 	0x77, 0xa3, 0x12, 0x51, 0x61, 0x8a, 0x15, 0xe6,
   3018  1.5.2.2  pgoyette 	0xb9, 0x2d, 0x1d, 0x66, 0xdf, 0xfe, 0x7b, 0x50,
   3019  1.5.2.2  pgoyette 	0xb5, 0x0b, 0xad, 0x55, 0x23, 0x05, 0xba, 0x02,
   3020  1.5.2.2  pgoyette 	0x17, 0xa6, 0x10, 0x68, 0x8e, 0xff, 0x7e, 0x11,
   3021  1.5.2.2  pgoyette 	0xe1, 0xd0, 0x22, 0x54, 0x38, 0xe0, 0x93, 0x24,
   3022  1.5.2.2  pgoyette 	0x2d, 0x6d, 0xb2, 0x74, 0xfd, 0xe8, 0x01, 0xd4,
   3023  1.5.2.2  pgoyette 	0xca, 0xe0, 0x6f, 0x20, 0x92, 0xc7, 0x28, 0xb2,
   3024  1.5.2.2  pgoyette 	0x47, 0x85, 0x59, 0xdf, 0x58, 0xe8, 0x37, 0xc2,
   3025  1.5.2.2  pgoyette 	0x46, 0x9e, 0xe4, 0xa4, 0xfa, 0x79, 0x4e, 0x4b,
   3026  1.5.2.2  pgoyette 	0xbc, 0x7f, 0x39, 0xbc, 0x02, 0x6e, 0x3c, 0xb7,
   3027  1.5.2.2  pgoyette 	0x2c, 0x33, 0xb0, 0x88, 0x8f, 0x25, 0xb4, 0xac,
   3028  1.5.2.2  pgoyette 	0xf5, 0x6a, 0x2a, 0x98, 0x04, 0xf1, 0xce, 0x6d,
   3029  1.5.2.2  pgoyette 	0x3d, 0x6e, 0x1d, 0xc6, 0xca, 0x18, 0x1d, 0x4b,
   3030  1.5.2.2  pgoyette 	0x54, 0x61, 0x79, 0xd5, 0x55, 0x44, 0xaa, 0x77,
   3031  1.5.2.2  pgoyette 	0x60, 0xc4, 0x0d, 0x06, 0x74, 0x15, 0x39, 0xc7,
   3032  1.5.2.2  pgoyette 	0xe3, 0xcd, 0x9d, 0x2f, 0x66, 0x50, 0xb2, 0x01,
   3033  1.5.2.2  pgoyette 	0x3f, 0xd0, 0xee, 0xb8, 0xc2, 0xb8, 0xe3, 0xd8,
   3034  1.5.2.2  pgoyette 	0xd2, 0x40, 0xcc, 0xae, 0x2d, 0x4c, 0x98, 0x32,
   3035  1.5.2.2  pgoyette 	0x0a, 0x74, 0x42, 0xe1, 0xc8, 0xd7, 0x5a, 0x42,
   3036  1.5.2.2  pgoyette 	0xd6, 0xe6, 0xcf, 0xa4, 0xc2, 0xec, 0xa1, 0x79,
   3037  1.5.2.2  pgoyette 	0x8d, 0x15, 0x8c, 0x7a, 0xec, 0xdf, 0x82, 0x49,
   3038  1.5.2.2  pgoyette 	0x0f, 0x24, 0xbb, 0x9b, 0x38, 0xe1, 0x08, 0xbc,
   3039  1.5.2.2  pgoyette 	0xda, 0x12, 0xc3, 0xfa, 0xf9, 0xa2, 0x11, 0x41,
   3040  1.5.2.2  pgoyette 	0xc3, 0x61, 0x3b, 0x58, 0x36, 0x7f, 0x92, 0x2a,
   3041  1.5.2.2  pgoyette 	0xaa, 0x26, 0xcd, 0x22, 0xf2, 0x3d, 0x70, 0x8d,
   3042  1.5.2.2  pgoyette 	0xae, 0x69, 0x9a, 0xd7, 0xcb, 0x40, 0xa8, 0xad,
   3043  1.5.2.2  pgoyette 	0x0b, 0x6e, 0x27, 0x84, 0x97, 0x3d, 0xcb, 0x60,
   3044  1.5.2.2  pgoyette 	0x56, 0x84, 0xc0, 0x8b, 0x8d, 0x69, 0x98, 0xc6,
   3045  1.5.2.2  pgoyette 	0x9a, 0xac, 0x04, 0x99, 0x21, 0x87, 0x1e, 0xbb,
   3046  1.5.2.2  pgoyette 	0x65, 0x30, 0x1a, 0x46, 0x19, 0xca, 0x80, 0xec,
   3047  1.5.2.2  pgoyette 	0xb4, 0x85, 0xa3, 0x1d, 0x74, 0x42, 0x23, 0xce,
   3048  1.5.2.2  pgoyette 	0x8d, 0xdc, 0x23, 0x94, 0x82, 0x8d, 0x6a, 0x80,
   3049  1.5.2.2  pgoyette 	0x47, 0x0c, 0x09, 0x2f, 0x5b, 0xa4, 0x13, 0xc3,
   3050  1.5.2.2  pgoyette 	0x37, 0x8f, 0xa6, 0x05, 0x42, 0x55, 0xc6, 0xf9,
   3051  1.5.2.2  pgoyette 	0xdf, 0x44, 0x95, 0x86, 0x2b, 0xbb, 0x32, 0x87,
   3052  1.5.2.2  pgoyette 	0x68, 0x1f, 0x93, 0x1b, 0x68, 0x7c, 0x88, 0x8a,
   3053  1.5.2.2  pgoyette 	0xbf, 0x84, 0x4d, 0xfc, 0x8f, 0xc2, 0x83, 0x31,
   3054  1.5.2.2  pgoyette 	0xe5, 0x79, 0x92, 0x8c, 0xd1, 0x2b, 0xd2, 0x39,
   3055  1.5.2.2  pgoyette 	0x0a, 0xe1, 0x23, 0xcf, 0x03, 0x81, 0x8d, 0x14,
   3056  1.5.2.2  pgoyette 	0xde, 0xdd, 0xe5, 0xc0, 0xc2, 0x4c, 0x8a, 0xb0,
   3057  1.5.2.2  pgoyette 	0x18, 0xbf, 0xca, 0x75, 0xca, 0x09, 0x6f, 0x2d,
   3058  1.5.2.2  pgoyette 	0x53, 0x1f, 0x3d, 0x16, 0x19, 0xe7, 0x85, 0xf1,
   3059  1.5.2.2  pgoyette 	0xad, 0xa4, 0x37, 0xca, 0xb9, 0x2e, 0x98, 0x05,
   3060  1.5.2.2  pgoyette 	0x58, 0xb3, 0xdc, 0xe1, 0x47, 0x4a, 0xfb, 0x75,
   3061  1.5.2.2  pgoyette 	0xbf, 0xed, 0xbf, 0x8f, 0xf5, 0x4c, 0xb2, 0x61,
   3062  1.5.2.2  pgoyette 	0x8e, 0x02, 0x44, 0xc9, 0xac, 0x0d, 0x3c, 0x66,
   3063  1.5.2.2  pgoyette 	0xfb, 0x51, 0x59, 0x8c, 0xd2, 0xdb, 0x11, 0xf9,
   3064  1.5.2.2  pgoyette 	0xbe, 0x39, 0x79, 0x1a, 0xbe, 0x44, 0x7c, 0x63,
   3065  1.5.2.2  pgoyette 	0x09, 0x4f, 0x7c, 0x45, 0x3b, 0x7f, 0xf8, 0x7c,
   3066  1.5.2.2  pgoyette 	0xb5, 0xbb, 0x36, 0xb7, 0xc7, 0x9e, 0xfb, 0x08,
   3067  1.5.2.2  pgoyette 	0x72, 0xd1, 0x70, 0x58, 0xb8, 0x3b, 0x15, 0xab,
   3068  1.5.2.2  pgoyette 	0x08, 0x66, 0xad, 0x8a, 0x58, 0x65, 0x6c, 0x5a,
   3069  1.5.2.2  pgoyette 	0x7e, 0x20, 0xdb, 0xdf, 0x30, 0x8b, 0x24, 0x61,
   3070  1.5.2.2  pgoyette 	0xd9, 0x7c, 0x0e, 0xc0, 0x02, 0x4a, 0x27, 0x15,
   3071  1.5.2.2  pgoyette 	0x05, 0x52, 0x49, 0xcf, 0x3b, 0x47, 0x8d, 0xdd,
   3072  1.5.2.2  pgoyette 	0x47, 0x40, 0xde, 0x65, 0x4f, 0x75, 0xca, 0x68,
   3073  1.5.2.2  pgoyette 	0x6e, 0x0d, 0x73, 0x45, 0xc6, 0x9e, 0xd5, 0x0c,
   3074  1.5.2.2  pgoyette 	0xdc, 0x2a, 0x8b, 0x33, 0x2b, 0x1f, 0x88, 0x24,
   3075  1.5.2.2  pgoyette 	0x10, 0x8a, 0xc9, 0x37, 0xeb, 0x05, 0x05, 0x85,
   3076  1.5.2.2  pgoyette 	0x60, 0x8e, 0xe7, 0x34, 0x09, 0x7f, 0xc0, 0x90,
   3077  1.5.2.2  pgoyette 	0x54, 0xfb, 0xff, 0x89, 0xee, 0xae, 0xea, 0x79,
   3078  1.5.2.2  pgoyette 	0x1f, 0x4a, 0x7a, 0xb1, 0xf9, 0x86, 0x82, 0x94,
   3079  1.5.2.2  pgoyette 	0xa4, 0xf9, 0xe2, 0x7b, 0x42, 0xaf, 0x81, 0x00,
   3080  1.5.2.2  pgoyette 	0xcb, 0x9d, 0x59, 0xce, 0xf9, 0x64, 0x58, 0x03,
   3081  1.5.2.2  pgoyette };
   3082  1.5.2.2  pgoyette 
   3083  1.5.2.2  pgoyette const struct testvec aes_xts_512_vectors[] = {
   3084  1.5.2.2  pgoyette 	{
   3085  1.5.2.2  pgoyette 		.blkno = 0xff,
   3086  1.5.2.2  pgoyette 		.ptxt = aes_xts_512_vec10_ptxt,
   3087  1.5.2.2  pgoyette 		.ctxt = aes_xts_512_vec10_ctxt,
   3088  1.5.2.2  pgoyette 	},
   3089  1.5.2.2  pgoyette 	{
   3090  1.5.2.2  pgoyette 		.blkno = 0xffff,
   3091  1.5.2.2  pgoyette 		.ptxt = aes_xts_512_vec11_ptxt,
   3092  1.5.2.2  pgoyette 		.ctxt = aes_xts_512_vec11_ctxt,
   3093  1.5.2.2  pgoyette 	},
   3094  1.5.2.2  pgoyette };
   3095  1.5.2.2  pgoyette 
   3096  1.5.2.2  pgoyette static int
   3097  1.5.2.2  pgoyette open_disk(const char *devpath, const char *imgpath, size_t size)
   3098  1.5.2.2  pgoyette {
   3099  1.5.2.2  pgoyette 	int fd;
   3100  1.5.2.2  pgoyette 
   3101  1.5.2.2  pgoyette 	fd = open(imgpath, O_CREAT | O_RDWR | O_TRUNC, 0600);
   3102  1.5.2.2  pgoyette 	if (fd < 0)
   3103  1.5.2.2  pgoyette 		return -1;
   3104  1.5.2.2  pgoyette 
   3105  1.5.2.2  pgoyette 	if (ftruncate(fd, size) < 0)
   3106  1.5.2.2  pgoyette 		goto fail;
   3107  1.5.2.2  pgoyette 
   3108  1.5.2.2  pgoyette 	if (rump_pub_etfs_register_withsize(devpath,
   3109  1.5.2.2  pgoyette 	    imgpath, RUMP_ETFS_BLK, 0, size) < 0) {
   3110  1.5.2.2  pgoyette 		goto fail;
   3111  1.5.2.2  pgoyette 	}
   3112  1.5.2.2  pgoyette 
   3113  1.5.2.2  pgoyette 	unlink(imgpath);
   3114  1.5.2.2  pgoyette 	return fd;
   3115  1.5.2.2  pgoyette fail:
   3116  1.5.2.2  pgoyette 	close(fd);
   3117  1.5.2.2  pgoyette 	unlink(imgpath);
   3118  1.5.2.2  pgoyette 	return -1;
   3119  1.5.2.2  pgoyette }
   3120  1.5.2.2  pgoyette 
   3121  1.5.2.2  pgoyette static int
   3122  1.5.2.2  pgoyette open_cgd(int devno)
   3123  1.5.2.2  pgoyette {
   3124  1.5.2.2  pgoyette 	char devpath[32];
   3125  1.5.2.2  pgoyette 
   3126  1.5.2.2  pgoyette 	sprintf(devpath, "/dev/rcgd%d%c", devno, getrawpartition() + 'a');
   3127  1.5.2.2  pgoyette 
   3128  1.5.2.2  pgoyette 	return rump_sys_open(devpath, O_RDWR, 0);
   3129  1.5.2.2  pgoyette }
   3130  1.5.2.2  pgoyette 
   3131  1.5.2.2  pgoyette static int
   3132  1.5.2.2  pgoyette configure_cgd(int fd, const char *dkpath, const char *alg,
   3133  1.5.2.2  pgoyette     const char *ivmethod, const char *key, size_t keylen)
   3134  1.5.2.2  pgoyette {
   3135  1.5.2.2  pgoyette 	struct cgd_ioctl ci;
   3136  1.5.2.2  pgoyette 
   3137  1.5.2.2  pgoyette 	memset(&ci, 0, sizeof(ci));
   3138  1.5.2.2  pgoyette 	ci.ci_disk = dkpath;
   3139  1.5.2.2  pgoyette 	ci.ci_alg = alg;
   3140  1.5.2.2  pgoyette 	ci.ci_ivmethod = ivmethod;
   3141  1.5.2.2  pgoyette 	ci.ci_keylen = 8 * keylen - 8; /* Exclude the NUL terminator. */
   3142  1.5.2.2  pgoyette 	ci.ci_key = key;
   3143  1.5.2.2  pgoyette 	ci.ci_blocksize = 128;
   3144  1.5.2.2  pgoyette 
   3145  1.5.2.2  pgoyette 	return rump_sys_ioctl(fd, CGDIOCSET, &ci);
   3146  1.5.2.2  pgoyette }
   3147  1.5.2.2  pgoyette 
   3148  1.5.2.2  pgoyette static int
   3149  1.5.2.2  pgoyette unconfigure_cgd(int fd)
   3150  1.5.2.2  pgoyette {
   3151  1.5.2.2  pgoyette 	struct cgd_ioctl ci;
   3152  1.5.2.2  pgoyette 
   3153  1.5.2.2  pgoyette 	return rump_sys_ioctl(fd, CGDIOCCLR, &ci);
   3154  1.5.2.2  pgoyette }
   3155  1.5.2.2  pgoyette 
   3156  1.5.2.2  pgoyette static int
   3157  1.5.2.2  pgoyette write_testvec(int cgdfd, const struct testvec *tv)
   3158  1.5.2.2  pgoyette {
   3159  1.5.2.2  pgoyette 	ssize_t written;
   3160  1.5.2.2  pgoyette 
   3161  1.5.2.2  pgoyette 	if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
   3162  1.5.2.2  pgoyette 		return -1;
   3163  1.5.2.2  pgoyette 
   3164  1.5.2.2  pgoyette 	written = rump_sys_write(cgdfd, tv->ptxt, SECSIZE);
   3165  1.5.2.2  pgoyette 	if (written < 0)
   3166  1.5.2.2  pgoyette 		return -1;
   3167  1.5.2.2  pgoyette 	if (written != SECSIZE) {
   3168  1.5.2.2  pgoyette 		errno = EDOM; /* Something distinct. */
   3169  1.5.2.2  pgoyette 		return -1;
   3170  1.5.2.2  pgoyette 	}
   3171  1.5.2.2  pgoyette 
   3172  1.5.2.2  pgoyette 	return 0;
   3173  1.5.2.2  pgoyette }
   3174  1.5.2.2  pgoyette 
   3175  1.5.2.2  pgoyette static int
   3176  1.5.2.2  pgoyette read_testvec(int cgdfd, const struct testvec *tv)
   3177  1.5.2.2  pgoyette {
   3178  1.5.2.2  pgoyette 	char *buf;
   3179  1.5.2.2  pgoyette 	int res = -1;
   3180  1.5.2.2  pgoyette 
   3181  1.5.2.2  pgoyette 	buf = malloc(SECSIZE);
   3182  1.5.2.2  pgoyette 	if (buf == NULL)
   3183  1.5.2.2  pgoyette 		return -1;
   3184  1.5.2.2  pgoyette 
   3185  1.5.2.2  pgoyette 	if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
   3186  1.5.2.2  pgoyette 		goto fail;
   3187  1.5.2.2  pgoyette 
   3188  1.5.2.2  pgoyette 	if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
   3189  1.5.2.2  pgoyette 		goto fail;
   3190  1.5.2.2  pgoyette 
   3191  1.5.2.2  pgoyette 	res = memcmp(buf, tv->ptxt, SECSIZE);
   3192  1.5.2.2  pgoyette fail:
   3193  1.5.2.2  pgoyette 	free(buf);
   3194  1.5.2.2  pgoyette 	return res;
   3195  1.5.2.2  pgoyette }
   3196  1.5.2.2  pgoyette 
   3197  1.5.2.2  pgoyette static int
   3198  1.5.2.2  pgoyette check_testvec(int dkfd, const struct testvec *tv)
   3199  1.5.2.2  pgoyette {
   3200  1.5.2.2  pgoyette 	char *buf;
   3201  1.5.2.2  pgoyette 	int res = -1;
   3202  1.5.2.2  pgoyette 
   3203  1.5.2.2  pgoyette 	buf = malloc(SECSIZE);
   3204  1.5.2.2  pgoyette 	if (buf == NULL)
   3205  1.5.2.2  pgoyette 		return -1;
   3206  1.5.2.2  pgoyette 
   3207  1.5.2.2  pgoyette 	if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
   3208  1.5.2.2  pgoyette 		goto fail;
   3209  1.5.2.2  pgoyette 
   3210  1.5.2.2  pgoyette 	if (read(dkfd, buf, SECSIZE) != SECSIZE)
   3211  1.5.2.2  pgoyette 		goto fail;
   3212  1.5.2.2  pgoyette 
   3213  1.5.2.2  pgoyette 	res = memcmp(buf, tv->ctxt, SECSIZE);
   3214  1.5.2.2  pgoyette fail:
   3215  1.5.2.2  pgoyette 	free(buf);
   3216  1.5.2.2  pgoyette 	return res;
   3217  1.5.2.2  pgoyette }
   3218  1.5.2.2  pgoyette 
   3219  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_128_encblkno1);
   3220  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_128_encblkno1, tc)
   3221  1.5.2.2  pgoyette {
   3222  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3223  1.5.2.2  pgoyette 	    "Test aes-cbc with 128 bits key, ivmethod encblkno1");
   3224  1.5.2.2  pgoyette }
   3225  1.5.2.2  pgoyette 
   3226  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_128_encblkno1, tc)
   3227  1.5.2.2  pgoyette {
   3228  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-128-encblkno1.img";
   3229  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3230  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3231  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3232  1.5.2.2  pgoyette 
   3233  1.5.2.2  pgoyette 	rump_init();
   3234  1.5.2.2  pgoyette 
   3235  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3236  1.5.2.2  pgoyette 
   3237  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3238  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3239  1.5.2.2  pgoyette 	    aes_cbc_128_key, sizeof(aes_cbc_128_key)));
   3240  1.5.2.2  pgoyette 
   3241  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_1_vectors[0]), -1);
   3242  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_1_vectors[1]), -1);
   3243  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_1_vectors[2]), -1);
   3244  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_1_vectors[3]), -1);
   3245  1.5.2.2  pgoyette 
   3246  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3247  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3248  1.5.2.2  pgoyette 	    aes_cbc_128_key, sizeof(aes_cbc_128_key)));
   3249  1.5.2.2  pgoyette 
   3250  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_1_vectors[0]), 0);
   3251  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_1_vectors[1]), 0);
   3252  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_1_vectors[2]), 0);
   3253  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_1_vectors[3]), 0);
   3254  1.5.2.2  pgoyette 
   3255  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3256  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3257  1.5.2.2  pgoyette 
   3258  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_1_vectors[0]), 0);
   3259  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_1_vectors[1]), 0);
   3260  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_1_vectors[2]), 0);
   3261  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_1_vectors[3]), 0);
   3262  1.5.2.2  pgoyette 
   3263  1.5.2.2  pgoyette 	RL(close(dkfd));
   3264  1.5.2.2  pgoyette }
   3265  1.5.2.2  pgoyette 
   3266  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_128_encblkno8);
   3267  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_128_encblkno8, tc)
   3268  1.5.2.2  pgoyette {
   3269  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3270  1.5.2.2  pgoyette 	    "Test aes-cbc with 128 bits key, ivmethod encblkno8");
   3271  1.5.2.2  pgoyette }
   3272  1.5.2.2  pgoyette 
   3273  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_128_encblkno8, tc)
   3274  1.5.2.2  pgoyette {
   3275  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-128-encblkno8.img";
   3276  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3277  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3278  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3279  1.5.2.2  pgoyette 
   3280  1.5.2.2  pgoyette 	rump_init();
   3281  1.5.2.2  pgoyette 
   3282  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3283  1.5.2.2  pgoyette 
   3284  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3285  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3286  1.5.2.2  pgoyette 	    aes_cbc_128_key, sizeof(aes_cbc_128_key)));
   3287  1.5.2.2  pgoyette 
   3288  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_8_vectors[0]), -1);
   3289  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_8_vectors[1]), -1);
   3290  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_8_vectors[2]), -1);
   3291  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_128_8_vectors[3]), -1);
   3292  1.5.2.2  pgoyette 
   3293  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3294  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3295  1.5.2.2  pgoyette 	    aes_cbc_128_key, sizeof(aes_cbc_128_key)));
   3296  1.5.2.2  pgoyette 
   3297  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_8_vectors[0]), 0);
   3298  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_8_vectors[1]), 0);
   3299  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_8_vectors[2]), 0);
   3300  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_128_8_vectors[3]), 0);
   3301  1.5.2.2  pgoyette 
   3302  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3303  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3304  1.5.2.2  pgoyette 
   3305  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_8_vectors[0]), 0);
   3306  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_8_vectors[1]), 0);
   3307  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_8_vectors[2]), 0);
   3308  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_128_8_vectors[3]), 0);
   3309  1.5.2.2  pgoyette 
   3310  1.5.2.2  pgoyette 	RL(close(dkfd));
   3311  1.5.2.2  pgoyette }
   3312  1.5.2.2  pgoyette 
   3313  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_192_encblkno1);
   3314  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_192_encblkno1, tc)
   3315  1.5.2.2  pgoyette {
   3316  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3317  1.5.2.2  pgoyette 	    "Test aes-cbc with 192 bits key, ivmethod encblkno1");
   3318  1.5.2.2  pgoyette }
   3319  1.5.2.2  pgoyette 
   3320  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_192_encblkno1, tc)
   3321  1.5.2.2  pgoyette {
   3322  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-192-encblkno1.img";
   3323  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3324  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3325  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3326  1.5.2.2  pgoyette 
   3327  1.5.2.2  pgoyette 	rump_init();
   3328  1.5.2.2  pgoyette 
   3329  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3330  1.5.2.2  pgoyette 
   3331  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3332  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3333  1.5.2.2  pgoyette 	    aes_cbc_192_key, sizeof(aes_cbc_192_key)));
   3334  1.5.2.2  pgoyette 
   3335  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_1_vectors[0]), -1);
   3336  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_1_vectors[1]), -1);
   3337  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_1_vectors[2]), -1);
   3338  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_1_vectors[3]), -1);
   3339  1.5.2.2  pgoyette 
   3340  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3341  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3342  1.5.2.2  pgoyette 	    aes_cbc_192_key, sizeof(aes_cbc_192_key)));
   3343  1.5.2.2  pgoyette 
   3344  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_1_vectors[0]), 0);
   3345  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_1_vectors[1]), 0);
   3346  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_1_vectors[2]), 0);
   3347  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_1_vectors[3]), 0);
   3348  1.5.2.2  pgoyette 
   3349  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3350  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3351  1.5.2.2  pgoyette 
   3352  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_1_vectors[0]), 0);
   3353  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_1_vectors[1]), 0);
   3354  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_1_vectors[2]), 0);
   3355  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_1_vectors[3]), 0);
   3356  1.5.2.2  pgoyette 
   3357  1.5.2.2  pgoyette 	RL(close(dkfd));
   3358  1.5.2.2  pgoyette }
   3359  1.5.2.2  pgoyette 
   3360  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_192_encblkno8);
   3361  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_192_encblkno8, tc)
   3362  1.5.2.2  pgoyette {
   3363  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3364  1.5.2.2  pgoyette 	    "Test aes-cbc with 192 bits key, ivmethod encblkno8");
   3365  1.5.2.2  pgoyette }
   3366  1.5.2.2  pgoyette 
   3367  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_192_encblkno8, tc)
   3368  1.5.2.2  pgoyette {
   3369  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-192-encblkno8.img";
   3370  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3371  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3372  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3373  1.5.2.2  pgoyette 
   3374  1.5.2.2  pgoyette 	rump_init();
   3375  1.5.2.2  pgoyette 
   3376  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3377  1.5.2.2  pgoyette 
   3378  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3379  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3380  1.5.2.2  pgoyette 	    aes_cbc_192_key, sizeof(aes_cbc_192_key)));
   3381  1.5.2.2  pgoyette 
   3382  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_8_vectors[0]), -1);
   3383  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_8_vectors[1]), -1);
   3384  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_8_vectors[2]), -1);
   3385  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_192_8_vectors[3]), -1);
   3386  1.5.2.2  pgoyette 
   3387  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3388  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3389  1.5.2.2  pgoyette 	    aes_cbc_192_key, sizeof(aes_cbc_192_key)));
   3390  1.5.2.2  pgoyette 
   3391  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_8_vectors[0]), 0);
   3392  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_8_vectors[1]), 0);
   3393  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_8_vectors[2]), 0);
   3394  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_192_8_vectors[3]), 0);
   3395  1.5.2.2  pgoyette 
   3396  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3397  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3398  1.5.2.2  pgoyette 
   3399  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_8_vectors[0]), 0);
   3400  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_8_vectors[1]), 0);
   3401  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_8_vectors[2]), 0);
   3402  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_192_8_vectors[3]), 0);
   3403  1.5.2.2  pgoyette 
   3404  1.5.2.2  pgoyette 	RL(close(dkfd));
   3405  1.5.2.2  pgoyette }
   3406  1.5.2.2  pgoyette 
   3407  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_256_encblkno1);
   3408  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_256_encblkno1, tc)
   3409  1.5.2.2  pgoyette {
   3410  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3411  1.5.2.2  pgoyette 	    "Test aes-cbc with 256 bits key, ivmethod encblkno1");
   3412  1.5.2.2  pgoyette }
   3413  1.5.2.2  pgoyette 
   3414  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_256_encblkno1, tc)
   3415  1.5.2.2  pgoyette {
   3416  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-256-encblkno1.img";
   3417  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3418  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3419  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3420  1.5.2.2  pgoyette 
   3421  1.5.2.2  pgoyette 	rump_init();
   3422  1.5.2.2  pgoyette 
   3423  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3424  1.5.2.2  pgoyette 
   3425  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3426  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3427  1.5.2.2  pgoyette 	    aes_cbc_256_key, sizeof(aes_cbc_256_key)));
   3428  1.5.2.2  pgoyette 
   3429  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_1_vectors[0]), -1);
   3430  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_1_vectors[1]), -1);
   3431  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_1_vectors[2]), -1);
   3432  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_1_vectors[3]), -1);
   3433  1.5.2.2  pgoyette 
   3434  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3435  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
   3436  1.5.2.2  pgoyette 	    aes_cbc_256_key, sizeof(aes_cbc_256_key)));
   3437  1.5.2.2  pgoyette 
   3438  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_1_vectors[0]), 0);
   3439  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_1_vectors[1]), 0);
   3440  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_1_vectors[2]), 0);
   3441  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_1_vectors[3]), 0);
   3442  1.5.2.2  pgoyette 
   3443  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3444  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3445  1.5.2.2  pgoyette 
   3446  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_1_vectors[0]), 0);
   3447  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_1_vectors[1]), 0);
   3448  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_1_vectors[2]), 0);
   3449  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_1_vectors[3]), 0);
   3450  1.5.2.2  pgoyette 
   3451  1.5.2.2  pgoyette 	RL(close(dkfd));
   3452  1.5.2.2  pgoyette }
   3453  1.5.2.2  pgoyette 
   3454  1.5.2.2  pgoyette ATF_TC(cgd_aes_cbc_256_encblkno8);
   3455  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_cbc_256_encblkno8, tc)
   3456  1.5.2.2  pgoyette {
   3457  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr",
   3458  1.5.2.2  pgoyette 	    "Test aes-cbc with 256 bits key, ivmethod encblkno8");
   3459  1.5.2.2  pgoyette }
   3460  1.5.2.2  pgoyette 
   3461  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_cbc_256_encblkno8, tc)
   3462  1.5.2.2  pgoyette {
   3463  1.5.2.2  pgoyette 	const char imgpath[] = "aes-cbc-256-encblkno8.img";
   3464  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3465  1.5.2.2  pgoyette 	const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
   3466  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3467  1.5.2.2  pgoyette 
   3468  1.5.2.2  pgoyette 	rump_init();
   3469  1.5.2.2  pgoyette 
   3470  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3471  1.5.2.2  pgoyette 
   3472  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3473  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3474  1.5.2.2  pgoyette 	    aes_cbc_256_key, sizeof(aes_cbc_256_key)));
   3475  1.5.2.2  pgoyette 
   3476  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_8_vectors[0]), -1);
   3477  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_8_vectors[1]), -1);
   3478  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_8_vectors[2]), -1);
   3479  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_cbc_256_8_vectors[3]), -1);
   3480  1.5.2.2  pgoyette 
   3481  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3482  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
   3483  1.5.2.2  pgoyette 	    aes_cbc_256_key, sizeof(aes_cbc_256_key)));
   3484  1.5.2.2  pgoyette 
   3485  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_8_vectors[0]), 0);
   3486  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_8_vectors[1]), 0);
   3487  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_8_vectors[2]), 0);
   3488  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_cbc_256_8_vectors[3]), 0);
   3489  1.5.2.2  pgoyette 
   3490  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3491  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3492  1.5.2.2  pgoyette 
   3493  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_8_vectors[0]), 0);
   3494  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_8_vectors[1]), 0);
   3495  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_8_vectors[2]), 0);
   3496  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_cbc_256_8_vectors[3]), 0);
   3497  1.5.2.2  pgoyette 
   3498  1.5.2.2  pgoyette 	RL(close(dkfd));
   3499  1.5.2.2  pgoyette }
   3500  1.5.2.2  pgoyette 
   3501  1.5.2.2  pgoyette ATF_TC(cgd_aes_xts_256);
   3502  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_xts_256, tc)
   3503  1.5.2.2  pgoyette {
   3504  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr", "Test aes-xts with 256 bits key");
   3505  1.5.2.2  pgoyette }
   3506  1.5.2.2  pgoyette 
   3507  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_xts_256, tc)
   3508  1.5.2.2  pgoyette {
   3509  1.5.2.2  pgoyette 	const char imgpath[] = "aes-xts-256.img";
   3510  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3511  1.5.2.2  pgoyette 	const size_t dksize = 256 * SECSIZE; /* Last blkno is 0xff. */
   3512  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3513  1.5.2.2  pgoyette 
   3514  1.5.2.2  pgoyette 	rump_init();
   3515  1.5.2.2  pgoyette 
   3516  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3517  1.5.2.2  pgoyette 
   3518  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3519  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
   3520  1.5.2.2  pgoyette 	    aes_xts_256_key, sizeof(aes_xts_256_key)));
   3521  1.5.2.2  pgoyette 
   3522  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[0]), -1);
   3523  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[1]), -1);
   3524  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[2]), -1);
   3525  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[3]), -1);
   3526  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[4]), -1);
   3527  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_256_vectors[5]), -1);
   3528  1.5.2.2  pgoyette 
   3529  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3530  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
   3531  1.5.2.2  pgoyette 	    aes_xts_256_key, sizeof(aes_xts_256_key)));
   3532  1.5.2.2  pgoyette 
   3533  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[0]), 0);
   3534  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[1]), 0);
   3535  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[2]), 0);
   3536  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[3]), 0);
   3537  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[4]), 0);
   3538  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_256_vectors[5]), 0);
   3539  1.5.2.2  pgoyette 
   3540  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3541  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3542  1.5.2.2  pgoyette 
   3543  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[0]), 0);
   3544  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[1]), 0);
   3545  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[2]), 0);
   3546  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[3]), 0);
   3547  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[4]), 0);
   3548  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_256_vectors[5]), 0);
   3549  1.5.2.2  pgoyette 
   3550  1.5.2.2  pgoyette 	RL(close(dkfd));
   3551  1.5.2.2  pgoyette }
   3552  1.5.2.2  pgoyette 
   3553  1.5.2.2  pgoyette ATF_TC(cgd_aes_xts_512);
   3554  1.5.2.2  pgoyette ATF_TC_HEAD(cgd_aes_xts_512, tc)
   3555  1.5.2.2  pgoyette {
   3556  1.5.2.2  pgoyette 	atf_tc_set_md_var(tc, "descr", "Test aes-xts with 512 bits key");
   3557  1.5.2.2  pgoyette }
   3558  1.5.2.2  pgoyette 
   3559  1.5.2.2  pgoyette ATF_TC_BODY(cgd_aes_xts_512, tc)
   3560  1.5.2.2  pgoyette {
   3561  1.5.2.2  pgoyette 	const char imgpath[] = "aes-xts-512.img";
   3562  1.5.2.2  pgoyette 	const char *dkpath = "/dev/dk";
   3563  1.5.2.2  pgoyette 	const size_t dksize = 65536 * SECSIZE; /* Last blkno is 0xffff. */
   3564  1.5.2.2  pgoyette 	int dkfd, cgdfd;
   3565  1.5.2.2  pgoyette 
   3566  1.5.2.2  pgoyette 	rump_init();
   3567  1.5.2.2  pgoyette 
   3568  1.5.2.2  pgoyette 	RL(dkfd = open_disk(dkpath, imgpath, dksize));
   3569  1.5.2.2  pgoyette 
   3570  1.5.2.2  pgoyette 	RL(cgdfd = open_cgd(0));
   3571  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
   3572  1.5.2.2  pgoyette 	    aes_xts_512_key, sizeof(aes_xts_512_key)));
   3573  1.5.2.2  pgoyette 
   3574  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_512_vectors[0]), -1);
   3575  1.5.2.2  pgoyette 	CHECK_LIBC(write_testvec(cgdfd, &aes_xts_512_vectors[1]), -1);
   3576  1.5.2.2  pgoyette 
   3577  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3578  1.5.2.2  pgoyette 	RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
   3579  1.5.2.2  pgoyette 	    aes_xts_512_key, sizeof(aes_xts_512_key)));
   3580  1.5.2.2  pgoyette 
   3581  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_512_vectors[0]), 0);
   3582  1.5.2.2  pgoyette 	ATF_CHECK_EQ(read_testvec(cgdfd, &aes_xts_512_vectors[1]), 0);
   3583  1.5.2.2  pgoyette 
   3584  1.5.2.2  pgoyette 	RL(unconfigure_cgd(cgdfd));
   3585  1.5.2.2  pgoyette 	RL(rump_sys_close(cgdfd));
   3586  1.5.2.2  pgoyette 
   3587  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_512_vectors[0]), 0);
   3588  1.5.2.2  pgoyette 	ATF_CHECK_EQ(check_testvec(dkfd, &aes_xts_512_vectors[1]), 0);
   3589  1.5.2.2  pgoyette 
   3590  1.5.2.2  pgoyette 	RL(close(dkfd));
   3591  1.5.2.2  pgoyette }
   3592  1.5.2.2  pgoyette 
   3593  1.5.2.2  pgoyette ATF_TP_ADD_TCS(tp)
   3594  1.5.2.2  pgoyette {
   3595  1.5.2.2  pgoyette 
   3596  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_128_encblkno1);
   3597  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_128_encblkno8);
   3598  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_192_encblkno1);
   3599  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_192_encblkno8);
   3600  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_256_encblkno1);
   3601  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_cbc_256_encblkno8);
   3602  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_xts_256);
   3603  1.5.2.2  pgoyette 	ATF_TP_ADD_TC(tp, cgd_aes_xts_512);
   3604  1.5.2.2  pgoyette 
   3605  1.5.2.2  pgoyette 	return atf_no_error();
   3606  1.5.2.2  pgoyette }
   3607