STMicroelectronics AN3992 Application Note Using STM8L162M8 AES with CR95HF

This application note describes STM8L162M8 demonstration firmware which reads and writes encrypted data into an LRxk contactless tag.


STMicroelectronics AN3992 Application Note Using STM8L162M8 AES with CR95HF - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
22
File format
PDF
File size
845 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
337AF79C79FDB77B88F7ED809FE3C109

About this manual

The document details a demonstration setup where the STM8L162M8 microcontroller reads and writes encrypted data into an LRxk contactless tag. The MCU utilizes its embedded AES hardware accelerator to encrypt data before sending it to the tag through the CR95HF RF transceiver.

Data stored in the tag can be read by anyone, but only decrypted by the owner of the encryption or decryption key. The note covers the firmware description, application setup including hardware and software tools (ST Visual Developer, Cosmic compiler), pinout descriptions, and usage of AES chaining modes.

What's inside

  • Acronyms and notational conventions
  • AES cryptography overview
  • CR95HF overview
  • STM8L162M8 overview
  • Firmware description
  • Application setup
  • Pinout description
  • Contactless tag layout
  • Using AES chaining modes
  • Revision history

Specifications

AES Key Length128-bit
Block Size128-bit blocks
AES Standard ComplianceFIPS PUB 197, 2001 November 26
Supported AES ModesECB, CBC, CFB, OFB and CTR

Frequently asked questions

What is the purpose of the firmware described in this note?

The firmware reads and writes encrypted data into an LRxk contactless tag using the MCU's embedded AES hardware.

Who can decrypt the data stored in the contactless tag?

Only the owner of the encryption or decryption key can decrypt the data.

Download PDF (845 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →