Home | History | Annotate | Download | only in cgd

Lines Matching defs:SECSIZE

54 #define SECSIZE 512
92 static const uint8_t aes_cbc_ptxt[SECSIZE] __aligned(4) =
113 static const uint8_t aes_cbc_128_encblkno1_vec0_ctxt[SECSIZE] = {
183 static const uint8_t aes_cbc_128_encblkno1_vec1_ctxt[SECSIZE] = {
253 static const uint8_t aes_cbc_128_encblkno1_vec2_ctxt[SECSIZE] = {
323 static const uint8_t aes_cbc_128_encblkno1_vec3_ctxt[SECSIZE] = {
416 static const uint8_t aes_cbc_128_encblkno8_vec0_ctxt[SECSIZE] = {
486 static const uint8_t aes_cbc_128_encblkno8_vec1_ctxt[SECSIZE] = {
556 static const uint8_t aes_cbc_128_encblkno8_vec2_ctxt[SECSIZE] = {
626 static const uint8_t aes_cbc_128_encblkno8_vec3_ctxt[SECSIZE] = {
719 static const uint8_t aes_cbc_192_encblkno1_vec0_ctxt[SECSIZE] = {
789 static const uint8_t aes_cbc_192_encblkno1_vec1_ctxt[SECSIZE] = {
859 static const uint8_t aes_cbc_192_encblkno1_vec2_ctxt[SECSIZE] = {
929 static const uint8_t aes_cbc_192_encblkno1_vec3_ctxt[SECSIZE] = {
1022 static const uint8_t aes_cbc_192_encblkno8_vec0_ctxt[SECSIZE] = {
1092 static const uint8_t aes_cbc_192_encblkno8_vec1_ctxt[SECSIZE] = {
1162 static const uint8_t aes_cbc_192_encblkno8_vec2_ctxt[SECSIZE] = {
1232 static const uint8_t aes_cbc_192_encblkno8_vec3_ctxt[SECSIZE] = {
1325 static const uint8_t aes_cbc_256_encblkno1_vec0_ctxt[SECSIZE] = {
1395 static const uint8_t aes_cbc_256_encblkno1_vec1_ctxt[SECSIZE] = {
1465 static const uint8_t aes_cbc_256_encblkno1_vec2_ctxt[SECSIZE] = {
1535 static const uint8_t aes_cbc_256_encblkno1_vec3_ctxt[SECSIZE] = {
1628 static const uint8_t aes_cbc_256_encblkno8_vec0_ctxt[SECSIZE] = {
1698 static const uint8_t aes_cbc_256_encblkno8_vec1_ctxt[SECSIZE] = {
1768 static const uint8_t aes_cbc_256_encblkno8_vec2_ctxt[SECSIZE] = {
1838 static const uint8_t aes_cbc_256_encblkno8_vec3_ctxt[SECSIZE] = {
1957 static const uint8_t aes_xts_256_vec4_ptxt[SECSIZE] __aligned(4) = {
2024 static const uint8_t aes_xts_256_vec4_ctxt[SECSIZE] = {
2094 static const uint8_t aes_xts_256_vec5_ptxt[SECSIZE] __aligned(4) = {
2161 static const uint8_t aes_xts_256_vec5_ctxt[SECSIZE] = {
2231 static const uint8_t aes_xts_256_vec6_ptxt[SECSIZE] __aligned(4) = {
2298 static const uint8_t aes_xts_256_vec6_ctxt[SECSIZE] = {
2368 static const uint8_t aes_xts_256_vec7_ptxt[SECSIZE] __aligned(4) = {
2435 static const uint8_t aes_xts_256_vec7_ctxt[SECSIZE] = {
2505 static const uint8_t aes_xts_256_vec8_ptxt[SECSIZE] __aligned(4) = {
2572 static const uint8_t aes_xts_256_vec8_ctxt[SECSIZE] = {
2642 static const uint8_t aes_xts_256_vec9_ptxt[SECSIZE] __aligned(4) = {
2709 static const uint8_t aes_xts_256_vec9_ctxt[SECSIZE] = {
2812 static const uint8_t aes_xts_512_vec10_ptxt[SECSIZE] = {
2879 static const uint8_t aes_xts_512_vec10_ctxt[SECSIZE] = {
2949 static const uint8_t aes_xts_512_vec11_ptxt[SECSIZE] = {
3016 static const uint8_t aes_xts_512_vec11_ctxt[SECSIZE] = {
3161 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
3164 written = rump_sys_write(cgdfd, tv->ptxt, SECSIZE);
3167 if (written != SECSIZE) {
3181 buf = malloc(SECSIZE);
3185 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
3188 if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
3191 res = memcmp(buf, tv->ptxt, SECSIZE);
3203 buf = malloc(SECSIZE);
3207 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
3210 if (read(dkfd, buf, SECSIZE) != SECSIZE)
3213 res = memcmp(buf, tv->ctxt, SECSIZE);
3230 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3277 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3324 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3371 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3418 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3465 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
3511 const size_t dksize = 256 * SECSIZE; /* Last blkno is 0xff. */
3563 const size_t dksize = 65536 * SECSIZE; /* Last blkno is 0xffff. */