Home | History | Annotate | Download | only in server

Lines Matching refs:storedHash

513        CredentialHash storedHash = mStorage.readPatternHash(userId);
514 boolean shouldReEnrollBaseZero = storedHash != null && storedHash.isBaseZeroPattern;
523 VerifyCredentialResponse response = verifyCredential(userId, storedHash, patternToVerify,
569 CredentialHash storedHash = mStorage.readPasswordHash(userId);
570 return verifyCredential(userId, storedHash, password, hasChallenge, challenge,
591 private VerifyCredentialResponse verifyCredential(int userId, CredentialHash storedHash,
594 if ((storedHash == null || storedHash.hash.length == 0) && TextUtils.isEmpty(credential)) {
603 if (storedHash.version == CredentialHash.VERSION_LEGACY) {
605 if (Arrays.equals(hash, storedHash.hash)) {
625 .verifyChallenge(userId, challenge, storedHash.hash, credential.getBytes());
644 userId, storedHash.hash, credential.getBytes());