Home
last modified time | relevance | path

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

/openssl/test/
H A Drc4test.c66 unsigned char obuf[512]; in test_rc4_encrypt() local
70 memset(obuf, 0, sizeof(obuf)); in test_rc4_encrypt()
71 RC4(&key, data_len[i], &(data[i][0]), obuf); in test_rc4_encrypt()
77 unsigned char obuf[512]; in test_rc4_end_processing() local
81 memset(obuf, 0, sizeof(obuf)); in test_rc4_end_processing()
82 RC4(&key, i, &(data[3][0]), obuf); in test_rc4_end_processing()
83 if (!TEST_mem_eq(obuf, i, output[3], i)) in test_rc4_end_processing()
85 return TEST_uchar_eq(obuf[i], 0); in test_rc4_end_processing()
90 unsigned char obuf[512]; in test_rc4_multi_call() local
94 memset(obuf, 0, sizeof(obuf)); in test_rc4_multi_call()
[all …]
/openssl/crypto/bio/
H A Dbf_lbuf.c62 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new()
63 if (ctx->obuf == NULL) { in linebuffer_new()
83 OPENSSL_free(b->obuf); in linebuffer_free()
164 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); in linebuffer_write()
193 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl); in linebuffer_write()
233 p = ctx->obuf; in linebuffer_ctrl()
239 if (ctx->obuf != p) { in linebuffer_ctrl()
243 memcpy(p, ctx->obuf, ctx->obuf_len); in linebuffer_ctrl()
244 OPENSSL_free(ctx->obuf); in linebuffer_ctrl()
245 ctx->obuf = p; in linebuffer_ctrl()
[all …]
H A Dbf_buff.c58 ctx->obuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
59 if (ctx->obuf == NULL) { in buffer_new()
79 OPENSSL_free(b->obuf); in buffer_free()
174 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl); in buffer_write()
182 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, i); in buffer_write()
190 i = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_write()
319 p2 = ctx->obuf; in buffer_ctrl()
342 if (ctx->obuf != p2) { in buffer_ctrl()
343 OPENSSL_free(ctx->obuf); in buffer_ctrl()
344 ctx->obuf = p2; in buffer_ctrl()
[all …]
H A Dbio_local.h93 char *obuf; /* the char array */ member
/openssl/ssl/quic/
H A Djson_enc.c638 char c, *o, obuf[7]; in json_write_qstring_inner() local
664 obuf[2] = '\0'; in json_write_qstring_inner()
666 o = obuf; in json_write_qstring_inner()
675 obuf[3] = '\0'; in json_write_qstring_inner()
678 o = obuf; in json_write_qstring_inner()
688 obuf[4] = '\0'; in json_write_qstring_inner()
691 o = obuf; in json_write_qstring_inner()
695 obuf[0] = '\\'; in json_write_qstring_inner()
696 obuf[1] = 'u'; in json_write_qstring_inner()
699 obuf[6] = '\0'; in json_write_qstring_inner()
[all …]
/openssl/crypto/comp/
H A Dc_zlib.c433 if (ctx->obuf) { in bio_zlib_free()
436 OPENSSL_free(ctx->obuf); in bio_zlib_free()
519 if (!ctx->obuf) { in bio_zlib_write()
522 if (ctx->obuf == NULL) in bio_zlib_write()
524 ctx->optr = ctx->obuf; in bio_zlib_write()
531 zout->next_out = ctx->obuf; in bio_zlib_write()
560 ctx->optr = ctx->obuf; in bio_zlib_write()
561 zout->next_out = ctx->obuf; in bio_zlib_write()
607 ctx->optr = ctx->obuf; in bio_zlib_flush()
671 ctx->obuf = NULL; in bio_zlib_ctrl()
[all …]

Completed in 21 milliseconds