Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DCurve25519Test.java107 KeyAgreement firstKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest() local
108 firstKa.init(secondKeyPair.getPrivate()); in x25519KeyAgreementTest()
109 firstKa.doPhase(firstKeyPair.getPublic(), true); in x25519KeyAgreementTest()
110 byte[] firstSecret = firstKa.generateSecret(); in x25519KeyAgreementTest()
145 KeyAgreement firstKa = KeyAgreement.getInstance("XDH"); in x25519KeyImportAndAgreementTest() local
146 firstKa.init(secondKeyPair.getPrivate()); in x25519KeyImportAndAgreementTest()
147 firstKa.doPhase(importedKey.getKeystoreBackedKeyPair().getPublic(), true); in x25519KeyImportAndAgreementTest()
148 byte[] firstSecret = firstKa.generateSecret(); in x25519KeyImportAndAgreementTest()