Home
last modified time | relevance | path

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

123

/freebsd/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/crypto/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c241 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df()
306 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update()
307 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update()
324 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate()
428 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate()
580 if (!EVP_CipherInit_ex(ctr->ctx_ecb, in drbg_ctr_init()
582 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init()
619 if (!EVP_CipherInit_ex(ctr->ctx_df, in drbg_ctr_init()
/freebsd/crypto/openssl/test/
H A Dafalgtest.c79 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
89 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
H A Devp_fetch_prov_test.c272 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 1)) in encrypt_decrypt()
275 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 0)) in encrypt_decrypt()
H A Dbio_enc_test.c291 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, ENCRYPT)) in test_bio_enc_eof_read_flush()
310 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, DECRYPT)) in test_bio_enc_eof_read_flush()
H A Devp_extra_test.c5541 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1))) in evp_init_seq_set_iv()
5574 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) { in test_evp_init_seq()
5582 if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
5590 if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
5594 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) { in test_evp_init_seq()
5713 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) { in test_evp_reset()
5733 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) { in test_evp_reset()
5803 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) { in test_evp_updated_iv()
5884 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) { in test_gcm_reinit()
5892 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) { in test_gcm_reinit()
[all …]
/freebsd/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.c120 EVP_CipherInit_ex(des_ctx, EVP_des_cbc(), NULL, deskey, zero, 0); in unwrap_des()
170 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()
/freebsd/sys/geom/eli/
H A Dg_eli_crypto.c161 EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, enc); in g_eli_crypto_cipher()
165 EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc); in g_eli_crypto_cipher()
/freebsd/crypto/openssl/ssl/record/methods/
H A Dtls13_meth.c71 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc) <= 0 in tls13_set_crypto_state()
79 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc) <= 0) { in tls13_set_crypto_state()
218 if (EVP_CipherInit_ex(enc_ctx, NULL, NULL, NULL, nonce, sending) <= 0 in tls13_cipher()
H A Dtls1_meth.c89 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, NULL, enc) in tls1_set_crypto_state()
97 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, enc) in tls1_set_crypto_state()
107 || !EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, enc)) { in tls1_set_crypto_state()
112 if (!EVP_CipherInit_ex(ciph_ctx, ciph, NULL, key, iv, enc)) { in tls1_set_crypto_state()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_enc.c78 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio()
168 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in ossl_cms_EncryptedContent_init_bio()
/freebsd/crypto/openssl/crypto/asn1/
H A Dp5_scrypt.c101 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0) == 0) in PKCS5_pbe2_set_scrypt()
301 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_scrypt_keyivgen_ex()
/freebsd/crypto/openssl/crypto/evp/
H A Dp5_crpt2.c161 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen_ex()
258 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen_ex()
H A Dbio_enc.c316 if (!EVP_CipherInit_ex(ctx->cipher, NULL, NULL, NULL, NULL, in enc_ctrl()
440 if (!EVP_CipherInit_ex(ctx->cipher, c, NULL, k, i, e)) in BIO_set_cipher()
H A Dp5_crpt.c100 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen_ex()
H A De_rc2.c147 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_wire_pkt.c51 if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL, in ossl_quic_hdr_protector_init()
92 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, NULL, 1) in hdr_generate_mask()
106 if (!EVP_CipherInit_ex(hpr->cipher_ctx, NULL, NULL, NULL, sample, 1) in hdr_generate_mask()
933 if (!EVP_CipherInit_ex(cctx, cipher, NULL, in ossl_quic_calculate_retry_integrity_tag()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); in PKCS12_PBE_keyivgen_ex()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_doit.c338 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, 1) <= 0) in PKCS7_dataInit()
346 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0) in PKCS7_dataInit()
633 if (EVP_CipherInit_ex(evp_ctx, cipher, NULL, NULL, NULL, 0) <= 0) in PKCS7_dataDecode()
669 if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0) in PKCS7_dataDecode()

123