Searched refs:rfbssl_ctx (Results 1 – 3 of 3) sorted by relevance
28 struct rfbssl_ctx { struct50 static int rfbssl_init_session(struct rfbssl_ctx *ctx, int fd) in rfbssl_init_session() argument69 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 …]
28 struct rfbssl_ctx { struct44 struct rfbssl_ctx *ctx; in rfbssl_init() argument55 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()
26 struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert) in rfbssl_init_global()