Searched refs:ctx (Results 276 - 300 of 1936) sorted by relevance

<<11121314151617181920>>

/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/include/
H A Dprop.h92 * ctx -- context from prop_new()
101 LIBSASL_API int prop_request(struct propctx *ctx, const char **names);
109 LIBSASL_API const struct propval *prop_get(struct propctx *ctx);
123 LIBSASL_API int prop_getnames(struct propctx *ctx, const char **names,
127 * ctx -- property context
130 LIBSASL_API void prop_clear(struct propctx *ctx, int requests);
134 LIBSASL_API void prop_erase(struct propctx *ctx, const char *name);
137 * ctx -- is disposed and set to NULL; noop if ctx or *ctx i
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/krb5/
H A Daccept_sec_context.c120 _gsskrb5i_is_cfx(krb5_context context, gsskrb5_ctx ctx, int acceptor) argument
124 krb5_auth_con_getlocalseqnumber(context, ctx->auth_context,
125 (int32_t *)&ctx->gk5c.seqnumlo);
126 ctx->gk5c.seqnumhi = 0;
129 if (ctx->auth_context->local_subkey)
130 key = ctx->auth_context->local_subkey;
132 key = ctx->auth_context->remote_subkey;
134 if (ctx->auth_context->remote_subkey)
135 key = ctx->auth_context->remote_subkey;
137 key = ctx
181 gsskrb5_accept_delegated_token(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, gss_cred_id_t * delegated_cred_handle ) argument
262 step_acceptor_completed(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle) argument
283 gsskrb5_acceptor_ready(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, gss_cred_id_t *delegated_cred_handle) argument
420 iakerb_acceptor_start(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle) argument
500 pku2u_acceptor_start(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle) argument
567 gsskrb5_acceptor_start(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle) argument
1022 acceptor_wait_for_dcestyle(OM_uint32 * minor_status, gsskrb5_ctx ctx, krb5_context context, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle) argument
1202 gsskrb5_ctx ctx; local
[all...]
/macosx-10.10/CommonCrypto-60061/lib/
H A DCommonCMAC.c63 static void ccGenAESSubKey(const struct ccmode_ecb *aesmode, ccecb_ctx *ctx, void *key1, void *key2)
71 aesmode->ecb(ctx, 1, Z, L);
113 ccecb_ctx_decl(aesmode->size, ctx);
119 aesmode->init(aesmode, ctx, 16, key);
120 aesmode->ecb(ctx, 1, Y, X);
121 ccGenAESSubKey(aesmode, ctx, K1, K2);
145 aesmode->ecb(ctx, 1, Y, X);
151 aesmode->ecb(ctx, 1, Y, X);
192 void CCAESCmacUpdate(CCCmacContextPtr ctx, const void *data, size_t dataLength) { argument
193 size_t blocksize = ctx
212 CCAESCmacFinal(CCCmacContextPtr ctx, void *macOut) argument
216 CCAESCmacDestroy(CCCmacContextPtr ctx) argument
225 CCAESCmacOutputSizeFromContext(CCCmacContextPtr ctx) argument
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslEAP/
H A DringBufferThreads.cpp58 SSLContextRef ctx,
73 SSLInternalServerRandom(ctx, r, &rSize);
75 SSLInternalClientRandom(ctx, r, &rSize);
87 SSLContextRef ctx = NULL; local
94 ortn = SSLNewContext(false, &ctx);
99 ortn = SSLSetIOFuncs(ctx, ringReadFunc, ringWriteFunc);
104 ortn = SSLSetConnection(ctx, (SSLConnectionRef)&ringBufs);
110 ortn = SSLSetProtocolVersionEnabled(ctx, kSSLProtocol2, false);
115 ortn = SSLInternalSetMasterSecretFunction(ctx, sslMasterSecretFunction, sslArgs);
120 ortn = SSLInternalSetSessionTicket(ctx, sslArg
57 sslMasterSecretFunction( SSLContextRef ctx, const void *arg, void *secret, size_t *secretLength) argument
229 SSLContextRef ctx = NULL; local
[all...]
/macosx-10.10/apache-793/httpd/modules/filters/
H A Dmod_ratelimit.c62 rl_ctx_t *ctx = f->ctx; local
74 if (ctx == NULL) {
101 ctx = apr_palloc(f->r->pool, sizeof(rl_ctx_t));
102 f->ctx = ctx;
103 ctx->state = RATE_LIMIT;
104 ctx->speed = ratelimit;
108 ctx->chunk_size = (ctx
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/ec/
H A Decp_smpl.c169 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
182 if (ctx == NULL)
184 ctx = new_ctx = BN_CTX_new();
185 if (ctx == NULL)
189 BN_CTX_start(ctx);
190 tmp_a = BN_CTX_get(ctx);
198 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err;
200 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; }
205 if (!BN_nnmod(&group->b, b, p, ctx)) goto err;
207 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) got
168 ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
223 ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument
280 ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) argument
394 ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) argument
454 ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) argument
507 ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument
521 ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument
637 ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) argument
766 ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) argument
892 ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) argument
1002 ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
1166 ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) argument
1283 ec_GFp_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument
1299 ec_GFp_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) argument
1390 ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
1501 ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument
1540 ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) argument
1710 ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
1716 ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument
[all...]
H A Dec2_mult.c82 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx) argument
87 /* Since Mdouble is static we can guarantee that ctx != NULL. */
88 BN_CTX_start(ctx);
89 t1 = BN_CTX_get(ctx);
92 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
93 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err;
94 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
95 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
96 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err;
97 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) got
113 gf2m_Madd(const EC_GROUP *group, const BIGNUM *x, BIGNUM *x1, BIGNUM *z1, const BIGNUM *x2, const BIGNUM *z2, BN_CTX *ctx) argument
150 gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y, BIGNUM *x1, BIGNUM *z1, BIGNUM *x2, BIGNUM *z2, BN_CTX *ctx) argument
218 ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) argument
318 ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
381 ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Devp-hcrypto.c66 aes_init(EVP_CIPHER_CTX *ctx, argument
71 AES_KEY *k = ctx->cipher_data;
72 if (ctx->encrypt)
73 AES_set_encrypt_key(key, ctx->cipher->key_len * 8, k);
75 AES_set_decrypt_key(key, ctx->cipher->key_len * 8, k);
80 aes_do_cipher(EVP_CIPHER_CTX *ctx, argument
85 AES_KEY *k = ctx->cipher_data;
86 if (ctx->flags & EVP_CIPH_CFB8_MODE)
87 AES_cfb8_encrypt(in, out, size, k, ctx->iv, ctx
435 des_cbc_init(EVP_CIPHER_CTX *ctx, const unsigned char * key, const unsigned char * iv, int encp) argument
448 des_cbc_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument
497 des_ede3_cbc_init(EVP_CIPHER_CTX *ctx, const unsigned char * key, const unsigned char * iv, int encp) argument
521 des_ede3_cbc_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument
572 rc2_init(EVP_CIPHER_CTX *ctx, const unsigned char * key, const unsigned char * iv, int encp) argument
587 rc2_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument
685 camellia_init(EVP_CIPHER_CTX *ctx, const unsigned char * key, const unsigned char * iv, int encp) argument
697 camellia_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument
795 rc4_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
806 rc4_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/API/
H A DJSContextRef.cpp153 JSGlobalContextRef JSGlobalContextRetain(JSGlobalContextRef ctx) argument
155 ExecState* exec = toJS(ctx);
161 return ctx;
164 void JSGlobalContextRelease(JSGlobalContextRef ctx) argument
166 ExecState* exec = toJS(ctx);
176 JSObjectRef JSContextGetGlobalObject(JSContextRef ctx) argument
178 if (!ctx) {
182 ExecState* exec = toJS(ctx);
188 JSContextGroupRef JSContextGetGroup(JSContextRef ctx) argument
190 if (!ctx) {
198 JSContextGetGlobalContext(JSContextRef ctx) argument
210 JSGlobalContextCopyName(JSGlobalContextRef ctx) argument
227 JSGlobalContextSetName(JSGlobalContextRef ctx, JSStringRef name) argument
289 JSContextCreateBacktrace(JSContextRef ctx, unsigned maxStackSize) argument
307 JSGlobalContextGetRemoteInspectionEnabled(JSGlobalContextRef ctx) argument
320 JSGlobalContextSetRemoteInspectionEnabled(JSGlobalContextRef ctx, bool enabled) argument
333 JSGlobalContextGetIncludesNativeCallStackWhenReportingExceptions(JSGlobalContextRef ctx) argument
352 JSGlobalContextSetIncludesNativeCallStackWhenReportingExceptions(JSGlobalContextRef ctx, bool includesNativeCallStack) argument
372 JSGlobalContextGetDebuggerRunLoop(JSGlobalContextRef ctx) argument
390 JSGlobalContextSetDebuggerRunLoop(JSGlobalContextRef ctx, CFRunLoopRef runLoop) argument
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/x509/
H A Dby_dir.c90 static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
94 static int add_cert_dir(BY_DIR *ctx,const char *dir,int type);
116 static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, argument
123 ld=(BY_DIR *)ctx->method_data;
181 static int add_cert_dir(BY_DIR *ctx, const char *dir, int type) argument
204 for (j=0; j<ctx->num_dirs; j++)
205 if (strlen(ctx->dirs[j]) == (size_t)len &&
206 strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0)
208 if (j<ctx->num_dirs)
210 if (ctx
248 BY_DIR *ctx; local
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/bn/
H A Dbn_mod.c119 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
121 return(BN_div(NULL,rem,m,d,ctx));
127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) argument
132 if (!(BN_mod(r,m,d,ctx)))
141 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) argument
144 return BN_nnmod(r, r, m, ctx);
159 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) argument
162 return BN_nnmod(r, r, m, ctx);
179 BN_CTX *ctx)
188 BN_CTX_start(ctx);
178 BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) argument
203 BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) argument
211 BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) argument
231 BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx) argument
[all...]
H A Dbn_prime.c130 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
133 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
135 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
165 BN_CTX *ctx; local
168 ctx=BN_CTX_new();
169 if (ctx == NULL) goto err;
170 BN_CTX_start(ctx);
171 t = BN_CTX_get(ctx);
183 if (!probable_prime_dh_safe(ret,bits,add,rem,ctx))
188 if (!probable_prime_dh(ret,bits,add,rem,ctx))
248 BN_CTX *ctx = NULL; local
352 witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont) argument
406 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument
444 probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd, const BIGNUM *rem, BN_CTX *ctx) argument
[all...]
/macosx-10.10/Security-57031.1.35/sslViewer/
H A DsslClient.cpp39 SSLContextRef ctx = NULL; local
59 ortn = SSLNewContext(false, &ctx);
64 ortn = SSLSetIOFuncs(ctx, SocketRead, SocketWrite);
69 ortn = SSLSetConnection(ctx, (SSLConnectionRef)sock);
75 ortn = SSLSetPeerDomainName(ctx, params->hostName,
85 ortn = sslAddTrustedRoot(ctx, params->anchorFile, params->replaceAnchors);
90 ortn = sslSetProtocols(ctx, params->acceptedProts, params->tryVersion);
95 ortn = SSLSetPeerID(ctx, &peerId, sizeof(PeerSpec));
102 ortn = SSLSetEnableCertVerify(ctx, false);
109 ortn = sslSetEnabledCiphers(ctx, param
[all...]
/macosx-10.10/ruby-106/ruby/ext/openssl/
H A Dossl_cipher.c13 #define WrapCipher(obj, klass, ctx) \
14 (obj) = Data_Wrap_Struct((klass), 0, ossl_cipher_free, (ctx))
15 #define MakeCipher(obj, klass, ctx) \
16 (obj) = Data_Make_Struct((klass), EVP_CIPHER_CTX, 0, ossl_cipher_free, (ctx))
17 #define AllocCipher(obj, ctx) \
18 memset(DATA_PTR(obj) = (ctx) = ALLOC(EVP_CIPHER_CTX), 0, sizeof(EVP_CIPHER_CTX))
19 #define GetCipherInit(obj, ctx) do { \
20 Data_Get_Struct((obj), EVP_CIPHER_CTX, (ctx)); \
22 #define GetCipher(obj, ctx) do { \
23 GetCipherInit((obj), (ctx)); \
47 EVP_CIPHER_CTX *ctx; local
58 EVP_CIPHER_CTX *ctx; local
73 ossl_cipher_free(EVP_CIPHER_CTX *ctx) argument
102 EVP_CIPHER_CTX *ctx; local
193 EVP_CIPHER_CTX *ctx; local
205 EVP_CIPHER_CTX *ctx; local
305 EVP_CIPHER_CTX *ctx; local
348 EVP_CIPHER_CTX *ctx; local
394 EVP_CIPHER_CTX *ctx; local
418 EVP_CIPHER_CTX *ctx; local
439 EVP_CIPHER_CTX *ctx; local
471 EVP_CIPHER_CTX *ctx; local
507 EVP_CIPHER_CTX *ctx; local
530 ossl_get_gcm_auth_tag(EVP_CIPHER_CTX *ctx, int len) argument
563 EVP_CIPHER_CTX *ctx; local
584 ossl_set_gcm_auth_tag(EVP_CIPHER_CTX *ctx, unsigned char *tag, int tag_len) argument
605 EVP_CIPHER_CTX *ctx; local
636 EVP_CIPHER_CTX *ctx; local
671 EVP_CIPHER_CTX *ctx; local
694 EVP_CIPHER_CTX *ctx; local
[all...]
H A Dossl_ssl_session.c38 SSL_SESSION *ctx = NULL; local
48 if (!ssl || (ctx = SSL_get1_session(ssl)) == NULL)
53 ctx = PEM_read_bio_SSL_SESSION(in, NULL, NULL, NULL);
55 if (!ctx) {
57 ctx = d2i_SSL_SESSION_bio(in, NULL);
62 if (!ctx)
67 if (ctx == NULL)
68 ossl_raise(eSSLSession, "ctx not set - internal error");
70 RDATA(self)->data = ctx;
112 SSL_SESSION *ctx; local
134 SSL_SESSION *ctx; local
154 SSL_SESSION *ctx; local
175 SSL_SESSION *ctx; local
193 SSL_SESSION *ctx; local
213 SSL_SESSION *ctx; local
239 SSL_SESSION *ctx; local
272 SSL_SESSION *ctx; local
[all...]
/macosx-10.10/xnu-2782.1.97/security/
H A Dmac_vfs.c300 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx) argument
317 error = mac_vnode_label_associate_fdesc(mp, fnp, vp, ctx);
363 mac_vnode_notify_create(vfs_context_t ctx, struct mount *mp, argument
370 !mac_context_check_enforce(ctx, MAC_VNODE_ENFORCE))
373 cred = vfs_context_ucred(ctx);
381 mac_vnode_notify_rename(vfs_context_t ctx, struct vnode *vp, argument
387 !mac_context_check_enforce(ctx, MAC_VNODE_ENFORCE))
390 cred = vfs_context_ucred(ctx);
396 mac_vnode_notify_open(vfs_context_t ctx, struct vnode *vp, int acc_flags) argument
401 !mac_context_check_enforce(ctx, MAC_VNODE_ENFORC
409 mac_vnode_notify_link(vfs_context_t ctx, struct vnode *vp, struct vnode *dvp, struct componentname *cnp) argument
448 mac_vnode_label_store(vfs_context_t ctx, struct vnode *vp, struct label *intlabel) argument
465 mac_cred_label_update_execve(vfs_context_t ctx, kauth_cred_t new, struct vnode *vp, off_t offset, struct vnode *scriptvp, struct label *scriptvnodelabel, struct label *execl, u_int *csflags, void *macextensions, int *disjoint, int *labelupdateerror) argument
532 mac_cred_check_label_update_execve(vfs_context_t ctx, struct vnode *vp, off_t offset, struct vnode *scriptvp, struct label *scriptvnodelabel, struct label *execlabel, struct proc *p, void *macextensions) argument
590 mac_vnode_check_access(vfs_context_t ctx, struct vnode *vp, int acc_mode) argument
609 mac_vnode_check_chdir(vfs_context_t ctx, struct vnode *dvp) argument
624 mac_vnode_check_chroot(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp) argument
640 mac_vnode_check_create(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp, struct vnode_attr *vap) argument
656 mac_vnode_check_unlink(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
690 mac_vnode_check_deleteextattr(vfs_context_t ctx, struct vnode *vp, const char *name) argument
705 mac_vnode_check_exchangedata(vfs_context_t ctx, struct vnode *v1, struct vnode *v2) argument
740 mac_vnode_check_getattrlist(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
758 mac_vnode_check_exec(vfs_context_t ctx, struct vnode *vp, struct image_params *imgp) argument
823 mac_vnode_check_fsgetpath(vfs_context_t ctx, struct vnode *vp) argument
871 mac_vnode_check_getextattr(vfs_context_t ctx, struct vnode *vp, const char *name, struct uio *uio) argument
888 mac_vnode_check_ioctl(vfs_context_t ctx, struct vnode *vp, u_int cmd) argument
903 mac_vnode_check_kqfilter(vfs_context_t ctx, kauth_cred_t file_cred, struct knote *kn, struct vnode *vp) argument
921 mac_vnode_check_link(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
938 mac_vnode_check_listextattr(vfs_context_t ctx, struct vnode *vp) argument
953 mac_vnode_check_lookup(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp) argument
969 mac_vnode_check_open(vfs_context_t ctx, struct vnode *vp, int acc_mode) argument
984 mac_vnode_check_read(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1002 mac_vnode_check_readdir(vfs_context_t ctx, struct vnode *dvp) argument
1017 mac_vnode_check_readlink(vfs_context_t ctx, struct vnode *vp) argument
1032 mac_vnode_check_label_update(vfs_context_t ctx, struct vnode *vp, struct label *newlabel) argument
1049 mac_vnode_check_rename(vfs_context_t ctx, struct vnode *dvp, struct vnode *vp, struct componentname *cnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp) argument
1079 mac_vnode_check_revoke(vfs_context_t ctx, struct vnode *vp) argument
1094 mac_vnode_check_searchfs(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
1109 mac_vnode_check_select(vfs_context_t ctx, struct vnode *vp, int which) argument
1142 mac_vnode_check_setattrlist(vfs_context_t ctx, struct vnode *vp, struct attrlist *alist) argument
1158 mac_vnode_check_setextattr(vfs_context_t ctx, struct vnode *vp, const char *name, struct uio *uio) argument
1175 mac_vnode_check_setflags(vfs_context_t ctx, struct vnode *vp, u_long flags) argument
1190 mac_vnode_check_setmode(vfs_context_t ctx, struct vnode *vp, mode_t mode) argument
1205 mac_vnode_check_setowner(vfs_context_t ctx, struct vnode *vp, uid_t uid, gid_t gid) argument
1221 mac_vnode_check_setutimes(vfs_context_t ctx, struct vnode *vp, struct timespec atime, struct timespec mtime) argument
1238 mac_vnode_check_stat(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1255 mac_vnode_check_truncate(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1273 mac_vnode_check_write(vfs_context_t ctx, struct ucred *file_cred, struct vnode *vp) argument
1290 mac_vnode_check_uipc_bind(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp, struct vnode_attr *vap) argument
1306 mac_vnode_check_uipc_connect(vfs_context_t ctx, struct vnode *vp) argument
1321 mac_vnode_label_update(vfs_context_t ctx, struct vnode *vp, struct label *newlabel) argument
1358 mac_mount_label_associate(vfs_context_t ctx, struct mount *mp) argument
1407 mac_mount_check_mount(vfs_context_t ctx, struct vnode *vp, struct componentname *cnp, const char *vfc_name) argument
1424 mac_mount_check_remount(vfs_context_t ctx, struct mount *mp) argument
1440 mac_mount_check_umount(vfs_context_t ctx, struct mount *mp) argument
1456 mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument
1472 mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument
1488 mac_mount_check_stat(vfs_context_t ctx, struct mount *mount) argument
1504 mac_mount_check_label_update(vfs_context_t ctx, struct mount *mount) argument
1520 mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp, u_int cmd) argument
1605 mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp, struct vnode *vp, vfs_context_t ctx) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hx509/
H A Dprint.c45 void *ctx; member in struct:hx509_validate_ctx_data
88 * @param ctx the context to the print function. If the ctx is NULL,
97 hx509_print_stdout(void *ctx, const char *fmt, va_list va)
100 FILE *f = ctx;
107 print_func(hx509_vprint_func func, void *ctx, const char *fmt, ...) argument
111 (*func)(ctx, fmt, va);
138 * @param ctx context variable to hx509_vprint_func function.
144 hx509_oid_print(const heim_oid *oid, hx509_vprint_func func, void *ctx) argument
148 print_func(func, ctx, "
164 hx509_bitstring_print(const heim_bit_string *b, hx509_vprint_func func, void *ctx) argument
220 hx509_validate_ctx ctx = c; local
227 validate_print(hx509_validate_ctx ctx, int flags, const char *fmt, ...) argument
244 check_Null(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
276 check_subjectKeyIdentifier(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
324 check_authorityKeyIdentifier(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
364 check_extKeyUsage(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
415 check_pkinit_san(hx509_validate_ctx ctx, heim_any *a) argument
450 check_utf8_string_san(hx509_validate_ctx ctx, heim_any *a) argument
470 check_altnull(hx509_validate_ctx ctx, heim_any *a) argument
476 check_CRLDistributionPoints(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
560 check_altName(hx509_validate_ctx ctx, struct cert_status *status, const char *name, enum critical_flag cf, const Extension *e) argument
646 check_subjectAltName(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
656 check_issuerAltName(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
667 check_basicConstraints(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
710 check_proxyCertInfo(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
721 check_authorityInfoAccess(hx509_validate_ctx ctx, struct cert_status *status, enum critical_flag cf, const Extension *e) argument
817 hx509_validate_ctx_init(hx509_context context, hx509_validate_ctx *ctx) argument
837 hx509_validate_ctx_set_print(hx509_validate_ctx ctx, hx509_vprint_func func, void *c) argument
856 hx509_validate_ctx_add_flags(hx509_validate_ctx ctx, int flags) argument
870 hx509_validate_ctx_free(hx509_validate_ctx ctx) argument
888 hx509_validate_cert(hx509_context context, hx509_validate_ctx ctx, hx509_cert cert) argument
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/rsa/
H A Drsa_x931g.c76 BN_CTX *ctx=NULL,*ctx2=NULL; local
81 ctx = BN_CTX_new();
82 if (!ctx)
84 BN_CTX_start(ctx);
86 r0 = BN_CTX_get(ctx);
87 r1 = BN_CTX_get(ctx);
88 r2 = BN_CTX_get(ctx);
89 r3 = BN_CTX_get(ctx);
113 Xp, Xp1, Xp2, e, ctx, cb))
123 Xq, Xq1, Xq2, e, ctx, c
204 BN_CTX *ctx = NULL; local
[all...]
/macosx-10.10/OpenSSL098-52/src/fips/rsa/
H A Dfips_rsa_x931g.c80 BN_CTX *ctx=NULL,*ctx2=NULL; local
85 ctx = BN_CTX_new();
86 BN_CTX_start(ctx);
87 if (!ctx)
90 r0 = BN_CTX_get(ctx);
91 r1 = BN_CTX_get(ctx);
92 r2 = BN_CTX_get(ctx);
93 r3 = BN_CTX_get(ctx);
117 Xp, Xp1, Xp2, e, ctx, cb))
127 Xq, Xq1, Xq2, e, ctx, c
208 BN_CTX *ctx = NULL; local
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A Dopenbsd_hw.c84 #define CDATA(ctx) EVP_C_DATA(session_op,ctx)
120 static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx)
122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1)
125 OPENSSL_free(CDATA(ctx)->key);
130 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher,
133 if(!dev_crypto_init(CDATA(ctx)))
136 CDATA(ctx)->key=OPENSSL_malloc(MAX_HW_KEY);
138 assert(ctx->cipher->iv_len <= MAX_HW_IV);
140 memcpy(CDATA(ctx)
[all...]
/macosx-10.10/Heimdal-398.1.2/base/
H A Dfuzzer.c49 null_free(void *ctx) argument
51 if (ctx != NULL)
71 random_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
73 *ctx = NULL;
102 bitflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
104 *ctx = NULL;
130 byteflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
132 *ctx = NULL;
158 shortflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
160 *ctx
187 wordflip_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
256 interesting8_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
273 interesting16_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
290 interesting32_fuzz(void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
323 heim_fuzzer(heim_fuzz_type_t type, void **ctx, unsigned long iteration, uint8_t *data, size_t length) argument
335 heim_fuzzer_free(heim_fuzz_type_t type, void *ctx) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/bn/
H A Dbn_recp.c112 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx) argument
122 BN_CTX *ctx)
127 BN_CTX_start(ctx);
128 if ((a = BN_CTX_get(ctx)) == NULL) goto err;
132 { if (!BN_sqr(a,x,ctx)) goto err; }
134 { if (!BN_mul(a,x,y,ctx)) goto err; }
139 BN_div_recp(NULL,r,a,recp,ctx);
142 BN_CTX_end(ctx);
147 BN_CTX *ctx)
152 BN_CTX_start(ctx);
121 BN_mod_mul_reciprocal(BIGNUM *r, BIGNUM *x, BIGNUM *y, BN_RECP_CTX *recp, BN_CTX *ctx) argument
146 BN_div_recp(BIGNUM *dv, BIGNUM *rem, BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx) argument
222 BN_reciprocal(BIGNUM *r, BIGNUM *m, int len, BN_CTX *ctx) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DappleCdsa.h56 extern OSStatus attachToCsp(SSLContext *ctx);
57 extern OSStatus attachToCl(SSLContext *ctx);
58 extern OSStatus attachToTp(SSLContext *ctx);
59 extern OSStatus attachToAll(SSLContext *ctx);
60 extern OSStatus detachFromAll(SSLContext *ctx);
71 SSLContext *ctx,
80 SSLContext *ctx,
88 SSLContext *ctx,
97 SSLContext *ctx,
109 SSLContext *ctx,
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DappleCdsa.h56 extern OSStatus attachToCsp(SSLContext *ctx);
57 extern OSStatus attachToCl(SSLContext *ctx);
58 extern OSStatus attachToTp(SSLContext *ctx);
59 extern OSStatus attachToAll(SSLContext *ctx);
60 extern OSStatus detachFromAll(SSLContext *ctx);
71 SSLContext *ctx,
80 SSLContext *ctx,
88 SSLContext *ctx,
97 SSLContext *ctx,
109 SSLContext *ctx,
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DappleCdsa.h56 extern OSStatus attachToCsp(SSLContext *ctx);
57 extern OSStatus attachToCl(SSLContext *ctx);
58 extern OSStatus attachToTp(SSLContext *ctx);
59 extern OSStatus attachToAll(SSLContext *ctx);
60 extern OSStatus detachFromAll(SSLContext *ctx);
71 SSLContext *ctx,
80 SSLContext *ctx,
88 SSLContext *ctx,
97 SSLContext *ctx,
109 SSLContext *ctx,
[all...]

Completed in 170 milliseconds

<<11121314151617181920>>