Home | History | Annotate | Download | only in totp

Lines Matching defs:DIGITS

381 	int digits,
413 otp = res % DIGITS_POWER[digits];
414 out->mv_len = snprintf(out->mv_val, out->mv_len, "%0*d", digits, otp);
421 #define DIGITS 6
491 generate(&key, t, DIGITS, &out, mech);
507 generate(&key, t - 1, DIGITS, &out, mech);
533 if (cred->bv_len <= DIGITS)
551 ber_str2bv(&cred->bv_val[cred->bv_len - DIGITS], DIGITS, 0, &cred_otp);
554 if (!ber_str2bv(cred->bv_val, cred->bv_len - DIGITS, 0, &cred_pass)) {