Just out of curiosity, I wonder if there are any packages of popular algorithm/data structures which are secure against timing attack.
I think GNU libstdc++ std::string::compare(), std::unordered_map (which employs open addressing) and so on are all vulnerable.