Searched refs:kaA (Results 1 – 4 of 4) sorted by relevance
203 KeyAgreement kaA = KeyAgreement.getInstance("DH"); in testDh() local205 kaA.init(keyPairA.getPrivate()); in testDh()207 kaA.doPhase(keyPairB.getPublic(), true); in testDh()209 byte[] kAB = kaA.generateSecret(); in testDh()343 KeyAgreement kaA = KeyAgreement.getInstance("DH"); in testDHDistinctParameters() local344 kaA.init(keyPairA.getPrivate()); in testDHDistinctParameters()346 kaA.doPhase(keyPairB.getPublic(), true); in testDHDistinctParameters()347 byte[] kAB = kaA.generateSecret(); in testDHDistinctParameters()
842 KeyAgreement kaA = KeyAgreement.getInstance("ECDH"); in testBasic() local844 kaA.init(keyPairA.getPrivate()); in testBasic()846 kaA.doPhase(keyPairB.getPublic(), true); in testBasic()848 byte[] kAB = kaA.generateSecret(); in testBasic()996 KeyAgreement kaA; in testDistinctCurves() local998 kaA = KeyAgreement.getInstance(algorithm); in testDistinctCurves()1005 kaA.init(priv); in testDistinctCurves()1006 kaA.doPhase(pub, true); in testDistinctCurves()1007 shared = kaA.generateSecret(); in testDistinctCurves()
418 KeyAgreement kaA = KeyAgreement.getInstance("ECDH", provider); in testDoPhase_IncompatibleCurves_Failure() local419 kaA.init(keyPairA.getPrivate()); in testDoPhase_IncompatibleCurves_Failure()421 kaA.doPhase(keyPairB.getPublic(), true); in testDoPhase_IncompatibleCurves_Failure()422 kaA.generateSecret(); in testDoPhase_IncompatibleCurves_Failure()
420 KeyAgreement kaA = KeyAgreement.getInstance("ECDH", provider); in testDoPhase_IncompatibleCurves_Failure() local421 kaA.init(keyPairA.getPrivate()); in testDoPhase_IncompatibleCurves_Failure()423 kaA.doPhase(keyPairB.getPublic(), true); in testDoPhase_IncompatibleCurves_Failure()424 kaA.generateSecret(); in testDoPhase_IncompatibleCurves_Failure()