<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PFenzel</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PFenzel"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/PFenzel"/>
	<updated>2026-09-10T14:36:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=8015</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=8015"/>
		<updated>2021-11-18T18:48:07Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone. There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
* To interpret the slot configuration as displayed above the overview below will give useful information. More details can be found in the ATSHA204A data sheet.&lt;br /&gt;
[[File:ATSHA204ConfigurationZone.png]]&lt;br /&gt;
&lt;br /&gt;
* If bit 6 is set to 1, then a slot which is secret allows encrypted read to access. Reading these slots returns the encrypted data which the host then has to decrypt by the read key defined in the slot configuration of the slot being read. Selecting command (A2) reads the encrypted slots as shown below:&lt;br /&gt;
[[File:ATSHA204EncryptRead.png]]&lt;br /&gt;
&lt;br /&gt;
* For an HMAC challenge use the command (A0) of the menu. This will perform an HMAC challenge against slot 3 and 12. Both are derived from the root key. This examples compares the HMAC digest generated on the client and an HMAC on the host using all possible modes (start mode / update mode / finalize mode).&lt;br /&gt;
[[File:ATSHA204HMAC.png]]&lt;br /&gt;
&lt;br /&gt;
* ATSHA204a also supports key rolling to prevent repeated use of the same key value. After a certain number of uses of the current key value gets replaced with the SHA-256 digest  of itself combined with some offset e.g. a constant, a serial number or model number. This is implemented by using the DeriveKey command. Selecting AE will perform a rolling key operation on key 4. Further details can be found in Philly&#039;s Tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204HMAC.png&amp;diff=8014</id>
		<title>File:ATSHA204HMAC.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204HMAC.png&amp;diff=8014"/>
		<updated>2021-11-18T18:34:02Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=8013</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=8013"/>
		<updated>2021-11-18T18:33:10Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone. There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
* To interpret the slot configuration as displayed above the overview below will give useful information. More details can be found in the ATSHA204A data sheet.&lt;br /&gt;
[[File:ATSHA204ConfigurationZone.png]]&lt;br /&gt;
&lt;br /&gt;
* If bit 6 is set to 1, then a slot which is secret allows encrypted read to access. Reading these slots returns the encrypted data which the host then has to decrypt by the read key defined in the slot configuration of the slot being read. Selecting command (A2) reads the encrypted slots as shown below:&lt;br /&gt;
[[File:ATSHA204EncryptRead.png]]&lt;br /&gt;
&lt;br /&gt;
* For an HMAC challenge use the command (A0) of the menu. This will perform an HMAC challenge against slot 3 and 12. Both are derived from the root key. This examples compares the HMAC digest generated on the client and an HMAC on the host using all possible modes (start mode / update mode / finalize mode).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7998</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7998"/>
		<updated>2021-11-14T20:52:17Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone. There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
* To interpret the slot configuration as displayed above the overview below will give useful information. More details can be found in the ATSHA204A data sheet.&lt;br /&gt;
[[File:ATSHA204ConfigurationZone.png]]&lt;br /&gt;
&lt;br /&gt;
* If bit 6 is set to 1, then a slot which is secret allows encrypted read to access. Reading these slots returns the encrypted data which the host then has to decrypt by the read key defined in the slot configuration of the slot being read. Selecting command (A2) reads the encrypted slots as shown below:&lt;br /&gt;
[[File:ATSHA204EncryptRead.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204EncryptRead.png&amp;diff=7997</id>
		<title>File:ATSHA204EncryptRead.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204EncryptRead.png&amp;diff=7997"/>
		<updated>2021-11-14T20:51:48Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7996</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7996"/>
		<updated>2021-11-14T20:33:46Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone. There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
* To interpret the slot configuration as displayed above the overview below will give useful information. More details can be found in the ATSHA204A data sheet.&lt;br /&gt;
[[File:ATSHA204ConfigurationZone.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7995</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7995"/>
		<updated>2021-11-14T20:27:41Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone&lt;br /&gt;
  There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
* To interpret the slot configuration as displayed above below overview will give useful information. More details can be found in the ATSHA204A data sheet.&lt;br /&gt;
[[File:ATSHA204ConfigurationZone]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204ConfigurationZone.png&amp;diff=7994</id>
		<title>File:ATSHA204ConfigurationZone.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204ConfigurationZone.png&amp;diff=7994"/>
		<updated>2021-11-14T20:27:00Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7993</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7993"/>
		<updated>2021-11-14T20:13:05Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see similar information as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device, you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
* When selecting (02) you get the slot configuration which is saved in bytes 20 - 51 within the 88 bytes configuration zone&lt;br /&gt;
There you have 16 slots of each 2 bytes containing the access restriction values for the slots in the data zone &lt;br /&gt;
[[File:ATSHA204SlotConfiguration.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204SlotConfiguration.png&amp;diff=7992</id>
		<title>File:ATSHA204SlotConfiguration.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204SlotConfiguration.png&amp;diff=7992"/>
		<updated>2021-11-14T20:11:11Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7991</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7991"/>
		<updated>2021-11-14T19:51:52Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
* To get details like serial number about the device select (01). If your ATSHA204A is connected correctly, you should see informations as follows:&lt;br /&gt;
[[File:ATSHA204DeviceDetails.png]]&lt;br /&gt;
* To configure the device, write all the keys to the slots and lock the device you have to follow the below steps:&lt;br /&gt;
* Step 1 - configure the device - command (03) Personalize Device&lt;br /&gt;
* Step 2 - lock the configuration zone - command (04)&lt;br /&gt;
* Step 3 - write to the OTP zone - command (05)&lt;br /&gt;
* Step 4 - write the keys - command (06)&lt;br /&gt;
* Step 5 - lock OTP and data zones - command (07)&lt;br /&gt;
* Step 6 - read OTP zones - command (08)&lt;br /&gt;
* Step 7 - run deriveKey for slot 5 - command (AB)&lt;br /&gt;
* Step 8 - run deriveKey (Key Roll) for slot 4 - command (AE)&lt;br /&gt;
* Step 9 - validate key - command (AA)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204DeviceDetails.png&amp;diff=7990</id>
		<title>File:ATSHA204DeviceDetails.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204DeviceDetails.png&amp;diff=7990"/>
		<updated>2021-11-14T19:43:18Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7989</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7989"/>
		<updated>2021-11-14T19:35:09Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
[[File:ATSHA204Menu.png]]&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204Menu.png&amp;diff=7988</id>
		<title>File:ATSHA204Menu.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:ATSHA204Menu.png&amp;diff=7988"/>
		<updated>2021-11-14T19:33:24Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7967</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7967"/>
		<updated>2021-11-03T01:36:10Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! &lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7966</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7966"/>
		<updated>2021-11-03T01:35:23Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7965</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7965"/>
		<updated>2021-11-03T01:33:57Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for XXXX ===&lt;br /&gt;
.... TO BE COMPLETED  ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7955</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7955"/>
		<updated>2021-10-31T17:31:07Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) and its microchips can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7954</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7954"/>
		<updated>2021-10-31T17:29:07Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7953</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7953"/>
		<updated>2021-10-31T17:20:03Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
== Security Features ==&lt;br /&gt;
[[File:Sicherheits-Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
* [[File:User Guide Security Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hash and Cryptographic Algorithms:&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/cryptography_hash_functions.htm&lt;br /&gt;
* https://www.tutorialspoint.com/cryptography/advanced_encryption_standard.htm&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7952</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7952"/>
		<updated>2021-10-31T16:56:38Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* The program code can be found on Phil&#039;s website: [https://github.com/PhillyNJ/SAMD21/tree/master/examples/atsha204a DemoProject]&lt;br /&gt;
* Download the code and open it in Microchip Studio, build it and flash it onto your DM320109 board&lt;br /&gt;
* To flash the code connect your DM320109 board with the USB cable at the USB EDBG port and your PC&lt;br /&gt;
* Open a terminal program like TeraTerm [https://tera-term.de.softonic.com/ Tera Term Download]&lt;br /&gt;
* Terminal / Tera Term port setup:&lt;br /&gt;
   Port          according to your device manager e.g. COM3&lt;br /&gt;
   Speed         9600&lt;br /&gt;
   Data          8 bit&lt;br /&gt;
   Parity        none&lt;br /&gt;
   Stop bits     1 bit&lt;br /&gt;
   Flow control  none&lt;br /&gt;
* Press then the reset button on your DM320109 board and in the Tera Term terminal the menu of the program will appear&lt;br /&gt;
* You can navigate through the different implementations via the menu &lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
== Security Features ==&lt;br /&gt;
[[File:Sicherheits-Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
* [[File:User Guide Security Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used  Software and Hardware ==&lt;br /&gt;
The links for the used software Microchip Studio and the used hardware CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) can be found at the beginning of this article under &amp;quot;requirements&amp;quot; and &amp;quot;description&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://www.insidegadgets.com/2017/04/21/alarm-system-v3-part-3-using-the-atmel-cryptoauthentication-atsha204a/&lt;br /&gt;
* https://www.youtube.com/watch?v=TAOVKcN-pwY&lt;br /&gt;
* https://microchiptech.github.io/cryptoauthlib/html/index.html&lt;br /&gt;
&lt;br /&gt;
Cryptographic algorithms:&lt;br /&gt;
* https://en.wikipedia.org/wiki/SHA-2&lt;br /&gt;
* http://www.iwar.org.uk/comsec/resources/cipher/sha256-384-512.pdf&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
* https://www.korelstar.de/informatik/aes.html&lt;br /&gt;
* https://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Description_of_the_ciphers&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7951</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7951"/>
		<updated>2021-10-31T16:31:55Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atsha204a ATSHA204A] (SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc508a ATECC508A] (Ellipticcurve P256, SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc608a ATECC608A] (Ellipticcurve P256, SHA256, AES-GCM)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/ataes132a ATAES132A] (AES128)&lt;br /&gt;
&lt;br /&gt;
=== Implementation of ATSHA204A ===&lt;br /&gt;
An example implementation for the ATSHA204A can be found under Philly&#039;s Tutorial ATSHA204A - A Full Tutorial [https://phillystutorials.blogspot.com/2019/07/atsha204a-full-tutorial.html]&lt;br /&gt;
&lt;br /&gt;
The example program implements:&lt;br /&gt;
* Device Details like serial number, device number, lock config&lt;br /&gt;
* Locking the configuration, OTP and Data Zone&lt;br /&gt;
* HMAC challenge&lt;br /&gt;
* GenDig example&lt;br /&gt;
* Read encrypted slots&lt;br /&gt;
* Creating diversified keys for challenges&lt;br /&gt;
* CheckMac&lt;br /&gt;
* DeriveKey&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* Connect your microcontroller to the EDGB USB port and upload the software&lt;br /&gt;
* Open a terminal Program ([https://www.putty.org/ Putty], [https://ttssh2.osdn.jp/index.html.en TeraTerm])&lt;br /&gt;
* Terminal program configuration:&lt;br /&gt;
   Baud rate     115200&lt;br /&gt;
   Data bits     8&lt;br /&gt;
   Stop bits     1&lt;br /&gt;
   Parity        none&lt;br /&gt;
* Press the restart button in the controller&lt;br /&gt;
* The implementation has an text menu which allows you to navigate by numbers&lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
== Security Features ==&lt;br /&gt;
[[File:Sicherheits-Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides and Data Sheets ==&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/DM320109-CryptoAuthentication-Xplained-Pro-Starter-Kit-Users-Guide-DS50002774A.pdf CryptoAuthentication Xplained Pro Starter Kit User Guide]&lt;br /&gt;
* [http://ww1.microchip.com/downloads/en/DeviceDoc/ATSHA204A-Data-Sheet-40002025A.pdf ATSHA204A Data Sheet]&lt;br /&gt;
* [[File:User Guide Security Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* [[Cryptoauth XPro B]]&lt;br /&gt;
* [https://www.microchip.com/mplab/avr-support/atmel-studio-7 AtmelStudio]&lt;br /&gt;
* [https://www.microchip.com/developmenttools/ProductDetails/atsamr21-xpro Atmel SAM R21 Xplained Pro]&lt;br /&gt;
* [https://www.microchip.com/DevelopmentTools/ProductDetails/atcryptoauth-xpro-b ATCRYPTOAUTH-XPRO-B]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://www.insidegadgets.com/2017/04/21/alarm-system-v3-part-3-using-the-atmel-cryptoauthentication-atsha204a/&lt;br /&gt;
* https://www.youtube.com/watch?v=TAOVKcN-pwY&lt;br /&gt;
* https://microchiptech.github.io/cryptoauthlib/html/index.html&lt;br /&gt;
&lt;br /&gt;
Cryptographic algorithms:&lt;br /&gt;
* https://en.wikipedia.org/wiki/SHA-2&lt;br /&gt;
* http://www.iwar.org.uk/comsec/resources/cipher/sha256-384-512.pdf&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
* https://www.korelstar.de/informatik/aes.html&lt;br /&gt;
* https://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Description_of_the_ciphers&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7950</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7950"/>
		<updated>2021-10-31T16:00:13Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
 !!!!  W O R K   I N   P R O G R E S S   !!!! (Petra Fenzel)&lt;br /&gt;
&lt;br /&gt;
This documentation describes the usage of the CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices Microchip Studio]&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/DM320109 CryptoAuthentication SOIC Xplained Pro Starter Kit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109) consists of:&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/atsamd21-xpro ATSAMD21-XPRO] &lt;br /&gt;
* [https://www.microchip.com/en-us/development-tool/at88ckscktsoic-xpro AT88CKSCKTSOIC-XPRO]&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATECC608A 3 ATECC608A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC, AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/atecc508a 3 ATECC508A] (Elliptic Curve Diffie Hellman, Elliptic Curve Digital Signature Algorithm, SHA-256 &amp;amp; HMAC)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ataes132a 3 ATAES132A] (AES-128)&lt;br /&gt;
* [https://www.microchip.com/en-us/product/ATSHA204A 3 ATSHA204A] (SHA-256 with MAC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atsha204a ATSHA204A] (SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc508a ATECC508A] (Ellipticcurve P256, SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc608a ATECC608A] (Ellipticcurve P256, SHA256, AES-GCM)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/ataes132a ATAES132A] (AES128)&lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATECCx08A and ATSHA204A ===&lt;br /&gt;
The [https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b implementation for ATECCx08A and ATSHA204A] is based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib].For ease of use of the ASF USART a custom abstraction layer got implemented.&lt;br /&gt;
&lt;br /&gt;
The example program Implements:&lt;br /&gt;
* Showing the serial numbers of the chips&lt;br /&gt;
* Hashing a message&lt;br /&gt;
* Showing locked zones&lt;br /&gt;
* Locking zones&lt;br /&gt;
* Generate a random number (only works with locked configuration Zone)&lt;br /&gt;
* Generate a keypair (only works with locked configuration Zone)&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* Connect your microcontroller to the EDGB USB port and upload the software&lt;br /&gt;
* Open a terminal Program ([https://www.putty.org/ Putty], [https://ttssh2.osdn.jp/index.html.en TeraTerm])&lt;br /&gt;
* Terminal program configuration:&lt;br /&gt;
   Baud rate     115200&lt;br /&gt;
   Data bits     8&lt;br /&gt;
   Stop bits     1&lt;br /&gt;
   Parity        none&lt;br /&gt;
* Press the restart button in the controller&lt;br /&gt;
* The implementation has an text menu which allows you to navigate by numbers&lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
== Security Features ==&lt;br /&gt;
[[File:Sicherheits-Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides ==&lt;br /&gt;
* [[File:User Guide Atmel.pdf]]&lt;br /&gt;
* [[File:User Guide EDGB.pdf]]&lt;br /&gt;
* [[File:User Guide Security Features.pdf]]&lt;br /&gt;
those User Guides are made available from Atmel to get a better understanding of their products.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* [[Cryptoauth XPro B]]&lt;br /&gt;
* [https://www.microchip.com/mplab/avr-support/atmel-studio-7 AtmelStudio]&lt;br /&gt;
* [https://www.microchip.com/developmenttools/ProductDetails/atsamr21-xpro Atmel SAM R21 Xplained Pro]&lt;br /&gt;
* [https://www.microchip.com/DevelopmentTools/ProductDetails/atcryptoauth-xpro-b ATCRYPTOAUTH-XPRO-B]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Ausgewählte Artikel der IT Security]] (2021)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://www.insidegadgets.com/2017/04/21/alarm-system-v3-part-3-using-the-atmel-cryptoauthentication-atsha204a/&lt;br /&gt;
* https://www.youtube.com/watch?v=TAOVKcN-pwY&lt;br /&gt;
* https://microchiptech.github.io/cryptoauthlib/html/index.html&lt;br /&gt;
&lt;br /&gt;
Cryptographic algorithms:&lt;br /&gt;
* https://en.wikipedia.org/wiki/SHA-2&lt;br /&gt;
* http://www.iwar.org.uk/comsec/resources/cipher/sha256-384-512.pdf&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
* https://www.korelstar.de/informatik/aes.html&lt;br /&gt;
* https://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Description_of_the_ciphers&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7949</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7949"/>
		<updated>2021-10-31T15:30:39Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: Removed redirect to Install c&amp;#039;t&amp;#039;-Raspion on Raspberry PI&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/// Still to do (Petra)&lt;br /&gt;
This documentation describes the usage of security features for microcontrollers especially for the Atmel Sam R21 with the expansion board Atcryptoauth Xpro B.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [https://www.microchip.com/mplab/avr-support/atmel-studio-7 AtmelStudio]&lt;br /&gt;
* [https://www.microchip.com/developmenttools/ProductDetails/atsamr21-xpro Atmel SAM R21 Xplained Pro]&lt;br /&gt;
* [https://www.microchip.com/DevelopmentTools/ProductDetails/atcryptoauth-xpro-b ATCRYPTOAUTH-XPRO-B]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The Cryptoauth expansion board contains four chips which gets connected via I2C&lt;br /&gt;
Chips:&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atsha204a ATSHA204A] (SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc508a ATECC508A] (Ellipticcurve P256, SHA256)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/atecc608a ATECC608A] (Ellipticcurve P256, SHA256, AES-GCM)&lt;br /&gt;
* [https://www.microchip.com/wwwproducts/en/ataes132a ATAES132A] (AES128)&lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATECCx08A and ATSHA204A ===&lt;br /&gt;
The [https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b implementation for ATECCx08A and ATSHA204A] is based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib].For ease of use of the ASF USART a custom abstraction layer got implemented.&lt;br /&gt;
&lt;br /&gt;
The example program Implements:&lt;br /&gt;
* Showing the serial numbers of the chips&lt;br /&gt;
* Hashing a message&lt;br /&gt;
* Showing locked zones&lt;br /&gt;
* Locking zones&lt;br /&gt;
* Generate a random number (only works with locked configuration Zone)&lt;br /&gt;
* Generate a keypair (only works with locked configuration Zone)&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
* Connect your microcontroller to the EDGB USB port and upload the software&lt;br /&gt;
* Open a terminal Program ([https://www.putty.org/ Putty], [https://ttssh2.osdn.jp/index.html.en TeraTerm])&lt;br /&gt;
* Terminal program configuration:&lt;br /&gt;
   Baud rate     115200&lt;br /&gt;
   Data bits     8&lt;br /&gt;
   Stop bits     1&lt;br /&gt;
   Parity        none&lt;br /&gt;
* Press the restart button in the controller&lt;br /&gt;
* The implementation has an text menu which allows you to navigate by numbers&lt;br /&gt;
&lt;br /&gt;
=== Implementation for ATAES132A ===&lt;br /&gt;
[[File:AES132ADatasheet.pdf]] -&amp;gt; that Datasheet is made available from Atmel to get a better understanding of the ATAES132A Chip.&lt;br /&gt;
&lt;br /&gt;
The ATAES132A Chip is NOT based on the [https://github.com/MicrochipTech/cryptoauthlib Cryptoauthlib]. Therefore Atmel doesn&#039;t offer  complete or functioning example codes for this Chip. There are some example codes that might be working but only for the SAMD21 Xplained Pro board not the SAMR21 Xplained Pro B board, which we are using. I tried to use those example codes, with some changes so it would be working with our board, but I got ERROR messages each time. The main error probably is, that the SAMR21 Xplained Pro Microcontroller is not able to connect to the ATAES132A chip as a I2C slave. Some other problems are, that the example codes for the SAMD21 Xplained Pro board rely too much on that board, so it is nearly impossible to change it for the SAMR21 Xplained Pro B board. Another problem is that Atmel don&#039;t even offer an example code to connect to the extension boards, so I wasn&#039;t able to check if the ATAES132A chip is working, because no connection could be build. One of the codes is probably working if the connection could be established, because I got a build access and I could load the code onto the board, but I only got negative replies over the Usart.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the projects I tried: [https://github.com/georgie047/Wahlfachprojekt/tree/master/Code/ATAES132A]&lt;br /&gt;
&lt;br /&gt;
== Security Features ==&lt;br /&gt;
[[File:Sicherheits-Features.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Cryptographic algorithms ==&lt;br /&gt;
[https://git.fh-campuswien.ac.at/c1710475053/atmel-sam-cryptography-with-cryptoauth-xpro-b/blob/master/Dokumentation/Cryptographic_Algorithms.pdf Click here for Pdf]&lt;br /&gt;
&lt;br /&gt;
== User Guides ==&lt;br /&gt;
* [[File:User Guide Atmel.pdf]]&lt;br /&gt;
* [[File:User Guide EDGB.pdf]]&lt;br /&gt;
* [[File:User Guide Security Features.pdf]]&lt;br /&gt;
those User Guides are made available from Atmel to get a better understanding of their products.&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* [[Cryptoauth XPro B]]&lt;br /&gt;
* [https://www.microchip.com/mplab/avr-support/atmel-studio-7 AtmelStudio]&lt;br /&gt;
* [https://www.microchip.com/developmenttools/ProductDetails/atsamr21-xpro Atmel SAM R21 Xplained Pro]&lt;br /&gt;
* [https://www.microchip.com/DevelopmentTools/ProductDetails/atcryptoauth-xpro-b ATCRYPTOAUTH-XPRO-B]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[Einführendes Wahlfachprojekt]] (2019)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
Implementation:&lt;br /&gt;
* https://www.insidegadgets.com/2017/04/21/alarm-system-v3-part-3-using-the-atmel-cryptoauthentication-atsha204a/&lt;br /&gt;
* https://www.youtube.com/watch?v=TAOVKcN-pwY&lt;br /&gt;
* https://microchiptech.github.io/cryptoauthlib/html/index.html&lt;br /&gt;
&lt;br /&gt;
Cryptographic algorithms:&lt;br /&gt;
* https://en.wikipedia.org/wiki/SHA-2&lt;br /&gt;
* http://www.iwar.org.uk/comsec/resources/cipher/sha256-384-512.pdf&lt;br /&gt;
* https://www.geeksforgeeks.org/implementation-diffie-hellman-algorithm/&lt;br /&gt;
* https://www.korelstar.de/informatik/aes.html&lt;br /&gt;
* https://en.wikipedia.org/wiki/Advanced_Encryption_Standard#Description_of_the_ciphers&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit&amp;diff=7948</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit&amp;diff=7948"/>
		<updated>2021-10-31T15:21:35Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: PFenzel moved page CryptoAuthentication SOIC Xplained Pro Starter Kit to CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109): new documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7947</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7947"/>
		<updated>2021-10-31T15:21:35Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: PFenzel moved page CryptoAuthentication SOIC Xplained Pro Starter Kit to CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109): new documentation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Install c&#039;t&#039;-Raspion on Raspberry PI]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=PandwaRF&amp;diff=7946</id>
		<title>PandwaRF</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=PandwaRF&amp;diff=7946"/>
		<updated>2021-10-31T15:06:26Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: PFenzel moved page (Article title) to CryptoAuthentication SOIC Xplained Pro Starter Kit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[CryptoAuthentication SOIC Xplained Pro Starter Kit]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7945</id>
		<title>CryptoAuthentication SOIC Xplained Pro Starter Kit (DM320109)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=CryptoAuthentication_SOIC_Xplained_Pro_Starter_Kit_(DM320109)&amp;diff=7945"/>
		<updated>2021-10-31T15:06:26Z</updated>

		<summary type="html">&lt;p&gt;PFenzel: PFenzel moved page (Article title) to CryptoAuthentication SOIC Xplained Pro Starter Kit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Install c&#039;t&#039;-Raspion on Raspberry PI]]&lt;/div&gt;</summary>
		<author><name>PFenzel</name></author>
	</entry>
</feed>