Home
last modified time | relevance | path

Searched refs:EVP_EncryptInit_ex (Results 1 – 25 of 45) sorted by relevance

12

/third_party/openssl/crypto/cmac/
Dcmac.c121 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv)) in CMAC_Init()
131 if (!EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL)) in CMAC_Init()
144 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, key, zero_iv)) in CMAC_Init()
154 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv)) in CMAC_Init()
248 return EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, ctx->tbl); in CMAC_resume()
/third_party/openssl/crypto/evp/
Dp_seal.c34 if (!EVP_EncryptInit_ex(ctx, type, NULL, NULL, NULL)) in EVP_SealInit()
54 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in EVP_SealInit()
85 i = EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL); in EVP_SealFinal()
/third_party/openssl/providers/implementations/macs/
Dgmac_prov.c109 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, key, NULL)) in gmac_setkey()
123 return EVP_EncryptInit_ex(macctx->ctx, NULL, NULL, NULL, NULL); in gmac_init()
223 if (!EVP_EncryptInit_ex(ctx, ossl_prov_cipher_cipher(&macctx->cipher), in gmac_set_ctx_params()
240 || !EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, p->data)) in gmac_set_ctx_params()
/third_party/openssl/test/
Daesgcmtest.c48 && TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, NULL, in do_encrypt()
50 && TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key, in do_encrypt()
113 && TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL)) in badkeylen_test()
Devp_libctx_test.c367 if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv)) in test_cipher_reinit()
369 || !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in test_cipher_reinit()
373 && (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv)) in test_cipher_reinit()
453 if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv)) in test_cipher_reinit_partialupdate()
455 || !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in test_cipher_reinit_partialupdate()
463 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv)) in test_cipher_reinit_partialupdate()
Dafalgtest.c123 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
Devp_extra_test.c2833 || !TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, in test_decrypt_null_chunks()
3212 || !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv)) in test_evp_iv_aes()
3225 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL)) in test_evp_iv_aes()
3323 || !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv)) in test_evp_iv_des()
3335 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL)) in test_evp_iv_des()
4588 if (!TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), e, keyiv, keyiv))) in test_cipher_with_engine()
Dthreadstest.c348 if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv)) in thread_general_worker()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genaes.c239 n = EVP_EncryptInit_ex(ctx->ctx, ctx->cipher, ctx->engine, in lws_genaes_create()
340 n = EVP_EncryptInit_ex(ctx->ctx, NULL, NULL, in lws_genaes_crypt()
/third_party/openssl/doc/man3/
DEVP_aes_128_gcm.pod164 only be one L<EVP_EncryptUpdate(3)> call per L<EVP_EncryptInit_ex(3)> call (and
167 The I<iv> parameter to L<EVP_EncryptInit_ex(3)> or L<EVP_DecryptInit_ex(3)> is
DRC4_set_key.pod23 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
DSSL_CTX_set_tlsext_ticket_key_cb.pod68 set using L<EVP_EncryptInit_ex(3)>. The hmac context and digest can be set using
182 if (EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, key->aes_key,
DBF_encrypt.pod37 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
/third_party/openssl/crypto/cms/
Dcms_pwri.c93 if (EVP_EncryptInit_ex(ctx, kekciph, NULL, NULL, NULL) <= 0) { in CMS_add0_recipient_password()
107 if (EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv) <= 0) { in CMS_add0_recipient_password()
Dcms_dh.c128 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
Dcms_ec.c192 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
Dcms_kari.c469 ret = EVP_EncryptInit_ex(ctx, fetched_kekcipher, NULL, NULL, NULL); in cms_wrap_init()
/third_party/openssl/demos/mac/
Dpoly1305.c132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
/third_party/openssl/demos/cipher/
Daesccm.c112 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_encrypt()
/third_party/rust/crates/rust-openssl/openssl/src/
Dcipher_ctx.rs107 #[corresponds(EVP_EncryptInit_ex)]
114 self.cipher_init(type_, key, iv, ffi::EVP_EncryptInit_ex) in encrypt_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c332 if (EVP_EncryptInit_ex(ctx, type, NULL, key, NULL) != 1) { in aes_encrypt_init()
480 if (EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv) == 1 && in aes_128_cbc_encrypt()
693 !EVP_EncryptInit_ex(ctx->enc, cipher, NULL, NULL, NULL) || in crypto_cipher_init()
695 !EVP_EncryptInit_ex(ctx->enc, NULL, NULL, key, iv)) { in crypto_cipher_init()
/third_party/openssl/providers/implementations/kdfs/
Dkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
/third_party/nghttp2/src/
Dshrpx_quic.cc199 if (!EVP_EncryptInit_ex(ctx, EVP_aes_128_ecb(), nullptr, key, nullptr)) { in encrypt_quic_connection_id()
/third_party/openssl/crypto/modes/
Dsiv128.c199 || !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL) in ossl_siv128_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c274 EVP_EncryptInit_ex(ctx, EVP_des_ecb(), NULL, pkey, NULL) == 1 && in des_encrypt()
405 if (EVP_EncryptInit_ex(ctx, type, NULL, key, NULL) != 1) { in aes_encrypt_init()
553 if (EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv) == 1 && in aes_128_cbc_encrypt()
765 !EVP_EncryptInit_ex(ctx->enc, cipher, NULL, NULL, NULL) || in crypto_cipher_init()
768 !EVP_EncryptInit_ex(ctx->enc, NULL, NULL, key, iv)) { in crypto_cipher_init()

12