Searched refs:BUFSIZE (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10.0-release/usr.bin/colldef/
H A Dcommon.h6 #define BUFSIZE 80 macro
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dpread.c46 #define BUFSIZE (1*1024) macro
48 #define BUFSIZE (4*1024) macro
51 static char buf[BUFSIZE];
65 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
/freebsd-10.0-release/tools/regression/lib/libc/gen/
H A Dtest-arc4random.c39 * BUFSIZE is the number of bytes of rc4 output to compare. The probability
40 * that this test fails spuriously is 2**(-BUFSIZE * 8).
42 #define BUFSIZE 8 macro
50 char parentbuf[BUFSIZE];
51 char childbuf[BUFSIZE];
74 arc4random_buf(page->childbuf, BUFSIZE);
79 arc4random_buf(page->parentbuf, BUFSIZE);
82 if (memcmp(page->parentbuf, page->childbuf, BUFSIZE) == 0) {
/freebsd-10.0-release/crypto/openssl/crypto/rand/
H A Drandfile.c92 #undef BUFSIZE macro
93 #define BUFSIZE 1024 macro
114 MS_STATIC unsigned char buf[BUFSIZE];
158 n = (bytes < BUFSIZE)?(int)bytes:BUFSIZE;
160 n = BUFSIZE;
177 OPENSSL_cleanse(buf,BUFSIZE);
184 unsigned char buf[BUFSIZE];
254 i=(n > BUFSIZE)?BUFSIZE
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/des/
H A Dspeed.c118 #define BUFSIZE ((long)1024) macro
182 static unsigned char buf[BUFSIZE];
216 cc=count*3*8/BUFSIZE+1;
217 cd=count*8/BUFSIZE+1;
256 BUFSIZE);
260 BUFSIZE);
264 DES_ncbc_encrypt(buf,buf,BUFSIZE,&sch,
268 count,BUFSIZE,d);
269 c=((double)COUNT(cc)*BUFSIZE)/d;
273 BUFSIZE);
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/bf/
H A Dbfspeed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 BF_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
H A Dbf_opts.c140 #define BUFSIZE ((long)1024) macro
229 static unsigned char buf[BUFSIZE];
269 cc=count*3*8/BUFSIZE+1;
270 cd=count*8/BUFSIZE+1;
/freebsd-10.0-release/crypto/openssl/crypto/cast/
H A Dcast_spd.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 CAST_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
H A Dcastopts.c150 #define BUFSIZE ((long)1024) macro
239 static unsigned char buf[BUFSIZE];
279 cc=count*3*8/BUFSIZE+1;
280 cd=count*8/BUFSIZE+1;
/freebsd-10.0-release/crypto/openssl/crypto/rc2/
H A Drc2speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 RC2_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/freebsd-10.0-release/crypto/openssl/crypto/rc4/
H A Drc4speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
208 cc=count*8/BUFSIZE+1;
233 printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE);
236 printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE);
240 RC4(&sch,BUFSIZE,buf,buf);
243 count,BUFSIZE,d);
244 c=((double)COUNT(cc)*BUFSIZE)/d;
/freebsd-10.0-release/crypto/openssl/crypto/rc5/
H A Drc5speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
209 cc=count*8/BUFSIZE+1;
255 BUFSIZE);
259 BUFSIZE);
263 RC5_32_cbc_encrypt(buf,buf,BUFSIZE,&sch,
267 count,BUFSIZE,d);
268 c=((double)COUNT(cc)*BUFSIZE)/d;
/freebsd-10.0-release/bin/csh/
H A Dconfig_p.h87 #define BUFSIZE 8192 macro
/freebsd-10.0-release/crypto/openssl/crypto/md2/
H A Dmd2.c63 #define BUFSIZE 1024*16 macro
103 static unsigned char buf[BUFSIZE];
109 i=read(fd,buf,BUFSIZE);
/freebsd-10.0-release/crypto/openssl/crypto/md5/
H A Dmd5.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/freebsd-10.0-release/crypto/openssl/crypto/ripemd/
H A Drmd160.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/freebsd-10.0-release/crypto/openssl/crypto/sha/
H A Dsha.c63 #define BUFSIZE 1024*16 macro
102 unsigned char buf[BUFSIZE];
108 i=read(fd,buf,BUFSIZE);
H A Dsha1.c63 #define BUFSIZE 1024*16 macro
105 unsigned char buf[BUFSIZE];
111 i=read(fd,buf,BUFSIZE);
/freebsd-10.0-release/contrib/tcpdump/
H A Daddrtoname.h33 #define BUFSIZE 128 macro
/freebsd-10.0-release/crypto/openssl/crypto/idea/
H A Didea_spd.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE];
210 cc=count*8/BUFSIZE+1;
275 BUFSIZE);
279 BUFSIZE);
283 idea_cbc_encrypt(buf,buf,BUFSIZE,&sch,
287 count,BUFSIZE,d);
288 c=((double)COUNT(cc)*BUFSIZE)/d;
/freebsd-10.0-release/crypto/openssl/crypto/md4/
H A Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE];
/freebsd-10.0-release/contrib/opie/
H A Dpermsfile.c41 #define BUFSIZE 128 macro
45 static char buf[BUFSIZE], buf2[8];
159 if (fgets(buf, BUFSIZE, fh) == NULL)
161 buf[BUFSIZE] = 0;
/freebsd-10.0-release/sys/dev/ppbus/
H A Dppi.c62 #define BUFSIZE 512 macro
72 char ppi_buffer[BUFSIZE];
367 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
410 buffer, min(BUFSIZE, uio->uio_resid), &len);
470 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
478 while (!error && (len = min(uio->uio_resid, BUFSIZE))) {
488 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
525 while ((len = min(uio->uio_resid, BUFSIZE)) != 0) {
/freebsd-10.0-release/contrib/binutils/binutils/
H A Dsysdep.h173 #define BUFSIZE 8192
172 #define BUFSIZE macro
/freebsd-10.0-release/crypto/openssl/apps/
H A Ddgst.c71 #undef BUFSIZE macro
72 #define BUFSIZE 1024*8 macro
135 if ((buf=(unsigned char *)OPENSSL_malloc(BUFSIZE)) == NULL)
542 OPENSSL_cleanse(buf,BUFSIZE);
570 i=BIO_read(bp,(char *)buf,BUFSIZE);
603 len = BUFSIZE;
613 len=BIO_gets(bp,(char *)buf,BUFSIZE);

Completed in 176 milliseconds

123