Searched refs:ciph_ctx (Results 1 – 4 of 4) sorted by relevance
/external/openssl/ssl/ |
D | d1_clnt.c | 1073 EVP_CIPHER_CTX ciph_ctx; in dtls1_send_client_key_exchange() local 1081 EVP_CIPHER_CTX_init(&ciph_ctx); in dtls1_send_client_key_exchange() 1169 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL, in dtls1_send_client_key_exchange() 1171 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf, in dtls1_send_client_key_exchange() 1173 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); in dtls1_send_client_key_exchange() 1180 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in dtls1_send_client_key_exchange()
|
D | kssl.c | 2004 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()
|
D | s3_clnt.c | 2630 EVP_CIPHER_CTX ciph_ctx; in ssl3_send_client_key_exchange() local 2638 EVP_CIPHER_CTX_init(&ciph_ctx); in ssl3_send_client_key_exchange() 2728 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL, in ssl3_send_client_key_exchange() 2730 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf, in ssl3_send_client_key_exchange() 2732 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); in ssl3_send_client_key_exchange() 2739 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in ssl3_send_client_key_exchange()
|
D | s3_srvr.c | 2514 EVP_CIPHER_CTX ciph_ctx; in ssl3_get_client_key_exchange() local 2523 EVP_CIPHER_CTX_init(&ciph_ctx); in ssl3_get_client_key_exchange() 2623 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv)) in ssl3_get_client_key_exchange() 2629 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl, in ssl3_get_client_key_exchange() 2642 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl)) in ssl3_get_client_key_exchange() 2673 EVP_CIPHER_CTX_cleanup(&ciph_ctx); in ssl3_get_client_key_exchange()
|