Home
last modified time | relevance | path

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

12

/openssl/test/
H 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()
H A Devp_fetch_prov_test.c272 || !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 Devp_extra_test.c4296 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 Dacvp_test.c884 || !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 Dbad_dtls_test.c336 || !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, in send_record()
/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c236 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 Dtls13_meth.c71 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 Dtls1_meth.c88 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 Dssl3_meth.c62 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) { in ssl3_set_crypto_state()
/openssl/crypto/cms/
H A Dcms_enc.c78 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 Dcms_pwri.c359 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in ossl_cms_RecipientInfo_pwri_crypt()
/openssl/crypto/pkcs12/
H A Dp12_crpt.c72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); in PKCS12_PBE_keyivgen_ex()
/openssl/crypto/asn1/
H A Dp5_scrypt.c100 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 Dp5_pbev2.c97 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
/openssl/crypto/evp/
H A Dp5_crpt2.c160 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 Dp5_crpt.c101 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen_ex()
H A De_rc2.c147 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
H A Dbio_enc.c315 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 Dquic_wire_pkt.c51 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 Dquic_record_shared.c176 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, el->iv[keyslot], 0)) { in el_setup_keyslot()
/openssl/providers/fips/
H A Dself_test_kats.c74 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 Dpk7_doit.c347 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 Denc.c636 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 Dspeed.c625 && 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 Dsiv128.c135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()

Completed in 86 milliseconds

12