Searched refs:ctx (Results 301 - 325 of 1119) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/crypto/openssl/crypto/bn/
H A Dbn_exp.c120 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) argument
131 BN_CTX_start(ctx);
133 rr = BN_CTX_get(ctx);
136 v = BN_CTX_get(ctx);
153 if (!BN_sqr(v, v, ctx))
156 if (!BN_mul(rr, rr, v, ctx))
164 BN_CTX_end(ctx);
170 BN_CTX *ctx)
226 ret = BN_mod_exp_mont_word(r, A, p, m, ctx, NULL);
229 ret = BN_mod_exp_mont(r, a, p, m, ctx, NUL
169 BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) argument
246 BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) argument
374 BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument
615 BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument
788 BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument
935 BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) argument
[all...]
H A Dbn_blind.c129 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
187 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) argument
202 if (!BN_BLINDING_create_param(b, NULL, NULL, ctx, NULL, NULL))
205 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
207 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
218 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) argument
220 return BN_BLINDING_convert_ex(n, NULL, b, ctx);
223 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) argument
237 else if (!BN_BLINDING_update(b, ctx))
245 if (!BN_mod_mul(n, n, b->A, b->mod, ctx))
251 BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) argument
256 BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) argument
297 BN_BLINDING_create_param(BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx) argument
[all...]
H A Dexp.c15 BN_CTX ctx; local
23 BN_CTX_init(&ctx);
36 BN_mod(&a, &a, &c, &ctx);
40 BN_MONT_CTX_set(&mont, &c, &ctx);
46 /* bn_mull(&r,&a,&b,&ctx); */
47 /* BN_sqr(&r,&a,&ctx); */
48 BN_mod_exp_mont(&r, &a, &b, &c, &ctx, &mont);
H A Dbn_gcd.c117 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx) argument
125 BN_CTX_start(ctx);
126 a = BN_CTX_get(ctx);
127 b = BN_CTX_get(ctx);
151 BN_CTX_end(ctx);
224 BN_CTX *ctx);
226 BN_CTX *ctx)
234 return BN_mod_inverse_no_branch(in, a, n, ctx);
240 BN_CTX_start(ctx);
241 A = BN_CTX_get(ctx);
225 BN_mod_inverse(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) argument
540 BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) argument
[all...]
/freebsd-9.3-release/contrib/gdb/include/
H A Dmd5.h96 extern void md5_init_ctx __P ((struct md5_ctx *ctx));
103 struct md5_ctx *ctx));
110 struct md5_ctx *ctx));
119 extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf));
128 extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf));
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/ntlm/
H A Dacquire_cred.c51 ntlm_ctx ctx; local
66 maj_stat = _gss_ntlm_allocate_ctx(min_stat, &ctx);
70 maj_stat = (*ctx->server->nsi_probe)(min_stat, ctx->ictx,
77 gss_ctx_id_t context = (gss_ctx_id_t)ctx;
/freebsd-9.3-release/crypto/openssh/
H A Dauth-skey.c52 skey_query(void *ctx, char **name, char **infotxt, argument
55 Authctxt *authctxt = ctx;
75 skey_respond(void *ctx, u_int numresponses, char **responses) argument
77 Authctxt *authctxt = ctx;
88 skey_free_ctx(void *ctx) argument
/freebsd-9.3-release/crypto/openssl/crypto/rc4/
H A Drc4s.cpp40 RC4_KEY ctx; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
/freebsd-9.3-release/crypto/openssl/times/x86/
H A Drc4s.cpp40 RC4_KEY ctx; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
/freebsd-9.3-release/crypto/openssl/crypto/dsa/
H A Ddsa_gen.c123 BN_CTX *ctx = NULL; local
146 if ((ctx = BN_CTX_new()) == NULL)
152 BN_CTX_start(ctx);
153 r0 = BN_CTX_get(ctx);
154 g = BN_CTX_get(ctx);
155 W = BN_CTX_get(ctx);
156 q = BN_CTX_get(ctx);
157 X = BN_CTX_get(ctx);
158 c = BN_CTX_get(ctx);
159 p = BN_CTX_get(ctx);
[all...]
H A Ddsa_key.c81 BN_CTX *ctx = NULL; local
84 if ((ctx = BN_CTX_new()) == NULL)
115 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx))
128 if (ctx != NULL)
129 BN_CTX_free(ctx);
/freebsd-9.3-release/crypto/openssl/fips/dsa/
H A Dfips_dsa_gen.c124 BN_CTX *ctx = NULL; local
157 if ((ctx = BN_CTX_new()) == NULL)
163 BN_CTX_start(ctx);
164 r0 = BN_CTX_get(ctx);
165 g = BN_CTX_get(ctx);
166 W = BN_CTX_get(ctx);
167 q = BN_CTX_get(ctx);
168 X = BN_CTX_get(ctx);
169 c = BN_CTX_get(ctx);
170 p = BN_CTX_get(ctx);
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/dh/
H A Ddh_key.c71 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
107 BN_CTX *ctx; local
111 ctx = BN_CTX_new();
112 if (ctx == NULL)
132 CRYPTO_LOCK_DH, dh->p, ctx);
156 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont))
171 BN_CTX_free(ctx);
177 BN_CTX *ctx = NULL; local
188 ctx = BN_CTX_new();
189 if (ctx
230 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dec_cvt.c76 const BIGNUM *b, BN_CTX *ctx)
87 if (!EC_GROUP_set_curve_GFp(ret, p, a, b, ctx)) {
114 if (!EC_GROUP_set_curve_GFp(ret, p, a, b, ctx)) {
124 const BIGNUM *b, BN_CTX *ctx)
135 if (!EC_GROUP_set_curve_GF2m(ret, p, a, b, ctx)) {
75 EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
123 EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
H A Dec_lib.c306 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) argument
315 BN_CTX *ctx)
385 const BIGNUM *b, BN_CTX *ctx)
391 return group->meth->group_set_curve(group, p, a, b, ctx);
395 BIGNUM *b, BN_CTX *ctx)
401 return group->meth->group_get_curve(group, p, a, b, ctx);
405 const BIGNUM *b, BN_CTX *ctx)
412 return group->meth->group_set_curve(group, p, a, b, ctx);
416 BIGNUM *b, BN_CTX *ctx)
423 return group->meth->group_get_curve(group, p, a, b, ctx);
314 EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx) argument
384 EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
394 EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument
404 EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
415 EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument
435 EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) argument
445 EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) argument
769 EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) argument
788 EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) argument
807 EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument
824 EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument
841 EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument
858 EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument
875 EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx) argument
893 EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx) argument
911 EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) argument
926 EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) argument
940 EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
955 EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) argument
969 EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx) argument
1003 EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) argument
1017 EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
1031 EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument
1044 EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) argument
1068 EC_POINTs_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
1079 EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx) argument
1095 EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx) argument
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/rsa/
H A Drsa_eay.c129 BN_CTX *ctx);
161 BN_CTX *ctx = NULL; local
181 if ((ctx = BN_CTX_new()) == NULL)
183 BN_CTX_start(ctx);
184 f = BN_CTX_get(ctx);
185 ret = BN_CTX_get(ctx);
227 (&rsa->_method_mod_n, CRYPTO_LOCK_RSA, rsa->n, ctx))
230 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
245 if (ctx != NULL) {
246 BN_CTX_end(ctx);
256 rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) argument
311 rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx) argument
331 rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx) argument
352 BN_CTX *ctx = NULL; local
488 BN_CTX *ctx = NULL; local
622 BN_CTX *ctx = NULL; local
717 RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) argument
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Devp_locl.h66 bl = ctx->cipher->block_size;\
72 static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
75 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
80 static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
82 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
87 static int cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
89 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Domp-low.c88 invalid gotos. The outermost ctx is depth 1, with depth 0 being
133 is_parallel_ctx (omp_context *ctx) argument
135 return TREE_CODE (ctx->stmt) == OMP_PARALLEL;
445 lookup_decl (tree var, omp_context *ctx) argument
448 n = splay_tree_lookup (ctx->cb.decl_map, (splay_tree_key) var);
453 maybe_lookup_decl (tree var, omp_context *ctx) argument
456 n = splay_tree_lookup (ctx->cb.decl_map, (splay_tree_key) var);
461 lookup_field (tree var, omp_context *ctx) argument
464 n = splay_tree_lookup (ctx->field_map, (splay_tree_key) var);
469 maybe_lookup_field (tree var, omp_context *ctx) argument
515 omp_copy_decl_2(tree var, tree name, tree type, omp_context *ctx) argument
534 omp_copy_decl_1(tree var, omp_context *ctx) argument
542 build_receiver_ref(tree var, bool by_ref, omp_context *ctx) argument
565 build_outer_var_ref(tree var, omp_context *ctx) argument
600 build_sender_ref(tree var, omp_context *ctx) argument
610 install_var_field(tree var, bool by_ref, omp_context *ctx) argument
634 install_var_local(tree var, omp_context *ctx) argument
645 fixup_remapped_decl(tree decl, omp_context *ctx, bool private_debug) argument
684 omp_context *ctx = (omp_context *) cb; local
824 omp_context *ctx = XCNEW (omp_context); local
861 omp_context *ctx = (omp_context *) value; local
884 fixup_child_record_type(omp_context *ctx) argument
928 scan_sharing_clauses(tree clauses, omp_context *ctx) argument
1072 scan_omp (&OMP_CLAUSE_REDUCTION_INIT (c), ctx); local
1073 scan_omp (&OMP_CLAUSE_REDUCTION_MERGE (c), ctx); local
1104 create_omp_child_function(omp_context *ctx) argument
1154 omp_context *ctx; local
1197 omp_context *ctx; local
1203 scan_sharing_clauses (OMP_FOR_CLAUSES (stmt), ctx); local
1205 scan_omp (&OMP_FOR_PRE_BODY (stmt), ctx); local
1206 scan_omp (&OMP_FOR_INIT (stmt), ctx); local
1207 scan_omp (&OMP_FOR_COND (stmt), ctx); local
1208 scan_omp (&OMP_FOR_INCR (stmt), ctx); local
1209 scan_omp (&OMP_FOR_BODY (stmt), ctx); local
1218 omp_context *ctx; local
1222 scan_sharing_clauses (OMP_SECTIONS_CLAUSES (stmt), ctx); local
1223 scan_omp (&OMP_SECTIONS_BODY (stmt), ctx); local
1232 omp_context *ctx; local
1242 scan_sharing_clauses (OMP_SINGLE_CLAUSES (stmt), ctx); local
1243 scan_omp (&OMP_SINGLE_BODY (stmt), ctx); local
1254 check_omp_nesting_restrictions(tree t, omp_context *ctx) argument
1336 omp_context *ctx = wi->info; local
1410 scan_omp(tree *stmt_p, omp_context *ctx) argument
1501 lookup_decl_in_outer_ctx(tree decl, omp_context *ctx) argument
1521 maybe_lookup_decl_in_outer_ctx(tree decl, omp_context *ctx) argument
1606 lower_rec_input_clauses(tree clauses, tree *ilist, tree *dlist, omp_context *ctx) argument
1844 lower_lastprivate_clauses(tree clauses, tree predicate, tree *stmt_list, omp_context *ctx) argument
1900 lower_reduction_clauses(tree clauses, tree *stmt_list, omp_context *ctx) argument
1990 lower_copyprivate_clauses(tree clauses, tree *slist, tree *rlist, omp_context *ctx) argument
2028 lower_send_clauses(tree clauses, tree *ilist, tree *olist, omp_context *ctx) argument
2108 lower_send_shared_vars(tree *ilist, tree *olist, omp_context *ctx) argument
3591 lower_omp_sections(tree *stmt_p, omp_context *ctx) argument
3604 lower_rec_input_clauses (OMP_SECTIONS_CLAUSES (stmt), &ilist, &dlist, ctx); local
3631 &l, ctx); local
3644 lower_reduction_clauses (OMP_SECTIONS_CLAUSES (stmt), &olist, ctx); local
3731 lower_omp_single_copy(tree single_stmt, tree *pre_p, omp_context *ctx) argument
3763 &copyin_seq, ctx); local
3787 lower_omp_single(tree *stmt_p, omp_context *ctx) argument
3798 &BIND_EXPR_BODY (bind), &dlist, ctx); local
3799 lower_omp (&OMP_SINGLE_BODY (single_stmt), ctx); local
3829 lower_omp_master(tree *stmt_p, omp_context *ctx) argument
3847 lower_omp (&OMP_MASTER_BODY (stmt), ctx); local
3869 lower_omp_ordered(tree *stmt_p, omp_context *ctx) argument
3885 lower_omp (&OMP_ORDERED_BODY (stmt), ctx); local
3914 lower_omp_critical(tree *stmt_p, omp_context *ctx) argument
3979 lower_omp (&OMP_CRITICAL_BODY (stmt), ctx); local
4003 lower_omp_for_lastprivate(struct omp_for_data *fd, tree *body_p, tree *dlist, struct omp_context *ctx) argument
4048 lower_omp_for(tree *stmt_p, omp_context *ctx) argument
4057 lower_omp (&OMP_FOR_PRE_BODY (stmt), ctx); local
4058 lower_omp (&OMP_FOR_BODY (stmt), ctx); local
4073 lower_rec_input_clauses (OMP_FOR_CLAUSES (stmt), body_p, &dlist, ctx); local
4107 lower_reduction_clauses (OMP_FOR_CLAUSES (stmt), body_p, ctx); local
4152 lower_omp_parallel(tree *stmt_p, omp_context *ctx) argument
4298 omp_context *ctx = wi->info; local
4403 lower_omp(tree *stmt_p, omp_context *ctx) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dinit_creds_pw.c91 free_init_creds_ctx(krb5_context context, krb5_get_init_creds_ctx *ctx) argument
93 if (ctx->etypes)
94 free(ctx->etypes);
95 if (ctx->pre_auth_types)
96 free (ctx->pre_auth_types);
97 free_AS_REQ(&ctx->as_req);
98 memset(&ctx->as_req, 0, sizeof(ctx->as_req));
268 krb5_get_init_creds_ctx *ctx)
275 memset(ctx,
263 get_init_creds_common(krb5_context context, krb5_principal client, krb5_deltat start_time, const char *in_tkt_service, krb5_get_init_creds_opt *options, krb5_get_init_creds_ctx *ctx) argument
499 krb5_get_init_creds_ctx ctx; local
971 pa_data_to_md_ts_enc(krb5_context context, const AS_REQ *a, const krb5_principal client, krb5_get_init_creds_ctx *ctx, struct pa_info_data *ppaid, METHOD_DATA *md) argument
1007 pa_data_to_key_plain(krb5_context context, const krb5_principal client, krb5_get_init_creds_ctx *ctx, krb5_salt salt, krb5_data *s2kparams, krb5_enctype etype, krb5_keyblock **key) argument
1024 pa_data_to_md_pkinit(krb5_context context, const AS_REQ *a, const krb5_principal client, krb5_get_init_creds_ctx *ctx, METHOD_DATA *md) argument
1045 pa_data_add_pac_request(krb5_context context, krb5_get_init_creds_ctx *ctx, METHOD_DATA *md) argument
1083 process_pa_data_to_md(krb5_context context, const krb5_creds *creds, const AS_REQ *a, krb5_get_init_creds_ctx *ctx, METHOD_DATA *in_md, METHOD_DATA **out_md, krb5_prompter_fct prompter, void *prompter_data) argument
1137 process_pa_data_to_key(krb5_context context, krb5_get_init_creds_ctx *ctx, krb5_creds *creds, AS_REQ *a, krb5_kdc_rep *rep, const krb5_krbhst_info *hi, krb5_keyblock **key) argument
1210 init_cred_loop(krb5_context context, krb5_get_init_creds_opt *init_cred_opts, const krb5_prompter_fct prompter, void *prompter_data, krb5_get_init_creds_ctx *ctx, krb5_creds *creds, krb5_kdc_rep *ret_as_reply) argument
1457 krb5_get_init_creds_ctx ctx; local
1629 struct krb5_get_init_creds_ctx ctx; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Drevoke.c88 * @param ctx returns a newly allocated revokation context.
96 hx509_revoke_init(hx509_context context, hx509_revoke_ctx *ctx) argument
98 *ctx = calloc(1, sizeof(**ctx));
99 if (*ctx == NULL)
102 (*ctx)->ref = 1;
103 (*ctx)->crls.len = 0;
104 (*ctx)->crls.val = NULL;
105 (*ctx)->ocsps.len = 0;
106 (*ctx)
112 _hx509_revoke_ref(hx509_revoke_ctx ctx) argument
142 hx509_revoke_free(hx509_revoke_ctx *ctx) argument
398 hx509_revoke_add_ocsp(hx509_context context, hx509_revoke_ctx ctx, const char *path) argument
452 verify_crl(hx509_context context, hx509_revoke_ctx ctx, CRLCertificateList *crl, time_t time_now, hx509_certs certs, hx509_cert parent) argument
602 hx509_revoke_add_crl(hx509_context context, hx509_revoke_ctx ctx, const char *path) argument
672 hx509_revoke_verify(hx509_context context, hx509_revoke_ctx ctx, hx509_certs certs, time_t now, hx509_cert cert, hx509_cert parent_cert) argument
859 struct ocsp_add_ctx *ctx = ptr; local
971 struct ocsp_add_ctx ctx; local
1364 add_revoked(hx509_context context, void *ctx, hx509_cert cert) argument
[all...]
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Dexport.c57 string_save(struct snmp_value *value, struct snmp_context *ctx, argument
63 ctx->scratch->ptr1 = *valp;
66 *valp = ctx->scratch->ptr1;
80 string_commit(struct snmp_context *ctx) argument
82 free(ctx->scratch->ptr1);
89 string_rollback(struct snmp_context *ctx, u_char **valp) argument
92 *valp = ctx->scratch->ptr1;
99 string_free(struct snmp_context *ctx) argument
101 free(ctx->scratch->ptr1);
154 ip_save(struct snmp_value *value, struct snmp_context *ctx, u_cha argument
171 ip_rollback(struct snmp_context *ctx, u_char *valp) argument
206 oid_save(struct snmp_value *value, struct snmp_context *ctx, struct asn_oid *oid) argument
218 oid_rollback(struct snmp_context *ctx, struct asn_oid *oid) argument
225 oid_commit(struct snmp_context *ctx) argument
[all...]
/freebsd-9.3-release/lib/libc/isc/
H A Dev_streams.c69 evContext_p *ctx = opaqueCtx.opaque; local
84 if (ctx->streams != NULL)
85 ctx->streams->prev = new;
87 new->next = ctx->streams;
88 ctx->streams = new;
103 evContext_p *ctx = opaqueCtx.opaque; local
118 if (ctx->streams != NULL)
119 ctx->streams->prev = new;
121 new->next = ctx->streams;
122 ctx
156 evContext_p *ctx = opaqueCtx.opaque; local
252 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
/freebsd-9.3-release/crypto/openssl/apps/
H A Dverify.c72 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx);
73 static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain,
242 static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, argument
259 X509_STORE_set_flags(ctx, vflags);
260 if (!X509_STORE_CTX_init(csc, ctx, x, uchain)) {
328 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx) argument
333 if (ctx->current_cert) {
334 X509_NAME_oneline(X509_get_subject_name(ctx->current_cert), buf,
338 printf("error %d at %d depth lookup:%s\n", ctx->error,
339 ctx
[all...]
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dssl.h390 long (*ssl_ctx_ctrl) (SSL_CTX *ctx, int cmd, long larg, void *parg);
592 # define SSL_CTX_set_options(ctx,op) \
593 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
594 # define SSL_CTX_clear_options(ctx,op) \
595 SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
596 # define SSL_CTX_get_options(ctx) \
597 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL)
605 # define SSL_CTX_set_mode(ctx,op) \
606 SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
607 # define SSL_CTX_clear_mode(ctx,o
1073 SSL_CTX *ctx; member in struct:ssl_st
[all...]
/freebsd-9.3-release/crypto/openssl/fips/dh/
H A Dfips_dh_key.c75 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
110 BN_CTX *ctx; local
120 ctx = BN_CTX_new();
121 if (ctx == NULL)
141 CRYPTO_LOCK_DH, dh->p, ctx);
165 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont))
180 BN_CTX_free(ctx);
186 BN_CTX *ctx; local
191 ctx = BN_CTX_new();
192 if (ctx
237 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument
[all...]

Completed in 183 milliseconds

<<11121314151617181920>>