New answers tagged


When it's possible, a solution is to ensure that table lookups at data-dependent addresses are constant-time and without action on the cache, by Disabling cache (use and loading/invalidation) during such table lookups. That's heavily system dependent, though. Some CPU architecture have special instructions, addressing modes, or mode bits allowing this, or ...

Top 50 recent answers are included