Skip to main content
Application NoteNxp

How to use the PN76 family cryptographic features

This application note explains how to utilize the PN7642 internal secure key store with mbedTLS APIs for cryptographic operations like AES encryption and decryption.

View application note

Overview

This document provides technical guidance for implementing cryptographic features on the NXP PN7642 NFC controller. It details the process of using internally stored keys from the PN76 secure key store with mbedTLS APIs. The note covers module initialization using phmbedcrypto_Init and PN76_Sys_KeyStore_Init, context initialization for AES and GCM modes, and the specific requirements for referencing hardware-backed keys by setting the key_index in the mbedTLS context. It includes instructions for modifying the 'pn_mbedtls_demo' SDK example to support internal keys instead of plain keys and provides Python code snippets for generating reference data to verify cryptographic outputs.

Use Cases

  • Implementing hardware-backed AES encryption on PN7642 NFC controllers
  • Integrating mbedTLS with secure internal key storage in embedded applications
  • Developing secure firmware for NFC devices requiring authenticated encryption (GCM)
  • Provisioning and utilizing application master/fixed keys for secure data processing

Topics

PN7642
Cryptography
mbedTLS
AES
GCM
KeyStore
NFC Controller
Secure Key Store
Encryption
Decryption

Referenced Parts

PN7642

NXP Semiconductors

This document shows how to use the PN7642 cryptographic features, particularly AES, by using the provided SDK examples.

How to use the PN76 family cryptographic features | Design Resources