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

/freebsd-9.3-release/crypto/openssl/ssl/
H A Dd1_clnt.c871 EVP_CIPHER_CTX ciph_ctx; local
878 EVP_CIPHER_CTX_init(&ciph_ctx);
955 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
956 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
958 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
962 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
963 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
965 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
972 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2016 EVP_CIPHER_CTX ciph_ctx; local
2025 EVP_CIPHER_CTX_init(&ciph_ctx);
2090 if (!EVP_CipherInit(&ciph_ctx, enc, kssl_ctx->key, iv, 0)) {
2098 (&ciph_ctx, unenc_authent, dec_authent->cipher->data, outl)) {
2104 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2156 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2005 EVP_CIPHER_CTX ciph_ctx; local
2014 EVP_CIPHER_CTX_init(&ciph_ctx);
2105 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2110 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2124 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2157 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2006 EVP_CIPHER_CTX ciph_ctx; local
2013 EVP_CIPHER_CTX_init(&ciph_ctx);
2092 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2093 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2095 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2099 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2100 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2102 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2109 EVP_CIPHER_CTX_cleanup(&ciph_ctx);

Completed in 110 milliseconds