Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Drfbssl_gnutls.c28 struct rfbssl_ctx { struct
50 static int rfbssl_init_session(struct rfbssl_ctx *ctx, int fd) in rfbssl_init_session() argument
69 static int generate_dh_params(struct rfbssl_ctx *ctx) in generate_dh_params()
78 static int generate_rsa_params(struct rfbssl_ctx *ctx) in generate_rsa_params()
87 struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert) in rfbssl_init_global()
90 struct rfbssl_ctx *ctx = NULL; in rfbssl_init_global()
92 if (NULL == (ctx = malloc(sizeof(struct rfbssl_ctx)))) { in rfbssl_init_global()
122 struct rfbssl_ctx *ctx; in rfbssl_init()
150 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_do_read()
174 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_write()
[all …]
Drfbssl_openssl.c28 struct rfbssl_ctx { struct
44 struct rfbssl_ctx *ctx; in rfbssl_init() argument
55 if (NULL == (ctx = malloc(sizeof(struct rfbssl_ctx)))) { in rfbssl_init()
89 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_write()
101 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_peek()
113 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_read()
124 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_pending()
130 struct rfbssl_ctx *ctx = (struct rfbssl_ctx *)cl->sslctx; in rfbssl_destroy()
Drfbssl_none.c26 struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert) in rfbssl_init_global()