Searched refs:ctx_data (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake_srp.c | 23 CTX_DATA *ctx_data = (CTX_DATA*)(arg); in client_srp_cb() local 24 return OPENSSL_strdup(ctx_data->srp_password); in client_srp_cb() 29 CTX_DATA *ctx_data = (CTX_DATA*)(arg); in server_srp_cb() local 30 if (strcmp(ctx_data->srp_user, SSL_get_srp_username(s)) != 0) in server_srp_cb() 32 if (SSL_set_srp_server_param_pw(s, ctx_data->srp_user, in server_srp_cb() 33 ctx_data->srp_password, in server_srp_cb()
|
H A D | handshake.c | 64 static void ctx_data_free_data(CTX_DATA *ctx_data) in ctx_data_free_data() argument 66 OPENSSL_free(ctx_data->npn_protocols); in ctx_data_free_data() 67 ctx_data->npn_protocols = NULL; in ctx_data_free_data() 68 OPENSSL_free(ctx_data->alpn_protocols); in ctx_data_free_data() 69 ctx_data->alpn_protocols = NULL; in ctx_data_free_data() 70 OPENSSL_free(ctx_data->srp_user); in ctx_data_free_data() 71 ctx_data->srp_user = NULL; in ctx_data_free_data() 72 OPENSSL_free(ctx_data->srp_password); in ctx_data_free_data() 73 ctx_data->srp_password = NULL; in ctx_data_free_data() 74 OPENSSL_free(ctx_data->session_ticket_app_data); in ctx_data_free_data() [all …]
|
/freebsd/sys/sys/ |
H A D | hhook.h | 76 void *ctx_data, void *hdata, struct osd *hosd); 108 void hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd); 138 #define HHOOKS_RUN_IF(hhh, ctx_data, hosd) do { \ argument 140 hhook_run_hooks(hhh, ctx_data, hosd); \ 150 #define HHOOKS_RUN_LOOKUP_IF(hhook_type, hhook_id, ctx_data, hosd) do { \ argument 156 hhook_run_hooks(_hhh, ctx_data, hosd); \
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 71 void *udata, void *ctx_data, void *hdata, struct osd *hosd); 73 void *udata, void *ctx_data, void *hdata, struct osd *hosd); 195 void *ctx_data, void *hdata, struct osd *hosd) in ertt_packet_measurement_hook() argument 207 KASSERT(ctx_data != NULL, ("%s: ctx_data is NULL!", __func__)); in ertt_packet_measurement_hook() 211 thdp = ctx_data; in ertt_packet_measurement_hook() 430 void *ctx_data, void *hdata, struct osd *hosd) in ertt_add_tx_segment_info_hook() argument 441 KASSERT(ctx_data != NULL, ("%s: ctx_data is NULL!", __func__)); in ertt_add_tx_segment_info_hook() 445 thdp = ctx_data; in ertt_add_tx_segment_info_hook()
|
/freebsd/sys/kern/ |
H A D | kern_hhook.c | 93 hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd) in hhook_run_hooks() argument 121 ctx_data, hdata, hosd); in hhook_run_hooks()
|
/freebsd/sys/net/ |
H A D | if_enc.c | 236 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, in enc_hhook() argument 250 ctx = (struct ipsec_ctx_data *)ctx_data; in enc_hhook()
|