Home | History | Annotate | Download | only in totp

Lines Matching refs:otp

389 	int i, offset, res, otp;
413 otp = res % DIGITS_POWER[digits];
414 out->mv_len = snprintf(out->mv_val, out->mv_len, "%0*d", digits, otp);
536 /* The OTP seed of the stored password */
550 /* The OTP part of the entered credential */
653 struct berval otp, pass, hash_otp, hash_pass;
658 /* The OTP seed part */
665 if (!ber_str2bv(passwd->bv_val, len, 0, &otp))
672 /* Hash the OTP seed */
673 rc = passwd_string32(scheme, &otp, &hash_otp);