Home
last modified time | relevance | path

Searched refs:tls_ctx (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dtls_none.c25 int tls_get_errors(void *tls_ctx) in tls_get_errors() argument
31 struct tls_connection * tls_connection_init(void *tls_ctx) in tls_connection_init() argument
37 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit() argument
42 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established() argument
48 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument
54 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument
61 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument
68 int tls_global_set_verify(void *tls_ctx, int check_crl) in tls_global_set_verify() argument
74 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_verify() argument
82 int tls_connection_get_random(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_random() argument
[all …]
Dtls.h215 void tls_deinit(void *tls_ctx);
224 int tls_get_errors(void *tls_ctx);
231 struct tls_connection * tls_connection_init(void *tls_ctx);
240 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn);
248 int tls_connection_established(void *tls_ctx, struct tls_connection *conn);
261 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn);
283 tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
299 void *tls_ctx, const struct tls_connection_params *params);
308 int __must_check tls_global_set_verify(void *tls_ctx, int check_crl);
320 int __must_check tls_connection_set_verify(void *tls_ctx,
[all …]
Dtls_internal.c87 int tls_get_errors(void *tls_ctx) in tls_get_errors() argument
93 struct tls_connection * tls_connection_init(void *tls_ctx) in tls_connection_init() argument
96 struct tls_global *global = tls_ctx; in tls_connection_init()
150 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit() argument
166 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established() argument
180 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument
194 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument
291 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument
295 struct tls_global *global = tls_ctx; in tls_global_set_params()
348 int tls_global_set_verify(void *tls_ctx, int check_crl) in tls_global_set_verify() argument
[all …]
Dtls_gnutls.c345 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument
652 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument
655 struct tls_global *global = tls_ctx; in tls_global_set_params()
813 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key() argument
825 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key() argument
1308 struct wpabuf * tls_connection_handshake(void *tls_ctx, in tls_connection_handshake() argument
1313 struct tls_global *global = tls_ctx; in tls_connection_handshake()
1413 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() argument
1418 return tls_connection_handshake(tls_ctx, conn, in_data, appl_data); in tls_connection_server_handshake()
1422 struct wpabuf * tls_connection_encrypt(void *tls_ctx, in tls_connection_encrypt() argument
[all …]
Dtls_openssl.c3180 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key() argument
3191 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key() argument
3426 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() argument
3435 struct wpabuf * tls_connection_encrypt(void *tls_ctx, in tls_connection_encrypt() argument
3475 struct wpabuf * tls_connection_decrypt(void *tls_ctx, in tls_connection_decrypt() argument
3530 int tls_connection_set_cipher_list(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_cipher_list() argument
3944 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument
3947 struct tls_data *data = tls_ctx; in tls_connection_set_params()
4108 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument
4111 struct tls_data *data = tls_ctx; in tls_global_set_params()
[all …]
/external/boringssl/src/crypto/cipher_extra/
De_tls.c48 AEAD_TLS_CTX *tls_ctx = (AEAD_TLS_CTX *)ctx->aead_state; in aead_tls_cleanup() local
49 EVP_CIPHER_CTX_cleanup(&tls_ctx->cipher_ctx); in aead_tls_cleanup()
50 HMAC_CTX_cleanup(&tls_ctx->hmac_ctx); in aead_tls_cleanup()
51 OPENSSL_cleanse(&tls_ctx->mac_key, sizeof(tls_ctx->mac_key)); in aead_tls_cleanup()
52 OPENSSL_free(tls_ctx); in aead_tls_cleanup()
76 AEAD_TLS_CTX *tls_ctx = OPENSSL_malloc(sizeof(AEAD_TLS_CTX)); in aead_tls_init() local
77 if (tls_ctx == NULL) { in aead_tls_init()
81 EVP_CIPHER_CTX_init(&tls_ctx->cipher_ctx); in aead_tls_init()
82 HMAC_CTX_init(&tls_ctx->hmac_ctx); in aead_tls_init()
84 OPENSSL_memcpy(tls_ctx->mac_key, key, mac_key_len); in aead_tls_init()
[all …]
/external/boringssl/src/ssl/
Dssl_test.cc3552 bssl::UniquePtr<SSL_CTX> tls_ctx(SSL_CTX_new(TLS_method())); in TEST() local
3553 ASSERT_TRUE(tls_ctx); in TEST()
3554 ASSERT_TRUE(SSL_CTX_use_certificate(tls_ctx.get(), cert.get())); in TEST()
3560 EXPECT_FALSE(ConnectClientAndServer(&client, &server, tls_ctx.get(), in TEST()
3569 tls_ctx.get(), in TEST()