Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DCurve25519Test.java100 KeyAgreement secondKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest() local
101 secondKa.init(firstKeyPair.getPrivate()); in x25519KeyAgreementTest()
102 secondKa.doPhase(secondKeyPair.getPublic(), true); in x25519KeyAgreementTest()
103 byte[] secondSecret = secondKa.generateSecret(); in x25519KeyAgreementTest()
138 KeyAgreement secondKa = KeyAgreement.getInstance("XDH"); in x25519KeyImportAndAgreementTest() local
139 secondKa.init(importedKey.getKeystoreBackedKeyPair().getPrivate()); in x25519KeyImportAndAgreementTest()
140 secondKa.doPhase(secondKeyPair.getPublic(), true); in x25519KeyImportAndAgreementTest()
141 byte[] secondSecret = secondKa.generateSecret(); in x25519KeyImportAndAgreementTest()