STM32F7 20 Cryptographic processor (CRYP)

Started by tha, December 21, 2022, 01:33:36 PM

Previous topic - Next topic

tha

20 Cryptographic processor (CRYP)

ส่วนนี้นำมาใช้กับ the whole STM32F756xx and STM32F750xx devices, เว้นแต่ระบุไว้เป็นอย่างอื่น.

20.1 Introduction

The cryptographic processor (CRYP) สามารถถูกใช้ได้ทั้งเพื่อเข้ารหัสและถอดรหัสข้อมูลโดยใช้ the DES, Triple-DES or AES algorithms. เป็นการจัดให้มีใช้งานที่ตรงตามอย่างสมบูรณ์ของมาตรฐานต่อไปนี้::
•   The data encryption standard (DES) และ Triple-DES (TDES) ตามที่กำหนดโดย Federal Information Processing
     Standards Publication (FIPS PUB 46-3, Oct 1999), และ the American National Standards Institute (ANSI
     X9.52)
•   The advanced encryption standard (AES) ตามที่กำหนดโดย Federal Information Processing Standards Publication
     (FIPS PUB 197, Nov 2001)

Multiple key sizes และ chaining modes ถูกรองรับ:
•   DES/TDES chaining modes ECB and CBC, การรองรับมาตรฐาน 56-bit keys ที่มี 8-bit parity per key
•   AES chaining modes ECB, CBC, CTR, GCM, GMAC, CCM สำหรับ key sizes of 128, 192 หรือ 256 bits

The CRYP เป็น a 32-bit AHB peripheral. มันรองรับ DMA transfers สำหรับ incoming and outgoing data (two DMA channels ถูกต้องการ). The peripheral ยังรวมเอา input and output FIFOs (แต่ละลึก 8 words) ไว้ด้วยเพื่อประสิทธิภาพที่ดีขึ้น.

The CRYP peripheral จัดให้มี hardware acceleration กับ AES and DES cryptographic algorithms ที่บรรจุใน STM32 cryptographic library.

tha

20.2 CRYP main features

•   การจัดให้มีใช้ตรงตามมาตรฐานต่อไปนี้:
     –   NIST FIPS publication 46-3, Data Encryption Standard (DES)
     –   ANSI X9.52, Triple Data Encryption Algorithm Modes of Operation
     –   NIST FIPS publication 197, Advanced Encryption Standard (AES)
•   การจัดให้มีใช้รหัสบล็อกสมมาตร AES
     –   การประมวลผลบล็อกข้อมูล 128 บิต
     –   รองรับสำหรับ 128-, 192- and 256-bit ความยาวของคีย์เข้ารหัส
     –   การเข้ารหัสและถอดรหัสด้วยโหมดการผูกมัดหลายโหมด: Electronic Code Book (ECB), Cipher Block Chaining (CBC),
          Counter mode (CTR), Galois Counter Mode (GCM), Galois Message Authentication Code mode (GMAC) และ
          Counter ด้วย CBC-MAC (CCM).