Searched refs:ctx (Results 101 - 125 of 1406) sorted by relevance

1234567891011>>

/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A Dm_sha1.c74 static int init(EVP_MD_CTX *ctx) argument
75 { return SHA1_Init(ctx->md_data); }
77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument
78 { return SHA1_Update(ctx->md_data,data,count); }
80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
81 { return SHA1_Final(md,ctx->md_data); }
106 static int init224(EVP_MD_CTX *ctx) argument
107 { return SHA224_Init(ctx->md_data); }
108 static int init256(EVP_MD_CTX *ctx) argument
109 { return SHA256_Init(ctx
115 update256(EVP_MD_CTX *ctx,const void *data,size_t count) argument
117 final256(EVP_MD_CTX *ctx,unsigned char *md) argument
160 init384(EVP_MD_CTX *ctx) argument
162 init512(EVP_MD_CTX *ctx) argument
165 update512(EVP_MD_CTX *ctx,const void *data,size_t count) argument
167 final512(EVP_MD_CTX *ctx,unsigned char *md) argument
[all...]
/freebsd-10.0-release/contrib/ntp/libisc/
H A Dmem.c28 isc_mem_get(isc_mem_t *ctx, size_t size) { argument
29 UNUSED(ctx);
36 isc_mem_put(isc_mem_t *ctx, void *ptr, size_t size) argument
38 UNUSED(ctx);
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_client/
H A Dcleanup.c49 svn_client_ctx_t *ctx,
61 err = svn_wc_cleanup3(ctx->wc_ctx, local_abspath, ctx->cancel_func,
62 ctx->cancel_baton, scratch_pool);
46 svn_client_cleanup(const char *path, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool) argument
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/mech/
H A Dgss_get_mic.c38 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
42 if (ctx == NULL) {
47 m = ctx->gc_mech;
49 return (m->gm_get_mic(minor_status, ctx->gc_ctx, qop_req,
H A Dgss_verify_mic.c38 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
43 if (ctx == NULL) {
48 m = ctx->gc_mech;
50 return (m->gm_verify_mic(minor_status, ctx->gc_ctx,
H A Dgss_wrap_size_limit.c39 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
43 if (ctx == NULL) {
48 m = ctx->gc_mech;
50 return (m->gm_wrap_size_limit(minor_status, ctx->gc_ctx,
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_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,
H A Dgss_unwrap.c39 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
40 gssapi_mech_interface m = ctx->gc_mech;
42 return (m->gm_unwrap(minor_status, ctx->gc_ctx,
/freebsd-10.0-release/lib/libgssapi/
H A Dgss_get_mic.c42 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
43 struct _gss_mech_switch *m = ctx->gc_mech;
46 if (ctx == NULL) {
51 return (m->gm_get_mic(minor_status, ctx->gc_ctx, qop_req,
H A Dgss_verify_mic.c41 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
42 struct _gss_mech_switch *m = ctx->gc_mech;
46 if (ctx == NULL) {
51 return (m->gm_verify_mic(minor_status, ctx->gc_ctx,
H A Dgss_wrap_size_limit.c42 struct _gss_context *ctx = (struct _gss_context *) context_handle; local
43 struct _gss_mech_switch *m = ctx->gc_mech;
46 if (ctx == NULL) {
51 return (m->gm_wrap_size_limit(minor_status, ctx->gc_ctx,
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dmptbl.h32 int mptable_build(struct vmctx *ctx, int ncpu);
H A Dspinup_ap.h32 int spinup_ap(struct vmctx *ctx, int vcpu, int newcpu, uint64_t rip);
H A Dxmsr.h32 int emulate_wrmsr(struct vmctx *ctx, int vcpu, uint32_t code, uint64_t val);
/freebsd-10.0-release/lib/libusb/
H A Dlibusb10_io.c51 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, argument
54 if (ctx == NULL)
67 CTX_LOCK(ctx);
68 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry);
69 CTX_UNLOCK(ctx);
71 if (ctx->fd_added_cb)
72 ctx->fd_added_cb(fd, events, ctx->fd_cb_user_data);
76 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) argument
78 if (ctx
96 libusb10_handle_events_sub(struct libusb_context *ctx, struct timeval *tv) argument
232 libusb_try_lock_events(libusb_context *ctx) argument
254 libusb_lock_events(libusb_context *ctx) argument
263 libusb_unlock_events(libusb_context *ctx) argument
274 libusb_event_handling_ok(libusb_context *ctx) argument
281 libusb_event_handler_active(libusb_context *ctx) argument
288 libusb_lock_event_waiters(libusb_context *ctx) argument
295 libusb_unlock_event_waiters(libusb_context *ctx) argument
302 libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) argument
339 libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) argument
359 libusb_handle_events(libusb_context *ctx) argument
365 libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv) argument
381 libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv) argument
389 libusb_set_pollfd_notifiers(libusb_context *ctx, libusb_pollfd_added_cb added_cb, libusb_pollfd_removed_cb removed_cb, void *user_data) argument
401 libusb_get_pollfds(libusb_context *ctx) argument
471 libusb_context *ctx; local
491 libusb_context *ctx; local
561 libusb_context *ctx; local
579 libusb_context *ctx; local
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/bio/
H A Dbf_lbuf.c107 BIO_LINEBUFFER_CTX *ctx; local
109 ctx=(BIO_LINEBUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_LINEBUFFER_CTX));
110 if (ctx == NULL) return(0);
111 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE);
112 if (ctx->obuf == NULL) { OPENSSL_free(ctx); return(0); }
113 ctx->obuf_size=DEFAULT_LINEBUFFER_SIZE;
114 ctx->obuf_len=0;
117 bi->ptr=(char *)ctx;
151 BIO_LINEBUFFER_CTX *ctx; local
269 BIO_LINEBUFFER_CTX *ctx; local
[all...]
/freebsd-10.0-release/contrib/unbound/libunbound/python/doc/examples/
H A Dexample7-1.py8 ctx = unbound.ub_ctx() variable
9 ctx.resolvconf("/etc/resolv.conf")
11 status, result = ctx.resolve(u"www.h����ky����rky.cz", unbound.RR_TYPE_A, unbound.RR_CLASS_IN)
H A Dexample7-2.py8 ctx = unbound.ub_ctx() variable
9 ctx.resolvconf("/etc/resolv.conf")
11 status, result = ctx.resolve(u"h����ky����rky.cz", unbound.RR_TYPE_MX, unbound.RR_CLASS_IN)
/freebsd-10.0-release/contrib/unbound/libunbound/python/examples/
H A Ddns-lookup.py37 ctx = unbound.ub_ctx() variable
38 ctx.resolvconf("/etc/resolv.conf")
40 status, result = ctx.resolve("www.nic.cz", unbound.RR_TYPE_A, unbound.RR_CLASS_IN)
H A Dns-lookup.py38 ctx = unbound.ub_ctx() variable
39 ctx.resolvconf("/etc/resolv.conf")
41 status, result = ctx.resolve("vutbr.cz", unbound.RR_TYPE_NS, unbound.RR_CLASS_IN)
H A Dreverse-lookup.py37 ctx = unbound.ub_ctx() variable
38 ctx.resolvconf("/etc/resolv.conf")
40 status, result = ctx.resolve(unbound.reverse("74.125.43.147") + ".in-addr.arpa.", unbound.RR_TYPE_PTR, unbound.RR_CLASS_IN)
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/krb5/
H A Dcompat.c80 * ctx->ctx_id_mutex is assumed to be locked
85 gsskrb5_ctx ctx,
91 if ((ctx->more_flags & COMPAT_OLD_DES3_SELECTED) == 0) {
92 ret = check_compat(minor_status, context, ctx->target,
96 ret = check_compat(minor_status, context, ctx->target,
102 ctx->more_flags |= COMPAT_OLD_DES3;
103 ctx->more_flags |= COMPAT_OLD_DES3_SELECTED;
110 gss_krb5_compat_des3_mic(OM_uint32 *minor_status, gss_ctx_id_t ctx, int on)
114 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
116 ctx
84 _gss_DES3_get_mic_compat(OM_uint32 *minor_status, gsskrb5_ctx ctx, krb5_context context) argument
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/ec/
H A Dec_check.c59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx) argument
66 if (ctx == NULL)
68 ctx = new_ctx = BN_CTX_new();
69 if (ctx == NULL)
75 BN_CTX_start(ctx);
76 if ((order = BN_CTX_get(ctx)) == NULL) goto err;
79 if (!EC_GROUP_check_discriminant(group, ctx))
91 if (!EC_POINT_is_on_curve(group, group->generator, ctx))
99 if (!EC_GROUP_get_order(group, order, ctx)) goto err;
106 if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx)) got
[all...]
/freebsd-10.0-release/crypto/openssl/engines/ccgost/
H A Dgost_keywrap.h22 void keyDiversifyCryptoPro(gost_ctx *ctx,
28 * ctx - gost encryption context, initialized with some S-boxes
35 int keyWrapCryptoPro(gost_ctx *ctx,
42 * ctx - gost encryption context, initialized with some S-boxes
52 int keyUnwrapCryptoPro(gost_ctx *ctx,

Completed in 120 milliseconds

1234567891011>>