Lines Matching defs:hash
122 char hash[EVP_MAX_MD_SIZE];
129 EVP_DigestFinal(&mdctx, hash, &hashlen);
133 hash[i % OTP_HASH_SIZE] ^= hash[i];
140 out[i] = hash[i+j];
144 memcpy(out, hash, OTP_HASH_SIZE);
756 char hash[EVP_MAX_MD_SIZE];
761 EVP_DigestFinal(&mdctx, hash, &hashlen);
764 x = ((hash[hashlen-2] & 0x7) << 8) | hash[hashlen-1];
852 /* do one more hash (previous otp) and compare to stored otp */