Skip to main content
Renesas Electronics Corporation

Overview

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

Documentation

Design & Development

Sample Code

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

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

Support Communities

  1. Why does the cryptographic library include the caveat "not for automotive applications?"

    Hello all, The title is essentially the question. The RL78 cryptographic library has a caveat that it cannot be used for automotive applications. I would like to understand if this is a technical restriction due to the characteristics of the MCU, or if this is a regulatory restriction? Thank you ...

    Nov 6, 2019
  2. SHA-256 library (RL78/G11)

    Hi. I work with the RL78/G11 and I need to calculate HASH in my application. I found that Renesas has personal implementation of the SHA-256 (https://www.renesas.com/eu/en/software-tool/crypto-library). But, I read that this library ...

    Nov 16, 2023
  3. Crypto framework and multiple threads

    When I add crypto framework using Synergy configurator, it creates an instance per thread. For example g_sf_crypto_hash0 or g_sf_crypto_cipher0. However, our code which we're porting to Synergy platform uses single global crypto library for all threads. I'm looking for a way how ...

    Jun 26, 2019
View All Results from Support Communities (46)

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?