Home
last modified time | relevance | path

Searched refs:EVP_CipherInit_ex (Results 1 – 25 of 36) sorted by relevance

12

/openssl-master/providers/implementations/rands/
A Ddrbg_ctr.c235 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df()
300 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update()
301 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update()
318 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate()
413 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate()
546 if (!EVP_CipherInit_ex(ctr->ctx_ecb, in drbg_ctr_init()
548 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init()
573 if (!EVP_CipherInit_ex(ctr->ctx_df, in drbg_ctr_init()
/openssl-master/test/
A Dafalgtest.c85 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
95 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
A Dtls13encryptiontest.c363 if (EVP_CipherInit_ex(s->enc_write_ctx, ciph, NULL, key, NULL, 1) <= 0 in test_tls13_encryption()
364 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0) in test_tls13_encryption()
A Devp_fetch_prov_test.c251 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 1)) in encrypt_decrypt()
254 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 0)) in encrypt_decrypt()
A Devp_extra_test.c3376 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1))) in evp_init_seq_set_iv()
3409 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) { in test_evp_init_seq()
3417 if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
3425 if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
3429 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) { in test_evp_init_seq()
3513 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) { in test_evp_reset()
3533 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) { in test_evp_reset()
3627 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) { in test_evp_updated_iv()
3711 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) { in test_gcm_reinit()
3719 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) { in test_gcm_reinit()
[all …]
A Dacvp_test.c686 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc)) in cipher_enc()
736 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) in aes_ccm_enc_dec()
741 || !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) in aes_ccm_enc_dec()
823 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) in aes_gcm_enc_dec()
838 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) in aes_gcm_enc_dec()
1417 if (!TEST_int_gt(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 1), 0)) in aes_cfb1_bits_test()
A Dbad_dtls_test.c336 || !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, in send_record()
/openssl-master/crypto/cms/
A Dcms_enc.c77 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio()
154 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio()
A Dcms_pwri.c338 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in ossl_cms_RecipientInfo_pwri_crypt()
/openssl-master/crypto/asn1/
A Dp5_scrypt.c94 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0) == 0) in PKCS5_pbe2_set_scrypt()
271 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_scrypt_keyivgen_ex()
A Dp5_pbev2.c82 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
/openssl-master/crypto/pkcs12/
A Dp12_crpt.c72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); in PKCS12_PBE_keyivgen_ex()
/openssl-master/crypto/evp/
A Dp5_crpt2.c158 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen_ex()
252 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen_ex()
A Dp5_crpt.c101 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen_ex()
A De_rc2.c147 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
A Dbio_enc.c312 if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL, in enc_ctrl()
430 if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e)) in BIO_set_cipher()
A Devp_enc.c394 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
436 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
456 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
/openssl-master/ssl/
A Dt1_enc.c395 if (!EVP_CipherInit_ex(dd, c, NULL, key, NULL, (which & SSL3_CC_WRITE)) in tls1_change_cipher_state()
408 if (!EVP_CipherInit_ex(dd, c, NULL, NULL, NULL, (which & SSL3_CC_WRITE)) in tls1_change_cipher_state()
412 || !EVP_CipherInit_ex(dd, NULL, NULL, key, NULL, -1)) { in tls1_change_cipher_state()
417 if (!EVP_CipherInit_ex(dd, c, NULL, key, iv, (which & SSL3_CC_WRITE))) { in tls1_change_cipher_state()
A Dtls13_enc.c387 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, sending) <= 0 in derive_secret_key_and_iv()
391 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, -1) <= 0) { in derive_secret_key_and_iv()
/openssl-master/ssl/record/
A Dssl3_record_tls13.c141 if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, sending) <= 0 in tls13_enc()
/openssl-master/providers/fips/
A Dself_test_kats.c66 return EVP_CipherInit_ex(ctx, cipher, NULL, t->key, t->iv, enc) in cipher_init()
74 return EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) in cipher_init()
79 && EVP_CipherInit_ex(ctx, NULL, NULL, t->key, t->iv, enc) in cipher_init()
/openssl-master/apps/
A Denc.c556 if (!EVP_CipherInit_ex(ctx, cipher, e, NULL, NULL, enc)) { in enc_main()
566 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) { in enc_main()
A Dspeed.c531 && EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) > 0) in have_cipher()
687 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1)) { in init_evp_cipher_ctx()
699 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1)) { in init_evp_cipher_ctx()
734 EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); in EVP_Update_loop()
742 EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); in EVP_Update_loop()
2223 if (!EVP_CipherInit_ex(loopargs[k].ctx, evp_cipher, NULL, in speed_main()
2235 if (!EVP_CipherInit_ex(loopargs[k].ctx, NULL, NULL, in speed_main()
/openssl-master/crypto/pkcs7/
A Dpk7_doit.c316 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) <= 0) in PKCS7_dataInit()
324 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0) in PKCS7_dataInit()
589 if (EVP_CipherInit_ex(evp_ctx, cipher, NULL, NULL, NULL, 0) <= 0) in PKCS7_dataDecode()
625 if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0) in PKCS7_dataDecode()
/openssl-master/crypto/modes/
A Dsiv128.c135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()

Completed in 45 milliseconds

12