Searched refs:doPhase (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 187 getKeyAgreement(provider).doPhase(KAT_PUBLIC_KEY1, true); in testDoPhase_whenNotInitialized() 199 assertNull(keyAgreement.doPhase(KAT_PUBLIC_KEY2, true)); in testDoPhaseReturnsNull() 210 keyAgreement.doPhase(KAT_PUBLIC_KEY2, false); in testDoPhase_withPhaseWhichIsNotLast() 223 keyAgreement.doPhase(null, true); in testDoPhase_withNullKey() 236 keyAgreement.doPhase(KAT_PRIVATE_KEY1, true); in testDoPhase_withInvalidKeyType() 248 keyAgreement.doPhase(KAT_PUBLIC_KEY2, true); in testGenerateSecret_withNullOutputBuffer() 262 keyAgreement.doPhase(KAT_PUBLIC_KEY2, true); in testGenerateSecret_withBufferOfTheRightSize() 277 keyAgreement.doPhase(KAT_PUBLIC_KEY2, true); in testGenerateSecret_withLargerThatNeededBuffer() 300 keyAgreement.doPhase(KAT_PUBLIC_KEY2, true); in testGenerateSecret_withSmallerThanNeededBuffer() 316 keyAgreement.doPhase(KAT_PUBLIC_KEY1, true); in testGenerateSecret_withoutBuffer() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementTest.java | 326 kAgs[i].doPhase(publKey, true); in testGenerateSecret03() 329 kAgs[i].doPhase(publKey, true); in testGenerateSecret03() 333 kAgs[i].doPhase(publKey, true); in testGenerateSecret03() 355 kAgs[i].doPhase(publKey, true); in testDoPhase() 364 kAgs[i].doPhase(privKey, false); in testDoPhase() 370 kAgs[i].doPhase(privKey, true); in testDoPhase() 376 kAgs[i].doPhase(publKey, true); in testDoPhase() 378 kAgs[i].doPhase(publKey, true); in testDoPhase() 496 kAgs[i].doPhase(publKey, true); in testInit03() 499 kAgs[i].doPhase(publKey, true); in testInit03() [all …]
|
/libcore/support/src/test/java/tests/security/ |
D | KeyAgreementHelper.java | 54 keyAgreement.doPhase(decryptKey, true); in test()
|
D | AlgorithmParameterKeyAgreementHelper.java | 62 keyAgreement.doPhase(keyPair.getPublic(), true); in test()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 57 ka.doPhase(pubKey, true); in getSecretKey()
|
/libcore/luni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 348 public final Key doPhase(Key key, boolean lastPhase) in doPhase() method in KeyAgreement
|