Searched refs:EVP_CipherInit_ex (Results 1 - 25 of 31) sorted by relevance

12

/external/openssl/crypto/pkcs12/
H A Dp12_crpt.c108 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de);
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A Dcipher.c101 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc);
150 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, function
176 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, ERR_R_MALLOC_FAILURE);
188 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, CIPHER_R_INITIALIZATION_ERROR);
193 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, CIPHER_R_NO_CIPHER_SET);
247 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
252 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);
/external/chromium_org/content/child/webcrypto/openssl/
H A Daes_cbc_openssl.cc77 if (!EVP_CipherInit_ex(context.get(),
H A Daes_ctr_openssl.cc59 if (!EVP_CipherInit_ex(context.get(),
/external/openssl/crypto/evp/
H A Dp5_crpt.c134 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de))
H A Dp5_crpt2.c238 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de))
330 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de);
H A De_rc2.c186 if(i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1))
H A Devp_enc.c101 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc);
104 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, function
293 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
305 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);
H A Dbio_enc.c301 EVP_CipherInit_ex(&(ctx->cipher),NULL,NULL,NULL,NULL,
423 EVP_CipherInit_ex(&(ctx->cipher),c,NULL, k,i,e);
/external/openssl/crypto/cms/
H A Dcms_enc.c116 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0)
196 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0)
H A Dcms_pwri.c379 if (!EVP_CipherInit_ex(&kekctx, kekcipher, NULL, NULL, NULL, en_de))
/external/chromium_org/crypto/
H A Dencryptor_openssl.cc106 if (!EVP_CipherInit_ex(ctx.get(), cipher, NULL,
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLCipher.java287 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), cipherType, null, null,
290 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), 0, encodedKey, iv, encrypting);
292 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), cipherType, encodedKey, iv,
401 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), 0, encodedKey, iv, encrypting);
/external/openssl/crypto/asn1/
H A Dp5_pbev2.c128 if (!EVP_CipherInit_ex(&ctx, cipher, NULL, NULL, iv, 0))
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
H A Dp5_pbev2.c151 if (!EVP_CipherInit_ex(&ctx, cipher, NULL, NULL, iv, 0))
H A Dpkcs8.c253 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, is_encrypt);
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dcipher.h133 /* EVP_CipherInit_ex configures |ctx| for a fresh encryption (or decryption, if
140 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
145 /* EVP_EncryptInit_ex calls |EVP_CipherInit_ex| with |enc| equal to one. */
150 /* EVP_DecryptInit_ex calls |EVP_CipherInit_ex| with |enc| equal to zero. */
/external/openssl/crypto/pkcs7/
H A Dpk7_doit.c344 if (EVP_CipherInit_ex(ctx, evp_cipher, NULL, NULL, NULL, 1)<=0)
348 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0)
575 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0)
610 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0)
/external/openssl/apps/
H A Denc.c614 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
625 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))
/external/openssl/ssl/
H A Dt1_enc.c543 printf("EVP_CipherInit_ex(dd,c,key=,iv=,which)\n");
553 EVP_CipherInit_ex(dd,c,NULL,key,NULL,(which & SSL3_CC_WRITE));
557 EVP_CipherInit_ex(dd,c,NULL,key,iv,(which & SSL3_CC_WRITE));
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_openssl.c152 !EVP_CipherInit_ex(&ctx, EVP_rc4(), NULL, NULL, NULL, 1) ||
154 !EVP_CipherInit_ex(&ctx, NULL, NULL, key, NULL, 1))
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_openssl.c152 !EVP_CipherInit_ex(&ctx, EVP_rc4(), NULL, NULL, NULL, 1) ||
154 !EVP_CipherInit_ex(&ctx, NULL, NULL, key, NULL, 1))
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c152 !EVP_CipherInit_ex(&ctx, EVP_rc4(), NULL, NULL, NULL, 1) ||
154 !EVP_CipherInit_ex(&ctx, NULL, NULL, key, NULL, 1))
/external/conscrypt/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java3111 NativeCrypto.EVP_CipherInit_ex(NULL, evpCipher, null, null, true);
3117 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true);
3118 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, true);
3121 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false);
3122 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, false);
3132 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true);
/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds3_enc.c297 EVP_CipherInit_ex(dd,c,NULL,key,iv,(which & SSL3_CC_WRITE));

Completed in 510 milliseconds

12