Searched refs:evpCipher (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 290 public static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, in EVP_CipherInit_ex() argument 299 public static native int EVP_CIPHER_iv_length(long evpCipher); in EVP_CIPHER_iv_length() argument
|
/external/conscrypt/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 2790 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Null_Failure() local 2793 NativeCrypto.EVP_CipherInit_ex(null, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure() 2799 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure() 2803 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure() 2810 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Success() local 2811 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 4799 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); local 4800 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d)", ctx, evpCipher, keyArray, ivArray, 4832 if (!EVP_CipherInit_ex(ctx, evpCipher, NULL, keyPtr.get(), ivPtr.get(), encrypting ? 1 : 0)) { 4838 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d) => success", ctx, evpCipher, keyArray, ivArray, 4929 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); local 4930 JNI_TRACE("EVP_CIPHER_iv_length(%p)", evpCipher); 4932 if (evpCipher == NULL) { 4938 const int ivLength = EVP_CIPHER_iv_length(evpCipher); 4939 JNI_TRACE("EVP_CIPHER_iv_length(%p) => %d", evpCipher, ivLength);
|