Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/rand/
Ddrbg_ctr.c199 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df()
264 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update()
265 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update()
282 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate()
353 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate()
442 || !EVP_CipherInit_ex(ctr->ctx_ecb, in drbg_ctr_init()
444 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init()
466 if (!EVP_CipherInit_ex(ctr->ctx_df, in drbg_ctr_init()
/third_party/openssl/test/
Dafalgtest.c70 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
80 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
Devp_extra_test.c496 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1))) in evp_init_seq_set_iv()
529 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) { in test_evp_init_seq()
537 if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
545 if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) { in test_evp_init_seq()
549 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) { in test_evp_init_seq()
632 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) { in test_evp_reset()
652 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) { in test_evp_reset()
722 if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) { in test_gcm_reinit()
730 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) { in test_gcm_reinit()
765 if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv2, -1))) { in test_gcm_reinit()
[all …]
Dtls13encryptiontest.c374 if (EVP_CipherInit_ex(s->enc_write_ctx, ciph, NULL, key, NULL, 1) <= 0 in test_tls13_encryption()
375 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0) in test_tls13_encryption()
Dbad_dtls_test.c325 EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, enc_key, iv, 1); in send_record()
/third_party/openssl/crypto/cms/
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()
Dcms_pwri.c326 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in cms_RecipientInfo_pwri_crypt()
Dcms_kari.c203 if (!EVP_CipherInit_ex(kari->ctx, NULL, NULL, kek, NULL, enc)) in cms_kek_cipher()
/third_party/openssl/ssl/
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()
Dtls13_enc.c421 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, sending) <= 0 in derive_secret_key_and_iv()
425 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, -1) <= 0) { in derive_secret_key_and_iv()
/third_party/openssl/crypto/evp/
Devp_enc.c57 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in EVP_CipherInit()
60 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
245 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
258 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
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()
Dp5_crpt.c105 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
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()
De_rc2.c138 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
/third_party/openssl/crypto/asn1/
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()
Dp5_pbev2.c79 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
/third_party/openssl/doc/man3/
DEVP_EncryptInit.pod14 EVP_CipherInit_ex,
73 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
183 EVP_CipherInit_ex(), EVP_CipherUpdate() and EVP_CipherFinal_ex() are
197 EVP_CipherInit_ex() except they always use the default cipher implementation.
217 EVP_CipherInit_ex(). By default encryption operations are padded using
297 EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for failure.
499 EVP_CipherInit_ex() and EVP_CipherFinal_ex() because they can reuse an
503 EVP_CipherInit_ex(), significant in some circumstances. EVP_CipherInit() fills
509 EVP_CipherInit_ex().
601 EVP_CipherInit_ex(ctx, EVP_aes_128_cbc(), NULL, NULL, NULL,
[all …]
DEVP_CIPHER_meth_new.pod188 EVP_CipherInit_ex(), EVP_EncryptInit(), EVP_EncryptInit_ex(),
/third_party/openssl/crypto/pkcs12/
Dp12_crpt.c66 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de); in PKCS12_PBE_keyivgen()
/third_party/openssl/ssl/record/
Dssl3_record_tls13.c150 if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, sending) <= 0 in tls13_enc()
/third_party/openssl/crypto/pkcs7/
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()
/third_party/openssl/apps/
Denc.c538 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) { in enc_main()
548 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) { in enc_main()
/third_party/gstreamer/gstplugins_bad/ext/aes/
Dgstaesdec.c581 if (!EVP_CipherInit_ex (filter->evp_ctx, filter->evp_cipher, NULL, in gst_aes_dec_init_cipher()
Dgstaesenc.c459 if (!EVP_CipherInit_ex (filter->evp_ctx, filter->evp_cipher, NULL, in gst_aes_enc_transform()

12