Home
last modified time | relevance | path

Searched refs:context_buf (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/programs/ssl/
Dssl_client2.c807 unsigned char *context_buf = NULL; in main() local
2804 if ((context_buf = mbedtls_calloc(1, buf_len)) == NULL) { in main()
2812 if ((ret = mbedtls_ssl_context_save(&ssl, context_buf, in main()
2830 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main()
2839 context_buf, buf_len)) != 0) { in main()
2905 if ((ret = mbedtls_ssl_context_load(&ssl, context_buf, in main()
2913 mbedtls_free(context_buf); in main()
2914 context_buf = NULL; in main()
3068 if (context_buf != NULL) { in main()
3069 mbedtls_platform_zeroize(context_buf, context_buf_len); in main()
[all …]
Dssl_server2.c1543 unsigned char *context_buf = NULL; in main() local
3980 if ((context_buf = mbedtls_calloc(1, buf_len)) == NULL) { in main()
3988 if ((ret = mbedtls_ssl_context_save(&ssl, context_buf, in main()
4006 mbedtls_base64_encode(NULL, 0, &b64_len, context_buf, buf_len); in main()
4015 context_buf, buf_len)) != 0) { in main()
4102 if ((ret = mbedtls_ssl_context_load(&ssl, context_buf, in main()
4110 mbedtls_free(context_buf); in main()
4111 context_buf = NULL; in main()
4181 if (context_buf != NULL) { in main()
4182 mbedtls_platform_zeroize(context_buf, context_buf_len); in main()
[all …]
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1752 unsigned char *context_buf = NULL; in mbedtls_test_ssl_perform_handshake() local
1979 context_buf = mbedtls_calloc(1, context_buf_len); in mbedtls_test_ssl_perform_handshake()
1980 TEST_ASSERT(context_buf != NULL); in mbedtls_test_ssl_perform_handshake()
1982 TEST_ASSERT(mbedtls_ssl_context_save(&(server.ssl), context_buf, in mbedtls_test_ssl_perform_handshake()
2011 TEST_ASSERT(mbedtls_ssl_context_load(&(server.ssl), context_buf, in mbedtls_test_ssl_perform_handshake()
2118 if (context_buf != NULL) { in mbedtls_test_ssl_perform_handshake()
2119 mbedtls_free(context_buf); in mbedtls_test_ssl_perform_handshake()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54539 u8 *context_buf; member