Symbol: SECSIZE
sys/crypto/adiantum/adiantum.c
2011
for (i = 0; i < sizeof buf; i += SECSIZE) {
sys/crypto/adiantum/adiantum.c
2012
adiantum_enc(buf + i, buf + i, SECSIZE, blkno, 16, &C);
sys/crypto/adiantum/adiantum.c
2016
if (le64dec(blkno) == 1024*1024*1024/SECSIZE)
tests/dev/cgd/t_cgd_3des.c
162
static const uint8_t c3des_cbc_192_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
232
static const uint8_t c3des_cbc_192_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
302
static const uint8_t c3des_cbc_192_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
395
static const uint8_t c3des_cbc_192_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
465
static const uint8_t c3des_cbc_192_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
535
static const uint8_t c3des_cbc_192_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
605
static const uint8_t c3des_cbc_192_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_3des.c
71
static const uint8_t c3des_cbc_ptxt[SECSIZE] __aligned(4) =
tests/dev/cgd/t_cgd_3des.c
759
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_3des.c
762
if (rump_sys_write(cgdfd, tv->ptxt, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_3des.c
774
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_3des.c
778
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_3des.c
781
if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_3des.c
784
res = memcmp(buf, tv->ptxt, SECSIZE);
tests/dev/cgd/t_cgd_3des.c
796
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_3des.c
800
if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_3des.c
803
if (read(dkfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_3des.c
806
res = memcmp(buf, tv->ctxt, SECSIZE);
tests/dev/cgd/t_cgd_3des.c
823
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_3des.c
870
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_3des.c
92
static const uint8_t c3des_cbc_192_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1022
static const uint8_t aes_cbc_192_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1092
static const uint8_t aes_cbc_192_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
113
static const uint8_t aes_cbc_128_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1162
static const uint8_t aes_cbc_192_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1232
static const uint8_t aes_cbc_192_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1325
static const uint8_t aes_cbc_256_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1395
static const uint8_t aes_cbc_256_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1465
static const uint8_t aes_cbc_256_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1535
static const uint8_t aes_cbc_256_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1628
static const uint8_t aes_cbc_256_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1698
static const uint8_t aes_cbc_256_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1768
static const uint8_t aes_cbc_256_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
183
static const uint8_t aes_cbc_128_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1838
static const uint8_t aes_cbc_256_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
1957
static const uint8_t aes_xts_256_vec4_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
2024
static const uint8_t aes_xts_256_vec4_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2094
static const uint8_t aes_xts_256_vec5_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
2161
static const uint8_t aes_xts_256_vec5_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2231
static const uint8_t aes_xts_256_vec6_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
2298
static const uint8_t aes_xts_256_vec6_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2368
static const uint8_t aes_xts_256_vec7_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
2435
static const uint8_t aes_xts_256_vec7_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2505
static const uint8_t aes_xts_256_vec8_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
253
static const uint8_t aes_cbc_128_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2572
static const uint8_t aes_xts_256_vec8_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2642
static const uint8_t aes_xts_256_vec9_ptxt[SECSIZE] __aligned(4) = {
tests/dev/cgd/t_cgd_aes.c
2709
static const uint8_t aes_xts_256_vec9_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2812
static const uint8_t aes_xts_512_vec10_ptxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2879
static const uint8_t aes_xts_512_vec10_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
2949
static const uint8_t aes_xts_512_vec11_ptxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
3016
static const uint8_t aes_xts_512_vec11_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
3161
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_aes.c
3164
written = rump_sys_write(cgdfd, tv->ptxt, SECSIZE);
tests/dev/cgd/t_cgd_aes.c
3167
if (written != SECSIZE) {
tests/dev/cgd/t_cgd_aes.c
3181
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_aes.c
3185
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_aes.c
3188
if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_aes.c
3191
res = memcmp(buf, tv->ptxt, SECSIZE);
tests/dev/cgd/t_cgd_aes.c
3203
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_aes.c
3207
if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_aes.c
3210
if (read(dkfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_aes.c
3213
res = memcmp(buf, tv->ctxt, SECSIZE);
tests/dev/cgd/t_cgd_aes.c
323
static const uint8_t aes_cbc_128_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
3230
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3277
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3324
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3371
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3418
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3465
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_aes.c
3511
const size_t dksize = 256 * SECSIZE; /* Last blkno is 0xff. */
tests/dev/cgd/t_cgd_aes.c
3563
const size_t dksize = 65536 * SECSIZE; /* Last blkno is 0xffff. */
tests/dev/cgd/t_cgd_aes.c
416
static const uint8_t aes_cbc_128_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
486
static const uint8_t aes_cbc_128_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
556
static const uint8_t aes_cbc_128_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
626
static const uint8_t aes_cbc_128_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
719
static const uint8_t aes_cbc_192_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
789
static const uint8_t aes_cbc_192_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
859
static const uint8_t aes_cbc_192_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_aes.c
92
static const uint8_t aes_cbc_ptxt[SECSIZE] __aligned(4) =
tests/dev/cgd/t_cgd_aes.c
929
static const uint8_t aes_cbc_192_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1025
static const uint8_t bf_cbc_256_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1095
static const uint8_t bf_cbc_256_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
116
static const uint8_t bf_cbc_128_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1165
static const uint8_t bf_cbc_256_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1235
static const uint8_t bf_cbc_256_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1328
static const uint8_t bf_cbc_448_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1398
static const uint8_t bf_cbc_448_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1468
static const uint8_t bf_cbc_448_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1538
static const uint8_t bf_cbc_448_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1631
static const uint8_t bf_cbc_448_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1701
static const uint8_t bf_cbc_448_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1771
static const uint8_t bf_cbc_448_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1841
static const uint8_t bf_cbc_448_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
186
static const uint8_t bf_cbc_128_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
1995
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_blowfish.c
1998
if (rump_sys_write(cgdfd, tv->ptxt, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_blowfish.c
2010
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_blowfish.c
2014
if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_blowfish.c
2017
if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_blowfish.c
2020
res = memcmp(buf, tv->ptxt, SECSIZE);
tests/dev/cgd/t_cgd_blowfish.c
2032
buf = malloc(SECSIZE);
tests/dev/cgd/t_cgd_blowfish.c
2036
if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
tests/dev/cgd/t_cgd_blowfish.c
2039
if (read(dkfd, buf, SECSIZE) != SECSIZE)
tests/dev/cgd/t_cgd_blowfish.c
2042
res = memcmp(buf, tv->ctxt, SECSIZE);
tests/dev/cgd/t_cgd_blowfish.c
2059
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
2106
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
2153
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
2200
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
2247
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
2294
const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
tests/dev/cgd/t_cgd_blowfish.c
256
static const uint8_t bf_cbc_128_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
326
static const uint8_t bf_cbc_128_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
419
static const uint8_t bf_cbc_128_encblkno8_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
489
static const uint8_t bf_cbc_128_encblkno8_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
559
static const uint8_t bf_cbc_128_encblkno8_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
629
static const uint8_t bf_cbc_128_encblkno8_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
722
static const uint8_t bf_cbc_256_encblkno1_vec0_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
792
static const uint8_t bf_cbc_256_encblkno1_vec1_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
862
static const uint8_t bf_cbc_256_encblkno1_vec2_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
932
static const uint8_t bf_cbc_256_encblkno1_vec3_ctxt[SECSIZE] = {
tests/dev/cgd/t_cgd_blowfish.c
95
static const uint8_t bf_cbc_ptxt[SECSIZE] __aligned(4) =