Home
last modified time | relevance | path

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

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLEngine.java53 final long engineCtx; in getInstance() local
55 engineCtx = NativeCrypto.ENGINE_by_id(engine); in getInstance()
56 if (engineCtx == 0) { in getInstance()
60 NativeCrypto.ENGINE_add(engineCtx); in getInstance()
63 return new OpenSSLEngine(engineCtx); in getInstance()
80 private OpenSSLEngine(long engineCtx) { in OpenSSLEngine() argument
81 ctx = engineCtx; in OpenSSLEngine()
83 if (NativeCrypto.ENGINE_init(engineCtx) == 0) { in OpenSSLEngine()
84 NativeCrypto.ENGINE_free(engineCtx); in OpenSSLEngine()