Skip to main content
  • 产品
  • Software evaluation
  • 下载
  • Free utilities
  • 购买
  • 芯片厂商
  • 支持
  • 关于我们
  • Search
  • 工作机会
  • 新闻简报
  • 联系我们
  • emSecure

    emSecure

    The digital signature suite for embedded systems

    • Protect firmware and data against unauthorized modifications
    • Verify authenticity and integrity with digital signatures
    • Integrate security into virtually any embedded system
    Contact us Downloads Documentation
    1. 1.Key features
      1. 1.1.Digital signing and verification
      2. 1.2.RSA & ECDSA
      3. 1.3.Hardware independence
      4. 1.4.Compact and efficient
    2. 2.Use cases
      1. 2.1.Anti-tampering
      2. 2.2.Anti-cloning
    3. 3.How emSecure works
    4. 4.Secure key handling
    5. 5.Sign & Verify tools
    6. 6.Editions
    7. 7.Example project
    8. 8.Licensing
    9. 9.FAQ

    Key features

    Logo featuring a shield with a document displaying lines and a signature, all set against a circular teal background.

    Digital signing and verification

    emSecure enables developers to create digital signatures and verify the authenticity and integrity of firmware and other data. This helps detect unauthorized modifications and supports secure firmware update processes.

    A circular teal icon featuring a white shield shape with two key symbols inside, representing security or protection related to access or safety.

    RSA & ECDSA

    emSecure supports RSA and ECDSA digital signatures. Both algorithms use asymmetric cryptography, allowing signatures created with a private key to be verified using the corresponding public key.

    White icons of geometric shapes, including an upward arrow, a circle, and a square, are arranged above a simplified human figure pointing to the right. The graphic is set against a teal circular background, conveying concepts of direction and organization.

    Hardware independence

    emSecure runs on virtually any embedded system without requiring dedicated cryptographic hardware. Its straightforward API simplifies the integration of digital signing and signature verification into existing applications.

    A teal circular icon featuring a white stylized cube with an inner square and small square detail, suggesting a tech or digital theme.

    Compact and efficient

    Designed for resource-constrained embedded systems, emSecure combines a small memory footprint with efficient signature verification. This makes it suitable for applications where memory and processing power are limited.


    Use cases

    Firmware signing in production
    Firmware verification by the bootloader

    Anti-tampering

    Firmware signing in production & verification by the bootloader

    To ensure that only authorized firmware runs on a product, emSecure is used to digitally sign firmware images. A key pair is generated once, with the private key used in the firmware production process and the public key integrated into the product's bootloader.

    Before release, each firmware image is signed using the private key. The resulting signature is transferred to the product and stored alongside the firmware.

    During firmware updates and at startup, the bootloader verifies the firmware signature using the public key. If verification succeeds, the firmware is started. If verification fails, the bootloader can prevent execution or even erase the firmware.


    Hardware signing in production
    Hardware verification by the firmware

    Anti-cloning

    Hardware signing in production & verification by the firmware

    To protect products against unauthorized reproduction, emSecure is used to digitally sign hardware-specific data for each genuine product unit. A key pair is generated once, with the private key used in the production process and the public key integrated into the product's firmware.

    After assembly and testing, unique, fixed hardware-specific data, such as the microcontroller's unique ID, is read from the unit and signed using the private key. The resulting signature is stored on the unit in an OTP area or a designated memory location.

    During operation, the firmware reads the hardware-specific data and verifies it against the stored signature using the public key. If the signature has been copied to a counterfeit unit with a different hardware ID, verification fails and the firmware refuses to run.


    How emSecure works

    emSecure uses asymmetric cryptography to enable verification of the authenticity and integrity of firmware and other data. A private key is used to create digital signatures, while the corresponding public key is used to verify them.

    The process consists of three main steps:

    1. Key generation and integration

    Generate a private/public key pair using the emKeyGen utility or emSecure's C API. Use emPrintKey to convert the public key into C source code for integration into the application. Keep the private key confidential.

    2. Signing and distribution

    Use the emSign utility or emSecure's C API to digitally sign firmware or other data with the private key. Distribute the data and its signature to the target system.

    3. Verification

    The target system uses emSecure's verification API and the public key to verify the digital signature. If verification fails, the target system can reject the firmware or data.

    Secure key handling

    The security of digital signatures depends on keeping the private signing key confidential. Only the public key is required for signature verification on the target system, allowing the private key to remain securely stored outside the embedded application.

    Sign & Verify tools

    emSecure includes ready-to-use utilities for key generation, key export, digital signing, and signature verification. These tools simplify integration into existing development and production workflows without requiring custom applications.

    The same cryptographic functionality can also be integrated directly into applications using emSecure's C API.


    Editions

    emSecure is available in two editions based on different digital signature algorithms: RSA and ECDSA. Each offers distinct advantages in terms of performance, memory requirements, key size, and signature size, allowing developers to select the algorithm that best suits their application.

    emSecure-RSAemSecure-ECDSA
    • High-speed signature verification
    • Small ROM footprint
    • Optimized for verification-intensive applications
    • Smaller keys for equivalent security
    • Compact digital signatures
    • Efficient signature generation

    Learn more

    Learn more

    Both editions include a complete set of utilities for key generation, digital signing, signature verification, and conversion of keys and signatures into compilable formats.

    They also include the source code required to integrate signature generation into production processes and signature verification into applications or firmware.


    Example project

    emSecure includes a sample application that demonstrates digital signature verification. The example is provided as a SEGGER Embedded Studio project and can be run in the Embedded Studio Simulator or on real hardware.

    The project includes a Message.txt file that can be signed using emSign and the provided sample keys. The message and its signature are converted into compilable buffers and integrated into the application, which then verifies the signature.

    Developers can modify the message, generate new signatures, and convert the data using the included utilities to explore the signing and verification process.

    void main(void) {
      int Status;
    
      [...]
      printf("Verifying message...");
      Status = SECURE_Verify(&PublicKey, 0, 0, message_file,   sizeof(message_file), _S, sizeof(_S));
      if (Status > 0) {
        printf(" OK\nTry modifying the message to see what happens.\n");
      } else {
        printf("FAILED! The signature does not match the message.\n");
      }
      [...]
    }
    

    Media gallery

    Nov. 20163:42

    emSecure Security Consideration — Intro

    YouTube

    Nov. 202059:15

    Secure Product Life Cycle Management

    YouTube

    Aug. 20162:23

    emSecure Sign & Verify — Intro

    YouTube

    Aug. 20163:04

    emSecure Sign & Verify — Use case

    YouTube

    A dark background filled with cascading vertical lines of binary code (0s and 1s) creates a digital, futuristic atmosphere. The pattern gives a sense of depth, resembling a virtual tunnel or data stream, enhancing themes of technology and information.

    Licensing

    The software is available under various embedded software license models and can be delivered as source code. All commercial licenses are based on a one-time payment, are royalty-free, and include six months of updates and support from SEGGER’s Embedded Experts.

    There are no subscription fees, ensuring predictable and fixed costs over the entire product lifetime.

    For non-commercial use, evaluation, and educational purposes, the software is provided under SEGGER’s Friendly License.

    More information

    FAQ

    I want to prevent firmware from being copied to and executed on cloned hardware. How can emSecure help?

    Nearly every modern MCU has a unique identifier (UID) that differs from one device to another. By including this UID in the signed data, the signature is valid only for that specific device. If the firmware and signature are copied to cloned hardware with a different UID, signature verification fails. The firmware can perform this verification at startup and refuse to continue execution if verification fails.

    I have digitally signed data for my product. Where should signature verification take place?

    Signature verification can be performed either within the product or externally. With internal verification, the firmware verifies the digital signature at boot time and refuses to run if verification fails.

    With external verification, an application running on a PC, for instance, communicates with the product, reads the data and its signature, and verifies the signature.

    I want my product to run only genuine firmware images. How can emSecure ensure this?

    To ensure the authenticity and integrity of a firmware image, the entire image can be digitally signed. Rather than relying solely on a CRC to check data integrity, a digital signature is transmitted alongside the firmware during an update.

    The application or bootloader verifies the firmware signature using the public key and programs the firmware onto the device only if verification succeeds.

    The signature can only be generated using the corresponding private key and is typically created during firmware preparation.

    I want to offer additional licenses for my product that are tied to a specific user or computer. Can emSecure generate such license keys?

    Yes. emSecure can generate unique license keys based on arbitrary data, such as a computer ID, a username, an email address, or other identifiers.

    My product sends data to a computer application. Can I ensure that the application receives data only from my product using emSecure?

    Yes. In this case, the product signs the data and the computer application verifies it. To prevent the private key from being extracted from the product, it can be stored in encrypted form on the device or within the application and decrypted only when needed for signing.

    Does emSecure support DSA?

    No. However, SEGGER provides signing and verification code for DSA. Please contact us if DSA signature verification is required.

    Related content

    emSecure-ECDSA

    emSecure-ECDSA – Authenticate data and code with the modern elliptic curve digital signature algorithms. Protect embedded devices from tampering and cloning.

    Sign&Verify

    emSecure Sign & Verify is a Windows application for the protection of personal files. Signing & verifying digital documents by simply using Drag and Drop.

    emSecure-RSA

    emSecure-RSA – Authenticate data and code based on RSA asymmetrical encryption. Protect embedded devices from tampering and cloning.

    About Cryptography

    The foundation of all SEGGER security products - emSSL, emSSH, emSecure-RSA, and emSecure-ECDSA - is a cryptographic algorithm library toolkit.

    Security Consideration

    Learn how to use emSecure to prevent tampering or exchange of data and to prevent running firmware on cloned hardware devices.

    Get in touch with us

    Have questions or need assistance? Our Embedded Experts are here to help!

    Reach out to us for:

    • Licensing quotes
    • Technical inquiries
    • Project support

     

    Contact us

    • Online documentation
    • List of downloads
    • Update notification
    • Pricing
    • Support
    • Silicon vendor resources

    全球总部

    德国: SEGGER Microcontroller GmbH

    地址: Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    电邮: info@segger.com
    电话: +49-2173-99312-0
    传真: +49-2173-99312-28

    网点分布

    中国:哲戈微系统科技(上海)有限公司

    地址: 中国上海市闵行区秀涟路133号
    大虹桥国际A 栋218室
    邮编201199
    电邮: china@segger.com
    电话: +86-133-619-907-60


    简易信息聚合
    ISO 9001
    ISO 27001
    First-class embedded software tools since 1992
    Designed and made in Germany
    • 版本说明
    • 免责声明
    • 行为准则
    • 隐私策略
    • 沪ICP备2022005181号
    • 沪公网安备 31011202014525号
    © 2026 SEGGER - 版权所有.

    您即将离开 segger.cn 而访问境外网站,是否继续?