STM32 CRYP

From SEGGER Knowledge Base
Jump to navigation Jump to search

The STM32 cryptographic processor (CRYP) is a capable hardware accelerator presented as a memory-mapped peripheral.

SEGGER encryption library

The SEGGER encryption library offers specialized hardware-assisted ciphering support. There are two variants of the CRYP processor with different capabilities, present on the following family members:

  • STM32F41x CRYP, hereafter referred to as the standard CRYP processor.
  • STM32F43x/F47x CRYP, hereafter referred to as the enhanced CRYP processor.

Supported cryptographic algorithms

The following cryptographic algorithms use both CRYP variants:

  • DES in ECB and CBC modes.
  • TDES in ECB and CBC modes with keying options 1, 2, and 3.
  • AES-128, AES-192, AES-256 in ECB and CBC modes.

Enhanced CRYP processor

For the enhanced CRYP processor, direct acceleration is provided for the following devices:

  • STM32F75x
  • STM32H75x
  • AES-128, AES-192, AES-256 in CCM(12,4) and GCM(12,4) modes.

Standard CRYP processor

For the standard CRYP processor, acceleration is provided for:

  • AES-128, AES-192, AES-256 ciphering with GCM and CCM implemented in software.