Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/evp/
Dp_seal.c28 if (!EVP_EncryptInit_ex(ctx, type, NULL, NULL, NULL)) in EVP_SealInit()
40 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in EVP_SealInit()
63 i = EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL); in EVP_SealFinal()
Devp_enc.c241 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() function
/third_party/openssl/crypto/cmac/
Dcmac.c112 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv)) in CMAC_Init()
122 if (!EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL)) in CMAC_Init()
135 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, key, zero_iv)) in CMAC_Init()
144 if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv)) in CMAC_Init()
232 return EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, ctx->tbl); in CMAC_resume()
/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/
Dencrypt.cc108 ret = EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, ivec); in evp_aes_encrypt()
111 ret = EVP_EncryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, key, ivec); in evp_aes_encrypt()
125 ret = EVP_EncryptInit_ex(ctx, EVP_aes_128_ctr(), NULL, key, ivec); in evp_aes_encrypt()
128 ret = EVP_EncryptInit_ex(ctx, EVP_aes_256_ctr(), NULL, key, ivec); in evp_aes_encrypt()
/third_party/openssl/demos/evp/
Daesgcm.c60 EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, NULL, NULL); in aes_gcm_encrypt()
64 EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key, gcm_iv); in aes_gcm_encrypt()
Daesccm.c60 EVP_EncryptInit_ex(ctx, EVP_aes_192_ccm(), NULL, NULL, NULL); in aes_ccm_encrypt()
67 EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce); in aes_ccm_encrypt()
/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.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
DEVP_EncryptInit.pod8 EVP_EncryptInit_ex,
61 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
134 EVP_EncryptInit_ex() sets up cipher context B<ctx> for encryption
196 similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex() and
216 or decryption with EVP_EncryptInit_ex(), EVP_DecryptInit_ex() or
291 EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex()
497 compatibility with existing code. New code should use EVP_EncryptInit_ex(),
543 EVP_EncryptInit_ex(ctx, EVP_idea_cbc(), NULL, key, iv);
DSSL_CTX_set_tlsext_ticket_key_cb.pod56 set using L<EVP_EncryptInit_ex(3)>. The hmac context can be set using
159 EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, key->aes_key, iv);
DEVP_CIPHER_meth_new.pod188 EVP_CipherInit_ex(), EVP_EncryptInit(), EVP_EncryptInit_ex(),
/third_party/openssl/crypto/cms/
Dcms_pwri.c84 if (EVP_EncryptInit_ex(ctx, kekciph, NULL, NULL, NULL) <= 0) { in CMS_add0_recipient_password()
94 if (EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv) <= 0) { in CMS_add0_recipient_password()
Dcms_kari.c361 return EVP_EncryptInit_ex(ctx, kekcipher, NULL, NULL, NULL); in cms_wrap_init()
/third_party/openssl/test/
Dafalgtest.c108 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
Devp_extra_test.c1683 || !TEST_true(EVP_EncryptInit_ex(ctx, EVP_chacha20_poly1305(), NULL, in test_decrypt_null_chunks()
1979 if (!TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), e, keyiv, keyiv))) in test_cipher_with_engine()
/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/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()
/third_party/grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc291 if (!EVP_EncryptInit_ex(aes_gcm_crypter->ctx, nullptr, nullptr, nullptr, in gsec_aes_gcm_aead_crypter_encrypt_iovec()
/third_party/mindspore/mindspore/core/utils/
Dcrypto.cc169 ret = EVP_EncryptInit_ex(ctx, funcPtr(), NULL, key, iv); in GetEvpCipherCtx()
/third_party/openssl/crypto/dh/
Ddh_ameth.c717 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
/third_party/openssl/crypto/pem/
Dpvkfmt.c844 if (!EVP_EncryptInit_ex(cctx, EVP_rc4(), NULL, keybuf, NULL)) in i2b_PVK()
Dpem_lib.c385 || !EVP_EncryptInit_ex(ctx, enc, NULL, key, iv) in PEM_ASN1_write_bio()
/third_party/openssl/crypto/ec/
Dec_ameth.c770 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
/third_party/openssl/apps/
Dspeed.c1017 EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv); in EVP_Update_loop_aead()
3635 EVP_EncryptInit_ex(ctx, evp_cipher, NULL, NULL, no_iv); in multiblock_speed()
3640 EVP_EncryptInit_ex(ctx, NULL, NULL, key, NULL); in multiblock_speed()
Dcms.c845 EVP_EncryptInit_ex(wctx, wrap_cipher, NULL, NULL, NULL); in cms_main()

12