Home
last modified time | relevance | path

Searched refs:EVP_CipherInit_ex (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-12.1/crypto/heimdal/lib/krb5/
H A Dcrypto-evp.c49 EVP_CipherInit_ex(key->ectx, c, NULL, kd->key->keyvalue.data, NULL, 1); in _krb5_evp_schedule()
50 EVP_CipherInit_ex(key->dctx, c, NULL, kd->key->keyvalue.data, NULL, 0); in _krb5_evp_schedule()
82 EVP_CipherInit_ex(c, NULL, NULL, NULL, loiv, -1); in _krb5_evp_encrypt()
85 EVP_CipherInit_ex(c, NULL, NULL, NULL, ivec, -1); in _krb5_evp_encrypt()
116 EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1); in _krb5_evp_encrypt_cts()
122 EVP_CipherInit_ex(c, NULL, NULL, NULL, ivec, -1); in _krb5_evp_encrypt_cts()
124 EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1); in _krb5_evp_encrypt_cts()
140 EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1); in _krb5_evp_encrypt_cts()
166 EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1); in _krb5_evp_encrypt_cts()
175 EVP_CipherInit_ex(c, NULL, NULL, NULL, zero_ivec, -1); in _krb5_evp_encrypt_cts()
H A Dcrypto-des-common.c84 EVP_CipherInit_ex(ctx->ectx, NULL, NULL, NULL, (void *)&ivec, -1); in _krb5_des_checksum()
112 EVP_CipherInit_ex(ctx->dctx, NULL, NULL, NULL, (void *)&ivec, -1); in _krb5_des_verify()
H A Dcrypto-des.c229 EVP_CipherInit_ex(c, NULL, NULL, NULL, (void *)&ivec, -1); in evp_des_encrypt_null_ivec()
248 EVP_CipherInit_ex(c, NULL, NULL, NULL, (void *)&ivec, -1); in evp_des_encrypt_key_ivec()
H A Dcrypto-arcfour.c183 EVP_CipherInit_ex(ctx, EVP_rc4(), NULL, k3_c.checksum.data, NULL, 1); in ARCFOUR_subencrypt()
242 EVP_CipherInit_ex(ctx, EVP_rc4(), NULL, k3_c.checksum.data, NULL, 0); in ARCFOUR_subdecrypt()
H A Dcrypto-aes.c132 EVP_CipherInit_ex(ctx, c, NULL, derived->keyvalue.data, NULL, 1); in AES_PRF()
/freebsd-12.1/crypto/heimdal/lib/gssapi/krb5/
H A Darcfour.c245 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1); in _gssapi_get_mic_arcfour()
324 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, (void *)k6_data, NULL, 0); in _gssapi_verify_mic_arcfour()
482 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1); in _gssapi_wrap_arcfour()
506 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1); in _gssapi_wrap_arcfour()
610 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1); in _gssapi_unwrap_arcfour()
663 EVP_CipherInit_ex(rc4_key, EVP_rc4(), NULL, k6_data, NULL, 1); in _gssapi_unwrap_arcfour()
H A Dunwrap.c113 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, deskey, zero, 0); in unwrap_des()
163 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, hash, 0); in unwrap_des()
H A Dwrap.c312 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1); in wrap_des()
330 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, deskey, zero, 1); in wrap_des()
H A Dget_mic.c125 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1); in mic_des()
/freebsd-12.1/crypto/openssl/crypto/rand/
H A Ddrbg_ctr.c203 if (!EVP_CipherInit_ex(ctr->ctx, ctr->cipher, NULL, ctr->KX, NULL, 1)) in ctr_df()
274 if (!EVP_CipherInit_ex(ctr->ctx, ctr->cipher, NULL, ctr->K, NULL, 1)) in ctr_update()
291 if (!EVP_CipherInit_ex(ctr->ctx, ctr->cipher, NULL, ctr->K, NULL, 1)) in drbg_ctr_instantiate()
416 if (!EVP_CipherInit_ex(ctr->ctx_df, ctr->cipher, NULL, df_key, NULL, 1)) in drbg_ctr_init()
/freebsd-12.1/sys/geom/eli/
H A Dg_eli_crypto.c182 EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, enc); in g_eli_crypto_cipher()
186 EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc); in g_eli_crypto_cipher()
/freebsd-12.1/crypto/openssl/crypto/cms/
H A Dcms_enc.c63 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) { in cms_EncryptedContent_init_bio()
129 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in cms_EncryptedContent_init_bio()
/freebsd-12.1/crypto/openssl/crypto/evp/
H A Devp_enc.c56 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in EVP_CipherInit()
59 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
244 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
257 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
H A Dp5_crpt2.c174 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen()
251 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen()
H A Dp5_crpt.c94 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
H A Dbio_enc.c312 if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL, in enc_ctrl()
423 if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e)) in BIO_set_cipher()
H A De_rc2.c138 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
/freebsd-12.1/crypto/openssl/ssl/
H A Dt1_enc.c277 if (!EVP_CipherInit_ex(dd, c, NULL, key, NULL, (which & SSL3_CC_WRITE)) in tls1_change_cipher_state()
291 if (!EVP_CipherInit_ex(dd, c, NULL, NULL, NULL, (which & SSL3_CC_WRITE)) in tls1_change_cipher_state()
295 || !EVP_CipherInit_ex(dd, NULL, NULL, key, NULL, -1)) { in tls1_change_cipher_state()
301 if (!EVP_CipherInit_ex(dd, c, NULL, key, iv, (which & SSL3_CC_WRITE))) { in tls1_change_cipher_state()
/freebsd-12.1/crypto/openssl/crypto/asn1/
H A Dp5_scrypt.c94 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0) == 0) in PKCS5_pbe2_set_scrypt()
267 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_scrypt_keyivgen()
H A Dp5_pbev2.c79 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
/freebsd-12.1/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c66 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de); in PKCS12_PBE_keyivgen()
/freebsd-12.1/crypto/openssl/doc/man3/
H A DEVP_EncryptInit.pod14 EVP_CipherInit_ex,
73 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
178 EVP_CipherInit_ex(), EVP_CipherUpdate() and EVP_CipherFinal_ex() are
192 EVP_CipherInit_ex() except they always use the default cipher implementation.
212 EVP_CipherInit_ex(). By default encryption operations are padded using
292 EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for failure.
492 EVP_CipherInit_ex() and EVP_CipherFinal_ex() because they can reuse an
585 EVP_CipherInit_ex(&ctx, EVP_aes_128_cbc(), NULL, NULL, NULL,
591 EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, do_encrypt);
/freebsd-12.1/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c289 if (EVP_CipherInit_ex(ctx, evp_cipher, NULL, NULL, NULL, 1) <= 0) in PKCS7_dataInit()
293 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0) in PKCS7_dataInit()
519 if (EVP_CipherInit_ex(evp_ctx, evp_cipher, NULL, NULL, NULL, 0) <= 0) in PKCS7_dataDecode()
552 if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0) in PKCS7_dataDecode()
/freebsd-12.1/crypto/openssl/ssl/record/
H A Dssl3_record_tls13.c150 if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, sending) <= 0 in tls13_enc()
/freebsd-12.1/crypto/openssl/apps/
H A Denc.c537 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) { in enc_main()
547 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) { in enc_main()

12