Description Usage Arguments Details Value Author(s) References Examples
The gaussian
function applies a template attack (TA) to a set of traces in order to find the key used by the cryptographic device.
1 |
x |
A matrix where each row is a trace. |
y |
A vector where the i_th element of the vector y is the key for the i_th trace in the matrix x. |
... |
Currently ignored. |
The gaussian
function is an example of TA. It estimates the conditional probability of the trace for each key and then returns the key which maximizes this probability. It extracts all possible informations available in each trace and is hence the strongest form of side channel attack possible in an information theoretic sense that relies on a parametric Gaussian estimation approach.
The gaussian
function returns an object which can be used with the predict
function to estimate the value of the key knowing a trace.
The value of this function is an object of class gaussian
, which is a list with the following components:
mean |
a list of arithmetic means, one for each possible key. |
cov |
a list of covariance matrices, one for each possible key. |
detCov |
a list of determinants of each covariance matrice. |
Liran Lerman llerman@ulb.ac.be & Gianluca Bontempi gbonte@ulb.ac.be@ulb.ac.be & Olivier Markowitch olivier.markowitch@ulb.ac.be
S. Chari & J. R. Rao & P. Rohatgi, (2002), "Template Attacks" , in CHES, volume 2523 of LNCS, pages 13-28. Springer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.