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
(cherry picked from commit 6c69cd2ddf4d8bc67b0dae33faaeaeed509d9a3a)

Details

Committed
LegoktmFeb 9 2018, 11:37 PM
Parents
rELUAdd971b8faea3: Merge "Replace uses of each()"
Branches
Unknown
Tags
Unknown
References
refs/changes/70/409470/1
ChangeId
I2b5cc177bded1a9b5600d77116e67817841204be