Home
last modified time | relevance | path

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

12

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipher.java101 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); in engineInitInternal()
103 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in engineInitInternal()
105 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal()
209 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in reset()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipher.java97 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); in engineInitInternal()
99 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in engineInitInternal()
101 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal()
205 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in reset()
/external/boringssl/src/crypto/fipsmodule/cipher/
Dcipher.c134 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
233 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
238 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
603 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in EVP_CipherInit()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
Dcipher.c134 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() function
233 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
238 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0); in EVP_DecryptInit_ex()
603 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in EVP_CipherInit()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_test_util.cc73 if (!EVP_CipherInit_ex(ctx.get(), cipher, nullptr, nullptr, nullptr, in CipherOperation()
84 !EVP_CipherInit_ex(ctx.get(), nullptr, nullptr, key.data(), iv.data(), in CipherOperation()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_test_util.cc73 if (!EVP_CipherInit_ex(ctx.get(), cipher, nullptr, nullptr, nullptr, in CipherOperation()
84 !EVP_CipherInit_ex(ctx.get(), nullptr, nullptr, key.data(), iv.data(), in CipherOperation()
/external/libsrtp2/crypto/cipher/
Daes_gcm_ossl.c196 if (!EVP_CipherInit_ex(c->ctx, evp, NULL, key, NULL, 0)) { in srtp_aes_gcm_openssl_context_init()
227 if (!EVP_CipherInit_ex(c->ctx, NULL, NULL, NULL, iv, in srtp_aes_gcm_openssl_set_iv()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Daead.py32 res = backend._lib.EVP_CipherInit_ex(
59 res = backend._lib.EVP_CipherInit_ex(
Dciphers.py73 res = self._backend._lib.EVP_CipherInit_ex(ctx, evp_cipher,
108 res = self._backend._lib.EVP_CipherInit_ex(
/external/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc179 ASSERT_TRUE(EVP_CipherInit_ex(ctx1.get(), cipher, nullptr, nullptr, nullptr, in TestOperation()
206 EVP_CipherInit_ex(ctx, nullptr, nullptr, key.data(), iv.data(), -1)); in TestOperation()
De_tls.c91 if (!EVP_CipherInit_ex(&tls_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len], in aead_tls_init()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc179 ASSERT_TRUE(EVP_CipherInit_ex(ctx1.get(), cipher, nullptr, nullptr, nullptr, in TestOperation()
206 EVP_CipherInit_ex(ctx, nullptr, nullptr, key.data(), iv.data(), -1)); in TestOperation()
De_tls.c91 if (!EVP_CipherInit_ex(&tls_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len], in aead_tls_init()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c159 EVP_CipherInit_ex(ctx, cipher, NULL /* engine */, key, iv, enc); in pkcs5_pbe2_cipher_init()
Dpkcs8.c251 int ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, is_encrypt); in pkcs12_pbe_cipher_init()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c159 EVP_CipherInit_ex(ctx, cipher, NULL /* engine */, key, iv, enc); in pkcs5_pbe2_cipher_init()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dcipher.h152 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
/external/boringssl/src/include/openssl/
Dcipher.h152 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
/external/boringssl/src/util/fipstools/acvp/modulewrapper/
Dmodulewrapper.cc1223 if (!EVP_CipherInit_ex(ctx.get(), cipher, nullptr, args[0].data(), nullptr, in TDES()
1287 if (!EVP_CipherInit_ex(ctx.get(), cipher, nullptr, args[0].data(), iv.data(), in TDES_CBC()
1298 if (!EVP_CipherInit_ex(ctx.get(), nullptr, nullptr, nullptr, iv.data(), in TDES_CBC()
/external/tcpdump/
Dprint-esp.c165 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); in set_cipher_parameters()
Dconfigure.in945 # 2) do we have EVP_CipherInit_ex()?
957 AC_CHECK_FUNCS(EVP_CIPHER_CTX_new EVP_CipherInit_ex)
Dconfig.h.in37 /* Define to 1 if you have the `EVP_CipherInit_ex' function. */
/external/libsrtp2/
DCHANGES19 PR #403 - Set gcm IV directly with EVP_CipherInit_ex
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java2978 NativeCrypto.EVP_CipherInit_ex(null, evpCipher, null, null, true); in EVP_CipherInit_ex_withNullCtxShouldThrow()
2988 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
2989 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
2992 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
2993 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
3001 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java2969 NativeCrypto.EVP_CipherInit_ex(null, evpCipher, null, null, true); in EVP_CipherInit_ex_withNullCtxShouldThrow()
2979 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
2980 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, true); in test_EVP_CipherInit_ex_Null_Failure()
2983 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
2984 NativeCrypto.EVP_CipherInit_ex(ctx, NULL, null, null, false); in test_EVP_CipherInit_ex_Null_Failure()
2992 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()

12