CRYPTOGRAPHIC ENGINEERING
August 29 – September 2, 2016
EPFL Premises, Lausanne, Switzerland

Introduction to Block Ciphers: DES and AES
Christof Paar, RuhrUniversity Bochum
We will first give a brief introduction to AES, DES and 3DES, which are the most widely used symmetric ciphers. We will then develop method for efficiently implementing both AES and 3DES in software. For AES, algorithms for both 32 bit CPUs and 8 bit smart card CPUs, will be treated. We will then introduce the bitslicing method, an advanced and very efficient approach for fast software implementation of block ciphers. We will use DES as an example for illustrating bitslicing.

Lightweight Block Ciphers for RFIDs
Christof Paar, RuhrUniversity Bochum
For extremely resources constrained environments such as RFIDs, sensor notes or other mobile applications, it is highly desirable to have ciphers which are extremely lightweight. We will introduce optimization techniques for lowarea and lowpower ciphers. PRESENT, which is an extremely compact block cipher, will be discussed as a case study.

Modular Arithmetic Algorithms and Architectures
Çetin K. Koç, UC Santa Barbara
Basic concepts, algorithms and architectures for integer arithmetic and modular arithmetic in publickey cryptography. Addition, multiplication, exponentiation, gcd and multiplicative inversion algorithms. Montgomery arithmetic. Integer rings and Galois fields of p elements, GF(p).

Finite Fields Algorithms and Architectures
Çetin K. Koç, UC Santa Barbara
Representation of field elements in Galois fields of 2^k elements. Polynomial and normal bases. Addition and multiplication operations in GF(2^k). Properties of normal bases and optimal normal bases. Inversion of field elements.

Specialized Hardware for SecretKey Algorithms
Ingrid Verbauwhede, KU Leuven
This lecture will introduce hardware implementation aspects of block ciphers and stream ciphers. The DES and AES algorithm will be discussed in detail. These ciphers are never used standalone but combined with modes of operation and integrated as IP blocks in larger systems. Very compact realizations and very high throughput realizations will also be discussed.

Introduction to PUFs (Physically Uncloneable Functions)
Ingrid Verbauwhede, KU Leuven
CMOS process variations are considered a burden to IC developers since they introduce undesirable random variability between equally designed ICs. Measuring this variability can also be profitable as a physically unclonable method of silicon device identification. This can be applied to generate strong cryptographic keys which are intrinsically bound to the embedding IC instance. In this lecture, we study and compare different proposed constructions.

PublicKey Cryptography Algorithms and Protocols
Çetin K. Koç, UC Santa Barbara
Publickey cryptographic algorithms that are standardized and in use today. DiffieHellman, RSA, ElGamal, and Digital Signature Algorithm. Elliptic Curve DSA, and Integrated Encryption Scheme. Partially homomorphic publickey functions. Coprocessor architectures for implementing publickey cryptographic functions.

PublicKey Cryptography Software and Hardware Realizations
Çetin K. Koç, UC Santa Barbara
Basic operations used in publickey cryptographic algorithms, including exponentiation, scalar multiplication, field multiplication and inversion, and their software and hardware implementations. Unified arithmetic. Embedded software implementations of publickey cryptography.

Trusted Computing Architectures, SSL and IPSec
Pankaj Rohatgi, Cryptograpy Research
Businesses, governments and individuals are increasingly reliant on complex, highlyinterconnected computing platforms, mobile endpoints and network centric applications to conduct much of their business. Maintaining and validating the trustworthiness of this infrastructure has therefore become critical. However, as the complexity and value of the infrastructure has increased, the number of software vulnerabilities discovered and attacks mounted against applications, platforms, endpoints, identities and sensitive data within this infrastructure have grown at an even faster pace. There is a realization that given this complexity, softwareonly security mechanisms may not be sufficient to defend against these attacks or to evaluate the trustworthiness of a system.
Trusted computing is an effort to use trusted hardware to assist software in improving and evaluating the security for platforms, endpoints, applications, identities and data. In this lecture, I will describe the Trusted Platform Module (TPM), which provides the hardware foundations for Trusted Computing and describe several ways in which the TPM could be used as a building block to improve or validate the security of platforms, endpoints, applications, data and identities.

PostQuantum Cryptography: Constructions and Implementations
Tim Güneysu, Universität Bremen
The cryptographic strength of RSA and ECC rely on the hardness of factorization or the discrete logarithm problem. However, it is a wellknown fact that all those cryptosystems are broken as soon as sufficiently large quantum computers would become available. In particular, applications with longterm security requirements should already prepare today for this possible situation so that we are in urgent need to identify and implement viable replacements. In this regard this lecture discusses the most promising alternatives and constructions in the field of postquantum cryptography including recent achievements in their implementation.

Introduction to SideChannel Analysis
Marc Joye, Technicolor
Sidechannel analysis is a powerful technique rediscovered by Kocher in 1996. The principle consists in monitoring some sidechannel information like the running time, the power consumption or the electromagnetic radiation. Next, from the monitored data, the adversary tries to deduce the innerworkings of the algorithm and thereby to retrieve some secret information. This talk reviews the basics of sidechannel analysis on various cryptographic algorithms. It is illustrated with practical examples and several sidechannel attacks are mounted against several naive, unprotected implementations of cryptosystems.

Electromagnetic Analysis and Advance SideChannel Analysis
Pankaj Rohatgi, Cryptograpy Research
This lecture will provide an introduction to the electromagnetic emanation (EM) sidechannel. We will describe the various types of compromising EM emanations and the equipment needed to capture them. We will illustrate how compromising EM emanations can be captured from a variety of cryptographic devices and how multiple signals can be captured from each device. Next we will illustrate a variety of EM attacks on cryptographic implementations. Although the attack techniques are similar to power analysis, many EM attacks are not feasible using the power side channel, either because they exploit additional leakages present in EM channels or the power sidechannel is inaccessible. Finally we will describe how one can design countermeasures against EM attacks.

RSA – SideChannel Attacks and Countermeasures
Marc Joye, Technicolor
RSA is the most widely used public key cryptosystem. It can be used for both encryption and signature. While the security of (blackbox) RSA is well understood its secure implementation remains challenging. Basically, two classes of sidechannel attacks can be distinguished: SPAlike attacks and DPAlike attacks. An SPAlike analysis is a process with a single measurement of some sidechannel information; when there are several measurements handled with statistical tools, the process is referred to as a DPAlike analysis. This talk teaches how to prevent those two classes of attacks. General guidelines are provided along with concrete implementations.

ECC – Side Channel Attacks & Countermeasures
Marc Joye, Technicolor
Elliptic curve cryptography (ECC) shows an increasing impact in our everyday lives where the use of memoryconstrained devices such as smart cards and other embedded systems is ubiquitous. Its main advantage resides in a smaller key size for a conjectured equivalent security level. In this talk, we survey different known techniques to get efficient ECC implementations that resist against a variety of implementation attacks.

SideChannel Attacks to Block Ciphers: DES and AES
FrançoisXavier Standaert, Université Catholique de Louvain
In this lecture, I will introduce various attacks against block ciphers such as the DES or AES implemented in software or hardware. For this purpose, I will describe both the origin of the physical information leakages and how simple statistical strategies allow exploiting these leakages and turning them into keyrecoveries. I will then detail the main challenges for cryptographic engineers trying to implement such block ciphers securely withou countermeasures.

Countermeasures for Block Ciphers
FrançoisXavier Standaert, Université Catholique de Louvain
In this lecture, I will investigate in more details the problem of physical security evaluations against sidechannel attacks, with applications to implortant classes of countermeasures such as masking. In a first step, I will descibe formal approaches to quantify the information leakages and put forward their potential shortcomings. Next, I will use case studies to illustrate that one can gain good intuition about the security of certain implementation based on simple heuristic formulas.

Random Number Generators for Cryptographic Applications
Werner Schindler, BSI Bund
Many cryptographic mechanisms require random numbers, e.g. as challenges, session keys or signature parameters. Inappropriate random number generators may weaken principally strong cryptographic mechanisms considerably. Requirements are formulated that appropriate random number generators should fulfill and concrete examples are discussed. Relevant differences between deterministic and the nondeterministic random number generators are worked out.

Evaluation Criteria for NonDeterministic Random Number Generator
Werner Schindler, BSI Bund
In this lecture, I will investigate in more details the problem of physical security evaluations against sidechannel attacks, with applications to implortant classes of countermeasures such as masking. In a first step, I will descibe formal approaches to quantify the information leakages and put forward their potential shortcomings. Next, I will use case studies to illustrate that one can gain good intuition about the security of certain implementation based on simple heuristic formulas.

Random Number Generator Design Constraints and Challenges
Viktor Fischer, Université de Saint Etienne
In this lecture, we will first analyze the main characteristics of random number generators (RNGs): quality related issues such as sources of randomness, entropy extraction principles, postprocessing, output bitrate and its stability; security related issues such as existence of a mathematical model, inner testability and robustness against attacks; design related issues such as resource usage, power consumption, feasibility in logic devices and design automation. Next, we will critically analyze and compare the main existing RNG principles. Based on this analysis, we will point out pitfalls that can exist in a practical RNG design and challenges that are usually faced when designing secure RNGs according to recommendations AIS 20/AIS 31.

