Home
last modified time | relevance | path

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

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDhTest.java203 KeyAgreement kaA = KeyAgreement.getInstance("DH"); in testDh() local
205 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() local
344 kaA.init(keyPairA.getPrivate()); in testDHDistinctParameters()
346 kaA.doPhase(keyPairB.getPublic(), true); in testDHDistinctParameters()
347 byte[] kAB = kaA.generateSecret(); in testDHDistinctParameters()
DEcdhTest.java842 KeyAgreement kaA = KeyAgreement.getInstance("ECDH"); in testBasic() local
844 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() local
998 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()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java418 KeyAgreement kaA = KeyAgreement.getInstance("ECDH", provider); in testDoPhase_IncompatibleCurves_Failure() local
419 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()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java420 KeyAgreement kaA = KeyAgreement.getInstance("ECDH", provider); in testDoPhase_IncompatibleCurves_Failure() local
421 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()