Home
last modified time | relevance | path

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

12

/freebsd-head/crypto/openssl/crypto/evp/
HDp_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()
/freebsd-head/crypto/openssl/crypto/cmac/
HDcmac.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()
/freebsd-head/crypto/openssl/providers/implementations/macs/
HDgmac_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()
/freebsd-head/crypto/openssl/test/
HDaesgcmtest.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()
HDevp_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()
HDafalgtest.c123 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
HDthreadstest.c348 if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv)) in thread_general_worker()
HDevp_extra_test.c3031 || !TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, in test_decrypt_null_chunks()
3410 || !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv)) in test_evp_iv_aes()
3423 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL)) in test_evp_iv_aes()
3521 || !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv)) in test_evp_iv_des()
3533 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL)) in test_evp_iv_des()
4976 if (!TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), e, keyiv, keyiv))) in test_cipher_with_engine()
/freebsd-head/crypto/openssl/demos/mac/
HDpoly1305.c132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
/freebsd-head/crypto/openssl/doc/man3/
HDEVP_aes_128_gcm.pod158 only be one L<EVP_EncryptUpdate(3)> call per L<EVP_EncryptInit_ex(3)> call (and
161 The I<iv> parameter to L<EVP_EncryptInit_ex(3)> or L<EVP_DecryptInit_ex(3)> is
HDRC4_set_key.pod23 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
HDSSL_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,
HDBF_encrypt.pod37 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
HDEVP_CIPHER_meth_new.pod193 EVP_CipherInit_ex(), EVP_EncryptInit(), EVP_EncryptInit_ex(),
HDEVP_EncryptInit.pod11 EVP_EncryptInit_ex,
113 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
354 =item EVP_EncryptInit_ex()
426 Behave in a similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex() and
468 to EVP_EncryptInit_ex()) an implementation of the cipher will be implicitly
1485 The functions EVP_EncryptInit(), EVP_EncryptInit_ex(),
/freebsd-head/crypto/openssl/crypto/cms/
HDcms_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()
HDcms_dh.c128 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
HDcms_ec.c193 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
HDcms_kari.c469 ret = EVP_EncryptInit_ex(ctx, fetched_kekcipher, NULL, NULL, NULL); in cms_wrap_init()
/freebsd-head/crypto/openssl/demos/cipher/
HDaesccm.c112 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_encrypt()
/freebsd-head/tools/tools/crypto/
HDcryptocheck.c1115 if (EVP_EncryptInit_ex(ctx, cipher, NULL, (const u_char *)key, in openssl_gmac()
1331 if (EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL) != 1) { in openssl_aead_encrypt()
1342 if (EVP_EncryptInit_ex(ctx, NULL, NULL, (const u_char *)key, in openssl_aead_encrypt()
1450 if (EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL) != 1) { in openssl_ccm_encrypt()
1470 if (EVP_EncryptInit_ex(ctx, NULL, NULL, (const u_char *)key, in openssl_ccm_encrypt()
/freebsd-head/crypto/openssl/providers/implementations/kdfs/
HDkrb5kdf.c332 ret = EVP_EncryptInit_ex(ctx, cipher, engine, key, NULL); in cipher_init()
/freebsd-head/crypto/openssl/crypto/modes/
HDsiv128.c199 || !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL) in ossl_siv128_init()
/freebsd-head/contrib/libarchive/libarchive/
HDarchive_cryptor.c413 r = EVP_EncryptInit_ex(ctx->ctx, ctx->type, NULL, ctx->key, NULL); in aes_ctr_encrypt_counter()
/freebsd-head/contrib/wpa/src/crypto/
HDcrypto_openssl.c348 EVP_EncryptInit_ex(ctx, EVP_des_ecb(), NULL, pkey, NULL) == 1 && in des_encrypt()
479 if (EVP_EncryptInit_ex(ctx, type, NULL, key, NULL) != 1 || in aes_encrypt_init()
614 if (EVP_EncryptInit_ex(ctx, type, NULL, kek, NULL) == 1 && in aes_wrap()
700 if (EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv) == 1 && in aes_128_cbc_encrypt()
912 !EVP_EncryptInit_ex(ctx->enc, cipher, NULL, NULL, NULL) || in crypto_cipher_init()
915 !EVP_EncryptInit_ex(ctx->enc, NULL, NULL, key, iv)) { in crypto_cipher_init()
5110 EVP_EncryptInit_ex(cctx, ctx->cipher, NULL, ctx->key, in hpke_aead_seal()

12