<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Constant time analysis tooling on Testing Handbook</title><link>https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/</link><description>Recent content in Constant time analysis tooling on Testing Handbook</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/index.xml" rel="self" type="application/rss+xml"/><item><title>Dudect</title><link>https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/dudect/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/dudect/</guid><description>Dudect # Overview # Dudect is a statistical constant-time analysis tool that measures the execution time of a specific code section for two input classes and aims to find the statical difference between the measurements of the two classes. If the timing measurements for the two input classes deviate from one another, it would suggest that the code is dependent on the input and, therefore, not constant time. The two most commonly used input classes are:</description></item><item><title>Timecop</title><link>https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/timecop/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-128/docs/crypto/constant_time_tool/timecop/</guid><description>Timecop (Valgrind) # Timecop is a wrapper around Valgrind designed to detect potential timing leaks dynamically. It allows developers to mark memory regions as secret, and if during runtime, a branching instruction or memory access is performed that is dependent on the secret memory region, Valgrind will report the behavior, helping to identify timing vulnerabilities.
Overview # Timecop is a C macro wrapper around functions provided by Valgrind.
Setup # To use Timecop, you must first install Valgrind.</description></item></channel></rss>