libsodium has a method for comparing two byte sequences in constant time.
Is the idea here to simply avoid early-out if a difference in the data is detected?
When I first heard of such a thing I imagined an operating-system sleep operation to round-up the runtime of the algorithm to some threshold, but this sounds very inefficient.