| /include/openssl/ |
| A D | rand.h | 41 int (*seed) (const void *buf, int num); 42 int (*bytes) (unsigned char *buf, int num); 44 int (*add) (const void *buf, int num, double randomness); 45 int (*pseudorand) (unsigned char *buf, int num); 61 int RAND_bytes(unsigned char *buf, int num); 62 int RAND_priv_bytes(unsigned char *buf, int num); 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 79 OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); 93 void RAND_seed(const void *buf, int num); [all …]
|
| A D | params.h | 75 OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf); 77 OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf); 79 OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf); 80 OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf); 81 OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf); 82 OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf); 83 OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf); 84 OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf); 87 OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf); 90 OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf, [all …]
|
| A D | param_build.h | 52 const char *buf, size_t bsize); 54 char *buf, size_t bsize); 56 const void *buf, size_t bsize); 58 void *buf, size_t bsize);
|
| A D | core_dispatch.h | 171 OSSL_CORE_MAKE_FUNC(OSSL_CORE_BIO *, BIO_new_membuf, (const void *buf, int len)) 176 OSSL_CORE_MAKE_FUNC(int, BIO_gets, (OSSL_CORE_BIO *bio, char *buf, int size)) 183 (char *buf, size_t n, const char *fmt, va_list args)) 212 unsigned char *buf, size_t len)) 214 unsigned char *buf, size_t len)) 224 unsigned char *buf, size_t len)) 226 unsigned char *buf, size_t len)) 285 void *buf, size_t n, 291 (SSL *s, const unsigned char *buf, size_t buf_len, 295 (SSL *s, const unsigned char **buf, size_t *bytes_read,
|
| /include/internal/ |
| A D | to_hex.h | 14 static ossl_inline size_t to_hex(char *buf, uint8_t n, const char hexdig[17]) in to_hex() argument 16 *buf++ = hexdig[(n >> 4) & 0xf]; in to_hex() 17 *buf = hexdig[n & 0xf]; in to_hex() 21 static ossl_inline size_t ossl_to_lowerhex(char *buf, uint8_t n) in ossl_to_lowerhex() argument 25 return to_hex(buf, n, hexdig); in ossl_to_lowerhex()
|
| A D | quic_vlint.h | 68 void ossl_quic_vlint_encode(unsigned char *buf, uint64_t v); 90 void ossl_quic_vlint_encode_n(unsigned char *buf, uint64_t v, int n); 111 uint64_t ossl_quic_vlint_decode_unchecked(const unsigned char *buf); 123 int ossl_quic_vlint_decode(const unsigned char *buf, size_t buf_len, uint64_t *v);
|
| A D | ktls.h | 102 char buf[CMSG_SPACE(cmsg_len)]; in ktls_send_ctrl_message() local 105 msg.msg_control = buf; in ktls_send_ctrl_message() 106 msg.msg_controllen = sizeof(buf); in ktls_send_ctrl_message() 144 char buf[CMSG_SPACE(cmsg_len)]; in ktls_read_record() local 155 msg.msg_control = buf; in ktls_read_record() 156 msg.msg_controllen = sizeof(buf); in ktls_read_record() 336 char buf[CMSG_SPACE(sizeof(unsigned char))]; in ktls_send_ctrl_message() member 341 msg.msg_control = cmsgbuf.buf; in ktls_send_ctrl_message() 342 msg.msg_controllen = sizeof(cmsgbuf.buf); in ktls_send_ctrl_message() 402 msg.msg_control = cmsgbuf.buf; in ktls_read_record() [all …]
|
| A D | ring_buf.h | 77 const unsigned char *buf, in ring_buf_write_at() argument 99 memcpy(start + idx, buf, l); in ring_buf_write_at() 104 buf += l; in ring_buf_write_at() 114 const unsigned char *buf, in ring_buf_push() argument 136 memcpy(start + idx, buf, l); in ring_buf_push() 138 buf += l; in ring_buf_push() 174 const unsigned char **buf, in ring_buf_get_buf_at() argument 184 *buf = NULL; in ring_buf_get_buf_at() 194 *buf = start + idx; in ring_buf_get_buf_at()
|
| A D | quic_stream.h | 240 const unsigned char *buf, 353 int ossl_quic_rstream_read(QUIC_RSTREAM *qrs, unsigned char *buf, size_t size, 362 int ossl_quic_rstream_peek(QUIC_RSTREAM *qrs, unsigned char *buf, size_t size,
|
| A D | bio.h | 87 OSSL_CORE_BIO *ossl_core_bio_new_mem_buf(const void *buf, int len); 92 int ossl_core_bio_gets(OSSL_CORE_BIO *cb, char *buf, int size); 93 int ossl_core_bio_puts(OSSL_CORE_BIO *cb, const char *buf);
|
| A D | cryptlib.h | 52 int openssl_strerror_r(int errnum, char *buf, size_t buflen); 162 char *ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep); 170 size_t ossl_to_hex(char *buf, uint8_t n);
|
| A D | quic_tserver.h | 98 unsigned char *buf, 120 const unsigned char *buf, 197 const void *buf, size_t len,
|
| A D | quic_tls.h | 30 int (*crypto_send_cb)(const unsigned char *buf, size_t buf_len, 39 int (*crypto_recv_rcd_cb)(const unsigned char **buf, size_t *bytes_read,
|
| A D | quic_trace.h | 16 const void *buf, size_t msglen, SSL *ssl, void *arg);
|
| A D | ssl.h | 17 const void *buf, size_t len, SSL *ssl, void *arg);
|
| A D | encoder.h | 22 const unsigned char *buf, size_t buflen);
|
| A D | quic_ssl.h | 57 __owur int ossl_quic_read(SSL *s, void *buf, size_t len, size_t *readbytes); 58 __owur int ossl_quic_peek(SSL *s, void *buf, size_t len, size_t *readbytes); 59 __owur int ossl_quic_write_flags(SSL *s, const void *buf, size_t len, 61 __owur int ossl_quic_write(SSL *s, const void *buf, size_t len, size_t *written);
|
| A D | packet.h | 70 const unsigned char *buf, in PACKET_buf_init() argument 77 pkt->curr = buf; in PACKET_buf_init() 675 BUF_MEM *buf; member 722 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); 728 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf); 748 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, 756 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len);
|
| A D | quic_sf_list.h | 134 const unsigned char *buf,
|
| A D | param_build_set.h | 33 const char *key, const char *buf);
|
| A D | quic_cfq.h | 100 typedef void (cfq_free_cb)(unsigned char *buf, size_t buf_len, void *arg);
|
| A D | sha3.h | 42 unsigned char buf[KECCAK1600_WIDTH / 8 - 32]; member
|
| A D | json_enc.h | 26 char *buf; member
|
| A D | quic_demux.h | 292 const unsigned char *buf,
|
| /include/crypto/ |
| A D | rand.h | 123 unsigned char *buf, size_t len); 125 unsigned char *buf, size_t len); 133 unsigned char *buf, size_t len); 135 unsigned char *buf, size_t len);
|