Searched defs:ciph_ctx (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/ssl/
H A Dd1_clnt.c1052 EVP_CIPHER_CTX ciph_ctx; local
1060 EVP_CIPHER_CTX_init(&ciph_ctx);
1141 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
1142 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
1144 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
1148 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
1150 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
1152 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
1159 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2392 EVP_CIPHER_CTX ciph_ctx; local
2400 EVP_CIPHER_CTX_init(&ciph_ctx);
2483 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2484 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2486 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2490 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2492 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2494 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2501 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2366 EVP_CIPHER_CTX ciph_ctx; local
2375 EVP_CIPHER_CTX_init(&ciph_ctx);
2475 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2481 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2494 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2525 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);
/external/openssl/ssl/
H A Dd1_clnt.c1052 EVP_CIPHER_CTX ciph_ctx; local
1060 EVP_CIPHER_CTX_init(&ciph_ctx);
1141 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
1142 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
1144 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
1148 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
1150 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
1152 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
1159 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2393 EVP_CIPHER_CTX ciph_ctx; local
2401 EVP_CIPHER_CTX_init(&ciph_ctx);
2484 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2485 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2487 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2491 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2493 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2495 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2502 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2366 EVP_CIPHER_CTX ciph_ctx; local
2375 EVP_CIPHER_CTX_init(&ciph_ctx);
2475 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2481 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2494 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2525 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);

Completed in 215 milliseconds