Home
last modified time | relevance | path

Searched refs:data (Results 1 – 10 of 10) sorted by relevance

/programs/ssl/
A Dssl_mail_client.c227 unsigned char data[128]; in write_ssl_and_get_response() local
240 len = sizeof(data) - 1; in write_ssl_and_get_response()
241 memset(data, 0, sizeof(data)); in write_ssl_and_get_response()
257 mbedtls_printf("\n%s", data); in write_ssl_and_get_response()
260 if (data[i] != '\n') { in write_ssl_and_get_response()
280 unsigned char data[128]; in write_and_get_response() local
291 len = sizeof(data) - 1; in write_and_get_response()
292 memset(data, 0, sizeof(data)); in write_and_get_response()
300 data[len] = '\0'; in write_and_get_response()
301 mbedtls_printf("\n%s", data); in write_and_get_response()
[all …]
A Dssl_pthread_server.c93 thread_info_t data; member
100 static void *handle_ssl_connection(void *data) in handle_ssl_connection() argument
103 thread_info_t *thread_info = (thread_info_t *) data; in handle_ssl_connection()
260 if (threads[i].data.thread_complete == 1) { in thread_create()
275 memcpy(&threads[i].data, &base_info, sizeof(base_info)); in thread_create()
277 memcpy(&threads[i].data.client_fd, client_fd, sizeof(mbedtls_net_context)); in thread_create()
280 &threads[i].data)) != 0) { in thread_create()
A Dssl_test_lib.c50 static int dummy_entropy(void *data, unsigned char *output, size_t len) in dummy_entropy() argument
54 (void) data; in dummy_entropy()
56 ret = mbedtls_entropy_func(data, output, len); in dummy_entropy()
303 int ca_callback(void *data, mbedtls_x509_crt const *child, in ca_callback() argument
307 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback()
A Dssl_test_lib.h244 int ca_callback(void *data, mbedtls_x509_crt const *child,
A Dssl_client2.c562 static int my_verify(void *data, mbedtls_x509_crt *crt, in my_verify() argument
566 ((void) data); in my_verify()
/programs/test/
A Dudp_proxy.c378 unsigned char data[MAX_MSG_SIZE]; member
394 ret = mbedtls_net_send(buf->ctx, buf->data, buf->len); in ctx_buffer_flush()
418 const unsigned char *data, in ctx_buffer_append() argument
427 if (len > sizeof(buf->data)) { in ctx_buffer_append()
429 (unsigned) len, (unsigned) sizeof(buf->data)); in ctx_buffer_append()
433 if (sizeof(buf->data) - buf->len < len) { in ctx_buffer_append()
440 memcpy(buf->data + buf->len, data, len); in ctx_buffer_append()
452 const unsigned char *data, in dispatch_data() argument
469 return ctx_buffer_append(buf, data, len); in dispatch_data()
473 ret = mbedtls_net_send(ctx, data, len); in dispatch_data()
/programs/
A D.gitignore51 # Generated data files
A DMakefile122 …ames_generated.c: $(gen_file_dep) ../tf-psa-crypto/tests/suites/test_suite_psa_crypto_metadata.data
/programs/x509/
A Dcert_app.c101 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify() argument
104 ((void) data); in my_verify()
/programs/pkey/
A Dgen_key.c45 static int dev_random_entropy_poll(void *data, unsigned char *output, in dev_random_entropy_poll() argument
51 ((void) data); in dev_random_entropy_poll()

Completed in 35 milliseconds