Lines Matching refs:cb
426 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb)
429 ctx->generate_session_id = cb;
434 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
437 ssl->generate_session_id = cb;
1639 void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *ctx, int (*cb) (SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg), void *arg)
1641 ctx->next_protos_advertised_cb = cb;
1655 void SSL_CTX_set_next_proto_select_cb(SSL_CTX *ctx, int (*cb) (SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg), void *arg)
1657 ctx->next_proto_select_cb = cb;
2018 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb)
2020 ctx->default_passwd_callback=cb;
2028 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg)
2030 ctx->app_verify_callback=cb;
2034 void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,int (*cb)(int, X509_STORE_CTX *))
2037 ctx->default_verify_callback=cb;
3025 void (*cb)(const SSL *ssl,int type,int val))
3027 ssl->info_callback=cb;
3116 * \param cb the callback
3120 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,RSA *(*cb)(SSL *ssl,
3124 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
3127 void SSL_set_tmp_rsa_callback(SSL *ssl,RSA *(*cb)(SSL *ssl,
3131 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
3146 RSA *cb(SSL *ssl,int is_export,int keylength)
3246 unsigned int (*cb)(SSL *ssl, const char *hint,
3250 s->psk_client_callback = cb;
3254 unsigned int (*cb)(SSL *ssl, const char *hint,
3258 ctx->psk_client_callback = cb;
3262 unsigned int (*cb)(SSL *ssl, const char *identity,
3265 s->psk_server_callback = cb;
3269 unsigned int (*cb)(SSL *ssl, const char *identity,
3272 ctx->psk_server_callback = cb;
3276 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
3278 SSL_CTX_callback_ctrl(ctx, SSL_CTRL_SET_MSG_CALLBACK, (void (*)(void))cb);
3280 void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
3282 SSL_callback_ctrl(ssl, SSL_CTRL_SET_MSG_CALLBACK, (void (*)(void))cb);