Hacker News new | past | comments | ask | show | jobs | submit
"Since bzhiq(-1, output_len) doesn’t change any bits if output_len >= 64, this results in output_mask == -1u64."

Should say "output_len & 0xFF >= 64" instead. Bzhi only looks at the bottom byte.