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.h219 void tls_deinit(void *tls_ctx);
228 int tls_get_errors(void *tls_ctx);
235 struct tls_connection * tls_connection_init(void *tls_ctx);
244 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn);
252 int tls_connection_established(void *tls_ctx, struct tls_connection *conn);
265 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn);
287 tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
303 void *tls_ctx, const struct tls_connection_params *params);
312 int __must_check tls_global_set_verify(void *tls_ctx, int check_crl);
324 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.c3459 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key() argument
3470 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key() argument
3740 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() argument
3749 struct wpabuf * tls_connection_encrypt(void *tls_ctx, in tls_connection_encrypt() argument
3789 struct wpabuf * tls_connection_decrypt(void *tls_ctx, in tls_connection_decrypt() argument
3844 int tls_connection_set_cipher_list(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_cipher_list() argument
4275 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument
4278 struct tls_data *data = tls_ctx; in tls_connection_set_params()
4440 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument
4443 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_free(tls_ctx); in aead_tls_cleanup()
75 AEAD_TLS_CTX *tls_ctx = OPENSSL_malloc(sizeof(AEAD_TLS_CTX)); in aead_tls_init() local
76 if (tls_ctx == NULL) { in aead_tls_init()
80 EVP_CIPHER_CTX_init(&tls_ctx->cipher_ctx); in aead_tls_init()
81 HMAC_CTX_init(&tls_ctx->hmac_ctx); in aead_tls_init()
83 OPENSSL_memcpy(tls_ctx->mac_key, key, mac_key_len); in aead_tls_init()
84 tls_ctx->mac_key_len = (uint8_t)mac_key_len; in aead_tls_init()
[all …]
/external/boringssl/src/ssl/
Dssl_test.cc3550 bssl::UniquePtr<SSL_CTX> tls_ctx(SSL_CTX_new(TLS_method())); in TEST() local
3551 ASSERT_TRUE(tls_ctx); in TEST()
3552 ASSERT_TRUE(SSL_CTX_use_certificate(tls_ctx.get(), cert.get())); in TEST()
3558 EXPECT_FALSE(ConnectClientAndServer(&client, &server, tls_ctx.get(), in TEST()
3566 tls_ctx.get())); in TEST()