Upload
lexuyen
View
226
Download
1
Embed Size (px)
Citation preview
AVR XMEGA
8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR core
released by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008
awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AES
available over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apiece
applications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networking
reported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
AVR XMEGA8-bit RISC µC with the AVR corereleased by Atmel in 2008awarded product of the year by ElectronicProducts Magazine
promising set of features4-channel DMAinter-peripheral event systemADC/DAC, EBI, SPI, TWI, PDI, WDT, IRCOM, AWeX, . . .advanced clocking options (PLL, DFLL)low power consumption
symmetric crypto engines: DES, AESavailable over-the-counter for <10 USD apieceapplications: sensors, ZigBee, wireless encryption, networkingreported use by [Rhode et al. CARDIS’08], [Eisenbarth et al.CHES’09]
1 / 4
XMEGA Crypto Engines
DES Instructionperforms single DES roundfull DES in 17 clock cycles
AES Peripheral
AES-128 in 375 clock cycles (vs. 3-4K cycles in software)around 10 Mbps bandwidth at maximum clock speedDMA transfer triggering, support for CBC mode
What about resistance to implementation attacks?
no single word about countermeasures in the datasheet oranywhere else
2 / 4
XMEGA Crypto Engines
DES Instructionperforms single DES roundfull DES in 17 clock cycles
AES Peripheral
AES-128 in 375 clock cycles (vs. 3-4K cycles in software)around 10 Mbps bandwidth at maximum clock speedDMA transfer triggering, support for CBC mode
What about resistance to implementation attacks?
no single word about countermeasures in the datasheet oranywhere else
2 / 4
Side-Channel Attack on XMEGA AES Engine
0 10 20 30 40 50 60 70 80−0.2
−0.1
0
0.1
0.2
Clock cycle
ρ
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000−0.2
−0.1
0
0.1
0.2
0.3
N
ρ
3 / 4
Side-Channel Attack on XMEGA AES Engine
Attack detailsCPA in HD leakage model3000 power traces for full128-bit key recovery100 MS/s sampling ratesetup cost ≈ $1000reveals that implementationis not parallel
0 10 20 30 40 50 60 70 80−0.2
−0.1
0
0.1
0.2
Clock cycle
ρ
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000−0.2
−0.1
0
0.1
0.2
0.3
N
ρ
3 / 4