Searched refs:ssl3_ctx (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/cipher_extra/ |
D | e_ssl3.c | 37 static int ssl3_mac(AEAD_SSL3_CTX *ssl3_ctx, uint8_t *out, unsigned *out_len, in ssl3_mac() argument 40 size_t md_size = EVP_MD_CTX_size(&ssl3_ctx->md_ctx); in ssl3_mac() 55 if (!EVP_MD_CTX_copy_ex(&md_ctx, &ssl3_ctx->md_ctx) || in ssl3_mac() 66 if (!EVP_MD_CTX_copy_ex(&md_ctx, &ssl3_ctx->md_ctx) || in ssl3_mac() 78 AEAD_SSL3_CTX *ssl3_ctx = (AEAD_SSL3_CTX *)ctx->aead_state; in aead_ssl3_cleanup() local 79 EVP_CIPHER_CTX_cleanup(&ssl3_ctx->cipher_ctx); in aead_ssl3_cleanup() 80 EVP_MD_CTX_cleanup(&ssl3_ctx->md_ctx); in aead_ssl3_cleanup() 81 OPENSSL_free(ssl3_ctx); in aead_ssl3_cleanup() 103 AEAD_SSL3_CTX *ssl3_ctx = OPENSSL_malloc(sizeof(AEAD_SSL3_CTX)); in aead_ssl3_init() local 104 if (ssl3_ctx == NULL) { in aead_ssl3_init() [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_test.cc | 3545 bssl::UniquePtr<SSL_CTX> ssl3_ctx(SSL_CTX_new(SSLv3_method())); in TEST() local 3546 ASSERT_TRUE(ssl3_ctx); in TEST() 3547 ASSERT_TRUE(SSL_CTX_use_certificate(ssl3_ctx.get(), cert.get())); in TEST() 3548 bssl::UniquePtr<SSL> ssl(SSL_new(ssl3_ctx.get())); in TEST() 3561 ssl3_ctx.get(), in TEST() 3568 EXPECT_FALSE(ConnectClientAndServer(&client, &server, ssl3_ctx.get(), in TEST()
|