/third_party/openssl/crypto/rand/ |
D | drbg_ctr.c | 199 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/ |
D | afalgtest.c | 70 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()
|
D | evp_extra_test.c | 496 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 …]
|
D | tls13encryptiontest.c | 374 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()
|
D | bad_dtls_test.c | 325 EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, enc_key, iv, 1); in send_record()
|
/third_party/openssl/crypto/cms/ |
D | cms_enc.c | 63 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()
|
D | cms_pwri.c | 326 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in cms_RecipientInfo_pwri_crypt()
|
D | cms_kari.c | 203 if (!EVP_CipherInit_ex(kari->ctx, NULL, NULL, kek, NULL, enc)) in cms_kek_cipher()
|
/third_party/openssl/ssl/ |
D | t1_enc.c | 277 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()
|
D | tls13_enc.c | 421 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/ |
D | evp_enc.c | 57 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()
|
D | p5_crpt2.c | 174 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()
|
D | p5_crpt.c | 105 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
|
D | bio_enc.c | 312 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()
|
D | e_rc2.c | 138 if (i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
|
/third_party/openssl/crypto/asn1/ |
D | p5_scrypt.c | 94 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()
|
D | p5_pbev2.c | 79 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, iv, 0))
|
/third_party/openssl/doc/man3/ |
D | EVP_EncryptInit.pod | 14 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 …]
|
D | EVP_CIPHER_meth_new.pod | 188 EVP_CipherInit_ex(), EVP_EncryptInit(), EVP_EncryptInit_ex(),
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_crpt.c | 66 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de); in PKCS12_PBE_keyivgen()
|
/third_party/openssl/ssl/record/ |
D | ssl3_record_tls13.c | 150 if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, iv, sending) <= 0 in tls13_enc()
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 289 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/ |
D | enc.c | 538 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/ |
D | gstaesdec.c | 581 if (!EVP_CipherInit_ex (filter->evp_ctx, filter->evp_cipher, NULL, in gst_aes_dec_init_cipher()
|
D | gstaesenc.c | 459 if (!EVP_CipherInit_ex (filter->evp_ctx, filter->evp_cipher, NULL, in gst_aes_enc_transform()
|