Searched refs:ctxt (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-10-stable/sys/crypto/
H A Dsha1.c67 #define H(n) (ctxt->h.b32[(n)])
68 #define COUNT (ctxt->count)
69 #define BCOUNT (ctxt->c.b64[0] / 8)
70 #define W(n) (ctxt->m.b32[(n)])
73 ctxt->m.b8[(COUNT % 64)] = (x); \
76 ctxt->c.b64[0] += 8; \
78 sha1_step(ctxt); \
82 ctxt->m.b8[(COUNT % 64)] = (x); \
86 sha1_step(ctxt); \
92 sha1_step(ctxt)
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dmd-sha256.c40 ssh_sha256_init(EVP_MD_CTX *ctxt) argument
42 SHA256_Init(ctxt->md_data);
47 ssh_sha256_update(EVP_MD_CTX *ctxt, const void *data, unsigned long len) argument
49 SHA256_Update(ctxt->md_data, data, len);
54 ssh_sha256_final(EVP_MD_CTX *ctxt, unsigned char *digest) argument
56 SHA256_Final(digest, ctxt->md_data);
61 ssh_sha256_cleanup(EVP_MD_CTX *ctxt) argument
63 memset(ctxt->md_data, 0, sizeof(SHA256_CTX));
H A Dauth2-gss.c51 static int input_gssapi_token(int type, u_int32_t plen, void *ctxt);
52 static int input_gssapi_mic(int type, u_int32_t plen, void *ctxt);
53 static int input_gssapi_exchange_complete(int type, u_int32_t plen, void *ctxt);
64 Gssctxt *ctxt = NULL; local
104 if (GSS_ERROR(PRIVSEP(ssh_gssapi_server_ctx(&ctxt, &goid)))) {
105 if (ctxt != NULL)
106 ssh_gssapi_delete_ctx(&ctxt);
112 authctxt->methoddata = (void *)ctxt;
130 input_gssapi_token(int type, u_int32_t plen, void *ctxt) argument
132 Authctxt *authctxt = ctxt;
185 input_gssapi_errtok(int type, u_int32_t plen, void *ctxt) argument
226 input_gssapi_exchange_complete(int type, u_int32_t plen, void *ctxt) argument
253 input_gssapi_mic(int type, u_int32_t plen, void *ctxt) argument
[all...]
H A Ddispatch.h55 #define dispatch_run(mode, done, ctxt) \
56 ssh_dispatch_run_fatal(active_state, (mode), (done), (ctxt))
H A Dauth2-chall.c83 void *ctxt; member in struct:KbdintAuthctxt
132 kbdintctxt->ctxt = NULL;
141 if (kbdintctxt->ctxt) {
142 kbdintctxt->device->free_ctx(kbdintctxt->ctxt);
143 kbdintctxt->ctxt = NULL;
239 if ((kbdintctxt->ctxt = kbdintctxt->device->init_ctx(authctxt)) == NULL) {
262 if (kbdintctxt->device->query(kbdintctxt->ctxt,
288 input_userauth_info_response(int type, u_int32_t seq, void *ctxt) argument
290 Authctxt *authctxt = ctxt;
300 if (kbdintctxt == NULL || kbdintctxt->ctxt
[all...]
H A Dauth-pam.c353 struct pam_ctxt *ctxt; local
364 ctxt = data;
378 if (ssh_msg_send(ctxt->pam_csock,
381 if (ssh_msg_recv(ctxt->pam_csock, &buffer) == -1)
391 if (ssh_msg_send(ctxt->pam_csock,
419 struct pam_ctxt *ctxt = ctxtp; local
450 sshpam_conv.appdata_ptr = ctxt;
504 ssh_msg_send(ctxt->pam_csock, sshpam_err, &buffer);
513 ssh_msg_send(ctxt->pam_csock, PAM_ACCT_EXPIRED, &buffer);
515 ssh_msg_send(ctxt
527 struct pam_ctxt *ctxt = cleanup_ctxt; local
670 struct pam_ctxt *ctxt; local
715 struct pam_ctxt *ctxt = ctx; local
840 struct pam_ctxt *ctxt = ctx; local
878 struct pam_ctxt *ctxt = ctxtp; local
[all...]
H A Ddispatch.c93 void *ctxt)
118 /* XXX 'ssh' will replace 'ctxt' later */
119 r = (*ssh->dispatch[type])(type, seqnr, ctxt);
136 void *ctxt)
140 if ((r = ssh_dispatch_run(ssh, mode, done, ctxt)) != 0)
92 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done, void *ctxt) argument
135 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done, void *ctxt) argument
H A Dgss-genr.c82 ssh_gssapi_error(Gssctxt *ctxt) argument
86 s = ssh_gssapi_last_error(ctxt, NULL, NULL);
92 ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status, argument
104 *major_status = ctxt->major;
106 *minor_status = ctxt->minor;
111 gss_display_status(&lmin, ctxt->major,
112 GSS_C_GSS_CODE, ctxt->oid, &ctx, &msg);
122 gss_display_status(&lmin, ctxt->minor,
123 GSS_C_MECH_CODE, ctxt->oid, &ctx, &msg);
H A Dauth-shadow.c88 auth_shadow_pwexpired(Authctxt *ctxt) argument
91 const char *user = ctxt->pw->pw_name;
H A Dkexc25519c.c47 input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt);
72 input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt) argument
74 struct ssh *ssh = ctxt;
H A Dkexgexc.c92 input_kex_dh_gex_group(int type, u_int32_t seq, void *ctxt) argument
94 struct ssh *ssh = ctxt;
146 input_kex_dh_gex_reply(int type, u_int32_t seq, void *ctxt) argument
148 struct ssh *ssh = ctxt;
H A Dkexgexs.c70 input_kex_dh_gex_request(int type, u_int32_t seq, void *ctxt) argument
72 struct ssh *ssh = ctxt;
123 input_kex_dh_gex_init(int type, u_int32_t seq, void *ctxt) argument
125 struct ssh *ssh = ctxt;
H A Dsshconnect2.c412 input_userauth_service_accept(int type, u_int32_t seqnr, void *ctxt) argument
414 Authctxt *authctxt = ctxt;
446 input_userauth_ext_info(int type, u_int32_t seqnr, void *ctxt) argument
488 input_userauth_error(int type, u_int32_t seq, void *ctxt) argument
497 input_userauth_banner(int type, u_int32_t seq, void *ctxt) argument
514 input_userauth_success(int type, u_int32_t seq, void *ctxt) argument
516 Authctxt *authctxt = ctxt;
531 input_userauth_success_unexpected(int type, u_int32_t seq, void *ctxt) argument
533 Authctxt *authctxt = ctxt;
545 input_userauth_failure(int type, u_int32_t seq, void *ctxt) argument
572 input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt) argument
703 process_gssapi_token(void *ctxt, gss_buffer_t recv_tok) argument
758 input_gssapi_response(int type, u_int32_t plen, void *ctxt) argument
799 input_gssapi_token(int type, u_int32_t plen, void *ctxt) argument
828 input_gssapi_errtok(int type, u_int32_t plen, void *ctxt) argument
859 input_gssapi_error(int type, u_int32_t plen, void *ctxt) argument
930 input_userauth_passwd_changereq(int type, u_int32_t seqnr, void *ctxt) argument
1506 input_userauth_info_req(int type, u_int32_t seq, void *ctxt) argument
[all...]
H A Dkexecdhs.c61 input_kex_ecdh_init(int type, u_int32_t seq, void *ctxt) argument
63 struct ssh *ssh = ctxt;
/freebsd-10-stable/contrib/gdb/gdb/
H A Dsolib-osf.c359 open_map (struct read_map_ctxt *ctxt) argument
363 the value for ctxt->proc. This is incorrect, however, since
369 ctxt->proc = ptid_get_pid (inferior_ptid);
370 if (ldr_xattach (ctxt->proc) != 0)
372 ctxt->next = LDR_NULL_MODULE;
385 ctxt->next = ldr_context.head;
386 ctxt->tail = ldr_context.tail;
441 read_map (struct read_map_ctxt *ctxt, struct so_list *so) argument
451 if (ldr_next_module (ctxt->proc, &ctxt
511 close_map(struct read_map_ctxt *ctxt) argument
525 struct read_map_ctxt ctxt; local
568 struct read_map_ctxt ctxt; local
[all...]
/freebsd-10-stable/crypto/openssl/crypto/srp/
H A Dsrp_lib.c88 EVP_MD_CTX ctxt; local
99 EVP_MD_CTX_init(&ctxt);
100 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL);
101 EVP_DigestUpdate(&ctxt, tmp, longN);
106 EVP_DigestUpdate(&ctxt, tmp + longg, longN - longg);
107 EVP_DigestUpdate(&ctxt, tmp, longg);
110 EVP_DigestFinal_ex(&ctxt, digest, NULL);
111 EVP_MD_CTX_cleanup(&ctxt);
122 EVP_MD_CTX ctxt; local
137 EVP_MD_CTX_init(&ctxt);
217 EVP_MD_CTX ctxt; local
[all...]
/freebsd-10-stable/contrib/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp76 DiffContext &ctxt = contexts[N]; local
77 if (!ctxt.IsFunction) continue;
79 if (ctxt.LNumbering.empty())
80 ComputeNumbering(cast<Function>(ctxt.L), ctxt.LNumbering);
81 out << '%' << ctxt.LNumbering[V];
84 if (ctxt.RNumbering.empty())
85 ComputeNumbering(cast<Function>(ctxt.R), ctxt.RNumbering);
86 out << '%' << ctxt
[all...]
/freebsd-10-stable/contrib/bmake/
H A Dvar.c272 GNode *ctxt; /* variable context */ member in struct:__anon81
351 * ctxt context in which to find it
366 VarFind(const char *name, GNode *ctxt, int flags) argument
417 var = Hash_FindEntry(&ctxt->context, name);
419 if ((var == NULL) && (flags & FIND_CMD) && (ctxt != VAR_CMD)) {
423 (ctxt != VAR_GLOBAL))
426 if ((var == NULL) && (ctxt != VAR_INTERNAL)) {
448 (ctxt != VAR_GLOBAL))
451 if ((var == NULL) && (ctxt != VAR_INTERNAL)) {
504 * ctxt contex
516 VarAdd(const char *name, const char *val, GNode *ctxt) argument
552 Var_Delete(const char *name, GNode *ctxt) argument
925 Var_Set(const char *name, const char *val, GNode *ctxt, int flags) argument
1043 Var_Append(const char *name, const char *val, GNode *ctxt) argument
1109 Var_Exists(const char *name, GNode *ctxt) argument
1144 Var_Value(const char *name, GNode *ctxt, char **frp) argument
2211 VarGetPattern(GNode *ctxt, Var_Parse_State *vpstate MAKE_ATTR_UNUSED, int flags, const char **tstr, int delim, int *vflags, int *length, VarPattern *pattern) argument
2535 ApplyModifiers(char *nstr, const char *tstr, int startc, int endc, Var *v, GNode *ctxt, int flags, int *lengthPtr, void **freePtr) argument
3741 Var_Parse(const char *str, GNode *ctxt, int flags, int *lengthPtr, void **freePtr) argument
4090 Var_Subst(const char *var, const char *str, GNode *ctxt, int flags) argument
4338 Var_Dump(GNode *ctxt) argument
[all...]
/freebsd-10-stable/sys/i386/xen/
H A Dmp_machdep.c842 static vcpu_guest_context_t ctxt; local
905 memset(&ctxt, 0, sizeof(ctxt));
906 ctxt.flags = VGCF_IN_KERNEL;
907 ctxt.user_regs.ds = GSEL(GDATA_SEL, SEL_KPL);
908 ctxt.user_regs.es = GSEL(GDATA_SEL, SEL_KPL);
909 ctxt.user_regs.fs = GSEL(GPRIV_SEL, SEL_KPL);
910 ctxt.user_regs.gs = GSEL(GDATA_SEL, SEL_KPL);
911 ctxt.user_regs.cs = GSEL(GCODE_SEL, SEL_KPL);
912 ctxt
[all...]
/freebsd-10-stable/usr.bin/make/
H A Dvar.c111 GNode *ctxt; member in struct:VarParser
788 VarPossiblyExpand(const char *name, GNode *ctxt) argument
793 buf = Var_Subst(name, ctxt, 0);
852 VarFindEnv(const char name[], GNode *ctxt) argument
858 if ((var = VarLookup(&ctxt->context, name)) != NULL)
871 VarFindOnly(const char name[], GNode *ctxt) argument
877 if ((var = VarLookup(&ctxt->context, name)) != NULL)
887 VarFindAny(const char name[], GNode *ctxt) argument
912 if ((var = VarLookup(&ctxt->context, name)) != NULL)
916 if (ctxt !
948 VarAdd(const char *name, const char *val, GNode *ctxt) argument
964 Var_Delete(const char *name, GNode *ctxt) argument
994 Var_Set(const char *name, const char *val, GNode *ctxt) argument
1041 Var_SetEnv(const char *name, GNode *ctxt) argument
1088 Var_Append(const char *name, const char *val, GNode *ctxt) argument
1116 Var_Exists(const char *name, GNode *ctxt) argument
1139 Var_Value(const char name[], GNode *ctxt) argument
2229 Var_Parse(const char input[], GNode *ctxt, Boolean err, size_t *consumed, Boolean *freeResult) argument
2257 Var_Match(const char input[], GNode *ctxt) argument
2336 Var_Subst(const char *str, GNode *ctxt, Boolean err) argument
2444 GNode *ctxt = VAR_GLOBAL; local
[all...]
/freebsd-10-stable/contrib/apr-util/test/
H A Dtestutil.h46 #define APR_ASSERT_FAILURE(tc, ctxt, rv) \
47 apr_assert_failure(tc, ctxt, rv, __LINE__)
/freebsd-10-stable/sys/netinet6/
H A Din6_ifattach.c114 MD5_CTX ctxt; local
131 bzero(&ctxt, sizeof(ctxt));
132 MD5Init(&ctxt);
133 MD5Update(&ctxt, pr->pr_hostname, hostnamelen);
135 MD5Final(digest, &ctxt);
153 MD5_CTX ctxt; local
183 bzero(&ctxt, sizeof(ctxt));
184 MD5Init(&ctxt);
628 MD5_CTX ctxt; local
[all...]
/freebsd-10-stable/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c495 } ctxt; local
497 memset(&ctxt, 0, sizeof(ctxt));
498 int_pkt = (struct pci_delete_interrupt *)&ctxt.pkt.message;
547 } ctxt; local
558 ctxt.pkt.compl_ctxt = &comp_pkt;
559 ctxt.pkt.completion_func = q_resource_requirements;
561 res_req = (struct pci_child_message *)&ctxt.pkt.message;
567 res_req, sizeof(*res_req), (uint64_t)(uintptr_t)&ctxt.pkt);
858 } ctxt; local
999 } ctxt; local
1053 } ctxt; local
1690 } ctxt; local
[all...]
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dport-aix.c174 sys_auth_passwd(Authctxt *ctxt, const char *password) argument
176 char *authmsg = NULL, *msg = NULL, *name = ctxt->pw->pw_name;
204 buffer_append(ctxt->loginmsg, msg, strlen(msg));
213 ctxt->force_pwchange = 1;
/freebsd-10-stable/contrib/llvm/tools/bugpoint/
H A DBugDriver.cpp71 LLVMContext& ctxt)
72 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile),
69 BugDriver(const char *toolname, bool find_bugs, unsigned timeout, unsigned memlimit, bool use_valgrind, LLVMContext& ctxt) argument

Completed in 188 milliseconds

12