Does a post-quantum upgrade of Android Verified Boot mean new signing algorithms or a redesign?
For platform and device engineers planning a boot chain upgrade, the sources document ML-DSA-65 and ML-DSA-87 signing for VBMeta structs in AVB format 1.4. The work is mainly build, key and backend changes, not a redesign: the VBMeta structure, the descriptor model and the chain of trust stay as they are, and the new algorithms slot into the existing signing path. The avbtool.py source on the android17-release branch lists MLDSA65 and MLDSA87 alongside the existing RSA options, with a 3309-byte signature for MLDSA65 and a 4627-byte signature for MLDSA87, and the AVB README gives BOARD_AVB_BOOT_ALGORITHM as the build variable that selects the boot image algorithm. Teams should expect changes in build configuration, key generation and the public key metadata that the bootloader trusts, plus larger signatures to account for in partition layout and image tooling.
The Google blog post of March 25, 2026 says testing of post-quantum enhancements begins in the next Android 17 beta, with general availability in the Android 17 production release, and it gives no specific release dates. As of 2026-12-04, the sources do not state which Android 17 build first ships ML-DSA signing for AVB, so confirm that timing with Google's release notes before planning a rollout. Platform, OEM and device-security teams need to care because the bootloader, the signing infrastructure and the device key provisioning all sit with them. The RSA and SHA-2 paths remain the classical default in the sources, and the ML-DSA backend in libavb is currently supported only when built with BoringSSL, so the choice of crypto backend in the build belongs in the upgrade plan from the start.
Which AVB components and algorithms the sources cover, by version and component
This table lists each Android Verified Boot component, what the sources say applies to it, what they do not cover, and the source and date for each point. Read it to see where post-quantum signature support is named and where the sources are silent. Key exchange and key encapsulation are not named for AVB in any source checked.
| Component | What applies | What does not, or is not named | Source and date |
|---|---|---|---|
| AVB format version 1.4 | Adds support for ML-DSA-65 and ML-DSA-87 signed VBMeta structs. Versions 1.0 to 1.3 cover earlier features. | The sources do not say which Android releases ship version 1.4 by default. | AVB README, android17-release branch (checked 2026-12-04) |
| libavb verification backend | ML-DSA verification is supported only when libavb is built with the BoringSSL backend. | The default libavb/crypto backend is a stub that returns an error, so default builds do not verify ML-DSA signatures. | AVB README, android17-release branch (checked 2026-12-04) |
| avbtool signing | Lists MLDSA65 (3309-byte signature, 4 + 1952-byte public key entry) and MLDSA87 (4627-byte signature, 4 + 2592-byte public key entry). Signing uses a signing_helper if given, otherwise openssl pkeyutl -sign. | ML-DSA support depends on the system openssl. avbtool checks for mldsa and raises an error if it is absent. RSA algorithms remain listed alongside ML-DSA. | avbtool.py, android17-release branch (checked 2026-12-04) |
| avb_custom_key trust anchor | On Pixel 2 and later, the bootloader supports the avb_custom_key virtual partition, populated with pkmd.bin from extract_public_key. | Flashing or erasing avb_custom_key works only in the UNLOCKED state. The sources do not state ML-DSA key handling for this partition beyond the public key metadata format. | AVB README, android17-release branch (checked 2026-12-04) |
| Rollback protection | In the LOCKED state, rollback_index[n] in the verified image must be greater than or equal to stored_rollback_index[n]. | This is a counter check, not a public-key operation, so it is not affected by the signature algorithm. Integrators implement the platform read and write functions. | AVB README, android17-release branch; AOSP AVB overview (checked 2026-12-04) |
| Google Android PQC blog roadmap | States the AVB library is integrating ML-DSA for quantum-resistant boot-time signatures. Testing begins in the next Android 17 beta, with general availability in the Android 17 production release. Describes Android 17 as the first phase. | No specific release dates are given. The post does not mention FIPS or CNSA 2.0. Post-quantum key encapsulation for KeyMint, Key Attestation and Remote Key Provisioning is listed as roadmap, not as AVB. | Google Android PQC blog, published 2026-03-25 |
| Key exchange and key encapsulation | Not named for AVB in any source checked. | The sources document only signature support (ML-DSA-65 and ML-DSA-87) in AVB. | AVB README, android17-release branch; Google Android PQC blog (checked 2026-12-04) |
Which parts of the boot chain an upgrade touches
A post-quantum change to Android Verified Boot would touch several separate parts of the boot chain, and each one has different dependencies and constraints. The cards below separate the signed data structure, the trust anchors, the signing configuration, the custom key path, the rollback counter, and the library that performs the cryptography, so planners can see which parts are signature changes and which are not.
VBMeta struct and descriptors
The VBMeta struct is the central data structure in AVB. It holds descriptors for image hashes, hashtree metadata and chained partitions, and the signature covers all of that data. For boot, the hash descriptor carries the hash of the boot image. For system and vendor, hashtree descriptors carry the root digest, salt and tree offset. An upgrade that changes the signature algorithm re-signs this structure, so check which descriptors each partition uses before planning the rebuild and the re-signing of every image.
AVB READMEEmbedded public key the bootloader checks
The bootloader verifies the VBMeta signature against an embedded public key, for example the public part of key0, and then trusts the hashes the struct covers. Changing the signing algorithm means the bootloader must hold a public key that matches the new algorithm, so the trust anchor is a firmware-level dependency and not only a build setting. Confirm with the device vendor where this key is stored and whether it can be replaced on fielded devices.
AVB READMESigning algorithm and avbtool
The build variable BOARD_AVB_BOOT_ALGORITHM selects the signing algorithm for the boot image, for example SHA256_RSA4096 in the GKI example. The avbtool.py source in the android17-release branch lists MLDSA65 and MLDSA87 alongside the RSA options. ML-DSA support depends on the system openssl, which must list mldsa in its public key algorithms, or avbtool stops with an error. Check the openssl build on your signing hosts before changing the algorithm in the build configuration.
The avb_custom_key virtual partition
On Pixel 2 and later, the bootloader supports a virtual partition named avb_custom_key, set with fastboot flash avb_custom_key pkmd.bin. Flashing or erasing it works only in the UNLOCKED state, so a custom trust anchor cannot be installed on a locked device through this path. Planners should confirm how their own fleet and bootloader versions handle this key, and whether a locked device can receive a new trust anchor through an update instead.
Rollback index counter check
In the LOCKED state, the rollback_index stored in the verified image must be greater than or equal to stored_rollback_index. This is a counter comparison, not a public-key operation, so changing the signature algorithm does not change this check. The AOSP overview says integrators implement platform functions to read and write the rollback protection metadata. Confirm with the vendor that rollback storage is unaffected by a new signing scheme, and plan the index values in the new images accordingly.
libavb crypto backend
ML-DSA signature verification in libavb is currently supported only when built with the BoringSSL backend. The default libavb crypto backend is a stub that returns an error. Any device or build that verifies ML-DSA-signed VBMeta structs therefore needs the BoringSSL backend compiled in. Confirm the backend used by your target build and whether the bootloader image includes it, because a stub backend will reject the new signatures.
AVB READMEHow the upgrade path differs for an AOSP build, an OEM device and a custom signing setup
An AOSP build signs its images with avbtool.py, and the AVB source in the android17-release branch lists MLDSA65 and MLDSA87 among the signing algorithms. For ML-DSA, avbtool.py first runs openssl list -public-key-algorithms and looks for mldsa. If the system OpenSSL does not provide it, the tool stops with the error 'ML-DSA is not supported by the system openssl.' When an OpenSSL build passes that check, avbtool.py signs with openssl pkeyutl -sign, unless a signing_helper is supplied, in which case the helper performs the signing. The build variable BOARD_AVB_BOOT_ALGORITHM selects the algorithm for the boot image in the GKI example, but the sources checked here do not show an ML-DSA value for that variable.
- OpenSSL capability check: The build host's OpenSSL must list
mldsaamong its public-key algorithms, or signing fails before any image is produced. - Signing path choice: The
openssl pkeyutl -signpath and thesigning_helperpath are alternatives. Choose one and record which key store and tool produced each signature. - Signature size: The avbtool source gives 3309 bytes for an MLDSA65 signature and 4627 bytes for MLDSA87, so partition and metadata sizing should be checked against them.
- Public key entry size: The public key entries are 4 + 1952 bytes for MLDSA65 and 4 + 2592 bytes for MLDSA87.
- Verification backend: Signing is only half the path. The device's libavb must verify ML-DSA, which the next tab covers.
Confirm with the AOSP build owner which OpenSSL version and signing helper the build uses, and whether the release branch you build from matches the android17-release sources cited here.
On a device with a custom trust anchor, the bootloader checks the VBMeta signature against a public key the device trusts, and the owner or manufacturer controls which key that is. The AVB README describes extracting a public key with avbtool extract_public_key --key key.pem --output pkmd.bin and installing it on Pixel 2 and later through the virtual partition avb_custom_key with fastboot flash avb_custom_key pkmd.bin. Flashing or erasing that partition works only in the UNLOCKED state. The sources checked do not describe any OEM-specific schedule for moving these keys to ML-DSA.
- Unlocked state requirement: Writing
avb_custom_keyrequires the device to be in the UNLOCKED state, which affects warranty, data wipe and device policy for managed fleets. - Key rotation step: Replacing the trust anchor is a bootloader-level change, separate from installing a new signed system image.
- Rollback counter: In the LOCKED state, the
rollback_indexin the verified image must be greater than or equal to the stored value. This is a counter check and not a public-key operation, so it does not change with the signature algorithm. - Chained partitions: A chained partition descriptor names the key trusted for that partition, so each delegated key may need its own update.
- Fleet inventory: Record which trust anchor each device model holds, because the anchor determines whether an ML-DSA image can be verified at all.
Ask the device vendor whether its bootloader exposes avb_custom_key, whether it supports ML-DSA verification, and what its update schedule is, since the sources do not give one.
The AVB README states that ML-DSA signature verification in libavb is currently supported only when libavb is built with the BoringSSL backend. The default libavb crypto backend is a stub that returns an error. A device or build that keeps the default stub therefore cannot verify an MLDSA65 or MLDSA87 VBMeta struct, even if the signing side produced a valid signature. The README version history ties ML-DSA support for VBMeta to format version 1.4.
- Backend selection: Confirm which crypto backend the libavb build links against. The default is the stub, and verification with it returns an error for ML-DSA.
- Format version: The VBMeta struct must be format version 1.4 or later to carry ML-DSA-65 or ML-DSA-87 signatures, according to the README version history.
- Failure mode: A verification error stops boot or update on that path, so test ML-DSA images on a build with the BoringSSL backend before relying on them.
- Signing and verification mismatch: A build can pass
avbtool.pychecks and still fail on the device if its libavb backend is the stub. - Support status: The sources checked name only signature support in AVB, and no post-quantum key exchange or key encapsulation algorithm for AVB.
Check the libavb build configuration in your image and confirm the backend with the build team before scheduling any ML-DSA signed release.
How a VBMeta signature check moves through the boot chain
The check starts at build time, when avbtool signs the VBMeta struct with the algorithm named in BOARD_AVB_BOOT_ALGORITHM, and the result is written to the vbmeta partition. At boot, the bootloader verifies that signature against the public key embedded in it or against the avb_custom_key virtual partition, and the verification itself runs through the libavb crypto backend. ML-DSA signatures verify only when libavb is built with BoringSSL, since the default backend is a stub that returns an error, so check which backend your build uses. Once the signature passes, the bootloader compares each rollback_index against the stored value in the LOCKED state, which is a counter check rather than a public-key operation.
Signing at build time, then signature and rollback checks at boot.
What a platform team should check before planning an ML-DSA VBMeta upgrade
The sequence below confirms that the AVB format, the libavb build and the build host can all handle ML-DSA signed VBMeta structs before any key is generated. It ends with a boot test on target hardware, so the team knows the upgrade works on the devices it actually ships.
Confirm the AVB format version is 1.4 or later
The platform team checks the AVB format version in the release they plan to build against. The AVB README's version history says format version 1.4 adds support for ML-DSA-65 and ML-DSA-87 signed VBMeta structs, and that versions 1.0 to 1.3 cover all earlier features. If the format is older than 1.4, the VBMeta cannot carry ML-DSA signatures, so this check must pass before any later step. The step is closed when the team records the format version in its build configuration for the target release.
Confirm the libavb build uses BoringSSL
The team confirms that the libavb build links the BoringSSL crypto backend and not the default stub. The AVB README states that ML-DSA signature verification in libavb is currently supported only when built with the BoringSSL backend, and that the default libavb/crypto backend is a stub that returns an error. A device built on the stub will reject every ML-DSA signed VBMeta at boot. The step is closed when the build configuration for each target shows the BoringSSL backend selected and the stub is absent from the image.
Confirm the build host openssl lists mldsa
The build host signs ML-DSA images through the system openssl, so the team checks that the host's openssl supports the algorithm. In avbtool.py on the android17-release branch, the tool runs openssl list -public-key-algorithms and looks for mldsa, and otherwise raises the error 'ML-DSA is not supported by the system openssl.' The team runs the same command on the build host and on any signing machine. The step is closed when the output lists mldsa on every host that will sign images.
Select MLDSA65 or MLDSA87 and extract public key metadata
The team chooses MLDSA65 or MLDSA87 as the signing algorithm for the VBMeta, and then regenerates the public key metadata with avbtool extract_public_key. The sources checked give the signature and public key sizes for each option: MLDSA65 has a 3309-byte signature and a 4 + 1952 byte public key entry, and MLDSA87 has a 4627-byte signature and a 4 + 2592 byte public key entry. The team should confirm the larger sizes fit the partitions and build limits it works within. The step is closed when a pkmd.bin file is generated from the ML-DSA key and checked against the algorithm chosen.
Plan the avb_custom_key flash in UNLOCKED state
If the team uses the avb_custom_key virtual partition, it plans to flash the new pkmd.bin only in the UNLOCKED state. The AVB README says that on Pixel 2 and later the bootloader supports this partition, set with fastboot flash avb_custom_key pkmd.bin, and that flashing or erasing it works only in the UNLOCKED state. The team should confirm with the device maker how the bootloader state will be managed in the field. The step is closed when the flashing procedure, device states and owner of each step are written down and reviewed.
Test rollback_index behavior in LOCKED state
The team tests how rollback protection behaves once the device is in the LOCKED state. The AVB README says that in that state the rollback_index[n] stored in the verified image must be greater than or equal to stored_rollback_index[n], which is a counter check and not a public-key operation. The team should verify that a new ML-DSA signed image with a current rollback index boots, and that an older image is rejected. The AOSP AVB overview says integrators implement the platform functions that read and write rollback protection metadata, so the team should confirm those functions are in place. The step is closed when both the accept and reject cases are observed on test devices.
Retest boot on target hardware
The team runs a full boot test of the ML-DSA signed VBMeta on each target device model, not only on emulators or a single development board. The purpose is to confirm that the bootloader verifies the signature against the embedded or custom key, that chained partitions and hashtree descriptors still validate, and that the device boots under both the LOCKED and UNLOCKED states. Any failure is traced back to the format, backend, host or key step. The step is closed when a signed build boots on every target model in each state and the results are recorded for the release.
What the sources do not establish for AVB and what to ask Google or the OEM
The AVB sources document ML-DSA signature support in libavb and avbtool, but they leave several questions open for planners. The cards below list each gap and the question to put to Google or the device OEM before committing to an upgrade plan.
No hybrid signature mode named
The AVB README and avbtool.py list ML-DSA-65 and ML-DSA-87 as standalone signing algorithms, next to the RSA options. Neither source names a hybrid mode that combines a classical and an ML-DSA signature in one VBMeta struct. Ask Google whether a hybrid VBMeta signature is planned, and whether a device that verifies only ML-DSA would still accept images signed with RSA during a transition period.
AVB READMENo post-quantum key exchange for AVB
The sources checked name only signature support in AVB. They name no post-quantum key exchange or key encapsulation algorithm for AVB. The Google blog lists key encapsulation for KeyMint, Key Attestation and Remote Key Provisioning as roadmap items, not AVB features. Ask Google whether any AVB path will use a post-quantum key exchange, and which component would carry it.
Google Android PQC blogNo FIPS or CNSA 2.0 statement
The Google blog post refers only to NIST post-quantum standards and does not mention FIPS or CNSA 2.0. No FIPS validation or CNSA 2.0 statement for AVB was found in the sources. Ask Google whether any AVB build, including the ML-DSA backend, has been or will be submitted for FIPS validation, and which module version it would cover.
Google Android PQC blogNo dates beyond beta and production
The Google blog says post-quantum testing begins in the next Android 17 beta and reaches general availability in the Android 17 production release. It gives no specific release dates for either. Ask Google for the planned beta and production dates in writing, and whether AVB ML-DSA support lands in the same release as the rest of the Android 17 post-quantum work.
AOSP overview silent on ML-DSA
The AOSP AVB overview, checked on 2026-12-04, makes no mention of post-quantum cryptography, ML-DSA or vbmeta. The README and avbtool document ML-DSA, but the public overview page does not. Ask Google whether the overview will be updated to describe ML-DSA support, and where a platform engineer should look for the authoritative statement of supported algorithms.
AOSP AVB overviewOEM libavb builds not covered
The sources describe AVB in the AOSP tree, but they do not cover the libavb builds that OEMs ship on their devices. The README also says ML-DSA verification works only with the BoringSSL backend, and the default backend is a stub that returns an error. Ask the device OEM which libavb version and crypto backend ships on each model, and whether its bootloader accepts ML-DSA-signed VBMeta structs.
AVB READMEWhat can break when ML-DSA is enabled in Android Verified Boot
Enabling ML-DSA in Android Verified Boot changes the size of the data the bootloader must read and the tooling that signs it, so the first thing to break is usually a build or a partition layout rather than the boot itself. The AVB README says the VBMeta struct holds descriptors for image hashes, hashtree metadata and chained partitions, and all of it is signed. In avbtool.py on the android17-release branch, a MLDSA65 signature is 3309 bytes and its public key entry is 4 + 1952 bytes, and MLDSA87 uses a 4627-byte signature and a 4 + 2592-byte public key entry. The RSA options in the same file produce signatures of 256, 512 or 1024 bytes. Confirm that the vbmeta partition size and any fixed layouts, tests or tools that assume the RSA sizes still hold with the larger ML-DSA values before you change the signing algorithm.
The bootloader side has a separate failure mode. The AVB README states that ML-DSA signature verification in libavb is currently supported only when libavb is built with the BoringSSL backend, and that the default libavb/crypto backend is a stub that returns an error. A device built with the default backend will therefore reject an ML-DSA-signed VBMeta struct, and the build can appear correct because avbtool signed it successfully. Check which crypto backend your libavb build uses before you treat a signing run as proof that boot will verify. The README version history places ML-DSA-65 and ML-DSA-87 support in format version 1.4, so confirm that your bootloader and avbtool both handle that version.
Signing also depends on the host. In avbtool.py, ML-DSA support is detected by running openssl list -public-key-algorithms and looking for mldsa, and if that name is absent avbtool raises the error 'ML-DSA is not supported by the system openssl.' Signing then runs through a signing_helper if one is given, or through openssl pkeyutl -sign otherwise. Build hosts and release signing machines can therefore differ in their openssl versions, so verify the list on each signing host. Rollback and key replacement add constraints of their own. The README says the avb_custom_key virtual partition can be flashed or erased only in the UNLOCKED state, and that in the LOCKED state the rollback index in the verified image must be greater than or equal to the stored value. Plan key changes and rollback index handling with these limits in mind, and confirm the exact behavior on your target device with its vendor.
Questions engineers ask about upgrading Android Verified Boot for post-quantum signatures
Is Android Verified Boot quantum safe today?
The sources listed on this page support post-quantum signatures in Android Verified Boot only in part. Format version 1.4 of the VBMeta struct adds support for ML-DSA-65 and ML-DSA-87 signed VBMeta structs, and the avbtool.py source in the android17-release branch lists both algorithms. The sources do not name any post-quantum key exchange or key encapsulation algorithm for AVB, so the boot-time signature check is the only area they cover. ML-DSA verification in libavb currently works only when the library is built with the BoringSSL backend, because the default crypto backend is a stub that returns an error. Confirm the build configuration and backend in your own image before relying on this.
Which Android release includes post-quantum AVB signing?
Google's March 25, 2026 blog post says the AVB library is integrating ML-DSA for boot-time software and that the post-quantum enhancements will be tested in the next Android 17 beta, with general availability in the Android 17 production release. The post gives no specific release dates, so the production timing is not dated in the source. Describe Android 17 as the release Google names, and check the release notes and your device vendor's schedule before planning around it. The post also describes Android 17 as the first phase of Android's post-quantum transition.
Does upgrading Android Verified Boot for post-quantum signatures cost extra?
The sources listed on this page give no cost or effort figures for an AVB upgrade, so no price can be stated here. The main cost drivers are the platform work to adopt format 1.4 and ML-DSA signing in your build, the change to the signing toolchain (avbtool.py depends on the system openssl and a signing helper or openssl pkeyutl for ML-DSA), the new keys and certificates for your boot and vbmeta chain, and the testing needed on each device model. Ask for a quote that separates one-time engineering from recurring key management and testing, and state which Android release, device models and bootloader state it covers.
Does Android Verified Boot offer a hybrid signing mode?
The sources listed on this page do not name a hybrid mode for Android Verified Boot. They document RSA signatures with PKCS#1 v1.5 padding and ML-DSA-65 and ML-DSA-87 signatures as separate algorithm choices in avbtool.py. Confirm with the Android Open Source Project or your device vendor whether any hybrid combination of classical and post-quantum signatures is supported in your build, and whether it changes the verification path in libavb.
Can our team upgrade Android Verified Boot without outside help?
Your team can do much of the work in house if it already builds and signs Android images. The checks to run are: confirm that avbtool.py reports ML-DSA support from your system openssl, select the ML-DSA algorithm in your build configuration, extract and verify the public key metadata with avbtool extract_public_key, confirm that libavb is built with the BoringSSL backend, and test that a signed VBMeta struct verifies on each target device. Outside help is optional. Consider it if your team has no experience with the Android build system, if you need validation of the signed images, or if several device models need separate testing.
What should we ask the vendor about Android Verified Boot post-quantum support?
Ask which Android release and build your device runs, and whether its AVB library includes ML-DSA verification built with the BoringSSL backend. Ask whether the vendor will sign the vbmeta partition with ML-DSA-65 or ML-DSA-87, and how it manages the public key used for the avb_custom_key trust anchor. Ask whether any key exchange or key encapsulation is planned for AVB, since the sources name none. Ask for the vendor's dated release plan, the rollback protection behavior after the change, and whether the upgrade requires a bootloader unlock or a reflash of the avb_custom_key partition.
How DeployOpen works on this
DeployOpen approaches a post-quantum upgrade of Android Verified Boot as scoped engineering work: confirming which VBMeta signing algorithm your build and bootloader can actually use, then testing the change on your own images before it reaches devices. Every engagement starts with a written scope that the client agrees to before work begins.
How we scope
- We confirm which AVB release, avbtool version and build branch your images are based on before setting any signing target.
- We record which signing algorithm each VBMeta struct and chained partition currently uses, and which keys sign them.
- We agree in writing whether the scope covers signing changes only, bootloader trust anchor changes, or rollback metadata handling.
- We check with your device or bootloader vendor whether ML-DSA verification is built into the bootloader crypto backend you ship.
How we build
- We set up a test build that signs VBMeta with ML-DSA-65 or ML-DSA-87 and verify the resulting images on a lab device.
- We confirm the system OpenSSL on the build host lists ML-DSA, since avbtool stops with an error when it does not.
- We test the bootloader path separately, because the README states libavb ML-DSA verification currently needs the BoringSSL backend.
- We compare image sizes and signature sizes before and after the change, so partition layouts and storage budgets are checked early.
How we hand over
- We deliver a written record of the algorithm, key format, public key metadata and build variables used in each tested configuration.
- We document the fastboot and avb_custom_key steps the client needs on test hardware, including that they run only in the UNLOCKED state.
- We list the open points the sources do not settle, such as key exchange, so the client knows what to confirm with the vendor.
- We hand over test results with the build inputs needed to reproduce each run.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, for example when Android releases change the AVB library.
- We can retest the signed images after each Android beta or production release that changes VBMeta handling.
- Support covers rollback metadata checks in the LOCKED state, so updated images keep passing the counter comparison.
- We keep the inventory current as vendors publish new roadmap or notice information on AVB post-quantum support.

