Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/openssl/crypto/
H A Dquic_vlint.c6 void ossl_quic_vlint_encode_n(uint8_t *buf, uint64_t v, int n) in ossl_quic_vlint_encode_n()
30 void ossl_quic_vlint_encode(uint8_t *buf, uint64_t v) in ossl_quic_vlint_encode()
35 uint64_t ossl_quic_vlint_decode_unchecked(const unsigned char *buf) in ossl_quic_vlint_decode_unchecked()
63 int ossl_quic_vlint_decode(const unsigned char *buf, size_t buf_len, uint64_t *v) in ossl_quic_vlint_decode()
H A Do_str.c205 static int hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, in hexstr2buf_sep()
248 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, in OPENSSL_hexstr2buf_ex()
257 unsigned char *buf; in ossl_hexstr2buf_sep() local
287 const unsigned char *buf, size_t buflen, in buf2hexstr_sep()
323 const unsigned char *buf, size_t buflen, in OPENSSL_buf2hexstr_ex()
329 char *ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep) in ossl_buf2hexstr_sep()
353 char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen) in OPENSSL_buf2hexstr()
358 int openssl_strerror_r(int errnum, char *buf, size_t buflen) in openssl_strerror_r()
429 size_t ossl_to_hex(char *buf, uint8_t n) in ossl_to_hex()
H A Dparams.c290 OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf) in OSSL_PARAM_construct_int()
353 OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf) in OSSL_PARAM_construct_long()
538 OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf) in OSSL_PARAM_construct_int32()
694 OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf) in OSSL_PARAM_construct_uint32()
844 OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf) in OSSL_PARAM_construct_int64()
999 OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf) in OSSL_PARAM_construct_uint64()
1031 OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf) in OSSL_PARAM_construct_size_t()
1063 OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf) in OSSL_PARAM_construct_time_t()
1299 OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf) in OSSL_PARAM_construct_double()
1523 OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf, in OSSL_PARAM_construct_utf8_ptr()
[all …]
/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c39 size_t ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, in ossl_cipher_fillblock()
63 int ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, in ossl_cipher_trailingdata()
82 void ossl_cipher_padblock(unsigned char *buf, size_t *buflen, size_t blocksize) in ossl_cipher_padblock()
91 int ossl_cipher_unpadblock(unsigned char *buf, size_t *buflen, size_t blocksize) in ossl_cipher_unpadblock()
142 unsigned char *buf, size_t *buflen, in ossl_cipher_tlsunpadblock()
/openssl/crypto/bio/
H A Dbss_bio.c68 char *buf; /* "size" elements (if != NULL) */ member
109 static int bio_read(BIO *bio, char *buf, int size_) in bio_read()
200 static ossl_ssize_t bio_nread0(BIO *bio, char **buf) in bio_nread0()
237 static ossl_ssize_t bio_nread(BIO *bio, char **buf, size_t num_) in bio_nread()
268 static int bio_write(BIO *bio, const char *buf, int num_) in bio_write()
345 static ossl_ssize_t bio_nwrite0(BIO *bio, char **buf) in bio_nwrite0()
393 static ossl_ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_) in bio_nwrite()
742 int BIO_nread0(BIO *bio, char **buf) in BIO_nread0()
758 int BIO_nread(BIO *bio, char **buf, int num) in BIO_nread()
773 int BIO_nwrite0(BIO *bio, char **buf) in BIO_nwrite0()
[all …]
/openssl/fuzz/
H A Dprovider.c104 static int read_uint(const uint8_t **buf, size_t *len, uint64_t **res) in read_uint()
122 static int read_int(const uint8_t **buf, size_t *len, int64_t **res) in read_int()
140 static int read_double(const uint8_t **buf, size_t *len, double **res) in read_double()
158 static int read_utf8_string(const uint8_t **buf, size_t *len, char **res) in read_utf8_string()
181 static int read_utf8_ptr(const uint8_t **buf, size_t *len, char **res) in read_utf8_ptr()
193 static int read_octet_string(const uint8_t **buf, size_t *len, char **res) in read_octet_string()
225 static int read_octet_ptr(const uint8_t **buf, size_t *len, char **res) in read_octet_ptr()
264 static OSSL_PARAM *fuzz_params(OSSL_PARAM *param, const uint8_t **buf, size_t *len) in fuzz_params()
465 unsigned char buf[4096]; in do_evp_mac() local
499 unsigned char buf[4096]; in do_evp_rand() local
[all …]
H A Ddriver.c26 int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) in LLVMFuzzerTestOneInput()
40 uint8_t *buf = malloc(BUF_SIZE); in main() local
/openssl/include/internal/
H A Dto_hex.h14 static ossl_inline size_t to_hex(char *buf, uint8_t n, const char hexdig[17]) in to_hex()
21 static ossl_inline size_t ossl_to_lowerhex(char *buf, uint8_t n) in ossl_to_lowerhex()
/openssl/crypto/rand/
H A Dprov_seed.c58 unsigned char *buf, size_t len) in ossl_rand_cleanup_entropy()
64 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_entropy()
105 unsigned char *buf; in ossl_rand_get_user_nonce() local
123 unsigned char *buf, size_t len) in ossl_rand_cleanup_nonce()
129 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_nonce()
H A Drand_meth.c15 static int drbg_add(const void *buf, int num, double randomness) in drbg_add()
26 static int drbg_seed(const void *buf, int num) in drbg_seed()
H A Drandfile.c95 unsigned char buf[RAND_LOAD_BUF_SIZE]; in RAND_load_file() local
184 unsigned char buf[RAND_BUF_SIZE]; in RAND_write_file() local
267 const char *RAND_file_name(char *buf, size_t size) in RAND_file_name()
/openssl/test/
H A Dparams_api_test.c122 unsigned char buf[MAX_LEN]; in test_param_type_extra() local
198 unsigned char buf[MAX_LEN], cmp[sizeof(int)]; in test_param_int() local
228 unsigned char buf[MAX_LEN], cmp[sizeof(long int)]; in test_param_long() local
317 unsigned char buf[MAX_LEN], cmp[sizeof(int32_t)]; in test_param_int32() local
347 unsigned char buf[MAX_LEN], cmp[sizeof(uint32_t)]; in test_param_uint32() local
377 unsigned char buf[MAX_LEN], cmp[sizeof(int64_t)]; in test_param_int64() local
437 unsigned char buf[MAX_LEN], cmp[sizeof(size_t)]; in test_param_size_t() local
467 unsigned char buf[MAX_LEN], cmp[sizeof(time_t)]; in test_param_time_t() local
496 unsigned char buf[MAX_LEN], bnbuf[MAX_LEN]; in test_param_bignum() local
531 unsigned char buf[MAX_LEN], bnbuf[MAX_LEN]; in test_param_signed_bignum() local
[all …]
H A Dhexstr_test.c66 unsigned char *buf = NULL; in test_hexstr_sep_to_from() local
87 unsigned char *buf = NULL; in test_hexstr_to_from() local
117 unsigned char buf[64]; in test_hexstr_ex_to_from() local
H A Dquicfaultstest.c31 unsigned char buf[80]; in test_basic() local
71 unsigned char *buf, size_t len, void *cbarg) in add_unknown_frame_cb()
99 unsigned char buf[80]; in test_unknown_frame() local
231 unsigned char *buf, size_t len, void *cbarg) in on_packet_cipher_cb()
269 unsigned char buf[80]; in test_corrupted_data() local
H A Dcmactest.c173 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_run() local
303 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_copy() local
334 static char buf[81]; in pt() local
/openssl/providers/implementations/rands/seeding/
H A Drand_cpu_x86.c61 static size_t get_hardware_random_value(unsigned char *buf, size_t len) in get_hardware_random_value()
91 static size_t get_hardware_random_value(unsigned char *buf, size_t len) { in get_hardware_random_value()
/openssl/doc/designs/ddd/
H A Dddd-01-conn-blocking.c101 int tx(BIO *bio, const void *buf, int buf_len) in tx()
110 int rx(BIO *bio, void *buf, int buf_len) in rx()
143 char buf[2048]; in main() local
H A Dddd-03-fd-blocking.c94 int tx(SSL *ssl, const void *buf, int buf_len) in tx()
103 int rx(SSL *ssl, void *buf, int buf_len) in rx()
144 char buf[2048]; in main() local
H A Dddd-05-mem-nonblocking.c139 int tx(APP_CONN *conn, const void *buf, int buf_len)
168 int rx(APP_CONN *conn, void *buf, int buf_len)
198 int read_net_tx(APP_CONN *conn, void *buf, int buf_len)
209 int write_net_rx(APP_CONN *conn, const void *buf, int buf_len)
300 char buf[2048]; /* QUIC: would need to be changed if < 1472 */ local
/openssl/crypto/asn1/
H A Df_int.c19 char buf[2]; in i2a_ASN1_INTEGER() local
52 int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) in a2i_ASN1_INTEGER()
145 int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) in a2i_ASN1_ENUMERATED()
H A Dt_pkey.c21 int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent) in ASN1_buf_print()
50 unsigned char *buf = NULL, *tmp = NULL; in ASN1_bn_print() local
/openssl/crypto/ec/
H A Dec_deprecated.c27 unsigned char *buf; in EC_POINT_point2bn() local
45 unsigned char *buf; in EC_POINT_bn2point() local
H A Dec_oct.c74 point_conversion_form_t form, unsigned char *buf, in EC_POINT_point2oct()
110 const unsigned char *buf, size_t len, BN_CTX *ctx) in EC_POINT_oct2point()
142 unsigned char *buf; in EC_POINT_point2buf() local
/openssl/apps/lib/
H A Dapp_params.c13 static int describe_param_type(char *buf, size_t bufsz, const OSSL_PARAM *param) in describe_param_type()
88 char buf[200]; /* This should be ample space */ in print_param_types() local
/openssl/crypto/x509/
H A Dv3_attrdesc.c119 char buf[80]; in i2r_OSSL_PRIVILEGE_POLICY_ID() local
135 char buf[80]; in i2r_OSSL_ATTRIBUTE_DESCRIPTOR() local

Completed in 32 milliseconds

12345678910>>...15