1 / 82

820 likes | 952 Views

On Darwinism and Side Channel Resistance. RHUL 2013 Talk David Naccache. Müllerian Mimicry. “ A natural phenomenon in which two or more poisonous species, that may or may not be related and share one or more common predators, have come to mimic each other's warning signals .”

Download Presentation
## On Darwinism and Side Channel Resistance

**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

**On Darwinism and Side Channel Resistance**RHUL 2013 Talk David Naccache**MüllerianMimicry**“A natural phenomenon in which two or more poisonous species, that may or may not be related and share one or more common predators, have come to mimic each other's warning signals.” (Named after German naturalist Fritz Müller, who proposed the concept in 1878).**extra legs**spider antennae ant**Physics**µP Memory data Leakage function**Physics**digital information µP Memory data pure leakage noise Leakage function measuredleakage**Model**digital information µP Memory data pure leakage noise Leakage function measuredleakage**Model**bits µP Memory data pure leakage noise Leakage function measuredleakage**Digital MüllerianSimilarity**Rules: attack and defense have the samerights: • Both Have the sameknowledge about the system • Bothcanexperiment as much as theywishwith the system. • Insteadof transmitting bits, the defender sacrifices part of hisbandwidth to buysimilarity. camouflage value The -bit number**The Game**Defender’s goal: for each select a . For the values must besuchthat: is as similar as possible to**The Game**Defender’s goal: for each select a . For the values must besuchthat: is as similar as possible to Be as discreet as possible and let noise do the rest of the cover-up work!**A Small Example**Consider bits. Wedevote 2 bits to payload data (i.e. ) and the 2 other bits to camouflage (i.e. )**A Small Example**Consider bits. Wedevote 2 bits to payload data (i.e. 0,1,2,3) and the 2 other bits to camouflage (i.e. ) We call these « colors »**A Small Example**We have sixteen values belonging to four color groups. We need to select one representative in each group 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111**A Small Example**We have sixteen values belonging to four color groups. We need to select one representative in each group 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 species cydna species melopomene species erato species sapho**Apply Natural Selection**We have sixteen values belonging to four color groups. We need to select one representative in each group 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 species cydna species melopomene species erato species sapho**Apply Natural Selection**Criterion: Analogy: MSB = basic genotype, LSB = mutations 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 species cydna species melopomene species erato species sapho**How to Find the Good One?**Simulating Mutations iseasy, measuringsimilarityis not! Assume that a simplisticbluejay has only one criterion: the global intensity of yellowin the butterfly. 0000 0 0001 0 0010 1 0011 3 0100 0 0101 1 0110 1 0111 4 1000 3 1001 9 1010 7 1011 4 1100 3 1101 9 1110 4 1111 2**Sort Butterflies by Yellowness**0 6 1 2 3 4 5 7 8 9**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. 0 6 1 2 3 4 5 7 8 9**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 Yes**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 Yes**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 Yes**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 Yes**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Problem: Find the shortest segment containing all colors A quadratic-time algorithm: just scan and keep an optimum. Current optimum 0 6 1 2 3 4 5 7 8 9 No**Sort Butterflies by Yellowness**Indeed: 0 6 1 2 3 4 5 7 8 9**If The Blue Jay is More Perceptive?**Cyanocittacristata oculus-laserisperceives both size and yellow levels.**Well… Now Trouble Starts**In terms of similarity, how many yellow units worth one size unit?**Well… Now Trouble Starts**Even if we simplify and assume that 1 size unit = 1 yellow unit how do we find the optimum?**Well… Now Trouble Starts**Even if we simplify and assume that 1 size unit = 1 yellow unit how do we find the optimum? Even worse: the Blue Jay’s perception of size and yellow might even be negatively correlated! i.e. if sizes are hard to distinguish then yellows are not and conversely.**Well… Now Trouble Starts**Even if we simplify and assume that 1 size unit = 1 yellow unit how do we find the optimum? Even worse: the Blue Jay’s perception of size and yellow might even be negatively correlated! i.e. if sizes are hard to distinguish then yellows are not and conversely. Luckily this can be dealt with.**Well… Now Trouble Starts**Even if we simplify and assume that 1 size unit = 1 yellow unit how do we find the optimum? Even worse: the Blue Jay’s perception of size and yellow might even be negatively correlated! i.e. if sizes are hard to distinguish then yellows are not and conversely. Luckily this can be dealt with. For now we assume equal weights and independence.**The New Problem**Here each is a side channel curve with 2 samples Power Power Sample 1 Time Power Sample 2**The New Problem**Here each is a side channel curve with 2 samples Power Sample 1 Power Sample 2**The New Problem**Find the smallest circle containing all colors Size Level of yellow**Note: easygeneralization to more properties (willbeseelater)**Find the smallest sphere containing all colors

More Related