Home
last modified time | relevance | path

Searched refs:ciphertextArray (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dohttp_jni.cpp394 jbyteArray ciphertextArray = env->NewByteArray(encryptedLen); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSeal() local
395 env->SetByteArrayRegion(ciphertextArray, 0, encryptedLen, in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSeal()
397 return ciphertextArray; in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSeal()
/aosp_15_r20/external/conscrypt/common/src/jni/main/cpp/conscrypt/
H A Dnative_crypto.cc575 ScopedLocalRef<jbyteArray> ciphertextArray( in rsaDecryptWithPrivateKey() local
583 ScopedByteArrayRW ciphertextBytes(env, ciphertextArray.get()); in rsaDecryptWithPrivateKey()
595 privateKey, padding, ciphertextArray.get())); in rsaDecryptWithPrivateKey()
3898 jbyteArray ciphertextArray, jbyteArray aadArray) { in NativeCrypto_EVP_HPKE_CTX_open() argument
3901 JNI_TRACE("EVP_HPKE_CTX_open(%p, %p, %p)", ctx, ciphertextArray, aadArray); in NativeCrypto_EVP_HPKE_CTX_open()
3908 if (ciphertextArray == nullptr) { in NativeCrypto_EVP_HPKE_CTX_open()
3913 ScopedByteArrayRO ciphertext(env, ciphertextArray); in NativeCrypto_EVP_HPKE_CTX_open()
4001 …ScopedLocalRef<jbyteArray> ciphertextArray(env, env->NewByteArray(static_cast<jsize>(encryptedLen)… in NativeCrypto_EVP_HPKE_CTX_seal() local
4002 if (ciphertextArray.get() == nullptr) { in NativeCrypto_EVP_HPKE_CTX_seal()
4005 ScopedByteArrayRW ciphertextBytes(env, ciphertextArray.get()); in NativeCrypto_EVP_HPKE_CTX_seal()
[all …]