Home
last modified time | relevance | path

Searched refs:kdfId (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfig.java60 public abstract int kdfId(); in kdfId() method in ObliviousHttpKeyConfig
151 int kdfId = writeUptoTwoBytesIntoInteger(keyConfig, currentIndex, sKdfIdSizeInBytes); in fromSerializedKeyConfig() local
159 .setKdfId(kdfId) in fromSerializedKeyConfig()
183 copyTwoBytesFromInteger(kdfId(), header, 3); in serializeOhttpPayloadHeader()
262 copyTwoBytesFromInteger(kdfId(), serializedArray, currentIndex); in serializeKeyConfigToBytes()
286 public abstract Builder setKdfId(int kdfId); in setKdfId() argument
DObliviousHttpGateway.java305 int kdfId = ((cipherText[3] & 0xff) << 8) | (cipherText[4] & 0xff); in getKdf() local
306 return KdfAlgorithmSpec.get(kdfId); in getKdf()
342 int keyId, int kemId, int kdfId, int aeadId, boolean isMediaTypeChanged) in createRecipientKeyInfo() argument
355 dataOutputStream.writeShort(kdfId); in createRecipientKeyInfo()
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/algorithms/
DHpkeAlgorithmSpec.java50 KdfAlgorithmSpec kdf = KdfAlgorithmSpec.get(obliviousHttpKeyConfig.kdfId()); in fromKeyConfig()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyParserTest.java161 assertThat(keyConfig.kdfId()).isEqualTo(0x0001); in getObliviousHttpKeyConfig_returnsKeyConfig()
DAuctionEncryptionKeyParserTest.java193 assertThat(keyConfig.kdfId()).isEqualTo(0x0002); in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/ohttp/
DObliviousHttpKeyConfigTest.java57 Assert.assertEquals(keyConfig.kdfId(), 0X0001); in create_configuresKeyCorrectly()
DObliviousHttpClientTest.java87 testVector.keyConfig.kdfId()); in create_supportedAlgorithms_kdfIdSetCorrectly()
DOhttpJniWrapperTest.java821 int kdfId = 0x0001; in createRecipientKeyInfoBytes() local
830 header[4] = (byte) kdfId; in createRecipientKeyInfoBytes()