google / safeside

Understand and mitigate software-observable side-channels
BSD 3-Clause "New" or "Revised" License
494 stars 54 forks source link

Add quick bugfix `inline` to cache_size.h #156

Closed ssbr closed 3 years ago

ssbr commented 3 years ago

Without inline, this would cause an ODR violation if included multiple times. Probably it should instead be a separate .h/.cc file, but I don't really know cmake and am doing the minimal thing for now.