/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 2930 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in EVP_CipherInit_ex_withNullCtxShouldThrow() local 2931 NativeCrypto.EVP_CipherInit_ex(null, evpCipher, null, null, true); in EVP_CipherInit_ex_withNullCtxShouldThrow() 2938 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Null_Failure() local 2941 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure() 2945 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure() 2953 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Success() local 2954 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeCrypto.java | 291 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key, in EVP_CipherInit_ex() argument 300 static native int EVP_CIPHER_iv_length(long evpCipher); in EVP_CIPHER_iv_length() argument
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | NativeCryptoTest.java | 2938 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in EVP_CipherInit_ex_withNullCtxShouldThrow() local 2939 NativeCrypto.EVP_CipherInit_ex(null, evpCipher, null, null, true); in EVP_CipherInit_ex_withNullCtxShouldThrow() 2946 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Null_Failure() local 2949 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, true); in test_EVP_CipherInit_ex_Null_Failure() 2953 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, null, null, false); in test_EVP_CipherInit_ex_Null_Failure() 2961 final long evpCipher = NativeCrypto.EVP_get_cipherbyname("aes-128-ecb"); in test_EVP_CipherInit_ex_Success() local 2962 NativeCrypto.EVP_CipherInit_ex(ctx, evpCipher, AES_128_KEY, null, true); in test_EVP_CipherInit_ex_Success()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeCrypto.java | 304 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key, in EVP_CipherInit_ex() argument 314 static native int EVP_CIPHER_iv_length(long evpCipher); in EVP_CIPHER_iv_length() argument
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 3193 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); in NativeCrypto_EVP_CipherInit_ex() local 3194 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d)", ctx, evpCipher, keyArray, ivArray, in NativeCrypto_EVP_CipherInit_ex() 3226 if (!EVP_CipherInit_ex(ctx, evpCipher, nullptr, keyPtr.get(), ivPtr.get(), in NativeCrypto_EVP_CipherInit_ex() 3233 JNI_TRACE("EVP_CipherInit_ex(%p, %p, %p, %p, %d) => success", ctx, evpCipher, keyArray, ivArray, in NativeCrypto_EVP_CipherInit_ex() 3326 const EVP_CIPHER* evpCipher = reinterpret_cast<const EVP_CIPHER*>(evpCipherRef); in NativeCrypto_EVP_CIPHER_iv_length() local 3327 JNI_TRACE("EVP_CIPHER_iv_length(%p)", evpCipher); in NativeCrypto_EVP_CIPHER_iv_length() 3329 if (evpCipher == nullptr) { in NativeCrypto_EVP_CIPHER_iv_length() 3335 jint ivLength = static_cast<jint>(EVP_CIPHER_iv_length(evpCipher)); in NativeCrypto_EVP_CIPHER_iv_length() 3336 JNI_TRACE("EVP_CIPHER_iv_length(%p) => %d", evpCipher, ivLength); in NativeCrypto_EVP_CIPHER_iv_length()
|