✳flâneur — a map of the web's best reading
論文閱讀:Dude, is my code constant time? - HackMD
hackmd.io · 498 words · saved by 1 readers
# 論文閱讀:Dude, is my code constant time? [論文連結](https://eprint.iacr.org/2016/1123.pdf) [dudect Githu
論文閱讀:Dude, is my code constant time? - HackMD --- tags: 論文閱讀, C --- # 論文閱讀:Dude, is my code constant time? [論文連結](https://eprint.iacr.org/2016/1123.pdf) [dudect Github](https://github.com/oreparaz/dudect) ### Introduction [Side-channel attack](https://en.wikipedia.org/wiki/Side-channel_attack) 是一種利用系統實作上的特性,而不是用密碼學演算法本身的攻擊,其中 [Timing attacks](https://en.wikipedia.org/wiki/Timing_attack) 是其中一種很常見的手法,可以透過演算法的執行時間進而破解,舉例來說,一個判斷密碼是否正確的算法是從第一個字母開始逐一比對,一遇到不一樣的就馬上返回錯誤,那我們就可以透過多次嘗試,並觀察時間來判斷輸入是否正確。 現今也有一些評估的工具了,像是 `Valgrind` 的延伸 `ctgrind`,還有 `ctverif` 透過靜態的程式分析,但是有一些共同的缺陷是這些方法需要對硬體建模,但是困難的是 CPU 製造商通常不會
Explore this link on the map →related reading
- Analysis of 2025 X Algorithm · GitHubgist.github.com
- Preservation of Speculative Constant-Time by Compilationeprint.iacr.org
- abseil / Performance Hintsabseil.io
- GitHub - ccusage/ccusage: npx ccusage · GitHubgithub.com
- Claude Code Opus 4.8 Performance Tracker | Marginlabmarginlab.ai
- Monkeytype | A minimalistic, customizable typing testmonkeytype.com
- Big O Cheat Sheet – Time Complexity Chartfreecodecamp.org
- Python time.time() vs time.perf_counter() – SuperFastPythonsuperfastpython.com
- 2-1%20%A6V%B6q%A4%C6%B9B%BA%E2%BBP%20JIT%20%A5[%B3tmirlab.org
- How to overcome Time Limit Exceed(TLE) - GeeksforGeeksgeeksforgeeks.org
- CSC 151 - Analyzing procedureseikmeier.sites.grinnell.edu
- 2020 年秋季 進階電腦系統理論與實作課程作業 —— dict - HackMDhackmd.io