Crypto agility in embedded and long-lived devices

Crypto agility is the capability to replace and adapt cryptographic algorithms while preserving security and operations, as NIST CSWP 39upd1 defines it. For embedded and long-lived devices, that depends on a firmware update architecture that can carry new algorithms, as RFC 9019 describes.

On this page

What crypto agility means for devices that stay in the field for years

A device deployed for ten or fifteen years often cannot be replaced to change its cryptography, so the update path is the only way its algorithms can change. NIST's Considerations for Achieving Crypto Agility: Strategies and Practices (CSWP 39upd1, Final) describes crypto agility as "the capabilities needed to replace and adapt cryptographic algorithms" across protocols, software, hardware and firmware "while preserving security and ongoing operations." For constrained devices, RFC 9019, "A Firmware Update Architecture for Internet of Things," is the reference architecture: its manifest is a transport-agnostic way to describe and protect firmware updates, and it requires that a manifest specification support multiple cryptographic algorithms and extensibility. This page is written for firmware, product and platform engineers who build or maintain these devices, and for the people who approve their roadmaps and budgets.

For these teams the practical question is whether the device can accept a new algorithm after it ships. Start by checking that the manifest format, signature verification and bootloader can each be updated, since RFC 9019 notes that the bootloader fetches and parses the manifest from nonvolatile storage and that a failed bootloader update is a reliability risk. Check how trust anchors are installed: RFC 9019 says trust anchors are installed on devices out of band, so a new anchor may need a provisioning step that field updates alone cannot perform. Confirm that a device rejects old but valid manifests and firmware, so that an update path cannot be used to roll back to a weaker algorithm. Finally, ask each vendor and component supplier which cryptographic profiles their device code and libraries support, and confirm with them how the device will be updated before you commit to a roadmap, because the sources listed on this page do not say which algorithms a given vendor's devices support.

Which practices and elements the sources describe for device crypto agility

This table lists each element the sources describe for updating cryptography on embedded and long-lived devices, with the document that describes it and the context where that source is limited. Use it to see which requirements come from the IETF SUIT work and which come from NIST, then check the limits before relying on any single row for a product decision.

ElementWhat the source describesSource and limit
Signed manifests and signature verificationA device verifies the signature covering the update manifest before accepting an update, and rejects an old but valid manifest and firmware pair.RFC 9019 (April 2021). The architecture was optimized for Class 1 constrained devices but is not limited to them.
Algorithm extensibilityThe manifest specification must support different cryptographic algorithms, so the algorithm set can change without changing the manifest format.RFC 9019 (April 2021). The source states the requirement but does not define which algorithms a given device must support.
Trust anchor distribution by out-of-band provisioningA Trust Provisioning Authority distributes trust anchors and authorization policies, and trust anchors are installed on devices out of band.RFC 9019 (April 2021). The source does not describe the provisioning channel or procedure for any particular product.
Rollback protectionA device must not be tricked into installing an old but valid manifest and firmware, which is the rollback case the manifest signature check addresses.RFC 9019 (April 2021). The source describes the requirement only, so confirm how a given bootloader enforces it.
Bootloader update reliabilityThe bootloader fetches and parses the manifest from nonvolatile storage, and a failed update of the bootloader itself is a reliability risk.RFC 9019 (April 2021). The source flags the risk but does not describe recovery steps.
MTI algorithm profilesAlgorithms are grouped into named profiles for different device capabilities. Six profiles are MANDATORY, and the HSS/LMS profile is RECOMMENDED for recipients.draft-ietf-suit-mti-23 (22 July 2025, Internet-Draft, not yet an RFC). Confirm the final status before citing the profile list as settled.
Stateful hash-based signature schemesNIST SP 800-208 specifies the stateful hash-based schemes LMS and XMSS and their multi-tree variants HSS and XMSS^MT.NIST SP 800-208 (October 2020). The publication specifies the schemes but does not say which device profile should use them. The SUIT draft does not define a post-quantum algorithm.

How the device update pieces fit together in the field

A field update on a constrained device depends on several parts working together: a manifest that describes the update, a bootloader that reads it, trust anchors placed on the device before deployment, and algorithm profiles the device can verify. RFC 9019 and the IETF's draft-ietf-suit-mti-23 describe these parts, and each one must be checked before a change to cryptography can be deployed safely.

Transport-agnostic manifest

RFC 9019 describes the manifest as a transport-agnostic way to describe and protect firmware updates, so the same signed description can arrive over different delivery channels. The manifest specification must support multiple cryptographic algorithms and allow extensibility, which is what makes an algorithm change possible without redesigning the update format. When reviewing a device, confirm that the manifest format can carry a new algorithm identifier and that the device verifies the signature covering the manifest before accepting any update.

RFC 9019

Bootloader reads manifest from storage

RFC 9019 says the bootloader fetches the manifest from nonvolatile storage and parses it. Manifest parser code should stay small and simple on constrained devices, so each algorithm added for agility increases the code the bootloader must carry. A failed update of the bootloader itself poses a reliability risk, so any change to bootloader cryptography needs a recovery path that the device can still reach if the new code does not run.

Trust anchors installed out of band

RFC 9019 describes a Trust Provisioning Authority that distributes trust anchors and authorization policies, and says installing trust anchors on devices happens out of band, not through the update channel. This means a new signature algorithm cannot be trusted on a device simply by delivering it in an update. Before a field deployment, confirm which trust anchors are provisioned on each device, how they are installed, and whether the device can accept a new one through a process that the update itself cannot alter.

Algorithm profiles each device implements

draft-ietf-suit-mti-23 states that algorithm agility is essential and groups algorithms into named profiles matched to different device capabilities. It lists six profiles that authors MUST implement, and recommends that recipients implement the HSS/LMS profile. The draft also says a profile once marked OPTIONAL or NOT RECOMMENDED MUST NOT be moved to MANDATORY, and that adding profiles requires Standards Action. Check which profile each device implements against the draft's current list before assuming a device can verify a given update.

IETF draft

Post-quantum support is not yet defined

draft-ietf-suit-mti-23 does not itself define a post-quantum algorithm and mentions post-quantum only once, as an example of hardware or library support a device might need. Where a device must verify stateful hash-based signatures, NIST SP 800-208 specifies LMS and XMSS and their multi-tree variants HSS and XMSS^MT, which the draft's HSS/LMS profile relates to. Ask the device vendor which signature schemes its hardware and library can verify, and whether that support can be added after the device is deployed.

NIST SP 800-208

What the IETF SUIT drafts and RFC 7696 already provide

Two documents set the baseline for algorithm agility in constrained firmware. RFC 7696 (BCP 201, November 2015) defines the idea: algorithm agility is achieved when a protocol can easily migrate from one algorithm suite to another. It also gives guidance on choosing mandatory-to-implement algorithms, which matters for devices that cannot be updated easily. The IETF SUIT working group applies that thinking to firmware manifests. RFC 9019 (Informational, April 2021) requires that a manifest specification support different cryptographic algorithms and allow extension to new ones. The working group's draft Cryptographic Algorithms for Internet of Things (IoT) Devices, draft-ietf-suit-mti-23, groups algorithms into named profiles so that a device's capabilities can be matched to a profile. Engineers should read the profile names in that draft as the vocabulary their manifests and tooling will use.

The draft lists six profiles as MANDATORY, and authors MUST implement all of them. The profile suit-sha256-hsslms-a256kw-a256ctr is the only one that uses the hash-based HSS/LMS signature scheme, and the draft RECOMMENDS that recipients implement it. The draft also sets a status rule that matters for the life of a product: adding profiles or changing a profile's status requires Standards Action, and a profile once marked OPTIONAL or NOT RECOMMENDED MUST NOT be moved to MANDATORY. A device that ships without a profile therefore cannot expect that profile to become required later. Teams planning long field lifetimes should confirm which profiles their target devices and their verifiers implement, and should not assume a later revision will add one for them.

Be clear about what the draft does not do. It does not itself define a post-quantum algorithm. It mentions post-quantum only once, as an example of hardware or library support a device might need. The HSS/LMS scheme it recommends is specified in NIST SP 800-208 (October 2020), a stateful hash-based signature standard, and any post-quantum selection belongs in that or later standards work. The draft is also still an Internet-Draft, with intended Standards Track status and no RFC number at the time checked (22 July 2025 revision). Confirm the current status on the IETF Datatracker before citing it in a procurement or design document, and treat the profile list as provisional until an RFC is published.

What firmware, product, procurement and governance teams each need to do

Firmware engineers own how the device reads and checks an update. RFC 9019 describes the bootloader fetching the manifest from nonvolatile storage and parsing it, and it notes that a failed update of the bootloader poses a reliability risk, so the parsing and checking code is where the device either accepts or refuses a new algorithm. Because the RFC says manifest parser code size and complexity should be kept small on constrained devices, the parser has to fit the hardware it runs on.

  • Manifest parsing size: Keep the manifest parser small and simple, since RFC 9019 calls for small code size and low complexity on constrained devices.
  • Signature verification: Verify the signature covering the manifest before accepting an update, as RFC 9019 requires.
  • Replay and rollback checks: Make sure a device presented with an old but valid manifest and firmware is not tricked into installing it.
  • Algorithm profile handling: Confirm the device can process the algorithm profiles its manifests use, including any profile it is expected to support under draft-ietf-suit-mti-23.
  • Bootloader update safety: Treat a failed bootloader update as a reliability risk and design the update path with that in mind.

Check that the parser, verifier and rollback logic are tested on the actual target hardware before any field update.

How to start making a device fleet's cryptography updatable

This sequence establishes what cryptography each device in the field runs, whether its update mechanism can carry new algorithms, how trust anchors reach devices, whether the bootloader can update reliably, and whether a rollback can be verified. Each step produces a record that the next step depends on, so the fleet is only treated as updatable once the last check passes on representative hardware.

  1. Inventory devices and algorithms in the field

    The device engineering team, with input from the fleet owner, records each device model and firmware version in service, along with every cryptographic algorithm and key type that model uses for signing updates, verifying manifests, establishing sessions and storing secrets. The output is a per-model inventory that lists algorithm identifiers and where each one appears in firmware. The step is complete when every deployed model appears in the inventory and the team can point to the firmware component that uses each algorithm. Where the sources describe the reasoning for keeping such records, NIST CSWP 39upd1 frames crypto agility as the capability to replace algorithms in firmware and hardware while preserving ongoing operations, which is why the inventory has to reach that layer. Confirm the device inventory before moving on, since later steps assume it is complete.

  2. Confirm manifest and signature support per device

    Firmware and platform engineers check whether each model's update manifest parser and signature verification code can handle more than one cryptographic algorithm. RFC 9019 says a manifest specification must support different cryptographic algorithms and algorithm extensibility, and that a device must verify the signature covering the manifest before accepting an update. For each model, the output is a support matrix that marks which signature and key-exchange algorithms the parser accepts, and whether the parser code can be extended without replacing the device. Check the matrix against the profiles in draft-ietf-suit-mti-23, which lists six MANDATORY profiles that authors must implement and says recipients are RECOMMENDED to implement the HSS/LMS profile. This step is done when every model has a recorded answer, and any model that cannot accept a new algorithm is flagged for the isolation or replacement planning covered in later steps.

  3. Define trust provisioning out of band

    The security architect and the fleet owner define how new trust anchors and authorization policies reach devices. RFC 9019 describes a Trust Provisioning Authority that distributes trust anchors and authorization policies, and says installing trust anchors on devices happens out of band rather than through the update channel itself. The output is a written provisioning procedure that names who holds the signing authority, how trust anchors are installed at manufacture or in a controlled service process, and how a device learns about a new algorithm profile without accepting an unverified one. The procedure should also say how the team avoids accepting an old but valid manifest, which RFC 9019 says must not be allowed to trick a device into installing it. The step is complete when a reviewer can trace, for any device, which authority supplied its trust anchors and through which channel.

  4. Check bootloader update reliability

    Embedded engineers test whether the bootloader can update itself and the surrounding firmware without leaving a device unable to boot. RFC 9019 says the bootloader fetches the manifest from nonvolatile storage and parses it, and that a failed update of the bootloader poses a reliability risk. The team runs interrupted and power-loss update tests on representative hardware for each model and records the outcome of each run, including whether the device recovers to a known-good image. The output is a test log per model that shows success, failure and recovery behavior. This step is done when the bootloader has survived interruption on each model class, or when the team has documented which models cannot be updated safely and must be handled through a separate hardware path.

  5. Set a rollback and verification test

    The QA lead and firmware team define a test that updates a device to a new cryptographic profile, verifies the new signature, and rolls back to the prior image if the update fails. The test covers at least one device per model in the inventory and includes a case where an older valid manifest is presented, so the team can confirm the device refuses it. The output is a written test plan with pass criteria and a recorded result for each model. The rollback step needs the same scrutiny as the update step, because an update that cannot be reversed is a fleet-wide risk. Where a protocol or legacy component cannot support the target algorithm, the sources note that disabling older options can break interoperability, as RFC 8996 records for legacy TLS systems, so the test should also show which connected systems still work. The step is complete when the team has a repeatable test and a documented result for every model, and the results are reviewed before any fleet-wide change is approved.

What to ask device and module vendors about algorithm profiles and updates

Device and module vendors control whether a field-deployed product can change its cryptography later. The questions below cover what the sources say to confirm before buying, and each one asks the vendor to show how the change would actually happen on the device.

Which MANDATORY profiles are supported

The IETF draft for IoT cryptographic algorithms groups algorithms into named profiles and lists six profiles that implementers MUST support. Ask the vendor which of these six profiles the device implements, and whether each one is verified in the shipped firmware rather than only in a library. Also ask whether the HSS/LMS profile, which the draft RECOMMENDS for recipients, is included, since it is the profile tied to hash-based signatures. Get the answer in writing with the firmware version it applies to.

IETF SUIT MTI draft

How algorithms can be added to the manifest

RFC 9019 says a manifest specification must support different cryptographic algorithms and allow extension. Ask whether the device's manifest parser can accept algorithm identifiers it does not already know, or whether it rejects them. Ask how a new algorithm would be introduced: through a signed firmware update, a configuration change, or a hardware replacement. A parser that cannot be extended without a new device generation limits how long the product can stay in service.

RFC 9019 text

How trust anchors are installed

RFC 9019 says trust anchors are installed on devices out of band, and a Trust Provisioning Authority distributes them. Ask the vendor to document the exact process for installing, replacing and revoking trust anchors in the field, and who controls that process. Confirm whether a new trust anchor can be added to a deployed device without reflashing it or returning it. If the answer is that this cannot be done, the product's cryptographic lifetime is tied to its original trust anchors.

Update path for the bootloader

According to RFC 9019, the bootloader fetches and parses the manifest from nonvolatile storage, and a failed bootloader update is a reliability risk. Ask whether the bootloader itself can be updated to support new algorithms, and whether that update is signed and verified by the current bootloader. Ask what happens if the update fails partway through, and whether the device can recover. The vendor should be able to describe the rollback behavior and say whether it has been tested.

Stateful hash-based signature support and state handling

NIST SP 800-208 specifies the stateful hash-based signature schemes LMS and XMSS, and their multi-tree variants HSS and XMSS^MT. These schemes need the signer to track state, so reusing a state value can break security. Ask whether the device or module supports these schemes, and if so, which parameter sets and multi-tree variants are implemented. Ask how the state is stored, whether it survives power loss, and how the vendor prevents reuse across updates and cloned devices.

NIST SP 800-208

How a signed firmware update moves from the provisioning authority to the device

The Trust Provisioning Authority distributes trust anchors and authorization policies, and those trust anchors are installed on the device out of band. The update manifest is then signed and transported to the device, where the bootloader fetches and parses it from nonvolatile storage. Before any firmware is installed, the device must verify the signature covering the manifest and check that an old but valid manifest is not being replayed, so that a device is not tricked into installing an earlier version. Check that the signing and verification algorithms match the profiles your device supports, and that parser code stays small enough for constrained hardware.

The path a signed update takes from trust provisioning to installation on the device.

What crypto agility does not solve for devices that cannot be updated

Crypto agility assumes a device can receive a new algorithm. Some devices cannot. The sources on firmware update architecture describe the constraints that limit what a field update can do. RFC 9019, the IETF's firmware update architecture for Internet of Things, says the architecture was optimized for Class 1 constrained devices and states that manifest parser code size and complexity should be kept small on those devices. A device with a small parser budget may not be able to process a newer manifest format or a larger signature scheme, even when the update channel itself works. Engineers should check the parser's code size and memory against the algorithms they plan to carry before assuming an update can add them.

The update process itself carries risk. RFC 9019 says the bootloader fetches the manifest from nonvolatile storage and parses it, and that a failed update of the bootloader poses a reliability risk. Replacing cryptography in the bootloader therefore touches the component that must verify every later update. A device that cannot recover from a failed bootloader update may be left unable to accept any further change. Before planning a bootloader change, confirm how the device recovers from an interrupted write, whether a second bootloader copy exists, and what the vendor documents about rollback.

Legacy systems add a further limit. RFC 8996 notes that some legacy systems may not support TLS 1.2 or higher, so disabling older versions may break interoperability with them. The same pattern applies to devices that cannot negotiate a newer algorithm. NIST's Crypto Agility project and the NCCoE draft preliminary SP 1800-38A both describe replacing installed cryptography as slow work: the NCCoE page states that previous initiatives to update or replace installed cryptographic technologies have taken many years. An organization with long-lived devices should plan for a transition longer than a single release cycle, and should isolate or retire devices it cannot update.

The sources do not say how long a particular device's update will take, whether a given microcontroller can hold a specific post-quantum signature, or which hardware can run which profile. The IETF draft draft-ietf-suit-mti-23 names six mandatory profiles for devices but does not define a post-quantum algorithm itself. Confirm each device's memory, parser support and bootloader recovery with its vendor and in its own test environment, and check the device's documentation before committing to a migration path.

Questions firmware engineers ask about crypto agility in devices

What does crypto agility mean for a device?

For a device, crypto agility means the ability to replace the cryptographic algorithms it uses while keeping it secure and operational. NIST's CSWP 39upd1 defines it as the capabilities needed to replace and adapt cryptographic algorithms in protocols, applications, software, hardware, firmware and infrastructures, while preserving security and ongoing operations. RFC 7696 describes the same idea as a protocol being able to migrate easily from one algorithm suite to another. For embedded products, this means the firmware, manifest format and verification code must accept new algorithms, not just the ones shipped at manufacture. NIST notes that crypto agility must be considered for each specific implementation environment, so the answer depends on the device's hardware and update path.

Can a device without field updates be made crypto agile?

The sources do not describe a complete answer to this question, and the answer depends on the device. RFC 9019 says the firmware update architecture is optimized for Class 1 constrained devices but is not limited to them, and it notes that installing trust anchors happens out of band. If a device cannot receive updates, its verification code and algorithms are fixed at manufacture, so algorithm replacement is limited to what the hardware and existing firmware already support. Engineers should confirm with the device maker whether any update path, bootloader support or trust anchor replacement exists, and treat devices that cannot change algorithms as a separate migration question for the people who run them.

What is RFC 9019 for?

RFC 9019, published in April 2021 as an Informational document, describes a firmware update architecture for Internet of Things devices. It was written as an output of the IETF SUIT work. Its manifest is a transport-agnostic way to describe and protect firmware updates. RFC 9019 says a manifest specification must support different cryptographic algorithms and algorithm extensibility. It also says a device must verify the signature covering the manifest before accepting an update, and must not be tricked into installing an old but valid manifest and firmware. The architecture can also deliver data such as configuration information and keys. For specifics on manifest structure and verification steps, read RFC 9019.

Are the SUIT profiles a post-quantum standard?

No. The SUIT cryptographic algorithms document, draft-ietf-suit-mti-23 (dated 22 July 2025), is an Internet-Draft intended for the Standards Track and has no RFC number when checked. It says algorithm agility is essential and groups algorithms into named profiles for different device capabilities. It lists six MANDATORY profiles that authors must implement, and it recommends that recipients implement the HSS/LMS profile. The draft does not itself define a post-quantum algorithm and mentions post-quantum only once, as an example of hardware or library support a device might need. Hash-based signatures such as LMS and HSS are specified by NIST SP 800-208 (October 2020). Confirm the current status of the draft and the SP 800-208 scheme parameters with the documents themselves before relying on them.

What should I ask a device vendor about crypto agility?

Ask the vendor which algorithms the device verifies and how it selects them, and whether the manifest or update format supports algorithm extensibility as RFC 9019 describes. Ask whether the SUIT profiles listed in draft-ietf-suit-mti-23 are implemented, and which profile the device uses. Ask how trust anchors are installed and replaced, and whether that happens out of band. Ask what happens if a bootloader update fails, since RFC 9019 notes that this poses a reliability risk. Ask for the update history and the support period for the firmware. Confirm each answer against the vendor's documentation and the device's own test results, since the sources do not describe any particular product.

Should we do crypto agility for devices in-house or with outside help?

The sources do not say which choice is better, so the decision rests on your team's skills, device count and timeline. In-house work needs people who understand the manifest format, verification code, bootloader and trust provisioning described in RFC 9019. Outside help can cover the assessment of which devices can change algorithms, the design of the update path and the testing. Whichever you choose, the cost depends on how many device types you run, whether each one can receive an update, and how much of the firmware must change. Ask any partner for a written scope that names the devices, the update mechanism and the deliverables. DeployOpen plans and implements self-hosted platforms and runs security testing, and it can scope this work in writing, but it does not publish prices.

How DeployOpen works on this

DeployOpen starts from the update path a device already has, then works out how its firmware, manifests and trust anchors can accept new algorithms in the field. The work is scoped in writing, built and tested against the device's real constraints, and handed over with documentation the device team can maintain.

How we scope

  • We inventory the signing, verification and encryption algorithms each device firmware and bootloader uses today.
  • We confirm which devices can be updated in the field and which need isolation or replacement instead.
  • Scope, deliverables and timelines are agreed in writing before any firmware work begins, as fixed-scope engagements.

How we build

  • We design the manifest so it supports multiple cryptographic algorithms and extension, as RFC 9019 requires.
  • We keep the manifest parser small and simple enough for the device's constrained memory and processing budget.
  • We test that the bootloader rejects old but valid manifests and firmware, so downgrade attempts fail.

How we hand over

  • We document which algorithm profile each device supports and how trust anchors are installed out of band.
  • We record the update procedure for the bootloader, including how a failed update of the bootloader is recovered.
  • We deliver the documentation and test results to the device team so they can run future algorithm changes themselves.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can retest devices when a new profile or algorithm is added to the update architecture.
  • Confirm with your device vendor and the IETF draft's current status before relying on any profile for production.

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.