Searched refs:SECSIZE (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/contrib/netbsd-tests/dev/cgd/ |
| H A D | t_cgd_aes.c | 54 #define SECSIZE 512 macro 92 static const uint8_t aes_cbc_ptxt[SECSIZE] = 3164 written = rump_sys_write(cgdfd, tv->ptxt, SECSIZE); in write_testvec() 3167 if (written != SECSIZE) { in write_testvec() 3181 buf = malloc(SECSIZE); in read_testvec() 3188 if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE) in read_testvec() 3191 res = memcmp(buf, tv->ptxt, SECSIZE); in read_testvec() 3203 buf = malloc(SECSIZE); in check_testvec() 3207 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0) in check_testvec() 3210 if (read(dkfd, buf, SECSIZE) != SECSIZE) in check_testvec() [all …]
|
| H A D | t_cgd_3des.c | 53 #define SECSIZE 512 macro 71 static const uint8_t c3des_cbc_ptxt[SECSIZE] = 762 if (rump_sys_write(cgdfd, tv->ptxt, SECSIZE) != SECSIZE) in write_testvec() 774 buf = malloc(SECSIZE); in read_testvec() 781 if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE) in read_testvec() 784 res = memcmp(buf, tv->ptxt, SECSIZE); in read_testvec() 796 buf = malloc(SECSIZE); in check_testvec() 800 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0) in check_testvec() 803 if (read(dkfd, buf, SECSIZE) != SECSIZE) in check_testvec() 806 res = memcmp(buf, tv->ctxt, SECSIZE); in check_testvec() [all …]
|
| H A D | t_cgd_blowfish.c | 53 #define SECSIZE 512 macro 95 static const uint8_t bf_cbc_ptxt[SECSIZE] = 1998 if (rump_sys_write(cgdfd, tv->ptxt, SECSIZE) != SECSIZE) in write_testvec() 2010 buf = malloc(SECSIZE); in read_testvec() 2017 if (rump_sys_read(cgdfd, buf, SECSIZE) != SECSIZE) in read_testvec() 2020 res = memcmp(buf, tv->ptxt, SECSIZE); in read_testvec() 2032 buf = malloc(SECSIZE); in check_testvec() 2036 if (lseek(dkfd, tv->blkno * SECSIZE, SEEK_SET) < 0) in check_testvec() 2039 if (read(dkfd, buf, SECSIZE) != SECSIZE) in check_testvec() 2042 res = memcmp(buf, tv->ctxt, SECSIZE); in check_testvec() [all …]
|
| /freebsd-13.1/stand/i386/pmbr/ |
| H A D | pmbr.S | 40 .set SECSIZE,0x200 # Size of a single disk sector define 42 .set STACK,EXEC+SECSIZE*4 # Stack address 51 .set PART_ADDR,GPT_ADDR+SECSIZE # GPT partition array address 55 .set DPBUF,PART_ADDR+SECSIZE 78 movw $SECSIZE-(main-start),%cx # Byte count
|