constantine icon indicating copy to clipboard operation
constantine copied to clipboard

Constant-time verification

Open mratsim opened this issue 5 years ago • 4 comments

Taken from the wiki page: https://github.com/mratsim/constantine/wiki/Constant-time-arithmetics

mratsim avatar Feb 08 '20 11:02 mratsim

Valgrind can also be used for this purpose: https://www.imperialviolet.org/2010/04/01/ctgrind.html and it's the way Bitcoin's secp256k1 checks for constant-time: https://github.com/bitcoin-core/secp256k1/pull/723/files

mratsim avatar Jun 04 '20 22:06 mratsim

  • https://eprint.iacr.org/2021/1650.pdf “They’re not that hard to mitigate”: What Cryptographic Library Developers Think About Timing Attacks

image

mratsim avatar Aug 06 '22 12:08 mratsim

A new attack "Marvin attack" that can potentially retrieve secrets from the network even with just nanoseconds of timing differences.

CVE-2023-49092 Advisory: https://github.com/RustCrypto/RSA/security/advisories/GHSA-c38w-74pg-36hr Tooling to detect timing issues: https://github.com/RustCrypto/RSA/issues/19#issuecomment-1830065981

mratsim avatar Dec 19 '23 09:12 mratsim