EVP_CipherInit_ex
EVP_CipherInit_ex(rc4, EVP_rc4(), NULL, sessionkey, NULL, 1);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, (void *)k6_data, NULL, 0);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1);
EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, deskey, zero, 0);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, hash, 0);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, hash, 0);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1);
EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, deskey, zero, 1);
ret = EVP_CipherInit_ex(evp, crypto->c, NULL,
ret = EVP_CipherInit_ex(evp, crypto->c, NULL,
EVP_CipherInit_ex(ctx, c, NULL, key, ivdata, 0);
EVP_CipherInit_ex(ctx, c, NULL, derived->keyvalue.data, NULL, 1);
EVP_CipherInit_ex(ctx, EVP_rc4(), NULL, k3_c.checksum.data, NULL, 1);
EVP_CipherInit_ex(ctx, EVP_rc4(), NULL, k3_c.checksum.data, NULL, 0);
EVP_CipherInit_ex(ctx->dctx, NULL, NULL, NULL, (void *)&ivec, -1);
EVP_CipherInit_ex(ctx->ectx, NULL, NULL, NULL, (void *)&ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, (void *)&ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, (void *)&ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1);
EVP_CipherInit_ex(key->ectx, c, NULL, kd->key->keyvalue.data, NULL, 1);
EVP_CipherInit_ex(key->dctx, c, NULL, kd->key->keyvalue.data, NULL, 0);
EVP_CipherInit_ex(c, NULL, NULL, NULL, loiv, -1);
EVP_CipherInit_ex(c, NULL, NULL, NULL, ivec, -1);
EVP_CipherInit_ex(ctx, EVP_des_cbc(), NULL, key, NULL, 1);
ret = EVP_CipherInit_ex(c, EVP_rc4(), NULL, base_session->data, NULL, 1);
if (EVP_CipherInit_ex(c, EVP_rc4(), NULL, baseKey->data, NULL, 0) != 1) {
if (!EVP_CipherInit_ex(ctx, cipher, e, key,
if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, aead_iv, -1)) {
if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, aead_iv, -1)) {
if (!EVP_CipherInit_ex(loopargs[k].ctx, evp_cipher, NULL,
if (!EVP_CipherInit_ex(loopargs[k].ctx, NULL, NULL,
if (!EVP_CipherInit_ex(loopargs[k].ctx, NULL, NULL,
if (!EVP_CipherInit_ex(loopargs[k].ctx, evp_cipher,
&& EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) > 0)
if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1)) {
if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1)) {
rc = EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1);
rc = EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1);
if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0) == 0)
rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de);
if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) {
if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) <= 0) {
if (!EVP_CipherInit_ex(kari->ctx, NULL, NULL, kek, NULL, enc))
if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de))
if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL,
if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e))
if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1))
return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);
if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1))
if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de))
if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de))
rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de);
if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1))
ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de);
if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) <= 0)
if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0)
if (EVP_CipherInit_ex(evp_ctx, cipher, NULL, NULL, NULL, 0) <= 0)
if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0)
__owur int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
return EVP_CipherInit_ex(ctx, cipher, NULL, t->key, t->iv, enc)
return EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)
&& EVP_CipherInit_ex(ctx, NULL, NULL, t->key, t->iv, enc)
if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1))
if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)
|| !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1))
if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1))
if (!EVP_CipherInit_ex(ctr->ctx_ctr,
if (!EVP_CipherInit_ex(ctr->ctx_ecb,
|| !EVP_CipherInit_ex(ctr->ctx_ctr,
if (!EVP_CipherInit_ex(ctr->ctx_df,
if (EVP_CipherInit_ex(cctx, NULL,
if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, el->iv[keyslot], 0)) {
if (EVP_CipherInit_ex(cctx, NULL, NULL, NULL, nonce, /*enc=*/1) != 1) {
if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, sample, 1)
if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL,
if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, NULL, 1)
if (!EVP_CipherInit_ex(cctx, cipher, NULL,
if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) {
if (EVP_CipherInit_ex(enc_ctx, NULL, NULL, NULL, nonce, sending) <= 0
if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc) <= 0
|| EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc) <= 0) {
|| !EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc)) {
if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) {
if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, NULL, enc)
if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc)
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))
if (!TEST_int_gt(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 1), 0))
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc))
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
|| !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))
if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1))
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0))
|| !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL,
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, ENCRYPT))
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, DECRYPT))
|| !EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1)
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1)))
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) {
if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv2, -1))) {
if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, kGCMDefaultKey, iv, 1)))
if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, key, NULL, 1)))
|| !TEST_true(EVP_CipherInit_ex(ciphctx, tmp, NULL, NULL, NULL, 1))
|| !TEST_true(EVP_CipherInit_ex(ciphctx, EVP_aes_128_cbc(), NULL,
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 1))
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 0))
if (!EVP_CipherInit_ex(ctx_base, NULL, NULL, expected->key, expected->iv, -1)) {
|| !EVP_CipherInit_ex(ctx, aes128cbc, NULL, tick_aes_key, iv, enc)
|| !EVP_CipherInit_ex(ctx, aes128cbc, NULL, tick_aes_key, iv, enc)
EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, enc);
EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc);
if (EVP_CipherInit_ex(ctx, cipher, NULL, (const u_char *)key,
if (EVP_CipherInit_ex(ctx, cipher, NULL, (const u_char *)key,