Searched refs:aeadId (Results 1 – 8 of 8) sorted by relevance
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpKeyConfig.java | 67 public abstract int aeadId(); in aeadId() method in ObliviousHttpKeyConfig 154 int aeadId = writeUptoTwoBytesIntoInteger(keyConfig, currentIndex, sAeadIdSizeInBytes); in fromSerializedKeyConfig() local 160 .setAeadId(aeadId) in fromSerializedKeyConfig() 185 copyTwoBytesFromInteger(aeadId(), header, 5); in serializeOhttpPayloadHeader() 265 copyTwoBytesFromInteger(aeadId(), serializedArray, currentIndex); in serializeKeyConfigToBytes() 289 public abstract Builder setAeadId(int aeadId); in setAeadId() argument
|
D | ObliviousHttpGateway.java | 311 int aeadId = ((cipherText[5] & 0xff) << 8) | (cipherText[6] & 0xff); in getAead() local 312 return AeadAlgorithmSpec.get(aeadId); in getAead() 342 int keyId, int kemId, int kdfId, int aeadId, boolean isMediaTypeChanged) in createRecipientKeyInfo() argument 356 dataOutputStream.writeShort(aeadId); in createRecipientKeyInfo()
|
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/algorithms/ |
D | HpkeAlgorithmSpec.java | 51 AeadAlgorithmSpec aead = AeadAlgorithmSpec.get(obliviousHttpKeyConfig.aeadId()); in fromKeyConfig()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | JoinEncryptionKeyParserTest.java | 162 assertThat(keyConfig.aeadId()).isEqualTo(0x0001); in getObliviousHttpKeyConfig_returnsKeyConfig()
|
D | AuctionEncryptionKeyParserTest.java | 194 assertThat(keyConfig.aeadId()).isEqualTo(0x0022); in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpKeyConfigTest.java | 58 Assert.assertEquals(keyConfig.aeadId(), 0X0001); in create_configuresKeyCorrectly()
|
D | ObliviousHttpClientTest.java | 97 testVector.keyConfig.aeadId()); in create_supportedAlgorithms_aeadIdSetCorrectly()
|
D | OhttpJniWrapperTest.java | 822 int aeadId = 0x0002; in createRecipientKeyInfoBytes() local 831 header[6] = (byte) aeadId; in createRecipientKeyInfoBytes()
|