Home
last modified time | relevance | path

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

123

/third_party/node/deps/openssl/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/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/node/deps/openssl/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/node/deps/openssl/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()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/
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/
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/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.c193 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
/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,
/third_party/node/deps/openssl/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()
/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.rs118 #[corresponds(EVP_EncryptInit_ex)]
125 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/node/deps/openssl/openssl/providers/implementations/kdfs/
Dkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
/third_party/openssl/providers/implementations/kdfs/
Dkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()

123