Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dd1_clnt.c1052 EVP_CIPHER_CTX ciph_ctx; in dtls1_send_client_key_exchange() local
1060 EVP_CIPHER_CTX_init(&ciph_ctx); in dtls1_send_client_key_exchange()
1148 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL, in dtls1_send_client_key_exchange()
1150 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf, in dtls1_send_client_key_exchange()
1152 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); in dtls1_send_client_key_exchange()
1159 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in dtls1_send_client_key_exchange()
Dkssl.c2004 EVP_CIPHER_CTX ciph_ctx; in kssl_check_authent() local
2013 EVP_CIPHER_CTX_init(&ciph_ctx); in kssl_check_authent()
2078 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0)) in kssl_check_authent()
2086 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl)) in kssl_check_authent()
2093 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in kssl_check_authent()
2145 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in kssl_check_authent()
Ds3_srvr.c2339 EVP_CIPHER_CTX ciph_ctx; in ssl3_get_client_key_exchange() local
2348 EVP_CIPHER_CTX_init(&ciph_ctx); in ssl3_get_client_key_exchange()
2448 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv)) in ssl3_get_client_key_exchange()
2454 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl, in ssl3_get_client_key_exchange()
2467 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl)) in ssl3_get_client_key_exchange()
2498 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in ssl3_get_client_key_exchange()
Ds3_clnt.c2371 EVP_CIPHER_CTX ciph_ctx; in ssl3_send_client_key_exchange() local
2379 EVP_CIPHER_CTX_init(&ciph_ctx); in ssl3_send_client_key_exchange()
2469 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL, in ssl3_send_client_key_exchange()
2471 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf, in ssl3_send_client_key_exchange()
2473 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); in ssl3_send_client_key_exchange()
2480 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in ssl3_send_client_key_exchange()