Skip to main content
Renesas Electronics Corporation - June is Pride Month, a month to raise awareness of the rights and the culture of the LGBTQ+ community

Description

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.

Features

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

Release Information

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.

Target Devices

Type Title Date
Application Note 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.
Application Note 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.
Application Note 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.
Application Note PDF 1.20 MB 日本語
Describes the procedures for migrating the driver and middleware sample code projects to other RL78 family devices.
Application Note PDF 522 KB 日本語
AI-generated Summary: 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.
Application Note PDF 549 KB 日本語
AI-generated Summary: 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.
Application Note PDF 303 KB 日本語
AI-generated Summary: 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.
Application Note PDF 245 KB 日本語
AI-generated Summary: 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.
Tool News - Note PDF 121 KB 日本語
9 items

Sample Code

Sample Code

Filters
Type Title Date Date
Sample Code
[Toolchains=CC-RX|V3.04.00;GNURX|8.3.0.202104;IAR Compiler for RX|v.4.20.3]
Log in to Download ZIP 9.48 MB
Application: Consumer Electronics, Industrial
Compiler: CC-RX, GNURX Function: Security, Driver or Library IDE: e2 studio, IAR EWRX, ICCRX
Sample Code
[Toolchains=CC-RX|V3.04.00;GNURX|8.3.0.202104;IAR Compiler for RX|v.4.20.3]
Log in to Download ZIP 9.35 MB
Application: Consumer Electronics, Industrial
Compiler: CC-RX, GNURX, ICCRX Function: Security, Driver or Library IDE: e2 studio
Sample Code
Log in to Download ZIP 8.64 MB
Application: Consumer Electronics
Compiler: CC-RX, GNURX, ICCRX Function: Driver or Library, Security IDE: CS+, e2 studio, IAR EWRX
Sample Code
[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]
Log in to Download ZIP 12.00 MB
Application: Industrial
Compiler: CC-RL, ICCRL78, LLVM Function: Driver or Library, Security IDE: CS+, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.20.1.2826]
Log in to Download ZIP 6.52 MB
Application: Industrial, Security
Compiler: CC-RL, ICCRL78 Function: Driver or Library, Security IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.09.00;LLVM for Renesas RL78|10.0.0.202203;IAR Compiler for RL78|v.4.20.1.2260]
Log in to Download ZIP 7.10 MB
Application: Industrial
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Security IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.09.00;LLVM for Renesas RL78|10.0.0.202203;IAR Compiler for RL78|v.4.20.1.2260]
Log in to Download ZIP 7.14 MB
Application: Industrial
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Security, Driver or Library IDE: CS+ for CC, e2 studio, IAR EWRL78
7 items

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
Image
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.

Support Communities

  1. 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
  2. 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
  3. 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
View All Results from Support Communities (86)

Knowledge Base

  1. 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
  2. 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
  3. RA Family: Parsing OpenSSL ECDSA Signatures to Raw Format for ECDSA Verification with the SCE API

    Last Updated: 11/06/2025 OverviewCryptographic libraries such as OpenSSL typically handle ECDSA signatures as byte sequences encoded in ASN.1 DER (Distinguished Encoding Rules) format. This standardized format ensures consistency when exchanging signature data across different systems and platforms. Although the length of a signature varies ...

    Nov 6, 2025
View All Results from Knowledge Base (5)
Support Communities

Support Communities

Get quick technical support online from Renesas Engineering Community technical staff.
Browse Articles

Knowledge Base

Browse our knowledge base for helpful articles, FAQs, and other useful resources.
Submit a Ticket

Submit a Ticket

Need to ask a technical question or share confidential information?