Searched refs:firstKa (Results 1 – 1 of 1) sorted by relevance
107 KeyAgreement firstKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest() local108 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() local146 firstKa.init(secondKeyPair.getPrivate()); in x25519KeyImportAndAgreementTest()147 firstKa.doPhase(importedKey.getKeystoreBackedKeyPair().getPublic(), true); in x25519KeyImportAndAgreementTest()148 byte[] firstSecret = firstKa.generateSecret(); in x25519KeyImportAndAgreementTest()