Searched defs:ctx (Results 1 - 25 of 1688) sorted by relevance

1234567891011>>

/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dticket_flags.c38 gsskrb5_ctx ctx,
41 if (ctx == NULL) {
45 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
47 if (ctx->ticket == NULL) {
48 HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
53 *tkt_flags = TicketFlags2int(ctx->ticket->ticket.flags);
54 HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
37 _gsskrb5_get_tkt_flags(OM_uint32 *minor_status, gsskrb5_ctx ctx, OM_uint32 *tkt_flags) argument
H A Ddelete_sec_context.c42 gsskrb5_ctx ctx; local
56 ctx = (gsskrb5_ctx) *context_handle;
59 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
61 krb5_auth_con_free (context, ctx->auth_context);
62 krb5_auth_con_free (context, ctx->deleg_auth_context);
63 if (ctx->kcred)
64 krb5_free_creds(context, ctx->kcred);
65 if(ctx->source)
66 krb5_free_principal (context, ctx->source);
67 if(ctx
[all...]
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_openssl_evp_private.h41 EVP_MD_CTX *ctx = (EVP_MD_CTX *)calloc(1, sizeof(EVP_MD_CTX)); local
42 return ctx;
45 static inline void EVP_MD_CTX_free(EVP_MD_CTX *ctx) argument
47 EVP_MD_CTX_cleanup(ctx);
48 memset(ctx, 0, sizeof(*ctx));
49 free(ctx);
H A Darchive_openssl_hmac_private.h42 HMAC_CTX *ctx = (HMAC_CTX *)calloc(1, sizeof(HMAC_CTX)); local
43 return ctx;
46 static inline void HMAC_CTX_free(HMAC_CTX *ctx) argument
48 HMAC_CTX_cleanup(ctx);
49 memset(ctx, 0, sizeof(*ctx));
50 free(ctx);
/freebsd-head/crypto/heimdal/lib/gssapi/ntlm/
H A Ddelete_sec_context.c43 ntlm_ctx ctx = (ntlm_ctx)*context_handle; local
44 gss_cred_id_t cred = (gss_cred_id_t)ctx->client;
48 if (ctx->server)
49 (*ctx->server->nsi_destroy)(minor_status, ctx->ictx);
53 memset(ctx, 0, sizeof(*ctx));
54 free(ctx);
/freebsd-head/contrib/wpa/src/crypto/
H A Daes-encblock.c25 void *ctx; local
26 ctx = aes_encrypt_init(key, 16);
27 if (ctx == NULL)
29 aes_encrypt(ctx, in, out);
30 aes_encrypt_deinit(ctx);
/freebsd-head/sys/security/mac_veriexec/
H A Dmac_veriexec_sha1.c42 SHA1_Final(unsigned char *buf, void *ctx) argument
45 sha1_result((SHA1_CTX *) ctx, (caddr_t) buf);
/freebsd-head/crypto/heimdal/lib/gssapi/mech/
H A Dgss_context_time.c36 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
37 gssapi_mech_interface m = ctx->gc_mech;
39 return (m->gm_context_time(minor_status, ctx->gc_ctx, time_rec));
H A Dgss_delete_sec_context.c37 struct _gss_context *ctx = (struct _gss_context *) *context_handle; local
43 if (ctx) {
45 * If we have an implementation ctx, delete it,
48 if (ctx->gc_ctx) {
49 major_status = ctx->gc_mech->gm_delete_sec_context(
50 minor_status, &ctx->gc_ctx, output_token);
52 free(ctx);
H A Dgss_process_context_token.c36 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
37 gssapi_mech_interface m = ctx->gc_mech;
39 return (m->gm_process_context_token(minor_status, ctx->gc_ctx,
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c40 op_begemot(struct snmp_context *ctx, struct snmp_value *value, argument
85 ctx->scratch->int1 = storage_tbl_refresh;
90 ctx->scratch->int1 = fs_tbl_refresh;
95 ctx->scratch->int1 = disk_storage_tbl_refresh;
100 ctx->scratch->int1 = network_tbl_refresh;
105 ctx->scratch->int1 = swins_tbl_refresh;
110 ctx->scratch->int1 = swrun_tbl_refresh;
115 return (string_save(value, ctx, -1, &pkg_dir));
131 string_commit(ctx);
140 storage_tbl_refresh = ctx
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_client/
H A Durl.c48 svn_client_ctx_t *ctx,
58 svn_wc__node_get_url(url, ctx->wc_ctx, path_or_url,
44 svn_client_url_from_path2(const char **url, const char *path_or_url, svn_client_ctx_t *ctx, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
/freebsd-head/lib/libc/gen/
H A Dtrivial-getcontextx.c43 __fillcontextx2(char *ctx) argument
50 __fillcontextx(char *ctx) argument
54 ucp = (ucontext_t *)ctx;
63 char *ctx; local
66 ctx = malloc(__getcontextx_size());
67 if (ctx == NULL)
69 if (__fillcontextx(ctx) == -1) {
71 free(ctx);
75 return ((ucontext_t *)ctx);
/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_archive_digest.c35 archive_md5_ctx ctx; local
41 if (ARCHIVE_OK != archive_md5_init(&ctx)) {
45 assertEqualInt(ARCHIVE_OK, archive_md5_update(&ctx, buf, sizeof(buf)));
46 assertEqualInt(ARCHIVE_OK, archive_md5_final(&ctx, md));
52 archive_rmd160_ctx ctx; local
58 if (ARCHIVE_OK != archive_rmd160_init(&ctx)) {
62 assertEqualInt(ARCHIVE_OK, archive_rmd160_update(&ctx, buf, sizeof(buf)));
63 assertEqualInt(ARCHIVE_OK, archive_rmd160_final(&ctx, md));
69 archive_sha1_ctx ctx; local
75 if (ARCHIVE_OK != archive_sha1_init(&ctx)) {
86 archive_sha256_ctx ctx; local
105 archive_sha384_ctx ctx; local
126 archive_sha512_ctx ctx; local
[all...]
/freebsd-head/contrib/bsnmp/snmp_mibII/
H A DmibII_begemot.c40 op_begemot_mibII(struct snmp_context *ctx, struct snmp_value *value, argument
59 ctx->scratch->int1 = mibif_force_hc_update_interval;
64 ctx->scratch->int1 = mibII_poll_ticks;
74 mibif_force_hc_update_interval = ctx->scratch->int1;
78 mibII_poll_ticks = ctx->scratch->int1;
87 mibif_force_hc_update_interval = ctx->scratch->int1;
/freebsd-head/contrib/ofed/libmlx4/
H A Ddoorbell.h53 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset) argument
55 mmio_writeq((unsigned long)(ctx->uar + offset), MLX4_PAIR_TO_64(val));
60 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset) argument
62 pthread_spin_lock(&ctx->uar_lock);
63 mmio_writel((unsigned long)(ctx->uar + offset), val[0]);
64 mmio_writel((unsigned long)(ctx->uar + offset + 4), val[1]);
65 pthread_spin_unlock(&ctx->uar_lock);
/freebsd-head/lib/libgssapi/
H A Dgss_context_time.c41 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
42 struct _gss_mech_switch *m = ctx->gc_mech;
44 return (m->gm_context_time(minor_status, ctx->gc_ctx, time_rec));
H A Dgss_delete_sec_context.c45 struct _gss_context *ctx = (struct _gss_context *) *context_handle; local
51 if (ctx) {
53 * If we have an implementation ctx, delete it,
56 if (ctx->gc_ctx) {
57 major_status = ctx->gc_mech->gm_delete_sec_context(
58 minor_status, &ctx->gc_ctx, output_token);
60 free(ctx);
H A Dgss_process_context_token.c41 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
42 struct _gss_mech_switch *m = ctx->gc_mech;
44 return (m->gm_process_context_token(minor_status, ctx->gc_ctx,
/freebsd-head/sys/mips/mips/
H A Docteon_cop2.c59 octeon_cop2_free_ctx(struct octeon_cop2_state *ctx) argument
61 uma_zfree(ctxzone, ctx);
/freebsd-head/usr.sbin/bhyve/
H A Dioapic.c55 ioapic_init(struct vmctx *ctx) argument
58 if (vm_ioapic_pincount(ctx, &pci_pins) < 0) {
H A Dpci_hostbridge.c37 pci_hostbridge_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts) argument
53 pci_amd_hostbridge_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts) argument
55 (void) pci_hostbridge_init(ctx, pi, opts);
/freebsd-head/sys/kgssapi/
H A Dgss_wrap_size_limit.c45 const gss_ctx_id_t ctx,
51 if (!ctx) {
56 return (KGSS_WRAP_SIZE_LIMIT(ctx, minor_status, conf_req_flag,
44 gss_wrap_size_limit(OM_uint32 *minor_status, const gss_ctx_id_t ctx, int conf_req_flag, gss_qop_t qop_req, OM_uint32 req_output_size, OM_uint32 *max_input_size) argument
/freebsd-head/crypto/openssl/crypto/x509/
H A Dx509_d2.c15 int X509_STORE_set_default_paths(X509_STORE *ctx) argument
19 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file());
24 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_hash_dir());
35 int X509_STORE_load_locations(X509_STORE *ctx, const char *file, argument
41 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file());
48 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_hash_dir());
/freebsd-head/crypto/openssl/crypto/x509v3/
H A Dv3_int.c31 static void *s2i_asn1_int(X509V3_EXT_METHOD *meth, X509V3_CTX *ctx, argument

Completed in 95 milliseconds

1234567891011>>