HomePhabricator

SECURITY: Reduce precision on os.clock() to mitigate timing attacks

Authored by Anomie on Jan 12 2018, 6:35 PM.

Description

SECURITY: Reduce precision on os.clock() to mitigate timing attacks

While there is currently no demonstrated vulnerability, this provides
additional hardening against SPECTRE-like attacks, and any potential
future timing attacks.

Bug: T184156
Change-Id: I2b5cc177bded1a9b5600d77116e67817841204be

Details