Lines Matching refs:SECSIZE
53 #define SECSIZE 512
71 static const uint8_t c3des_cbc_ptxt[SECSIZE] =
92 static const uint8_t c3des_cbc_192_encblkno1_vec0_ctxt[SECSIZE] = {
162 static const uint8_t c3des_cbc_192_encblkno1_vec1_ctxt[SECSIZE] = {
232 static const uint8_t c3des_cbc_192_encblkno1_vec2_ctxt[SECSIZE] = {
302 static const uint8_t c3des_cbc_192_encblkno1_vec3_ctxt[SECSIZE] = {
395 static const uint8_t c3des_cbc_192_encblkno8_vec0_ctxt[SECSIZE] = {
465 static const uint8_t c3des_cbc_192_encblkno8_vec1_ctxt[SECSIZE] = {
535 static const uint8_t c3des_cbc_192_encblkno8_vec2_ctxt[SECSIZE] = {
605 static const uint8_t c3des_cbc_192_encblkno8_vec3_ctxt[SECSIZE] = {
759 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
762 if (rump_sys_write(cgdfd, tv->ptxt, SECSIZE) != SECSIZE)
774 buf = malloc(SECSIZE);
778 if (rump_sys_lseek(cgdfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
781 if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE)
784 res = memcmp(buf, tv->ptxt, SECSIZE);
796 buf = malloc(SECSIZE);
800 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0)
803 if (read(dkfd, buf, SECSIZE) != SECSIZE)
806 res = memcmp(buf, tv->ctxt, SECSIZE);
823 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */
870 const size_t dksize = 4 * SECSIZE; /* Last blkno is 3. */