Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/evp/
H A Dp_seal.c33 if (!EVP_EncryptInit_ex(ctx, type, NULL, NULL, NULL)) in EVP_SealInit()
53 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/crypto/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()
241 || !EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, p->data)) in gmac_set_ctx_params()
/freebsd/crypto/openssl/test/
H A Daesgcmtest.c48 && TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, NULL, in do_encrypt()
51 && TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key, in do_encrypt()
122 && TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL)) in badkeylen_test()
H A Devp_libctx_test.c403 if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv)) in test_cipher_reinit()
405 || !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in test_cipher_reinit()
409 && (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv)) in test_cipher_reinit()
497 if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv)) in test_cipher_reinit_partialupdate()
499 || !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) in test_cipher_reinit_partialupdate()
508 if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv)) in test_cipher_reinit_partialupdate()
H A Dafalgtest.c117 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
/freebsd/crypto/openssl/crypto/cmac/
H A Dcmac.c137 if (!EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL)) in ossl_cmac_init()
289 return EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, ctx->tbl); in CMAC_resume()
/freebsd/crypto/krb5/src/lib/crypto/openssl/enc_provider/
H A Drc4.c84 ret = EVP_EncryptInit_ex(ctx, EVP_rc4(), NULL, key->keyblock.contents, in k5_arcfour_docrypt()
H A Ddes3.c97 ret = EVP_EncryptInit_ex(ctx, EVP_des_ede3_cbc(), NULL, in k5_des3_encrypt()
H A Daes.c82 ret = EVP_EncryptInit_ex(ctx, map_mode(key->keyblock.length), in cbc_enc()
H A Dcamellia.c81 ret = EVP_EncryptInit_ex(ctx, map_mode(key->keyblock.length), in cbc_enc()
/freebsd/crypto/openssl/demos/mac/
H A Dpoly1305.c132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_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
H A DRC4_set_key.pod23 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
H A 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,
H A DBF_encrypt.pod37 instead use L<EVP_EncryptInit_ex(3)>, L<EVP_EncryptUpdate(3)> and
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dkrb5kdf.c352 ret = EVP_EncryptInit_ex(ctx, cipher, engine, NULL, NULL); in cipher_init()
364 ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key, NULL); in cipher_init()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_pwri.c94 if (EVP_EncryptInit_ex(ctx, kekciph, NULL, NULL, NULL) <= 0) { in CMS_add0_recipient_password()
108 if (EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv) <= 0) { in CMS_add0_recipient_password()
H A Dcms_dh.c134 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info()
H A Dcms_ec.c200 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
H A Dcms_kari.c480 ret = EVP_EncryptInit_ex(ctx, fetched_kekcipher, NULL, NULL, NULL); in cms_wrap_init()
/freebsd/crypto/openssl/demos/cipher/
H A Daesccm.c111 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, ccm_key, ccm_nonce)) in aes_ccm_encrypt()
/freebsd/tools/tools/crypto/
H A Dcryptocheck.c1120 if (EVP_EncryptInit_ex(ctx, cipher, NULL, (const u_char *)key, in openssl_gmac()
1336 if (EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL) != 1) { in openssl_aead_encrypt()
1347 if (EVP_EncryptInit_ex(ctx, NULL, NULL, (const u_char *)key, in openssl_aead_encrypt()
1455 if (EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL) != 1) { in openssl_ccm_encrypt()
1475 if (EVP_EncryptInit_ex(ctx, NULL, NULL, (const u_char *)key, in openssl_ccm_encrypt()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_port.c181 || !EVP_EncryptInit_ex(port->token_ctx, cipher, NULL, NULL, NULL) in port_init()
185 || !EVP_EncryptInit_ex(port->token_ctx, NULL, NULL, token_key, NULL)) in port_init()
976 || !EVP_EncryptInit_ex(port->token_ctx, NULL, NULL, NULL, iv) in encrypt_validation_token()
/freebsd/crypto/openssl/crypto/modes/
H A Dsiv128.c197 || !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL) in ossl_siv128_init()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_cryptor.c413 r = EVP_EncryptInit_ex(ctx->ctx, ctx->type, NULL, ctx->key, NULL); in aes_ctr_encrypt_counter()

12