1 / 6

Filipe Rosado da-Fonseca frdafonseca @ mind-security Portugal

Filipe Rosado da-Fonseca frdafonseca @ mind-security.com Portugal. How to Securely Implement Cryptosystems Against Side-Channel Attacks on General Purpose Cryptographic Hardware. Common Implementation. The cryptosystem to implement is selected.

wynn
Download Presentation

Filipe Rosado da-Fonseca frdafonseca @ mind-security Portugal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Filipe Rosado da-Fonseca frdafonseca@mind-security.com Portugal How to Securely Implement Cryptosystems Against Side-Channel Attacks on General Purpose Cryptographic Hardware

  2. Common Implementation • The cryptosystem to implement is selected. • The cryptosystem is implemented by use of the functions made available by the cryptographic hardware's APIs.

  3. Cryptographic Hardware's APIs • Non-cryptographic Functions (xor, and, or, not, ...): protected against simple side-channel attacks. • Cryptographic Primitives (RSA, AES, SHA-1, ...): protected against both simple and differential side-channel attacks.

  4. Example: CBC-MAC TK(M) { if ((|M|=0) Ú ((|M| mod 128)≠0)) then return error; n_m:=|M|/128; for(j:=1; j≤n_m; j++) mj:=M[(j-1)*128...j*128-1]; y0:=<<0>>128; for(i:=1; i≤n_m; i++) { x1i:=xor(mi, yi-1); yi:=AESK(x1i); } tag:=yn_m; return tag; }

  5. Secure Implementation • The cryptosystem to implement is selected. • The cryptosystem is tested for leakages. If leakages are found, then one goes back to step 1. Otherwise, one goes to step 3. • The cryptosystem is implemented by use of the functions made available by the cryptographic hardware's APIs.

  6. Questions and Further Information Annotated Slides: http://mind-security.com/papers/1 SCA1 Model: http://mind-security.com/papers/3 Email: frdafonseca@mind-security.com

More Related