Overview
Description
Topics
The AES library and SHA hash function library for RL78/G24 FAA are now compatible with IAR C/C++ Compiler.
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.
Features
- RZ/A1H Group Cryptographic Software Library
- RSA Library
- AES Library
- SHA Library
- Learn More
Release Information
| Target Device | Product Name | Supported Compilers | Latest Ver. / Released | Providing Method |
|---|---|---|---|---|
| RZ/A1H Group | RZ/A1H Group Cryptographic Software Library | Arm® Compiler v5 | Latest Ver.: V.1.01 Release 00 Released: Jan. 26, 2015 | Contact us |
| RL78 Family *1 | RSA Library for RL78 Family | CC-RL, IAR, LLVM | Latest 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 Family | Latest 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 Family | Latest 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 *1 | AES Library for RL78/G24 FAA | CC-RL, IAR | Latest 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 *2 | Latest 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 Family | RSA Library for RX Family | CC-RX, GCC, IAR | Latest Ver.: V.1.05 Release 00 Released: Apr. 21, 2025 | Download: RX Family RSA Library Firmware Integration Technology Rev.1.05 - Sample Code (ZIP) |
| AES Library for RX Family | Latest Ver.: V.1.08 Release 00 Released: Apr. 21, 2025 | Download: RX Family AES Library Firmware Integration Technology Rev.1.08 - Sample Code (ZIP) | ||
| SHA Library for RX Family | Latest Ver.: V.1.06 Release 00 Released: Apr. 21, 2025 | Download: RX Family SHA Library Firmware Integration Technology Rev.1.06 - 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.
Target Devices
Design & Development
Additional Details
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
| Type | Function | Target Devices | Supported Compilers |
|---|---|---|---|
| AES Library | AES encryption with a key length of 128/256 bits. Supported operation modes are ECB, CBC mode, and GCM (Galois/Counter mode). | RL78 Family *1 | CC-RL, IAR, LLVM |
| RL78/G24 FAA *1 *2 | CC-RL, IAR | ||
| RX Family | CC-RX, GCC, IAR | ||
| Hash Function Library | SHA-1 and SHA-256. Initial values are set and padding data is added within the library for ease of use. | RL78 Family *1 | CC-RL, IAR, LLVM |
| RL78/G24 FAA *1 *3 | CC-RL, IAR | ||
| RX Family | CC-RX, GCC, IAR | ||
| RSA Library | Data length 2048 bits Encryption/decryption method RSAES-PKCS1-V1_5 Signature generation/verification method RSASSA-PKCS1-V1_5 Exponential remainder operation | RL78 Family *1 | CC-RL, IAR, LLVM |
| RX Family | CC-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 Name | Function | Target Devices |
|---|---|---|
| AES Coprocessor Driver | High-speed execution of AES algorithm with HW | RX140(Part of a product), RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups |
| RNG Driver | Random Number Generate | RX140(Part of a product), RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups |
| SHA Coprocessor Driver | High-speed execution of SHA algorithm with HW | RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups |
| DES Coprocessor Driver | High-speed execution of DES algorithm with HW | RX63N, RX64M, RX71M, and RX651/RX65N (ROM 1 Mbyte) groups |

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
- RL78 Family * It can not be used for automotive applications
- RX Family
Please refer to Function for details.
Support
Support Communities
- Generating x509 certificate on device using Netx Crypto library.
Hello everyone, I've been working on a project using the Azure RTOS NetX Crypto library and R7FA6M3AH3CFC MCU to establish secure communication between my MCU and Thingsboard. So far, I've successfully generated a private key on the device using the provided functions in the library (_nx_crypto_ec ...
Mar 29, 2023 - Generating x509 certificate on device using Netx Crypto library.
Hello everyone, I've been working on a project using the Azure RTOS NetX Crypto library and R7FA6M3AH3CFC MCU to establish secure communication between my MCU and Thingsboard. So far, I've successfully generated a private key on the device using the provided functions in the library (_nx_crypto_ec ...
Mar 29, 2023 - Crypto Libraries for RH850
Hi, I am looking for crypto libraries for Renesas RH850 E2M controller. Also would like to understand ICUM(HSM) module of RH850 E2M controller. 1. Do RENESAS provide crypto libraries for RH850 ? 2. Do RENESAS offer any trainings/session on ICUM module ? Regards, Shubham.
Aug 13, 2019
Knowledge Base
- Why is the SHA hash function library (crypto library) for RL78-family products unavailable for in-vehicle use?
Last Updated: 02/20/2024 Question: Why is the SHA hash function library for RL78-family products unavailable for in-vehicle use although it is available for other general uses? Answer: Since we have not performed self-established in-vehicle grading and evaluation for the library, we cannot ...
Feb 20, 2024 - RH850/F1K Crypto library RSA Algorithm
The devices feature the ICU-S which is only doing symmetric AES operations. For RSA there is no hardware support. Renesas do not offer a SW library. But there are some 3rd parties (Vektor, Elektrobit) which offer such a library.
Feb 7, 2024 - Managing Code Size when using Crypro Libraries with SSP
Last Updated:03/02/2021 The Crypto Libraries used in SSP cover all the possible crypto functions and the entire library will be added to your project event if you only reference a couple crypto functions. This can result in a very large code requirement- often over 200K ...
Mar 2, 2021