Lines Matching refs:pin
256 * 3. discreet token/pin prompting
289 char *token = NULL, *pin = NULL;
317 pin = talloc_strndup(mem_ctx, fa1, fa1_len);
318 if (pin == NULL) {
322 talloc_set_destructor(pin, token_pin_destructor);
343 pin = talloc_strndup(mem_ctx, fa1, fa1_len);
344 if (pin == NULL) {
347 talloc_set_destructor(pin, token_pin_destructor);
354 talloc_free(pin);
360 *out_pin = pin;
368 char *token = NULL, *pin = NULL;
398 /* If the server desires a separate pin, we will split it.
412 pin = talloc_strndup(NULL, pwd, len - ti->length);
413 if (pin == NULL) {
417 talloc_set_destructor(pin, token_pin_destructor);
438 pin = talloc_strndup(mem_ctx, pwd, len);
439 if (pin == NULL) {
442 talloc_set_destructor(pin, token_pin_destructor);
449 talloc_free(pin);
455 *out_pin = pin;
502 char *token = NULL, *pin = NULL;
550 &token, &pin);
582 ret = krb5_responder_otp_set_answer(ctx, rctx, i, token, pin);
585 talloc_free(pin);