Secure 2 Click Board
Secure 2 Click Board
Key Features:
- Crypto element device with secure hardware-based key storage, 512 bit OTP (One Time Programmable) Bits for Fixed Information
- Based on the ATAES132A - a cryptographic coprocessor with secure hardware-based key storage from Microchip
- Used for storage of up to 16 keys, certificates, miscellaneous read/write, read-only or secret data, consumption logging, and security configurations
- mikroBUS: I2C and SPI Interface
The Secure 2 Click Board™ carries the ATAES132A, a cryptographic coprocessor with secure hardware-based key storage from Microchip. The Click Board™ is designed to run on either 3.3V or 5V power supply. The Secure 2 Click Board™ communicates with the target microcontroller over SPI and I2C interface, with additional functionality provided by the INT pin on the mikroBUS line.
Software Support
Code examples for the Secure 2 Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.
CODE SNIPPET
The following code snippet shows functions that will lock the configuration zone of the device and then output a generated random number.
01 //Configuration zone locking 02 if (aes132m_execute(AES132_LOCK, 0x02, 0x0000, 0x0000, 03 0, 0, 0, 0, 0, 0, 0, 0, txBuffer, rxBuffer) 04 == AES132_FUNCTION_RETCODE_SUCCESS) 05 { 06 LOG( "rnrn Configuration zone locked! " ); 07 } 08 else 09 { 10 LOG( "rnrn Configuration zone locking failed" ); 11 LOG( " or it is already locked." ); 12 } 13 memset (txBuffer, 0, 84); 14 memset (rxBuffer, 0, 36); 15 /* 16 Fourth test - Random number generator 17 Will only return 0xA5 unless config zone is locked first. 18 */ 19 if (aes132m_execute(AES132_RANDOM, 0x00, 0x0000, 0x0000, 20 0, 0, 0, 0, 0, 0, 0, 0, txBuffer, rxBuffer) 21 == AES132_FUNCTION_RETCODE_SUCCESS) 22 { 23 LOG( "rnrn Generated random number: " ); 24 outputHex (&rxBuffer[2], 16); 25 } 26 else LOG( "rnrn Random number generation failed..." ); 27 28 memset (txBuffer, 0, 84); 29 memset (rxBuffer, 0, 36);
Secure 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.