As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Difference between revisions of "CW308T-ADUCM3029"

From ChipWhisperer Wiki
Jump to: navigation, search
(Initial Page add. Still mostly placeholder)
(Added Crypto accelerator details)
Line 20: Line 20:
 
The ADuCM3029 can run from a core supply voltage between 1.8 and 3.3 volts. By default the core is fed from the 3.3v supply but the adjustable regulator on the CW308T can be used to set any viable core voltage. Sometimes power analysis is more viable at different supply voltages.
 
The ADuCM3029 can run from a core supply voltage between 1.8 and 3.3 volts. By default the core is fed from the 3.3v supply but the adjustable regulator on the CW308T can be used to set any viable core voltage. Sometimes power analysis is more viable at different supply voltages.
  
== Hardware AES ==
+
== Cryptographic Accelerator ==
  
The SAM4L has a hardware AES module, with optional countermeasures that can be enabled. These countermeasures are described in the SAM4L datasheet as the following options:
+
As described in the ADuCM3027/3029 Data Sheet<ref>http://www.analog.com/media/en/technical-documentation/data-sheets/ADuCM3027_3029.pdf</ref>, The cryptographic accelerator is a 32-bit APB DMA capable peripheral. There are two 32-bit buffers provided for data input/output operations. These buffers read in or read out 128 bits in four data accesses. Big endian and little endian data formats are supported, as are the following modes:
 
+
* Electronic code book (ECB) mode—
* Type 1: Randomly add one cycle to data processing
+
* AES mode (128 and 256)
* Type 2: Randomly add one cycle to data processing (other version)
+
* Counter (CTR) mode
* Type 3: Add a random number of clock cycles to data processing, subject to a maximum of 11 clock cycles for key size of 128 bits
+
* Cipher block chaining (CBC) mode
* Type 4: Add random spurious power consumption during data processing
+
* Message authentication code (MAC) mode
 
+
* Cipher block chaining-message authentication code (CCM/CCM) mode
Interestingly they can be individually enabled/disabled. This makes the SAM4L a useful training target for power analysis attacks against various hardware countermeasures.
+
* SHA-256 mode
  
 
== Programming ==
 
== Programming ==

Revision as of 08:12, 22 August 2018

CW308T-ADUCM3029
SAM4L-Top-small.jpg
Target Device Atmel SAM4L
Target Architecture ARM Cortex M4
Hardware Crypto Yes
Design Files

GITHub Link

OSH Park PCBs
Supported Apps Simple Serial Enc/Auth
Status Released

This board supports the Atmel SAM4L microcontroller. The default build has the Atmel ATSAM4LC2AA-AU, which has 128KB flash and 32KB SRAM.

Power Supply

The ADuCM3029 can run from a core supply voltage between 1.8 and 3.3 volts. By default the core is fed from the 3.3v supply but the adjustable regulator on the CW308T can be used to set any viable core voltage. Sometimes power analysis is more viable at different supply voltages.

Cryptographic Accelerator

As described in the ADuCM3027/3029 Data Sheet[1], The cryptographic accelerator is a 32-bit APB DMA capable peripheral. There are two 32-bit buffers provided for data input/output operations. These buffers read in or read out 128 bits in four data accesses. Big endian and little endian data formats are supported, as are the following modes:

  • Electronic code book (ECB) mode—
  • AES mode (128 and 256)
  • Counter (CTR) mode
  • Cipher block chaining (CBC) mode
  • Message authentication code (MAC) mode
  • Cipher block chaining-message authentication code (CCM/CCM) mode
  • SHA-256 mode

Programming

An external programmer is needed for this target. The SAM4L has an internal bootloader you can use via an external serial port, which is not yet supported directly by the ChipWhisperer-Capture software.

Schematic

See GIT Repo for PDF of schematic.

Board Layout

See GIT Repo for gerber files.