Home
last modified time | relevance | path

Searched defs:plainText (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DObliviousHttpGatewayTest.java57 String plainText = testVector.plainText; in decrypt_canDecryptPayloadsEncryptedByOhttpClient() local
83 String plainText = testVector.plainText; in decrypt_canDecryptPayloadsEncryptedByOhttpClient_withServerAuctionMediaTypeChange() local
108 String plainText = testVector.plainText; in encrypt_canBeDecryptedByOhttpClient() local
140 String plainText = testVector.plainText; in encrypt_canBeDecryptedByOhttpClient_withServerAuctionMediaTypeChange() local
169 String plainText = testVector.plainText; in encrypt_missingInfo_throwsError() local
192 String plainText = testVector.plainText; in encrypt_missingInfo_throwsError_withServerAuctionMediaTypeChange() local
DObliviousHttpClientTest.java108 String plainText = testVector.plainText; in createObliviousHttpRequest_testAllTestVectors() local
138 String plainText = testVector.plainText; in createObliviousHttpRequest_testAllTestVectors_withServerAuctionMediaTypeChange() local
168 String plainText = testVector.plainText; in decryptObliviousHttpResponse_testAllTestVectors() local
194 String plainText = testVector.plainText; in decryptObliviousHttpResponse_testAllTestVectors_withServerAuctionMediaTypeChange() local
224 String plainText = "doesnt matter"; in decryptObliviousHttpResponse_withAuctionResult() local
268 String plainText = "doesnt matter"; in decryptObliviousHttpResponse_withAuctionResult_withServerAuctionMediaTypeChange() local
DOhttpJniWrapperTest.java132 String plainText = "test request 1"; in hpkeEncrypt_returnsCorrectResponse() local
170 String plainText = "test request 1"; in hpkeEncrypt_returnsCorrectResponse_withServerAuctionMediaTypeChange() local
537 String plainText = "test request 1"; in hpkeSetupRecipient_missingkey_throwsError() local
582 String plainText = "test request 1"; in hpkeSetupRecipient_missingkey_throwsError_withServerAuctionMediaTypeChange() local
626 String plainText = "test request 1"; in hpkeSetupRecipient_successful() local
667 String plainText = "test request 1"; in hpkeSetupRecipient_successful_withServerAuctionMediaTypeChange() local
708 String plainText = "test request 1"; in gatewayDecrypt_returnsCorrectResponse() local
756 String plainText = "test request 1"; in gatewayDecrypt_returnsCorrectResponse_withServerAuctionMediaTypeChange() local
DObliviousHttpRequestTest.java64 String plainText = "something"; in serialize_serializesCorrectly() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DKAnonObliviousHttpEncryptorImplTest.java96 String plainText = "test request 1"; in test_encryptBytes_success() local
124 String plainText = "test request 1"; in test_encryptBytes_success_withServerAuctionMediaTypeNoChange() local
178 String plainText = "test request 1"; in test_decryptBytes_success() local
205 String plainText = "test request 1"; in test_decryptBytes_success_withServerAuctionMediaTypeNoChange() local
DObliviousHttpEncryptorImplTest.java110 String plainText = "test request 1"; in test_encryptBytes_success() local
138 String plainText = "test request 1"; in test_encryptBytes_success_withServerAuctionMediaTypeChange() local
186 String plainText = "test request 1"; in test_decryptBytes_success() local
214 String plainText = "test request 1"; in test_decryptBytes_success_withServerAuctionMediaTypeChange() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DObliviousHttpEncryptorWithSeedImplTest.java106 String plainText = "test request 1"; in test_encryptBytes_success() local
146 String plainText = "test request 1"; in test_encryptBytes_success_withServerAuctionMediaTypeChange() local
199 String plainText = "test request 1"; in test_decryptBytes_success() local
239 String plainText = "test request 1"; in test_decryptBytes_success_withServerAuctionMediaTypeChange() local
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpRequest.java30 abstract byte[] plainText(); in plainText() method in ObliviousHttpRequest
40 byte[] plainText, byte[] cipherText, ObliviousHttpRequestContext requestContext) { in create()
DObliviousHttpClient.java74 byte[] plainText, boolean hasMediaTypeChanged) throws IOException { in createObliviousHttpRequest()
87 byte[] plainText, byte[] seed, boolean hasMediaTypeChanged) throws IOException { in createObliviousHttpRequest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DKAnonObliviousHttpEncryptorImpl.java63 byte[] plainText, in encryptBytes()
89 private byte[] createAndSerializeRequest(ObliviousHttpKeyConfig config, byte[] plainText) { in createAndSerializeRequest()
DObliviousHttpEncryptorImpl.java68 byte[] plainText, in encryptBytes()
106 ObliviousHttpKeyConfig config, byte[] plainText, long contextId) { in createAndSerializeRequest()
DObliviousHttpEncryptor.java30 byte[] plainText, in encryptBytes()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java72 byte[] plainText, in encryptBytes()
107 ObliviousHttpKeyConfig config, byte[] plainText, long contextId) { in createAndSerializeRequestWithSeed()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/ohttp/
DObliviousHttpTestFixtures.java159 public String plainText; field in ObliviousHttpTestFixtures.OhttpTestVector
169 String plainText, in OhttpTestVector()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/crypto/
DHpkeEncrypt.java33 @NonNull byte[] publicKey, @NonNull byte[] plainText, @NonNull byte[] contextInfo); in encrypt()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DEncrypter.java30 byte[] encrypt(byte[] publicKey, byte[] plainText, byte[] associatedData); in encrypt()
DHpkeJniEncrypter.java28 public byte[] encrypt(byte[] publicKey, byte[] plainText, byte[] associatedData) { in encrypt()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEncrypter.java29 byte[] encrypt(byte[] publicKey, byte[] plainText, byte[] contextInfo); in encrypt()
DHpkeEncrypter.java50 @NonNull byte[] publicKey, @NonNull byte[] plainText, @NonNull byte[] contextInfo) { in encrypt()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DHpkeEncryptImpl.java40 @NonNull byte[] publicKey, @NonNull byte[] plainText, @NonNull byte[] contextInfo) { in encrypt()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/jni/
DHpkeJni.java43 @NonNull byte[] publicKey, @NonNull byte[] plainText, @NonNull byte[] associatedData); in encrypt()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/
DHpkeJni.java43 @NonNull byte[] publicKey, @NonNull byte[] plainText, @NonNull byte[] associatedData); in encrypt()
/packages/modules/OnDevicePersonalization/federatedcompute/jni/cpp/
Dhpke_jni.cc30 jbyteArray publicKey, jbyteArray plainText, jbyteArray associatedData) { in Java_com_android_federatedcompute_services_encryption_jni_HpkeJni_encrypt()
/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dhpke_jni.cpp30 jbyteArray publicKey, jbyteArray plainText, jbyteArray associatedData) { in Java_com_android_adservices_HpkeJni_encrypt()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverter.java199 static byte[] encryptWithHpke(byte[] publicKey, byte[] plainText, byte[] contextInfo) { in encryptWithHpke()

12