Home
last modified time | relevance | path

Searched refs:BUFSIZE (Results 1 – 25 of 40) sorted by relevance

12

/external/openssl/crypto/rand/
Drandfile.c92 #undef BUFSIZE
93 #define BUFSIZE 1024 macro
114 MS_STATIC unsigned char buf[BUFSIZE]; in RAND_load_file()
158 n = (bytes < BUFSIZE)?(int)bytes:BUFSIZE; in RAND_load_file()
160 n = BUFSIZE; in RAND_load_file()
177 OPENSSL_cleanse(buf,BUFSIZE); in RAND_load_file()
184 unsigned char buf[BUFSIZE]; in RAND_write_file()
254 i=(n > BUFSIZE)?BUFSIZE:n; in RAND_write_file()
255 n-=BUFSIZE; in RAND_write_file()
269 OPENSSL_cleanse(buf,BUFSIZE); in RAND_write_file()
/external/openssl/crypto/des/
Dspeed.c118 #define BUFSIZE ((long)1024) macro
182 static unsigned char buf[BUFSIZE]; in main()
216 cc=count*3*8/BUFSIZE+1; in main()
217 cd=count*8/BUFSIZE+1; in main()
256 BUFSIZE); in main()
260 BUFSIZE); in main()
264 DES_ncbc_encrypt(buf,buf,BUFSIZE,&sch, in main()
268 count,BUFSIZE,d); in main()
269 c=((double)COUNT(cc)*BUFSIZE)/d; in main()
273 BUFSIZE); in main()
[all …]
Ddes.c109 #define BUFSIZE (8*1024) macro
375 static unsigned char buf[BUFSIZE+8],obuf[BUFSIZE+8]; in doencryption()
381 if ( (( buf=OPENSSL_malloc(BUFSIZE+8)) == NULL) || in doencryption()
382 ((obuf=OPENSSL_malloc(BUFSIZE+8)) == NULL)) in doencryption()
473 num=l=fread(&(buf[rem]),1,BUFSIZE,DES_IN); in doencryption()
572 l=uufread(buf,1,BUFSIZE,DES_IN); in doencryption()
574 l=fread(buf,1,BUFSIZE,DES_IN); in doencryption()
614 ll=uufread(&(buf[rem]),1,BUFSIZE,DES_IN); in doencryption()
616 ll=fread(&(buf[rem]),1,BUFSIZE,DES_IN); in doencryption()
Ddes_opts.c335 #define BUFSIZE ((long)1024) macro
421 static unsigned char buf[BUFSIZE]; in main()
465 cc=count*3*8/BUFSIZE+1; in main()
466 cd=count*8/BUFSIZE+1; in main()
/external/pixman/test/
Dprng-test.c57 #define BUFSIZE (8 * 1024 * 1024) macro
65 uint8_t *buf = aligned_malloc (16, BUFSIZE + 1); in bench()
70 prng_randmemset_r (&prng, buf, BUFSIZE, 0); in bench()
73 (double)BUFSIZE * N / 1000000. / (t2 - t1)); in bench()
77 prng_randmemset_r (&prng, buf + 1, BUFSIZE, 0); in bench()
80 (double)BUFSIZE * N / 1000000. / (t2 - t1)); in bench()
85 prng_randmemset_r (&prng, buf, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); in bench()
89 (double)BUFSIZE * N / 1000000. / (t2 - t1)); in bench()
94 prng_randmemset_r (&prng, buf + 1, BUFSIZE, RANDMEMSET_MORE_00_AND_FF); in bench()
98 (double)BUFSIZE * N / 1000000. / (t2 - t1)); in bench()
Dlowlevel-blt-bench.c46 #define BUFSIZE (WIDTH * HEIGHT * 4) macro
70 memcpy (dst, src, BUFSIZE - 64); in bench_memcpy()
71 memcpy (src, dst, BUFSIZE - 64); in bench_memcpy()
72 n += 4 * (BUFSIZE - 64); in bench_memcpy()
83 memcpy ((char *)dst + 1, (char *)src + x, BUFSIZE - 64); in bench_memcpy()
84 memcpy ((char *)src + 1, (char *)dst + x, BUFSIZE - 64); in bench_memcpy()
85 n -= 4 * (BUFSIZE - 64); in bench_memcpy()
468 memcpy (dst, src, BUFSIZE); in bench_composite()
469 memcpy (src, dst, BUFSIZE); in bench_composite()
488 memcpy (dst, src, BUFSIZE); in bench_composite()
[all …]
/external/openssl/crypto/rc4/
Drc4speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE]; in main()
208 cc=count*8/BUFSIZE+1; in main()
233 printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE); in main()
236 printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE); in main()
240 RC4(&sch,BUFSIZE,buf,buf); in main()
243 count,BUFSIZE,d); in main()
244 c=((double)COUNT(cc)*BUFSIZE)/d; in main()
/external/openssl/crypto/rc2/
Drc2speed.c113 #define BUFSIZE ((long)1024) macro
177 static unsigned char buf[BUFSIZE]; in main()
209 cc=count*8/BUFSIZE+1; in main()
255 BUFSIZE); in main()
259 BUFSIZE); in main()
263 RC2_cbc_encrypt(buf,buf,BUFSIZE,&sch, in main()
267 count,BUFSIZE,d); in main()
268 c=((double)COUNT(cc)*BUFSIZE)/d; in main()
/external/openssl/crypto/sha/
Dsha1.c63 #define BUFSIZE 1024*16 macro
105 unsigned char buf[BUFSIZE]; in do_fp()
111 i=read(fd,buf,BUFSIZE); in do_fp()
Dsha.c63 #define BUFSIZE 1024*16 macro
102 unsigned char buf[BUFSIZE]; in do_fp()
108 i=read(fd,buf,BUFSIZE); in do_fp()
/external/openssl/crypto/md5/
Dmd5.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE]; in do_fp()
111 i=read(fd,buf,BUFSIZE); in do_fp()
/external/clang/test/Lexer/
Ddigraph.c6 %:ifndef BUFSIZE
7 %:define BUFSIZE 512 macro
/external/openssl/apps/
Ddgst.c71 #undef BUFSIZE
72 #define BUFSIZE 1024*8 macro
135 if ((buf=(unsigned char *)OPENSSL_malloc(BUFSIZE)) == NULL) in MAIN()
540 OPENSSL_cleanse(buf,BUFSIZE); in MAIN()
568 i=BIO_read(bp,(char *)buf,BUFSIZE); in do_fp()
601 len = BUFSIZE; in do_fp()
611 len=BIO_gets(bp,(char *)buf,BUFSIZE); in do_fp()
Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE]; in do_fp()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dattr.c49 #define BUFSIZE 1024 macro
53 char buf[BUFSIZE]; \
56 size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \
/external/openssl/crypto/md4/
Dmd4.c63 #define BUFSIZE 1024*16 macro
105 static unsigned char buf[BUFSIZE]; in do_fp()
/external/openssl/crypto/txt_db/
Dtxt_db.c66 #undef BUFSIZE
67 #define BUFSIZE 512 macro
78 int size=BUFSIZE; in TXT_DB_read()
111 size+=BUFSIZE; in TXT_DB_read()
/external/openssl/crypto/bn/
Dbnspeed.c120 #undef BUFSIZE
121 #define BUFSIZE ((long)1024*8) macro
Dexpspeed.c146 #undef BUFSIZE
147 #define BUFSIZE ((long)1024*8) macro
/external/clang/test/Analysis/
Dtaint-tester.c5 #define BUFSIZE 10 macro
6 int Buffer[BUFSIZE];
Dtaint-generic.c32 #define BUFSIZE 10 macro
34 int Buffer[BUFSIZE];
/external/tcpdump/
Daddrtoname.h33 #define BUFSIZE 128 macro
Daddrtoname.c479 char buf[BUFSIZE]; in etheraddr_string()
486 char buf2[BUFSIZE]; in etheraddr_string()
511 snprintf(cp, BUFSIZE - (2 + 5*3), " (oui %s)", in etheraddr_string()
526 char buf[BUFSIZE]; in le64addr_string()
/external/fonttools/Lib/fontTools/misc/
DxmlReader.py11 BUFSIZE = 0x4000 variable
42 chunk = file.read(BUFSIZE)
/external/ipsec-tools/src/racoon/
Dvar.h52 #define BUFSIZE 5120 macro

12