Searched refs:evpCipher (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 329 public static native void EVP_CipherInit_ex(long ctx, long evpCipher, byte[] key, byte[] iv, in EVP_CipherInit_ex() argument 338 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 | 3108 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Null_Failure() local 3111 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() 3121 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure() 3131 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Success() local 3132 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 | 4360 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); in NativeCrypto_EVP_CipherInit_ex() local 4361 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d)", ctx, evpCipher, keyArray, ivArray, in NativeCrypto_EVP_CipherInit_ex() 4394 if (!EVP_CipherInit_ex(ctx, evpCipher, NULL, keyPtr.get(), ivPtr.get(), encrypting ? 1 : 0)) { in NativeCrypto_EVP_CipherInit_ex() 4400 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d) => success", ctx, evpCipher, keyArray, ivArray, in NativeCrypto_EVP_CipherInit_ex() 4493 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); in NativeCrypto_EVP_CIPHER_iv_length() local 4494 JNI_TRACE("EVP_CIPHER_iv_length(%p)", evpCipher); in NativeCrypto_EVP_CIPHER_iv_length() 4496 if (evpCipher == NULL) { in NativeCrypto_EVP_CIPHER_iv_length() 4502 const int ivLength = EVP_CIPHER_iv_length(evpCipher); in NativeCrypto_EVP_CIPHER_iv_length() 4503 JNI_TRACE("EVP_CIPHER_iv_length(%p) => %d", evpCipher, ivLength); in NativeCrypto_EVP_CIPHER_iv_length()
|