Home
last modified time | relevance | path

Searched refs:doPhase (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
DECDHKeyAgreementTest.java187 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/
DKeyAgreementTest.java326 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/
DKeyAgreementHelper.java54 keyAgreement.doPhase(decryptKey, true); in test()
DAlgorithmParameterKeyAgreementHelper.java62 keyAgreement.doPhase(keyPair.getPublic(), true); in test()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyAgreementThread.java57 ka.doPhase(pubKey, true); in getSecretKey()
/libcore/luni/src/main/java/javax/crypto/
DKeyAgreement.java348 public final Key doPhase(Key key, boolean lastPhase) in doPhase() method in KeyAgreement