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

/freebsd-10.1-release/crypto/openssl/ssl/
H A Dd1_clnt.c1070 EVP_CIPHER_CTX ciph_ctx; local
1077 EVP_CIPHER_CTX_init(&ciph_ctx);
1154 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
1155 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
1157 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
1161 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
1162 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
1164 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
1171 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2021 EVP_CIPHER_CTX ciph_ctx; local
2030 EVP_CIPHER_CTX_init(&ciph_ctx);
2096 if (!EVP_CipherInit(&ciph_ctx, enc, kssl_ctx->key, iv, 0)) {
2104 (&ciph_ctx, unenc_authent, dec_authent->cipher->data, outl)) {
2110 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2167 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2419 EVP_CIPHER_CTX ciph_ctx; local
2428 EVP_CIPHER_CTX_init(&ciph_ctx);
2520 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2525 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2539 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2572 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2421 EVP_CIPHER_CTX ciph_ctx; local
2428 EVP_CIPHER_CTX_init(&ciph_ctx);
2508 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2509 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2511 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2515 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2516 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2518 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2525 EVP_CIPHER_CTX_cleanup(&ciph_ctx);

Completed in 166 milliseconds