Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/boringssl/src/crypto/cipher/
Dcipher.c101 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in EVP_CipherInit()
150 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
176 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, ERR_R_MALLOC_FAILURE); in EVP_CipherInit_ex()
188 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, CIPHER_R_INITIALIZATION_ERROR); in EVP_CipherInit_ex()
193 OPENSSL_PUT_ERROR(CIPHER, EVP_CipherInit_ex, CIPHER_R_NO_CIPHER_SET); in EVP_CipherInit_ex()
247 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
252 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
/external/openssl/crypto/cms/
Dcms_enc.c116 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) in DECLARE_ASN1_ITEM()
196 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) in DECLARE_ASN1_ITEM()
Dcms_pwri.c379 if (!EVP_CipherInit_ex(&kekctx, kekcipher, NULL, NULL, NULL, en_de)) in cms_RecipientInfo_pwri_crypt()
/external/openssl/crypto/evp/
Devp_enc.c101 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc); in EVP_CipherInit()
104 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, in EVP_CipherInit_ex() function
293 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
305 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
Dp5_crpt2.c238 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, en_de)) in PKCS5_v2_PBE_keyivgen()
330 rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de); in PKCS5_v2_PBKDF2_keyivgen()
Dp5_crpt.c134 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
Dbio_enc.c301 EVP_CipherInit_ex(&(ctx->cipher),NULL,NULL,NULL,NULL, in enc_ctrl()
423 EVP_CipherInit_ex(&(ctx->cipher),c,NULL, k,i,e); in BIO_set_cipher()
De_rc2.c186 if(i > 0 && !EVP_CipherInit_ex(c, NULL, NULL, NULL, iv, -1)) in rc2_get_asn1_type_and_iv()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLCipher.java287 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), cipherType, null, null, in engineInitInternal()
290 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), 0, encodedKey, iv, encrypting); in engineInitInternal()
292 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), cipherType, encodedKey, iv, in engineInitInternal()
401 NativeCrypto.EVP_CipherInit_ex(cipherCtx.getContext(), 0, encodedKey, iv, encrypting); in reset()
DNativeCrypto.java329 public static native void EVP_CipherInit_ex(long ctx, long evpCipher, byte[] key, byte[] iv, in EVP_CipherInit_ex() method in NativeCrypto
/external/openssl/crypto/pkcs12/
Dp12_crpt.c108 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de); in PKCS12_PBE_keyivgen()
/external/chromium_org/content/child/webcrypto/openssl/
Daes_cbc_openssl.cc77 if (!EVP_CipherInit_ex(context.get(), in AesCbcEncryptDecrypt()
Daes_ctr_openssl.cc59 if (!EVP_CipherInit_ex(context.get(), in AesCtrEncrypt128BitCounter()
/external/chromium_org/crypto/
Dencryptor_openssl.cc106 if (!EVP_CipherInit_ex(ctx.get(), cipher, NULL, in Crypt()
/external/openssl/crypto/asn1/
Dp5_pbev2.c128 if (!EVP_CipherInit_ex(&ctx, cipher, NULL, NULL, iv, 0))
/external/openssl/crypto/pkcs7/
Dpk7_doit.c344 if (EVP_CipherInit_ex(ctx, evp_cipher, NULL, NULL, NULL, 1)<=0) in PKCS7_dataInit()
348 if (EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, 1) <= 0) in PKCS7_dataInit()
575 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0) in PKCS7_dataDecode()
610 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0) in PKCS7_dataDecode()
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c151 if (!EVP_CipherInit_ex(&ctx, cipher, NULL, NULL, iv, 0)) in PKCS5_pbe2_set_iv()
Dpkcs8.c253 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, is_encrypt); in pkcs12_pbe_keyivgen()
/external/openssl/apps/
Denc.c614 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc)) in MAIN()
625 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) in MAIN()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dcipher.h140 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java3111 NativeCrypto.EVP_CipherInit_ex(NULL, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
3117 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
3118 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
3121 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
3122 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
3132 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c152 !EVP_CipherInit_ex(&ctx, EVP_rc4(), NULL, NULL, NULL, 1) || in rc4_skip()
154 !EVP_CipherInit_ex(&ctx, NULL, NULL, key, NULL, 1)) in rc4_skip()
/external/openssl/ssl/
Dt1_enc.c553 EVP_CipherInit_ex(dd,c,NULL,key,NULL,(which & SSL3_CC_WRITE)); in tls1_change_cipher_state()
557 EVP_CipherInit_ex(dd,c,NULL,key,iv,(which & SSL3_CC_WRITE)); in tls1_change_cipher_state()
Ds3_enc.c376 EVP_CipherInit_ex(dd,c,NULL,key,iv,(which & SSL3_CC_WRITE)); in ssl3_change_cipher_state()
/external/chromium_org/third_party/boringssl/src/ssl/
Ds3_enc.c297 EVP_CipherInit_ex(dd,c,NULL,key,iv,(which & SSL3_CC_WRITE)); in ssl3_change_cipher_state()

12