/openssl/test/ |
H A D | afalgtest.c | 85 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()
|
H A D | evp_fetch_prov_test.c | 272 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 1)) in encrypt_decrypt() 275 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 0)) in encrypt_decrypt()
|
H A D | evp_extra_test.c | 4296 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1))) in evp_init_seq_set_iv() 4329 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) { in test_evp_init_seq() 4349 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) { in test_evp_init_seq() 4491 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) { in test_evp_reset() 4670 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) { in test_gcm_reinit() 4678 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) { in test_gcm_reinit() 4713 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv2, -1))) { in test_gcm_reinit() 4781 if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, kGCMDefaultKey, iv, 1))) in test_ivlen_change() 4852 if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, key, NULL, 1))) in test_keylen_change() 5316 || !TEST_true(EVP_CipherInit_ex(ciphctx, tmp, NULL, NULL, NULL, 1)) in test_custom_ciph_meth() [all …]
|
H A D | acvp_test.c | 884 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc)) in cipher_enc() 934 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) in aes_ccm_enc_dec() 939 || !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) in aes_ccm_enc_dec() 1022 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) in aes_gcm_enc_dec() 1037 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) in aes_gcm_enc_dec() 1672 if (!TEST_int_gt(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 1), 0)) in aes_cfb1_bits_test()
|
H A D | bad_dtls_test.c | 336 || !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, in send_record()
|
/openssl/providers/implementations/rands/ |
H A D | drbg_ctr.c | 236 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df() 301 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update() 302 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update() 319 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate() 423 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate() 576 if (!EVP_CipherInit_ex(ctr->ctx_ecb, in drbg_ctr_init() 578 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init() 603 if (!EVP_CipherInit_ex(ctr->ctx_df, in drbg_ctr_init()
|
/openssl/ssl/record/methods/ |
H A D | tls13_meth.c | 71 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc) <= 0 in tls13_set_crypto_state() 77 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc) <= 0) { in tls13_set_crypto_state() 215 if (EVP_CipherInit_ex(enc_ctx, NULL, NULL, NULL, nonce, sending) <= 0 in tls13_cipher()
|
H A D | tls1_meth.c | 88 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, NULL, enc) in tls1_set_crypto_state() 95 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc) in tls1_set_crypto_state() 102 || !EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc)) { in tls1_set_crypto_state() 107 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) { in tls1_set_crypto_state()
|
H A D | ssl3_meth.c | 62 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) { in ssl3_set_crypto_state()
|
/openssl/crypto/cms/ |
H A D | cms_enc.c | 78 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio() 162 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio()
|
H A D | cms_pwri.c | 359 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in ossl_cms_RecipientInfo_pwri_crypt()
|
/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); in PKCS12_PBE_keyivgen_ex()
|
/openssl/crypto/asn1/ |
H A D | p5_scrypt.c | 100 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0) == 0) in PKCS5_pbe2_set_scrypt() 296 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_scrypt_keyivgen_ex()
|
H A D | p5_pbev2.c | 97 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
|
/openssl/crypto/evp/ |
H A D | p5_crpt2.c | 160 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen_ex() 257 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen_ex()
|
H A D | p5_crpt.c | 101 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen_ex()
|
H A D | e_rc2.c | 147 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
|
H A D | bio_enc.c | 315 if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL, in enc_ctrl() 440 if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e)) in BIO_set_cipher()
|
/openssl/ssl/quic/ |
H A D | quic_wire_pkt.c | 51 if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL, in ossl_quic_hdr_protector_init() 92 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, NULL, 1) in hdr_generate_mask() 106 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, sample, 1) in hdr_generate_mask() 905 if (!EVP_CipherInit_ex(cctx, cipher, NULL, in ossl_quic_calculate_retry_integrity_tag()
|
H A D | quic_record_shared.c | 176 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, el->iv[keyslot], 0)) { in el_setup_keyslot()
|
/openssl/providers/fips/ |
H A D | self_test_kats.c | 74 return EVP_CipherInit_ex(ctx, cipher, NULL, t->key, t->iv, enc) in cipher_init() 82 return EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) in cipher_init() 87 && EVP_CipherInit_ex(ctx, NULL, NULL, t->key, t->iv, enc) in cipher_init()
|
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 347 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) <= 0) in PKCS7_dataInit() 355 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0) in PKCS7_dataInit() 638 if (EVP_CipherInit_ex(evp_ctx, cipher, NULL, NULL, NULL, 0) <= 0) in PKCS7_dataDecode() 674 if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0) in PKCS7_dataDecode()
|
/openssl/apps/ |
H A D | enc.c | 636 if (!EVP_CipherInit_ex(ctx, cipher, e, NULL, NULL, enc)) { in enc_main() 646 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, in enc_main()
|
H A D | speed.c | 625 && EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) > 0) in have_cipher() 846 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1)) { in init_evp_cipher_ctx() 858 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1)) { in init_evp_cipher_ctx() 893 rc = EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); in EVP_Update_loop() 901 rc = EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, -1); in EVP_Update_loop() 952 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, aead_iv, -1)) { in EVP_Update_loop_aead_enc() 1025 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, aead_iv, -1)) { in EVP_Update_loop_aead_dec() 2986 if (!EVP_CipherInit_ex(loopargs[k].ctx, evp_cipher, NULL, in speed_main() 3001 if (!EVP_CipherInit_ex(loopargs[k].ctx, NULL, NULL, in speed_main() 3036 if (!EVP_CipherInit_ex(loopargs[k].ctx, NULL, NULL, in speed_main() [all …]
|
/openssl/crypto/modes/ |
H A D | siv128.c | 135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()
|