Searched refs:clientEngine (Results 1 – 4 of 4) sorted by relevance
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | EngineWrapBenchmark.java | 60 private final SSLEngine clientEngine; field in EngineWrapBenchmark 75 clientEngine = engineType.newClientEngine(cipher); in EngineWrapBenchmark() 79 clientApplicationBuffer = bufferType.newApplicationBuffer(clientEngine); in EngineWrapBenchmark() 81 clientPacketBuffer = bufferType.newPacketBuffer(clientEngine); in EngineWrapBenchmark() 91 doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer, clientPacketBuffer, in EngineWrapBenchmark() 95 preEncryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in EngineWrapBenchmark() 101 engineType.dispose(clientEngine); in teardown() 138 verifyResult(src, clientEngine.wrap(src, dst)); in doWrap()
|
D | EngineHandshakeBenchmark.java | 67 SSLEngine clientEngine = engineType.newClientEngine(cipher); in EngineHandshakeBenchmark() local 71 clientApplicationBuffer = bufferType.newApplicationBuffer(clientEngine); in EngineHandshakeBenchmark() 73 clientPacketBuffer = bufferType.newPacketBuffer(clientEngine); in EngineHandshakeBenchmark() 76 engineType.dispose(clientEngine); in EngineHandshakeBenchmark()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 116 private SSLEngine clientEngine; field in ConscryptEngineTest 182 ByteBuffer out = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeMessages() 183 SSLEngineResult wrapResult = clientEngine.wrap(clientCleartextBuffer, out); in exchangeMessages() 223 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeLargeMessage() 224 SSLEngineResult wrapResult = clientEngine.wrap(inputBuffer, encryptedBuffer); in exchangeLargeMessage() 277 assertEquals(HandshakeStatus.NOT_HANDSHAKING, clientEngine.getHandshakeStatus()); in doMutualAuthHandshake() 282 TestUtils.doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer, in doHandshake() 291 clientEngine = initEngine(clientContext.createSSLEngine(), TEST_CIPHER, true); in setupEngines() 293 setBufferAllocator(clientEngine, bufferType.allocator); in setupEngines() 298 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in setupEngines() [all …]
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 265 public static void doEngineHandshake(SSLEngine clientEngine, SSLEngine serverEngine, in doEngineHandshake() argument 268 clientEngine.beginHandshake(); in doEngineHandshake() 281 clientResult = clientEngine.wrap(EMPTY_BUFFER, clientPacketBuffer); in doEngineHandshake() 282 runDelegatedTasks(clientResult, clientEngine); in doEngineHandshake() 311 clientResult = clientEngine.unwrap(serverPacketBuffer, clientAppBuffer); in doEngineHandshake() 312 runDelegatedTasks(clientResult, clientEngine); in doEngineHandshake()
|