Home
last modified time | relevance | path

Searched refs:EVP_EncryptInit_ex (Results 1 - 25 of 52) sorted by relevance

123

/third_party/node/deps/openssl/openssl/crypto/cmac/
H A 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/cmac/
H A 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/node/deps/openssl/openssl/crypto/evp/
H A 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/crypto/evp/
H A 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/node/deps/openssl/openssl/providers/implementations/macs/
H A 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/providers/implementations/macs/
H A 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/
H A 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()
H A 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()
H A Dafalgtest.c123 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/
H A Dopenssl.c227 if (!EVP_EncryptInit_ex(actx, cipher, NULL, NULL, NULL) || in ngtcp2_crypto_aead_ctx_encrypt_init()
236 !EVP_EncryptInit_ex(actx, NULL, NULL, key, NULL)) { in ngtcp2_crypto_aead_ctx_encrypt_init()
309 if (!EVP_EncryptInit_ex(actx, cipher->native_handle, NULL, key, NULL)) { in ngtcp2_crypto_cipher_ctx_encrypt_init()
508 if (!EVP_EncryptInit_ex(actx, NULL, NULL, NULL, nonce) || in ngtcp2_crypto_encrypt()
585 if (!EVP_EncryptInit_ex(actx, NULL, NULL, NULL, sample) || in ngtcp2_crypto_hp_mask()
/third_party/libwebsockets/lib/tls/openssl/
H A 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/demos/mac/
H A Dpoly1305.c132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
133 fprintf(stderr, "EVP_EncryptInit_ex() failed\n"); in main()
/third_party/node/deps/openssl/openssl/crypto/cms/
H A 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()
H A Dcms_dh.c128 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
H A Dcms_ec.c193 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
H A Dcms_kari.c469 ret = EVP_EncryptInit_ex(ctx, fetched_kekcipher, NULL, NULL, NULL); in cms_wrap_init()
/third_party/openssl/crypto/cms/
H A 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()
H A Dcms_dh.c128 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
/third_party/openssl/demos/cipher/
H A 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/
H A Dcipher_ctx.rs118 #[corresponds(EVP_EncryptInit_ex)]
125 self.cipher_init(type_, key, iv, ffi::EVP_EncryptInit_ex) in encrypt_init()
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
/third_party/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A 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/nghttp2/src/
H A Dshrpx_quic.cc221 if (!EVP_EncryptInit_ex(ctx, EVP_aes_128_ecb(), nullptr, key, nullptr)) { in encrypt_quic_connection_id()
/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dsiv128.c199 || !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL) in ossl_siv128_init()

Completed in 17 milliseconds

123