Home
last modified time | relevance | path

Searched refs:obuf (Results 1 – 18 of 18) sorted by relevance

/external/openssl/crypto/rc4/
Drc4test.c121 unsigned char obuf[512]; in main() local
126 memset(obuf,0x00,sizeof(obuf)); in main()
127 RC4(&key,data_len[i],&(data[i][0]),obuf); in main()
128 if (memcmp(obuf,output[i],data_len[i]+1) != 0) in main()
133 printf(" %02x",obuf[j]); in main()
149 memset(obuf,0x00,sizeof(obuf)); in main()
150 RC4(&key,i,&(data[3][0]),obuf); in main()
151 if ((memcmp(obuf,output[3],i) != 0) || (obuf[i] != 0)) in main()
156 printf(" %02x",obuf[j]); in main()
176 memset(obuf,0x00,sizeof(obuf)); in main()
[all …]
/external/openssl/crypto/bio/
Dbf_lbuf.c100 char *obuf; /* the output char array */ member
111 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new()
112 if (ctx->obuf == NULL) { OPENSSL_free(ctx); return(0); } in linebuffer_new()
128 if (b->obuf != NULL) OPENSSL_free(b->obuf); in linebuffer_free()
185 memcpy(&(ctx->obuf[ctx->obuf_len]), in linebuffer_write()
194 memcpy(&(ctx->obuf[ctx->obuf_len]), in linebuffer_write()
207 ctx->obuf, ctx->obuf_len); in linebuffer_write()
223 memmove(ctx->obuf, ctx->obuf + i, in linebuffer_write()
259 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl); in linebuffer_write()
297 p=ctx->obuf; in linebuffer_ctrl()
[all …]
Dbf_buff.c101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); return(0); } in buffer_new()
123 if (b->obuf != NULL) OPENSSL_free(b->obuf); in buffer_free()
212 memcpy(&(ctx->obuf[ctx->obuf_len]),in,inl); in buffer_write()
222 memcpy(&(ctx->obuf[ctx->obuf_len]),in,i); in buffer_write()
231 i=BIO_write(b->next_bio,&(ctx->obuf[ctx->obuf_off]), in buffer_write()
352 p2=ctx->obuf; in buffer_ctrl()
375 if (ctx->obuf != p2) in buffer_ctrl()
377 OPENSSL_free(ctx->obuf); in buffer_ctrl()
378 ctx->obuf=p2; in buffer_ctrl()
[all …]
Dbio.h317 char *obuf; /* the char array */ member
/external/qemu/audio/
Drate_template.h30 void NAME (void *opaque, struct st_sample *ibuf, struct st_sample *obuf, in NAME() argument
48 ostart = obuf; in NAME()
49 oend = obuf + *osamp; in NAME()
54 OP (obuf[i].l, ibuf[i].l); in NAME()
55 OP (obuf[i].r, ibuf[i].r); in NAME()
62 while (obuf < oend) { in NAME()
98 OP (obuf->l, out.l); in NAME()
99 OP (obuf->r, out.r); in NAME()
100 obuf += 1; in NAME()
106 *osamp = obuf - ostart; in NAME()
Dmixeng.h44 void st_rate_flow (void *opaque, struct st_sample *ibuf, struct st_sample *obuf,
46 void st_rate_flow_mix (void *opaque, struct st_sample *ibuf, struct st_sample *obuf,
/external/openssl/crypto/des/
Ddes.c375 static unsigned char buf[BUFSIZE+8],obuf[BUFSIZE+8]; in doencryption() local
377 static unsigned char *buf=NULL,*obuf=NULL; in doencryption() local
382 ((obuf=OPENSSL_malloc(BUFSIZE+8)) == NULL)) in doencryption()
511 (DES_cblock *)&(obuf[i]), in doencryption()
517 (DES_cblock *)&(obuf[i]), in doencryption()
526 (DES_cblock *)buf,(DES_cblock *)obuf, in doencryption()
535 buf,obuf, in doencryption()
537 if (l >= 8) memcpy(iv,&(obuf[l-8]),8); in doencryption()
545 j=uufwrite(obuf,1,(unsigned int)l-i, in doencryption()
548 j=fwrite(obuf,1,(unsigned int)l-i, in doencryption()
[all …]
/external/openssl/crypto/comp/
Dc_zlib.c433 unsigned char *obuf; /* Output buffer */ member
489 ctx->obuf = NULL; in bio_zlib_new()
523 if(ctx->obuf) in bio_zlib_free()
527 OPENSSL_free(ctx->obuf); in bio_zlib_free()
607 if(!ctx->obuf) in bio_zlib_write()
609 ctx->obuf = OPENSSL_malloc(ctx->obufsize); in bio_zlib_write()
611 if(!ctx->obuf) in bio_zlib_write()
616 ctx->optr = ctx->obuf; in bio_zlib_write()
619 zout->next_out = ctx->obuf; in bio_zlib_write()
649 ctx->optr = ctx->obuf; in bio_zlib_write()
[all …]
/external/iproute2/ip/
Dipmroute.c95 char obuf[256]; in read_mroute_list() local
113 snprintf(obuf, sizeof(obuf), "(%s, %s)", in read_mroute_list()
117 fprintf(ofp, "%-32s Iif: ", obuf); in read_mroute_list()
/external/qemu/
Di386-dis.c1562 static char obuf[100]; variable
3644 obuf[0] = 0; in print_insn()
3681 obufp = obuf; in print_insn()
3894 obufp = obuf + strlen (obuf); in print_insn()
3895 for (i = strlen (obuf); i < 6; i++) in print_insn()
3898 (*info->fprintf_func) (info->stream, "%s", obuf); in print_insn()
4352 pstrcpy (obuf, sizeof(obuf), "(bad)"); in putop()
4353 obufp = obuf + 5; in putop()
5986 strcpy (obuf + strlen (obuf) - sizeof ("clflush") + 1, "sfence"); in OP_0fae()
6015 strcpy (obuf, "nop"); in NOP_Fixup1()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dcrypto_internal.c446 char obuf[80]; in crypto_pkcs8_key_import() local
508 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in crypto_pkcs8_key_import()
509 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); in crypto_pkcs8_key_import()
520 "algorithm %s", obuf); in crypto_pkcs8_key_import()
/external/bzip2/
Dbzip2.c437 UChar obuf[5000]; in uncompressStream() local
462 nread = BZ2_bzRead ( &bzerr, bzf, obuf, 5000 ); in uncompressStream()
465 fwrite ( obuf, sizeof(UChar), nread, stream ); in uncompressStream()
509 nread = fread ( obuf, sizeof(UChar), 5000, zStream ); in uncompressStream()
511 if (nread > 0) fwrite ( obuf, sizeof(UChar), nread, stream ); in uncompressStream()
558 UChar obuf[5000]; in testStream() local
580 nread = BZ2_bzRead ( &bzerr, bzf, obuf, 5000 ); in testStream()
/external/clearsilver/util/
Dneo_net.h33 UINT8 obuf[NET_BUFSIZE]; member
Dneo_net.c400 r = write(sock->fd, sock->obuf + x, sock->ol - x); in ne_net_flush()
612 memcpy(sock->obuf + sock->ol, b + blen - x, l); in ne_net_write()
/external/netcat/
Dnetcat.c1091 static unsigned char obuf [4]; /* tiny thing to build responses into */ local
1102 obuf[0] = 255;
1109 obuf[1] = y;
1111 obuf[2] = *p; /* copy actual option byte */
1112 (void) write (netfd, obuf, 3);
/external/blktrace/
Dblktrace.c247 char *obuf; member
1516 iop->obuf = malloc(size); in set_vbuf()
1517 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { in set_vbuf()
1521 free(iop->obuf); in set_vbuf()
1569 if (iop->obuf) in close_iop()
1570 free(iop->obuf); in close_iop()
/external/clearsilver/cgi/
Dcgi.c883 static NEOERR *cgi_compress (STRING *str, char *obuf, int *olen) in cgi_compress() argument
890 stream.next_out = (Bytef*)obuf; in cgi_compress()
/external/openssl/include/openssl/
Dbio.h317 char *obuf; /* the char array */ member