3

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.

nodakai
  • 131
  • 3
  • 1
    Alternatives exist, but they're not in the STL. – tylerl Feb 21 '16 at 07:31
  • @tylerl Could you point me to some possible alternatives? I'm not requiring strict STL-compatibility. – nodakai Feb 21 '16 at 07:33
  • Related: https://security.stackexchange.com/questions/112952/cross-language-primitives-against-string-comparison-timing-attacks I'd very much like to know the answer to the question you posed. – Deer Hunter Feb 21 '16 at 08:14

0 Answers0