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

/external/openssl/ssl/
H A Dd1_clnt.c878 EVP_CIPHER_CTX ciph_ctx; local
886 EVP_CIPHER_CTX_init(&ciph_ctx);
967 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
968 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
970 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
974 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
976 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
978 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
985 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2004 EVP_CIPHER_CTX ciph_ctx; local
2013 EVP_CIPHER_CTX_init(&ciph_ctx);
2078 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
2086 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl))
2093 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2145 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2166 EVP_CIPHER_CTX ciph_ctx; local
2174 EVP_CIPHER_CTX_init(&ciph_ctx);
2257 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2258 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2260 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2264 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2266 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2268 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2275 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2201 EVP_CIPHER_CTX ciph_ctx; local
2210 EVP_CIPHER_CTX_init(&ciph_ctx);
2310 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2316 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2329 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2360 EVP_CIPHER_CTX_cleanup(&ciph_ctx);

Completed in 111 milliseconds