Skip to content

razaina/cache-timing-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache Timing Analysis

This repo contains some experiences in order to analyze the cache behaviour while running an implementation of the AES that uses lookup tables.

The following programs:

- server.c
- study.c
- search.c
- corr.c

Are from Bernstein's paper http://cr.yp.to/antiforgery/cachetiming-20050414.pdf

It is required to use OpenSSL as a static library in the project. Here is a tutorial to do so: http://razaina.fr/using-openssl-as-a-static-library-within-an-android-native-project/

The following programs:

- rijndael-alg\*.c 
- rijndael-api\*.c

Are from ftp://ftp.aci.com.pl/pub/security/cryptography/algorithms/aes/aes-c-rijmen/

The following program:

- ctatest.c

Is the main program that I use to test the above programs.

All the other files are just scripts that I use to process traces I collect while runing my experiences. They mainly enable me to draw graphs using gnuplot.

About

Some experiences in order to understand the cache behaviours

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published