/external/wpa_supplicant_8/src/crypto/ |
D | tls_none.c | 25 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 char * tls_connection_peer_serial_num(void *tls_ctx, in tls_connection_peer_serial_num() argument 55 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument 61 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument 68 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument 75 int tls_global_set_verify(void *tls_ctx, int check_crl, int strict) in tls_global_set_verify() argument 81 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_verify() argument [all …]
|
D | tls.h | 238 void tls_deinit(void *tls_ctx); 247 int tls_get_errors(void *tls_ctx); 254 struct tls_connection * tls_connection_init(void *tls_ctx); 263 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn); 271 int tls_connection_established(void *tls_ctx, struct tls_connection *conn); 282 char * tls_connection_peer_serial_num(void *tls_ctx, 296 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn); 318 tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, 334 void *tls_ctx, const struct tls_connection_params *params); 344 int __must_check tls_global_set_verify(void *tls_ctx, int check_crl, [all …]
|
D | tls_internal.c | 87 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 char * tls_connection_peer_serial_num(void *tls_ctx, in tls_connection_peer_serial_num() argument 188 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument 202 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument 305 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument 309 struct tls_global *global = tls_ctx; in tls_global_set_params() [all …]
|
D | tls_wolfssl.c | 276 int tls_get_errors(void *tls_ctx) in tls_get_errors() argument 294 struct tls_connection * tls_connection_init(void *tls_ctx) in tls_connection_init() argument 296 WOLFSSL_CTX *ssl_ctx = tls_ctx; in tls_connection_init() 325 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn) in tls_connection_deinit() argument 344 int tls_connection_established(void *tls_ctx, struct tls_connection *conn) in tls_connection_established() argument 350 char * tls_connection_peer_serial_num(void *tls_ctx, in tls_connection_peer_serial_num() argument 358 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument 510 static int tls_connection_private_key(void *tls_ctx, in tls_connection_private_key() argument 517 WOLFSSL_CTX *ctx = tls_ctx; in tls_connection_private_key() 1134 static int tls_connection_ca_cert(void *tls_ctx, struct tls_connection *conn, in tls_connection_ca_cert() argument [all …]
|
D | tls_gnutls.c | 298 char * tls_connection_peer_serial_num(void *tls_ctx, in tls_connection_peer_serial_num() argument 353 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument 736 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument 739 struct tls_global *global = tls_ctx; in tls_global_set_params() 900 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key() argument 921 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key() argument 1447 struct wpabuf * tls_connection_handshake(void *tls_ctx, in tls_connection_handshake() argument 1452 struct tls_global *global = tls_ctx; in tls_connection_handshake() 1568 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() argument 1573 return tls_connection_handshake(tls_ctx, conn, in_data, appl_data); in tls_connection_server_handshake() [all …]
|
D | tls_openssl.c | 1643 char * tls_connection_peer_serial_num(void *tls_ctx, in tls_connection_peer_serial_num() argument 3945 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_export_key() argument 3958 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn, in tls_connection_get_eap_fast_key() argument 4241 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() argument 4251 struct wpabuf * tls_connection_encrypt(void *tls_ctx, in tls_connection_encrypt() argument 4291 struct wpabuf * tls_connection_decrypt(void *tls_ctx, in tls_connection_decrypt() argument 4346 int tls_connection_set_cipher_list(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_cipher_list() argument 4777 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, in tls_connection_set_params() argument 4780 struct tls_data *data = tls_ctx; in tls_connection_set_params() 5000 int tls_global_set_params(void *tls_ctx, in tls_global_set_params() argument [all …]
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_tls.c | 58 AEAD_TLS_CTX *tls_ctx = (AEAD_TLS_CTX *)&ctx->state; in aead_tls_cleanup() local 59 EVP_CIPHER_CTX_cleanup(&tls_ctx->cipher_ctx); in aead_tls_cleanup() 60 HMAC_CTX_cleanup(&tls_ctx->hmac_ctx); in aead_tls_cleanup() 83 AEAD_TLS_CTX *tls_ctx = (AEAD_TLS_CTX *)&ctx->state; in aead_tls_init() local 84 EVP_CIPHER_CTX_init(&tls_ctx->cipher_ctx); in aead_tls_init() 85 HMAC_CTX_init(&tls_ctx->hmac_ctx); in aead_tls_init() 87 OPENSSL_memcpy(tls_ctx->mac_key, key, mac_key_len); in aead_tls_init() 88 tls_ctx->mac_key_len = (uint8_t)mac_key_len; in aead_tls_init() 89 tls_ctx->implicit_iv = implicit_iv; in aead_tls_init() 91 if (!EVP_CipherInit_ex(&tls_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len], in aead_tls_init() [all …]
|