Home
last modified time | relevance | path

Searched refs:kbdintctxt (Results 1 – 3 of 3) sorted by relevance

/external/openssh/
Dauth2-chall.c105 KbdintAuthctxt *kbdintctxt; in kbdint_alloc() local
114 kbdintctxt = xmalloc(sizeof(KbdintAuthctxt)); in kbdint_alloc()
124 kbdintctxt->devices = xstrdup(buffer_ptr(&b)); in kbdint_alloc()
127 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
129 debug("kbdint_alloc: devices '%s'", kbdintctxt->devices); in kbdint_alloc()
130 kbdintctxt->ctxt = NULL; in kbdint_alloc()
131 kbdintctxt->device = NULL; in kbdint_alloc()
132 kbdintctxt->nreq = 0; in kbdint_alloc()
134 return kbdintctxt; in kbdint_alloc()
137 kbdint_reset_device(KbdintAuthctxt *kbdintctxt) in kbdint_reset_device() argument
[all …]
Dauth-chall.c60 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL) in get_challenge()
62 if (device->query(authctxt->kbdintctxt, &name, &info, in get_challenge()
64 device->free_ctx(authctxt->kbdintctxt); in get_challenge()
65 authctxt->kbdintctxt = NULL; in get_challenge()
89 if (authctxt->kbdintctxt == NULL) in verify_response()
92 switch (device->respond(authctxt->kbdintctxt, 1, resp)) { in verify_response()
97 if ((device->query(authctxt->kbdintctxt, &name, &info, in verify_response()
101 device->respond(authctxt->kbdintctxt, 0, resp) == 0) in verify_response()
112 device->free_ctx(authctxt->kbdintctxt); in verify_response()
113 authctxt->kbdintctxt = NULL; in verify_response()
[all …]
Dauth.h62 void *kbdintctxt; member