跳转到主要内容
瑞萨电子 (Renesas Electronics Corporation) - June is Pride Month, a month to raise awareness of the rights and the culture of the LGBTQ+ community

描述

Topics

The RSA, AES, and SHA libraries for the RX family now support SBOM.

While network technology and digital devices have improved in terms of performance and convenience, there is also a growing concern about security issues such as data eavesdropping, tampering, privacy violations, and unauthorized copying of copyrighted works.
Renesas provides robust cryptographic libraries for the development of various systems that require security.

特性

  • RZ/A1H Group Cryptographic Software Library
  • RSA Library
  • AES Library
  • SHA Library
  • Learn More

发布信息

Target DeviceProduct NameSupported CompilersLatest Ver. / ReleasedProviding Method
RZ/A1H GroupRZ/A1H Group Cryptographic Software LibraryArm® Compiler v5Latest Ver.: V.1.01 Release 00
Released: Jan. 26, 2015
Contact us
RL78 Family *1RSA Library for RL78 FamilyCC-RL, IAR, LLVMLatest Ver.: V.2.01 Release 00
Released: Jun. 30, 2022
Download: RL78 Family RSA Library: Introduction Guide Rev.2.01 - Sample Code (ZIP)
AES Library for RL78 FamilyLatest Ver.: V.2.01 Release 00
Released: Jun. 30, 2022
Download: RL78 Family AES Library: Introduction Guide Rev.2.01 - Sample Code (ZIP)
SHA Library for RL78 FamilyLatest Ver.: V.2.03 Release 00
Released: Aug. 1, 2025
Download: RL78 Family SHA Hash Function Library: Introduction Guide Rev.2.03 - Sample Code (ZIP)
RL78/G24 FAA *1AES Library for RL78/G24 FAACC-RL, IARLatest Ver.: V.1.01 Release 00
Released: Aug. 1, 2025
Download: RL78/G24 FAA AES Library Introduction Guide Rev.1.01 - Sample Code (ZIP)
SHA Library for RL78/G24 FAA *2Latest Ver.: V.2.03 Release 00
Released: Aug. 1, 2025
Download: RL78 Family SHA Hash Function Library: Introduction Guide Rev.2.03 - Sample Code (ZIP)
RX FamilyRSA Library for RX FamilyCC-RX, GCC, IARLatest Ver.: V.1.06 Release 00
Released: Apr. 20, 2026
Download: RX Family RSA Library Firmware Integration Technology Rev.1.06 - Sample Code (ZIP)
AES Library for RX FamilyLatest Ver.: V.1.09 Release 00
Released: Apr. 20, 2026
Download: RX Family AES Library Firmware Integration Technology Rev.1.09 - Sample Code (ZIP)
SHA Library for RX FamilyLatest Ver.: V.1.07 Release 00
Released: Apr. 20, 2026
Download: RX Family SHA Library Firmware Integration Technology Rev.1.07 - Sample Code (ZIP)

*1.It can not be used for automotive applications.
*2.This library is included in the release package of the SHA Library for RL78 family.

目标设备

类型 文档标题 日期
应用说明 PDF 296 KB 日本語
"This document is an application note for the RX Family AES Library Firmware Integration Technology. This application note describes the configuration, API information, and usage of the RX AES Library, as well as sample application programs included in this package.
应用说明 PDF 229 KB 日本語
This document is an application note for the RX Family RSA Library Firmware Integration Technology. This application note describes the configuration, API information, and usage of the RX RSA Library, as well as sample application programs included in this package.
应用说明 PDF 244 KB 日本語
This document is an application note for the RX Family SHA Library Firmware Integration Technology. This application note describes the configuration, API information, and usage of the RX SHA Library, as well as sample application programs included in this package.
应用说明 PDF 1.20 MB 日本語
Describes the procedures for migrating the driver and middleware sample code projects to other RL78 family devices.
应用说明 PDF 522 KB 日本語
AI 生成的摘要: The RL78 Family SHA Hash Function Library includes various source files, sample programs, and documentation to support SHA-1 and SHA-256 hash functions. It provides API functions to generate SHA-1 and SHA-256 hash digests, with SHA-256 support enhanced when combined with the RL78/G24 FAA accelerator. The library supports specific compiler environments and requires building designated source files depending on the API used. The FAA accelerator improves SHA processing speed and supports only SHA-256 with certain compilers.
应用说明 PDF 549 KB 日本語
AI 生成的摘要: The RL78/G24 FAA AES library enables efficient AES cryptographic processing on the RL78 MCU by leveraging the Flexible Application Accelerator (FAA) with Harvard architecture. It supports AES encryption and decryption with 128-bit and 256-bit keys in ECB and CBC modes. The library integrates with Smart Configurator for code generation and provides various API functions for key scheduling and cryptographic operations. The package includes sample programs, user manuals, and project files compatible with CS+, e2 studio, and IAR development environments, facilitating easy integration and development.
应用说明 PDF 303 KB 日本語
AI 生成的摘要: The AES Library for RL78 Family MCUs provides hardware-optimized AES encryption and decryption functions supporting 128-bit and 256-bit keys in ECB and CBC modes, along with a GCM library for Galois/Counter Mode operations. It supports RL78 MCUs with S2 and S3 cores, excluding smaller memory variants like RL78/G10. The package includes source code, header files, sample projects for various development environments (CC-RL, IAR, LLVM), and detailed API functions for encryption, decryption, and key scheduling. Users must select appropriate source files based on the API functions they intend to use. The library is fully tuned in assembly for performance and memory efficiency.
应用说明 PDF 245 KB 日本語
AI 生成的摘要: The RSA Library for RL78 Family MCUs provides software functions for RSA encryption, including signature generation, verification, and modular exponentiation. It is optimized with assembly language for performance and supports RL78/G14 and RL78/G23 devices. The library includes source code, sample projects for various IDEs (CS+, e2 studio, IAR, LLVM), and detailed API functions. Memory usage, stack size, and performance metrics such as processing times for 2048-bit keys are specified, enabling efficient cryptographic operations on embedded systems.
工具新闻 - 注意事项 PDF 121 KB 日本語
9 项目

样例程序

样例程序

筛选
类型 文档标题 日期 日期
示例代码
[Toolchains=CC-RX|V3.04.00;GNURX|8.3.0.202104;IAR Compiler for RX|v.4.20.3]
登录后下载 ZIP 9.48 MB
应用: 工业, 消费电子产品
Compiler: CC-RX, GNURX Function: Security, Driver or Library IDE: e2 studio, IAR EWRX, ICCRX
示例代码
[Toolchains=CC-RX|V3.04.00;GNURX|8.3.0.202104;IAR Compiler for RX|v.4.20.3]
登录后下载 ZIP 9.35 MB
应用: 工业, 消费电子产品
Compiler: CC-RX, GNURX, ICCRX Function: Security, Driver or Library IDE: e2 studio
示例代码
登录后下载 ZIP 8.64 MB
应用: 消费电子产品
Compiler: CC-RX, GNURX, ICCRX Function: Driver or Library, Security IDE: CS+, e2 studio, IAR EWRX
示例代码
[Toolchains=CC-RL|V1.09.00;CC-RL|V1.12.01;IAR Compiler for RL78|v.4.20.1.2260;IAR Compiler for RL78|v.5.20.1.2826;LLVM for Renesas RL78|10.0.0.202203]
登录后下载 ZIP 12.00 MB
应用: 工业
Compiler: CC-RL, ICCRL78, LLVM Function: Driver or Library, Security IDE: CS+, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.20.1.2826]
登录后下载 ZIP 6.52 MB
应用: 安全性, 工业
Compiler: CC-RL, ICCRL78 Function: Driver or Library, Security IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.09.00;LLVM for Renesas RL78|10.0.0.202203;IAR Compiler for RL78|v.4.20.1.2260]
登录后下载 ZIP 7.10 MB
应用: 工业
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Security IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.09.00;LLVM for Renesas RL78|10.0.0.202203;IAR Compiler for RL78|v.4.20.1.2260]
登录后下载 ZIP 7.14 MB
应用: 工业
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Security, Driver or Library IDE: CS+ for CC, e2 studio, IAR EWRL78
7 项目

Purpose

  • Electronic Commerce
  • Network Security
  • Device Authentication
  • Content Protection
  • Tamper-Proofing
  • Confidential Information Protection
    etc.

Function

We offer cryptographic libraries for Renesas MCUs that perform software processing.

Library

TypeFunctionTarget DevicesSupported Compilers
AES LibraryAES encryption with a key length of 128/256 bits.
Supported operation modes are ECB, CBC mode, and GCM (Galois/Counter mode).
RL78 Family *1CC-RL, IAR, LLVM
RL78/G24 FAA *1 *2CC-RL, IAR
RX FamilyCC-RX, GCC, IAR
Hash Function LibrarySHA-1, SHA-256, and SHA-384 (SHA-384 is only available for the RX family)
Initial values are set and padding data is added within the library for ease of use.
RL78 Family *1CC-RL, IAR, LLVM
RL78/G24 FAA *1 *3CC-RL, IAR
RX FamilyCC-RX, GCC, IAR
RSA LibraryKey length: Maximum 2048 bits
Encryption/decryption method RSAES-PKCS1-V1_5
Signature generation/verification method RSASSA-PKCS1-V1_5
Exponential remainder operation
RL78 Family *1CC-RL, IAR, LLVM
RX FamilyCC-RX, GCC, IAR

*1. It can not be used for automotive applications.
*2. It does not support GCM (Galois/Counter Mode).
*3. It only supports SHA-256.

Related Products

Driver

Product NameFunctionTarget Devices
AES Coprocessor DriverHigh-speed execution of AES algorithm with HWRX140(Part of a product), RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups
RNG DriverRandom Number GenerateRX140(Part of a product), RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups
SHA Coprocessor DriverHigh-speed execution of SHA algorithm with HWRX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups
DES Coprocessor DriverHigh-speed execution of DES algorithm with HWRX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups
图像
Crypto Library structure

How to Obtain

Cryptographic libraries for Renesas MCUs that perform software processing can be downloaded from this page (except for some MCUs). Please download and use the sample code.

Cryptographic libraries or hardware accelerator drivers that are not available for download are provided to customers who are using or planning to use Renesas MCUs. Please contact your Renesas Electronics sales representative.

Target Devices

Please refer to Function for details.

知识库

  1. RZ/A1组: Secure的功能

    RZ/A1 系列没有内置的硬件Secure的功能。不过,我们有免费的非保证 Crypto Library 软件,可通过我们的销售代表提供。

    2023年12月4日
支持社区

支持社区

在线询问瑞萨电子工程社群的技术人员,快速获得技术支持。
浏览文章

知识库

浏览我们的知识库,获取文章、常见问题解答及其他实用资源。
提交工单

提交工单

需要咨询技术性问题或提供非公开信息吗?