Home
last modified time | relevance | path

Searched refs:HandshakeStatus (Results 1 – 21 of 21) sorted by relevance

/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DEngineHandshakeBenchmark.java39 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
118 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake()
119 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake()
126 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake()
127 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake()
146 } while (senderResult.getHandshakeStatus() == HandshakeStatus.NEED_WRAP); in doHalfHandshake()
158 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DEngineHandshakeBenchmark.java38 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
116 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake()
117 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake()
124 if (client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in doHandshake()
125 && server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING) { in doHandshake()
144 } while (senderResult.getHandshakeStatus() == HandshakeStatus.NEED_WRAP); in doHalfHandshake()
156 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
/external/rust/crates/quiche/src/recovery/
Dmod.rs198 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent() argument
244 epoch: packet::Epoch, handshake_status: HandshakeStatus, now: Instant, in on_ack_received() argument
356 &mut self, handshake_status: HandshakeStatus, now: Instant, in on_loss_detection_timeout() argument
419 &mut self, epoch: packet::Epoch, handshake_status: HandshakeStatus, in on_pkt_num_space_discarded() argument
529 &self, handshake_status: HandshakeStatus, now: Instant, in pto_time_and_space() argument
574 &mut self, handshake_status: HandshakeStatus, now: Instant, in set_loss_detection_timer() argument
941 pub struct HandshakeStatus { struct
950 impl Default for HandshakeStatus { argument
951 fn default() -> HandshakeStatus { in default()
952 HandshakeStatus { in default()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java37 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.FINISHED;
38 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NEED_UNWRAP;
39 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NEED_WRAP;
40 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING;
83 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
536 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus()
542 private HandshakeStatus getHandshakeStatusInternal() { in getHandshakeStatusInternal()
544 return HandshakeStatus.NOT_HANDSHAKING; in getHandshakeStatusInternal()
550 return HandshakeStatus.NEED_WRAP; in getHandshakeStatusInternal()
558 return HandshakeStatus.NOT_HANDSHAKING; in getHandshakeStatusInternal()
[all …]
DJava8EngineWrapper.java27 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
155 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus()
DConscryptEngineSocket.java41 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
794 private boolean isHandshaking(HandshakeStatus status) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java60 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.FINISHED;
61 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NEED_UNWRAP;
62 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NEED_WRAP;
63 import static javax.net.ssl.SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING;
87 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
536 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus()
542 private HandshakeStatus getHandshakeStatusInternal() { in getHandshakeStatusInternal()
544 return HandshakeStatus.NOT_HANDSHAKING; in getHandshakeStatusInternal()
550 return HandshakeStatus.NEED_WRAP; in getHandshakeStatusInternal()
558 return HandshakeStatus.NOT_HANDSHAKING; in getHandshakeStatusInternal()
[all …]
DJava8EngineWrapper.java28 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
156 public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus()
DConscryptEngineSocket.java42 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
810 private boolean isHandshaking(HandshakeStatus status) {
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java27 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
109 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
110 boolean serverDone = server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
163 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeStep()
227 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) { in assertFinishedOnce()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java26 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
107 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
108 boolean serverDone = server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
167 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeStep()
231 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) { in assertFinishedOnce()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java57 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
122 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
131 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
169 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
175 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
444 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
453 assertEquals(HandshakeStatus.NEED_WRAP, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
460 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
469 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
710 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in test_SSLEngine_Exception()
[all …]
DSSLEngineTest.java44 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
97 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, sslEngine.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
100 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
312 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
321 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
359 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
365 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
1123 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
1124 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java70 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
124 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
133 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
171 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
177 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
446 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
455 assertEquals(HandshakeStatus.NEED_WRAP, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
462 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
471 assertEquals(HandshakeStatus.NOT_HANDSHAKING, res.getHandshakeStatus()); in test_SSLEngine_CloseOutbound()
712 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in test_SSLEngine_Exception()
[all …]
DSSLEngineTest.java49 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
101 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, sslEngine.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
104 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
316 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
325 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
363 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
369 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectlyWhenSplit()
1127 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
1128 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java43 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
424 assertEquals(HandshakeStatus.NOT_HANDSHAKING, clientEngine.getHandshakeStatus()); in doMutualAuthHandshake()
425 assertEquals(HandshakeStatus.NOT_HANDSHAKING, serverEngine.getHandshakeStatus()); in doMutualAuthHandshake()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java45 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
433 assertEquals(HandshakeStatus.NOT_HANDSHAKING, clientEngine.getHandshakeStatus()); in doMutualAuthHandshake()
434 assertEquals(HandshakeStatus.NOT_HANDSHAKING, serverEngine.getHandshakeStatus()); in doMutualAuthHandshake()
/external/conscrypt/publicapi/src/test/java/android/net/ssl/
DSSLEnginesTest.java61 …@Override public SSLEngineResult.HandshakeStatus getHandshakeStatus() { throw new AssertionError()… in getHandshakeStatus()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java547 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished()
551 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java553 return result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.FINISHED; in isHandshakeFinished()
557 if (result.getHandshakeStatus() == SSLEngineResult.HandshakeStatus.NEED_TASK) { in runDelegatedTasks()
/external/rust/crates/quiche/src/
Dlib.rs3985 fn handshake_status(&self) -> recovery::HandshakeStatus { in handshake_status() argument
3986 recovery::HandshakeStatus { in handshake_status()