Which functions of embedded bootloaders depend on RSA and elliptic-curve keys

Image signature verification and encrypted-image key wrapping in MCUboot and U-Boot FIT verified boot depend on RSA or elliptic-curve keys today, and no listed release of those projects shows post-quantum signature support.

On this page

Which embedded bootloader functions depend on RSA and elliptic-curve keys today

Security leads assessing embedded bootloaders should know that image authentication in MCUboot depends on classical public keys. MCUboot image signatures use the TLV types RSA-2048 PSS, RSA-3072 PSS, ECDSA and Ed25519, and U-Boot verified boot checks FIT signatures made with RSA or ECDSA, selected through CONFIG_RSA and CONFIG_ECDSA. Encrypted MCUboot images add a second dependency in the update path, because the image encryption key is wrapped with RSA-OAEP, ECIES-P256 or ECIES-X25519. The sources listed on this page name no post-quantum signature type for either project. The MCUboot imgtool keygen options are rsa-2048, rsa-3072, ecdsa-p256 and ed25519, and the imgtool document does not mention LMS or any post-quantum algorithm.

The stronger settings the sources document today are limited. For MCUboot, larger RSA keys (rsa-3072) and a stronger digest are available, since imgtool sign --sha accepts 256, 384 or 512. For U-Boot, the documented example algorithms are sha256,rsa2048 and sha512,ecdsa256 with the curve prime256v1, and the sources do not list a larger elliptic curve. Confirm with each project which curves beyond these, if any, its build accepts. Anyone who signs firmware, or who delivers encrypted updates to devices in the field, should treat this as their concern. Devices that have shipped with these key types cannot change their verification key without an update path that trusts the new key, so the question of which key type to sign with is decided at product design time.

The IETF draft draft-ietf-pquip-pqc-hsm-constrained-06 states that constrained devices will have to adopt PQC digital signature schemes for code signing. It presents HSS/LMS and XMSS as firmware-signing candidates, with the caveat that tracking used one-time keys could be easier for versioned updates. Separately, wolfBoot documents ML-DSA-44, ML-DSA-65 and ML-DSA-87 for verification, plus LMS/HSS and XMSS, and version 2.3.0 added hybrid authentication that pairs a post-quantum signature with ECC or RSA. Those are wolfBoot facts, not MCUboot or U-Boot facts. Confirm with your bootloader vendor or project whether a post-quantum or hybrid option exists in the release and build you ship, and whether it can be enabled on devices already in the field.

Which bootloader functions use public-key algorithms, by project and component

This table lists the bootloader functions that rely on RSA or elliptic-curve keys, with the algorithm or setting each one names and what its source says about post-quantum support. Rows for MCUboot, U-Boot and wolfBoot are marked as either classical defaults or a post-quantum option, so you can tell which projects offer a post-quantum path today. Check each source's date and version before you record an answer.

Component and version or dateAlgorithm or setting namedWhat the source says about post-quantum supportSource and date
MCUboot image signatures (classical default)RSA-2048 PSS, RSA-3072 PSS, ECDSA, Ed25519Image authentication uses these classical TLV types. No post-quantum signature type is listed in the design document.MCUboot design, undated page; confirm the version you ship
MCUboot imgtool keygen (classical default)rsa-2048, rsa-3072, ecdsa-p256, ed25519The imgtool document does not mention LMS or any post-quantum algorithm.MCUboot imgtool document, undated; confirm the version you ship
MCUboot encrypted image key wrapping (classical default)RSA-OAEP, ECIES-P256, ECIES-X25519These public-key operations wrap the image encryption key in the update path. The encrypted-images page gives no post-quantum statement.MCUboot encrypted images page, undated
MCUboot Zephyr port (classical default)BOOT_SIGNATURE_TYPE setting, shared across keys in a multi-key buildThe port documents no post-quantum signature type. Confirm with the MCUboot project whether the setting accepts any value beyond the classical types.MCUboot Zephyr port page, undated
MCUboot digest options (stronger classical setting)imgtool sign --sha with 256, 384 or 512This is a stronger digest setting within classical algorithms. It does not add post-quantum signatures or key establishment.MCUboot imgtool document, undated
U-Boot FIT verified boot (classical default)CONFIG_RSA and CONFIG_ECDSA; example names sha256,rsa2048 and sha512,ecdsa256 with prime256v1The FIT signature documentation does not mention post-quantum algorithms. Confirm the U-Boot release you build against.U-Boot FIT signature documentation, undated
wolfBoot ML-DSA and hybrid support (post-quantum option, separate project)ML-DSA-44, ML-DSA-65, ML-DSA-87, LMS/HSS, XMSS/XMSS^MT; hybrid with ECC or RSASupports FIPS 204 ML-DSA verification and hybrid mode pairing a post-quantum scheme with ECC or RSA. Added in version 2.3.0.wolfBoot PQ document, undated; wolfBoot v2.3.0 release, 4 November 2024

Where RSA and elliptic-curve keys sit in the boot and update path

In MCUboot and U-Boot, the boot and update path depends on RSA and elliptic-curve keys at several points: image signature checks, key wrapping for encrypted images, and the digest and signature settings that tie them together. The cards below separate each dependency, and mark where the sources stop short of a statement.

Image signature verification at boot

MCUboot authenticates each image at boot with a classical signature, using the TLV types RSA-2048 PSS, RSA-3072 PSS, ECDSA or Ed25519. This means every boot-time trust decision depends on RSA or elliptic-curve keys. The sources do not say whether any post-quantum signature type is planned for MCUboot's boot path, so confirm the current signature types for your release before you record exposure.

MCUboot design

Signing keys in the build and release pipeline

The private keys used to sign images are generated with imgtool keygen, which offers rsa-2048, rsa-3072, ecdsa-p256 and ed25519. The imgtool document does not mention LMS or any post-quantum algorithm. Public-key exposure therefore sits with the private signing keys in your build and release systems, and a key compromise affects every device that trusts the corresponding public key. Check where those keys are stored, who can use them, and how they would be rotated.

imgtool document

Key wrapping for encrypted images

Encrypted MCUboot images wrap the symmetric image encryption key with RSA-OAEP, ECIES-P256 or ECIES-X25519. Each of these is a public-key operation in the update path, so confidentiality of the image depends on those keys as well as on signing. The encrypted-images page does not say how stored or intercepted update images would fare if these keys were later broken, so ask the vendor directly before assuming any protection window.

MCUboot encrypted images

FIT signature keys in U-Boot

U-Boot verified boot checks FIT image signatures with RSA or ECDSA, selected through CONFIG_RSA and CONFIG_ECDSA. The documented example algorithms are sha256,rsa2048 and sha512,ecdsa256 with the curve prime256v1. U-Boot's FIT signature documentation does not mention post-quantum algorithms, so the keys in a U-Boot build should be treated as classical until the project or your vendor says otherwise.

U-Boot FIT signature

Digest algorithm paired with the signature

The signature depends on a digest, and MCUboot's imgtool sign accepts --sha values of 256, 384 or 512. Choosing a stronger digest strengthens the hash step, but the public-key signature beside it stays classical. The sources do not say whether a stronger digest changes the exposure of the signing key itself, so treat the digest setting as a separate item in your inventory rather than as a fix for the signature.

BOOT_SIGNATURE_TYPE across a multi-key Zephyr build

The MCUboot Zephyr port documents a BOOT_SIGNATURE_TYPE setting that applies to all keys in a multi-key build, and it names no post-quantum signature type. In a build that signs with several keys, one setting governs every key's algorithm, so a change there affects the whole set. The sources do not say what changing this setting would require in practice, so confirm the supported values with the Zephyr port documentation for your version.

MCUboot Zephyr port

How the answer changes by bootloader project and signing setup

MCUboot authenticates images with the signature types it supports, which are RSA-2048 PSS, RSA-3072 PSS, ECDSA and Ed25519. Image authentication therefore depends on RSA or elliptic-curve keys. The imgtool keygen command offers rsa-2048, rsa-3072, ecdsa-p256 and ed25519, and the imgtool document does not mention LMS or any other post-quantum algorithm. The sources do not document a post-quantum signature type for MCUboot.

  • Signature types in use: RSA-2048 PSS, RSA-3072 PSS, ECDSA and Ed25519 are the classical TLV types that carry image signatures.
  • Key generation: imgtool keygen accepts rsa-2048, rsa-3072, ecdsa-p256 and ed25519.
  • Digest strength: imgtool sign --sha accepts 256, 384 or 512, which strengthens the digest but does not change the key type.
  • Zephyr port: The MCUboot Zephyr port refers to a BOOT_SIGNATURE_TYPE setting shared by all keys in a multi-key build and documents no post-quantum signature type.

Confirm with your MCUboot version and build configuration which signature type is selected, and check the MCUboot documentation for any post-quantum option added after the sources were gathered.

What a team should check next to confirm its bootloader key dependencies

This sequence turns a general sense that bootloaders use public-key cryptography into a dated, per-build record of which signing keys, encryption wrappers, digest settings and firmware releases are in use. The output is an inventory a security lead can check against vendor answers and carry into the next review.

  1. List every bootloader build and its signing keys

    The engineer responsible for the firmware build lists each bootloader build in the fleet, including each board variant and each Zephyr or bare-metal target. For each build, record the signing key type used by imgtool keygen, which the MCUboot imgtool document lists as rsa-2048, rsa-3072, ecdsa-p256 or ed25519, and for U-Boot builds record the FIT algorithm names in the image configuration, such as sha256,rsa2048 or sha512,ecdsa256 with the curve prime256v1. Note any build that signs with more than one key, since the MCUboot Zephyr port ties all keys in a multi-key build to a shared BOOT_SIGNATURE_TYPE setting. The step closes when every build has one row listing its key type and where that key is stored.

  2. Confirm whether encrypted images are enabled

    The build owner checks each MCUboot configuration for image encryption and records whether encrypted images are enabled on that build. Where they are, identify the key that wraps the image encryption key, which the MCUboot encrypted images page describes as RSA-OAEP, ECIES-P256 or ECIES-X25519. Each of these is a public-key operation in the update path, so the wrapping choice belongs in the dependency record alongside the signing key. The step closes when each build shows either no encryption or a named wrapping algorithm.

  3. Record the digest setting from imgtool sign

    For every MCUboot build, the engineer reviews the signing commands or scripts and records the value passed to imgtool sign --sha, which MCUboot accepts as 256, 384 or 512. Note any build that uses the default rather than an explicit value, and state that default as the imgtool version in use reports it. The digest is recorded separately from the signature algorithm, because a stronger digest does not change the public-key dependency of the signature itself. The step closes when every build has a digest value written next to its signing key row.

  4. Check CONFIG_RSA and CONFIG_ECDSA in U-Boot builds

    For each U-Boot build used for verified boot, the engineer opens the configuration and records the state of CONFIG_RSA and CONFIG_ECDSA, which the U-Boot FIT signature documentation names as the options that select RSA or ECDSA FIT signatures. Record whether each option is enabled, and cross-check it against the algorithm names found in the FIT image configuration from the first step, so the configuration and the signed images agree. The documentation does not mention post-quantum algorithms, so note that absence in the record rather than reading it as support. The step closes when each U-Boot build shows its two settings and a match or mismatch against its signed images.

  5. Confirm the bootloader release in the field

    The product owner asks the bootloader vendor or open-source project which release of each bootloader is deployed on devices in the field, and which of the recorded builds maps to each release. Compare the answer with the build records from earlier steps, since a device may run a release older than the one in the current source tree. Ask the vendor to state the release identifier, the date it shipped and whether any field device runs a fork or a patched copy. The sources listed on this page do not say which vendors publish this mapping, so confirm it directly. The step closes when every field population is assigned a release identifier confirmed in writing by the vendor or project.

  6. Assemble the dependency record and date it

    The security lead gathers the outputs of the earlier steps into one record with one row per build and per deployed release, listing the signing key type, the encryption wrapping algorithm if any, the digest setting, the U-Boot configuration state and the field release. Date the record and name the person who confirmed each row, since bootloader configurations and vendor answers change over time. Mark any row where the vendor did not confirm the release as open. The step closes when the record is complete, dated and signed off by the team that owns the firmware.

What the sources do not establish about bootloader post-quantum support

The sources listed here show that MCUboot, U-Boot and wolfBoot all use or document public-key signatures in their update and boot paths, but they do not settle what each project plans for post-quantum algorithms. The cards below name the specific questions that remain open, so security leads know what to ask each project or vendor before recording an answer.

MCUboot post-quantum signature plans

The MCUboot design page and imgtool document list RSA-2048 PSS, RSA-3072 PSS, ECDSA and Ed25519 as the signature types in use, and imgtool keygen does not mention LMS or any post-quantum algorithm. The sources do not say whether the project plans to add a post-quantum signature type or on what timeline. Ask the MCUboot project directly whether a post-quantum signature type is on its roadmap, and check the release notes of the MCUboot version you ship before recording any answer.

MCUboot design

Encrypted-image wrapping options

MCUboot encrypted images wrap the image encryption key with RSA-OAEP, ECIES-P256 or ECIES-X25519, and the encrypted-images page does not describe any post-quantum option for that wrapping. Only the classical key-wrapping choices are documented in the sources. Ask the project whether a post-quantum key-establishment option for encrypted-image wrapping exists or is planned, and record that the documented options are all public-key schemes that depend on RSA or elliptic curves.

MCUboot encrypted images

Future decryption exposure of update images

The MCUboot encrypted-images page describes how the symmetric image key is protected but says nothing about stored or intercepted update images and future decryption. The sources therefore do not establish whether an encrypted update captured today could be decrypted later with a quantum computer. Ask the vendor or project for its written position on this exposure, and check how long your own deployment keeps encrypted images in update servers, backups and device flash.

Whether imgtool and Zephyr will add LMS or ML-DSA

The imgtool document and the MCUboot Zephyr port document list no post-quantum signature type, and the Zephyr port refers only to a BOOT_SIGNATURE_TYPE setting shared across keys in a multi-key build. The sources do not say whether imgtool keygen or the Zephyr integration will gain LMS, ML-DSA or another algorithm. Ask the MCUboot project and the Zephyr maintainers for their plans, and confirm whether a hybrid multi-key build is something they intend to support.

MCUboot Zephyr port

U-Boot post-quantum plans

U-Boot verified boot uses RSA or ECDSA FIT signatures selected with CONFIG_RSA and CONFIG_ECDSA, and the FIT signature documentation does not mention post-quantum algorithms. The sources do not say whether U-Boot plans to add LMS, XMSS, ML-DSA or any other post-quantum signature option to verified boot. Ask the U-Boot project or your board support vendor whether such an option is planned, and record the current CONFIG settings your build uses.

U-Boot FIT signature

What can go wrong when a bootloader signing key is migrated or reused

The most serious failure in a stateful hash-based migration is reuse of a signing key state. RFC 8554 states that if a secret key state is used twice, no cryptographic security guarantees remain, and it advises using these schemes only in systems that prevent such reuse. LMS and XMSS are the stateful hash-based schemes that the IETF draft draft-ietf-pquip-pqc-hsm-constrained-06 presents as firmware-signing candidates, and NIST SP 800-208 specifies them. Before a team moves a bootloader signing key to LMS or XMSS, it must confirm that the signing tool records every consumed one-time key, that the state survives build machine failures and restores, and that no two build environments can sign with the same state. Restoring an old key state from a backup is a reuse risk, and a team should test that restore path explicitly rather than assume it is safe.

The draft also observes that tracking used one-time keys may be easier for versioned firmware updates than for general-purpose signing, because each released image has a known sequence position. That observation is a reason to consider LMS or XMSS for update signing specifically, but it does not remove the need for state tracking. Teams should ask their bootloader vendor or project which signing tools keep and protect that state, and whether the released signing process can be run in a way that prevents parallel use. The sources listed on this page do not say how MCUboot or U-Boot tooling manages LMS or XMSS state, so the reader should confirm that with the project before relying on it.

A second risk is silent fallback. A build can keep the classical signature type, such as RSA-2048 PSS, ECDSA or Ed25519, while the team assumes a post-quantum or hybrid type is in force. MCUboot's imgtool keygen offers rsa-2048, rsa-3072, ecdsa-p256 and ed25519, and its documentation does not mention LMS or any post-quantum algorithm. The Zephyr port refers only to a BOOT_SIGNATURE_TYPE setting shared by all keys in a multi-key build. A team should therefore check the signature type recorded in each built image and in the bootloader configuration, not the intent written in a plan. wolfBoot documents hybrid authentication with ML-DSA and ECC or RSA, so a mixed configuration is possible in some builds, and each build must be verified against its own settings.

Questions security leads ask about bootloader RSA and ECC dependencies

Is MCUboot quantum safe?

The sources listed on this page show that MCUboot does not currently support a post-quantum signature type, so it should not be treated as quantum safe. Its image signature options today are RSA-2048 PSS, RSA-3072 PSS, ECDSA and Ed25519, and imgtool keygen offers rsa-2048, rsa-3072, ecdsa-p256 and ed25519. The imgtool document does not mention LMS or any post-quantum algorithm, and the Zephyr port documents no post-quantum signature type. Image authentication therefore depends on RSA or elliptic-curve keys. Confirm the current signature options against the MCUboot release you ship, since the sources listed here describe the project as of their own dates.

Which MCUboot or U-Boot version do we need for post-quantum signatures?

The sources listed on this page do not name a post-quantum release for either MCUboot or U-Boot. Neither project's documentation describes post-quantum signature support in the sources reviewed, so there is no version to upgrade to on this page. Ask the vendor or project maintainers directly whether a post-quantum signature type is planned, and request the release and date they would commit to. wolfBoot is a separate project that documents ML-DSA and hybrid authentication from version 2.3.0 of 4 November 2024, which may be relevant if your product can change bootloaders.

Does the stronger SHA-384 or SHA-512 digest setting make MCUboot post-quantum?

No. MCUboot's stronger digest option, set with imgtool sign --sha to 256, 384 or 512, changes the hash used over the image, not the public-key algorithm that signs it. The signature still uses RSA or ECDSA or Ed25519, so the dependency on classical public-key cryptography remains. A larger digest may be a reasonable choice for other reasons, but it does not address the question of whether image authentication is post-quantum. Review the signature type in the image header to confirm what protects your images.

Do encrypted MCUboot images add post-quantum exposure?

Encrypted images add a second public-key dependency in the update path. MCUboot wraps the image encryption key with RSA-OAEP, ECIES-P256 or ECIES-X25519, so those key operations rely on classical public-key cryptography. The MCUboot encrypted-images page does not say anything about stored or intercepted update images and their future decryption, so the sources listed here do not establish that exposure either way. Ask your engineering team which wrapping algorithm your build uses, and ask the vendor how long encrypted update images are kept on servers and devices.

What should we ask the bootloader vendor about post-quantum plans?

Ask the vendor or project for specific, dated answers on the following points:

  • Whether any post-quantum signature type, such as ML-DSA, LMS or XMSS, is supported in the bootloader release you ship, and from which version.
  • Whether the bootloader can verify a hybrid signature that combines a classical and a post-quantum algorithm.
  • Whether the encrypted-image key wrapping can move to a post-quantum key encapsulation mechanism, and when.
  • Whether firmware already in the field can be updated to new signature types without replacing the boot hardware.
  • What the published roadmap says about post-quantum signature support, and where that roadmap is documented.

Record each answer with its version, date and source.

Can our team check its own bootloader builds, or do we need outside help?

Your team can inventory its own builds without outside help. Check the signature type, digest setting and any encryption configuration in each image's build settings, and record the MCUboot or U-Boot version and the key types used. Use the imgtool keygen and sign options and the BOOT_SIGNATURE_TYPE setting in multi-key builds as reference points. Outside help may be useful for the signing-key inventory, for reviewing the field-update path across a device fleet, or for an independent review that your compliance assessment requires. DeployOpen can plan and support that work, including security testing of the update path, under a fixed-scope written agreement.

Where public-key operations run during a bootloader image update

The update path starts in the release pipeline, where the image is signed with an RSA-2048 PSS, RSA-3072 PSS, ECDSA or Ed25519 key using imgtool. If the image is encrypted, its image key is wrapped with RSA-OAEP, ECIES-P256 or ECIES-X25519 before it is delivered. On the device, the bootloader verifies the signature before it boots the image, and the result branches to boot or reject. Check which signature type and key size each build uses, and whether encryption is enabled, because these choices set which public-key steps apply to your devices.

Public-key steps in a bootloader image update, with each step's algorithm.

How DeployOpen works on this

DeployOpen helps teams map which bootloader functions rely on RSA and elliptic-curve keys, from image signature checks to encrypted image key wrapping. We scope the work in writing, build and test changes in a controlled environment, and hand over documented findings your security and compliance teams can review.

How we scope

  • We agree a written scope listing which bootloader images, signing tools and key stores are included in the review.
  • We confirm which signature types are in use today, such as RSA-2048 PSS, RSA-3072 PSS, ECDSA or Ed25519, for each device family.
  • We identify whether encrypted images are used, since those wrap image keys with RSA-OAEP or ECIES operations.

How we build

  • We review signing configuration and keygen options in your MCUboot or U-Boot build to record every public-key dependency.
  • We test any candidate signature or digest change, such as a larger imgtool sign --sha value, on a bench or lab setup first.
  • We document which post-quantum options your bootloader version supports, if any, and flag where the sources do not say.

How we hand over

  • You receive a written inventory of bootloader functions that depend on RSA or elliptic-curve keys, with versions noted.
  • The report separates confirmed facts from items your vendor or project must confirm, so no support status is assumed.
  • We walk your engineering and security leads through the findings and the open questions to raise with each vendor.

How we support

  • Ongoing support and upgrade testing are available as a retainer after the initial assessment is complete.
  • We can retest after signing key or bootloader configuration changes, so your evidence stays current.
  • Pricing follows from the written scope, and we do not publish a price list for this work.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.