Lines Matching defs:ti
312 const krb5_responder_otp_tokeninfo *ti,
321 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_NEXTOTP) {
325 if (ti->challenge != NULL) {
330 if (ti->length == 0) {
334 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN) {
335 if (ti->length > 0 && ti->length != fa2_len) {
338 "do not match.\n", ti->length, fa2_len);
342 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN) {
343 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN) {
358 check = pick_checker(ti->format);
367 check = pick_checker(ti->format);
392 const krb5_responder_otp_tokeninfo *ti,
401 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_NEXTOTP) {
405 if (ti->challenge != NULL) {
410 if (ti->length == 0) {
414 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN) {
425 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN) {
428 if (ti->flags & KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN) {
429 if (ti->length < 1) {
434 if (ti->length >= len) {
440 pin = talloc_strndup(NULL, pwd, len - ti->length);
448 memmove(token, token + len - ti->length, ti->length + 1);
450 check = pick_checker(ti->format);
452 if (ti->length > 0 && ti->length > len) {
458 if (ti->length > 0 && ti->length != len) {
463 check = pick_checker(ti->format);
488 const krb5_responder_otp_tokeninfo *ti,
506 return tokeninfo_matches_pwd(mem_ctx, ti, pwd, len, out_token, out_pin);
515 return tokeninfo_matches_2fa(mem_ctx, ti, pwd, len, fa2, fa2_len,