Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/comp/
H A Dc_zstd.c195 inbuf.src = in; in zstd_stateful_compress_block()
196 inbuf.size = ilen; in zstd_stateful_compress_block()
197 inbuf.pos = 0; in zstd_stateful_compress_block()
225 } while (inbuf.pos < inbuf.size); in zstd_stateful_compress_block()
228 if (inbuf.pos < inbuf.size) in zstd_stateful_compress_block()
254 inbuf.src = in; in zstd_stateful_expand_block()
255 inbuf.size = ilen; in zstd_stateful_expand_block()
256 inbuf.pos = 0; in zstd_stateful_expand_block()
272 } while (ret == 0 && inbuf.pos < inbuf.size); in zstd_stateful_expand_block()
275 if (inbuf.pos < inbuf.size) in zstd_stateful_expand_block()
[all …]
/openssl/apps/lib/
H A Dhttp_server.c271 char reqbuf[2048], inbuf[2048]; in http_server_get_asn1_req() local
418 len = BIO_gets(cbio, inbuf, sizeof(inbuf)); in http_server_get_asn1_req()
425 if (((end = strchr(inbuf, '\r')) != NULL && end[1] == '\n') in http_server_get_asn1_req()
426 || (end = strchr(inbuf, '\n')) != NULL) in http_server_get_asn1_req()
428 log_HTTP1(prog, LOG_TRACE, "%s", *inbuf == '\0' ? in http_server_get_asn1_req()
429 " " /* workaround for "" getting ignored */ : inbuf); in http_server_get_asn1_req()
437 if (inbuf[0] == '\0') in http_server_get_asn1_req()
440 key = inbuf; in http_server_get_asn1_req()
/openssl/doc/man3/
H A DBIO_f_base64.pod88 char inbuf[512];
95 while ((inlen = BIO_read(b64, inbuf, 512)) > 0)
96 BIO_write(bio_out, inbuf, inlen);
H A DEVP_EncryptInit.pod1700 unsigned char inbuf[1024], outbuf[1024 + EVP_MAX_BLOCK_LENGTH];
1729 inlen = fread(inbuf, 1, 1024, in);
1732 if (!EVP_CipherUpdate(ctx, outbuf, &outlen, inbuf, inlen)) {
/openssl/providers/implementations/kdfs/
H A Dargon2.c856 uint8_t inbuf[BLAKE2B_OUTBYTES]; in blake2b_long() local
889 memcpy(inbuf, outbuf, BLAKE2B_OUTBYTES); in blake2b_long()
890 if (blake2b(md, mac, outbuf, BLAKE2B_OUTBYTES, inbuf, in blake2b_long()
898 memcpy(inbuf, outbuf, BLAKE2B_OUTBYTES); in blake2b_long()
899 if (blake2b(md, mac, outbuf, outlen_curr, inbuf, BLAKE2B_OUTBYTES, in blake2b_long()
/openssl/test/
H A Dsslapitest.c11784 unsigned char inbuf[1200], outbuf[1200]; in test_data_retry() local
11793 for (i = 0; i < sizeof(inbuf); i++) in test_data_retry()
11794 inbuf[i] = (unsigned char)(0xff & i); in test_data_retry()
11828 if (!TEST_false(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()
11845 if (!TEST_false(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()
11852 if (!TEST_true(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()
11858 if (!TEST_mem_eq(inbuf, sizeof(inbuf), outbuf, totread)) in test_data_retry()
H A Devp_test.c750 EVP_TEST_BUFFER *inbuf; in digest_test_run() local
834 && !TEST_ptr(inbuf = sk_EVP_TEST_BUFFER_value(expected->input, 0)) in digest_test_run()
835 && !inbuf->count_set) { in digest_test_run()
839 NULL, inbuf->buf, inbuf->buflen, in digest_test_run()

Completed in 62 milliseconds