Searched refs:secondKa (Results 1 – 1 of 1) sorted by relevance
100 KeyAgreement secondKa = KeyAgreement.getInstance("XDH"); in x25519KeyAgreementTest() local101 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() local139 secondKa.init(importedKey.getKeystoreBackedKeyPair().getPrivate()); in x25519KeyImportAndAgreementTest()140 secondKa.doPhase(secondKeyPair.getPublic(), true); in x25519KeyImportAndAgreementTest()141 byte[] secondSecret = secondKa.generateSecret(); in x25519KeyImportAndAgreementTest()