Home
last modified time | relevance | path

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

123456

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_cli.c59 unsigned char *buf, in ssl_write_hostname_ext()
121 unsigned char *buf, in ssl_write_renegotiation_ext()
162 unsigned char *buf, in ssl_write_signature_algorithms_ext()
247 unsigned char *buf,
318 unsigned char *buf,
350 unsigned char *buf,
428 unsigned char *buf,
462 unsigned char *buf, size_t *olen )
494 unsigned char *buf, size_t *olen )
528 unsigned char *buf, size_t *olen )
[all …]
Dssl_srv.c91 const unsigned char *buf, in ssl_parse_servername_ext()
146 const unsigned char *buf, in ssl_parse_renegotiation_info()
190 const unsigned char *buf, in ssl_parse_signature_algorithms_ext()
238 const unsigned char *buf, in ssl_parse_supported_elliptic_curves()
290 const unsigned char *buf, in ssl_parse_supported_point_formats()
330 const unsigned char *buf, in ssl_parse_ecjpake_kkpp()
357 const unsigned char *buf, in ssl_parse_max_fragment_length_ext()
374 const unsigned char *buf, in ssl_parse_truncated_hmac_ext()
394 const unsigned char *buf, in ssl_parse_encrypt_then_mac_ext()
417 const unsigned char *buf, in ssl_parse_extended_ms_ext()
[all …]
Dentropy.c227 unsigned char buf[MBEDTLS_ENTROPY_MAX_GATHER]; in entropy_gather_internal() local
290 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func() local
385 unsigned char buf[ MBEDTLS_ENTROPY_MAX_SEED_SIZE ]; in mbedtls_entropy_update_nv_seed() local
407 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_write_seed_file() local
432 unsigned char buf[ MBEDTLS_ENTROPY_MAX_SEED_SIZE ]; in mbedtls_entropy_update_seed_file() local
477 static int mbedtls_entropy_source_self_test_gather( unsigned char *buf, size_t buf_len ) in mbedtls_entropy_source_self_test_gather()
503 static int mbedtls_entropy_source_self_test_check_bits( const unsigned char *buf, in mbedtls_entropy_source_self_test_check_bits()
583 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE] = { 0 }; in mbedtls_entropy_self_test() local
Derror.c153 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
697 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
Dplatform.c225 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read()
243 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write()
267 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit()
281 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit()
296 int mbedtls_platform_set_nv_seed( in mbedtls_platform_set_nv_seed()
Dx509_csr.c95 const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse_der()
266 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse()
321 unsigned char *buf; in mbedtls_x509_csr_parse_file() local
340 int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info()
Decdh.c119 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params()
156 const unsigned char **buf, const unsigned char *end ) in mbedtls_ecdh_read_params()
200 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_public()
221 const unsigned char *buf, size_t blen ) in mbedtls_ecdh_read_public()
242 unsigned char *buf, size_t blen, in mbedtls_ecdh_calc_secret()
Dnet_sockets.c66 #define read(fd,buf,len) recv(fd,(char*)buf,(int) len,0) argument
67 #define write(fd,buf,len) send(fd,(char*)buf,(int) len,0) argument
330 char buf[1] = { 0 }; in mbedtls_net_accept() local
458 int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len ) in mbedtls_net_recv()
494 int mbedtls_net_recv_timeout( void *ctx, unsigned char *buf, size_t len, in mbedtls_net_recv_timeout()
538 int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len ) in mbedtls_net_send()
Dx509write_crt.c142 unsigned char buf[9]; in mbedtls_x509write_crt_set_basic_constraints() local
173 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_subject_key_identifier() local
195 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_authority_key_identifier() local
222 unsigned char buf[4], ku; in mbedtls_x509write_crt_set_key_usage() local
248 unsigned char buf[4]; in mbedtls_x509write_crt_set_ns_cert_type() local
295 int mbedtls_x509write_crt_der( mbedtls_x509write_cert *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_crt_der()
434 int mbedtls_x509write_crt_pem( mbedtls_x509write_cert *crt, unsigned char *buf, size_t size, in mbedtls_x509write_crt_pem()
Dpem.c138 unsigned char *buf, size_t buflen, in pem_des_decrypt()
160 unsigned char *buf, size_t buflen, in pem_des3_decrypt()
184 unsigned char *buf, size_t buflen, in pem_aes_decrypt()
212 unsigned char *buf; in mbedtls_pem_read_buffer() local
398 unsigned char *buf, size_t buf_len, size_t *olen ) in mbedtls_pem_write_buffer()
Dpkwrite.c90 unsigned char buf[MBEDTLS_ECP_MAX_PT_LEN]; in pk_write_ec_pubkey() local
151 int mbedtls_pk_write_pubkey_der( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der()
199 int mbedtls_pk_write_key_der( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der()
378 int mbedtls_pk_write_pubkey_pem( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem()
400 int mbedtls_pk_write_key_pem( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_pem()
Dx509write_csr.c90 unsigned char buf[4]; in mbedtls_x509write_csr_set_key_usage() local
111 unsigned char buf[4]; in mbedtls_x509write_csr_set_ns_cert_type() local
129 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_csr_der()
234 int mbedtls_x509write_csr_pem( mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_csr_pem()
Dpadlock.c89 unsigned char buf[256]; in mbedtls_padlock_xcryptecb() local
132 unsigned char buf[256]; in mbedtls_padlock_xcryptcbc() local
Dssl_ticket.c68 unsigned char buf[MAX_KEY_BYTES]; in ssl_ticket_gen_key() local
170 unsigned char *buf, size_t buf_len, in ssl_save_session()
214 const unsigned char *buf, size_t len ) in ssl_load_session()
385 unsigned char *buf, in mbedtls_ssl_ticket_parse()
/net-tools-3.4.0/tinydtls-0.8.2/
Dprng.h33 dtls_prng(unsigned char *buf, size_t len) { in dtls_prng()
49 dtls_prng(unsigned char *buf, size_t len) in dtls_prng()
60 dtls_prng(unsigned char *buf, size_t len) { in dtls_prng()
Ddebug.h119 static inline void dump(unsigned char *buf, size_t len) in dump()
123 dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int e… in dtls_dsrv_hexdump_log()
140 #define dtls_debug_hexdump(name, buf, length) dtls_dsrv_hexdump_log(DTLS_LOG_DEBUG, name, buf, leng… argument
141 #define dtls_debug_dump(name, buf, length) dtls_dsrv_hexdump_log(DTLS_LOG_DEBUG, name, buf, length,… argument
Ddebug.c118 dsrv_print_addr(const session_t *addr, char *buf, size_t len) { in dsrv_print_addr()
272 void dump(unsigned char *buf, size_t len) { in dump()
290 dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int e… in dtls_dsrv_hexdump_log()
334 dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int e… in dtls_dsrv_hexdump_log()
/net-tools-3.4.0/libcoap/include/coap/
Dprng.h32 coap_prng_impl(unsigned char *buf, size_t len) { in coap_prng_impl()
48 contiki_prng_impl(unsigned char *buf, size_t len) { in contiki_prng_impl()
67 lwip_prng_impl(unsigned char *buf, size_t len) { in lwip_prng_impl()
/net-tools-3.4.0/libcoap/tests/
Dtest_wellknown.c30 unsigned char buf[40]; in t_wellknown1() local
79 unsigned char buf[10]; /* smaller than teststr */ in t_wellknown2() local
135 unsigned char buf[40]; in t_wellknown3() local
187 unsigned char buf[3]; in t_wellknown5() local
215 unsigned char buf[TEST_PDU_SIZE]; in t_wellknown6() local
/net-tools-3.4.0/libcoap/src/
Dencode.c25 coap_decode_var_bytes(unsigned char *buf,unsigned int len) { in coap_decode_var_bytes()
34 coap_encode_var_bytes(unsigned char *buf, unsigned int val) { in coap_encode_var_bytes()
Duri.c203 decode_segment(const unsigned char *seg, size_t length, unsigned char *buf) { in decode_segment()
265 unsigned char *buf, size_t buflen) { in make_decoded_option()
355 str buf; member
375 unsigned char *buf, size_t *buflen) { in coap_split_path()
387 unsigned char *buf, size_t *buflen) { in coap_split_query()
/net-tools-3.4.0/mbedtls-2.4.0/programs/util/
Dpem2der.c119 static int load_file( const char *path, unsigned char **buf, size_t *n ) in load_file()
162 static int write_file( const char *path, unsigned char *buf, size_t n ) in write_file()
184 char buf[1024]; in main() local
/net-tools-3.4.0/libcoap/examples/contiki/
Dcoap-observer.c149 unsigned char *buf = _buf; in PROCESS_THREAD() local
167 unsigned char buf[2]; in PROCESS_THREAD() local
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dselftest.c78 char buf[10] = "xxxxxxxxx"; in test_snprintf() local
143 unsigned char buf[1000000]; in main() local
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_mail_client.c171 unsigned char buf[1024]; in do_handshake() local
222 static int write_ssl_data( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_data()
239 static int write_ssl_and_get_response( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_and_get_response()
297 static int write_and_get_response( mbedtls_net_context *sock_fd, unsigned char *buf, size_t len ) in write_and_get_response()
351 unsigned char buf[1024]; in main() local

123456