Which Android Verified Boot functions depend on RSA and elliptic-curve keys

Android Verified Boot (AVB) uses public-key signatures for the VBMeta check, chained partition delegation and the avb_custom_key trust anchor, with RSA as the classical option and ML-DSA-65 and ML-DSA-87 as signature options in format 1.4 and later. The sources listed on this page name no post-quantum key exchange for AVB.

On this page

Which AVB boot-time functions rely on public-key signatures today

If you are assessing an Android device or build, the boot-time function that relies on public-key cryptography is signature verification of the VBMeta struct. Android Verified Boot (AVB) signs VBMeta and checks that signature against an embedded or custom public key before trusting the hashes it covers. The classical algorithms listed in avbtool.py on the android17-release branch are RSA signatures with SHA-256 or SHA-512 digests and PKCS#1 v1.5 padding, in 2048, 4096 and 8192-bit key sizes. The same public-key check also governs chained partition delegation, where a chained partition descriptor names the public key trusted to sign a given partition, and the avb_custom_key trust anchor on Pixel 2 and later.

The sources checked on 2026-12-04 document ML-DSA-65 and ML-DSA-87 signature support in AVB, through the MLDSA65 and MLDSA87 algorithm names and format version 1.4 of the VBMeta struct. They name no post-quantum key exchange or key encapsulation algorithm for AVB. Two conditions limit that support. The AVB README states that ML-DSA verification in libavb is currently supported only when built with the BoringSSL backend, and that the default crypto backend is a stub that returns an error. In avbtool.py, ML-DSA signing depends on the system OpenSSL offering mldsa, and otherwise raises an error. Confirm which backend and OpenSSL version your build uses before relying on this path.

Google's March 25, 2026 post says the AVB library is integrating ML-DSA and places testing in the next Android 17 beta, with general availability in the Android 17 production release. It gives no specific release dates. The AOSP AVB overview page, checked on the same date, does not mention post-quantum cryptography, ML-DSA or VBMeta. Ask your device vendor or build owner which Android 17 release and AVB version their image carries, and whether their bootloader and libavb backend support the ML-DSA path. Until those answers are in writing, treat the RSA signatures as the classical baseline in your inventory.

Which AVB functions use RSA or ML-DSA signatures, by component and source

This table lists each Android Verified Boot function that touches signing or counters, whether it uses a public-key signature, which algorithms the sources list, and the source and date of each row. Read the rollback index check as a counter comparison, not a public-key operation. The main takeaway is that ML-DSA signing and verification require format 1.4 and the BoringSSL backend in libavb.

AVB functionPublic-key signatureAlgorithms listed in sourcesSource and date
VBMeta signature checkYesSHA256_RSA2048, SHA256_RSA4096, SHA256_RSA8192, SHA512_RSA2048, SHA512_RSA4096, SHA512_RSA8192, MLDSA65, MLDSA87AVB README and avbtool.py, android17-release branch; checked 2026-12-04
Hash descriptor (boot image)NoHash of boot is covered by the signed VBMeta; no separate signatureAVB README, android17-release branch; checked 2026-12-04
Hashtree descriptor (system and vendor)NoRoot digest, salt and tree offset are covered by the signed VBMeta; no separate signatureAVB README, android17-release branch; checked 2026-12-04
Chained partition delegationYesPublic key named per partition; the algorithms the sources list are those in the VBMeta signature checkAVB README, android17-release branch; checked 2026-12-04
avb_custom_key trust anchorYesRSA PKCS#1 v1.5 public key metadata from extract_public_key; ML-DSA key entries listed in avbtool.py (MLDSA65 public key 4 + 1952 bytes, MLDSA87 public key 4 + 2592 bytes)AVB README and avbtool.py, android17-release branch; checked 2026-12-04
Rollback index check (LOCKED state)NoCounter comparison only: rollback_index[n] must be greater than or equal to stored_rollback_index[n]AVB README, android17-release branch; checked 2026-12-04

Which VBMeta descriptors and trust anchors carry the signature

Android Verified Boot places public-key signatures in a few specific spots: the VBMeta struct itself, the chained partition delegations and the trust anchors the bootloader uses to check them. The cards below separate what each component signs or trusts, so you can record which parts depend on RSA or elliptic-curve keys today and which accept ML-DSA signatures in the Android 17 code.

VBMeta struct and its signature

The VBMeta struct is the central data structure in AVB. It holds descriptors for image hashes, hashtree metadata and chained partitions, and the whole struct is signed. The bootloader checks that signature against an embedded public key before it trusts any hash the struct covers. For the post-quantum question, this signature is the first public-key operation to inventory, and the avbtool.py source lists both RSA algorithms and MLDSA65 and MLDSA87 as options for it. Confirm which algorithm your build sets for the VBMeta signature.

AVB README

Hash descriptors for boot

A hash descriptor in the vbmeta partition stores the hash of the boot image. This descriptor carries no signature of its own. Its integrity depends on the VBMeta signature that covers it, so the public-key dependency for boot runs through the VBMeta card above. Check that the boot image's hash descriptor is covered by the signed VBMeta struct in your build, and confirm the signing algorithm your build sets with BOARD_AVB_BOOT_ALGORITHM for the GKI boot image.

Hashtree descriptors for system and vendor

For system and vendor partitions, AVB stores the hashtree root digest, salt and tree offset in hashtree descriptors. As with the boot hash, the descriptors are not signed separately. Their trust comes from the signed VBMeta struct, so a hashtree root can only be trusted if the surrounding VBMeta signature verifies. Record these descriptors as data protected by the VBMeta signature, not as separate key holders, and confirm that every partition you ship is listed in the signed struct.

Chained partition descriptors and delegated keys

A chained partition descriptor delegates signing authority for one partition to a public key named in the descriptor. The bootloader then trusts signatures on that partition made with the delegated key, not the root key. This is a separate public-key dependency for each chained partition, so each delegated key needs its own inventory entry. Confirm which partitions in your device use chained descriptors, which algorithm each delegated key uses, and whether any of them are RSA keys that would need replacing.

The avb_custom_key virtual partition

On Pixel 2 and later, the bootloader supports a virtual partition named avb_custom_key, which holds the public key metadata for a custom trust anchor. You set it with fastboot flash avb_custom_key pkmd.bin, and flashing or erasing it works only in the UNLOCKED state. This is a trust anchor the owner can replace, so its key type decides which signatures the bootloader accepts. Treat it as a separate item in your inventory, and record who controls the unlock state on each fleet.

Embedded key0 public key

The bootloader checks VBMeta signatures against an embedded public key, for example the public part of key0. The key is produced with avbtool extract_public_key --key key.pem --output pkmd.bin. This embedded key is the root trust anchor for the whole chain, so its algorithm sets the baseline for the rest of the descriptors. The sources checked support ML-DSA signature verification in libavb only when built with the BoringSSL backend. Confirm which crypto backend your bootloader uses, because the default backend is a stub that returns an error.

How the answer changes by AVB format version and signing backend

Format versions 1.0 through 1.3 cover all earlier AVB features and support only RSA signatures with SHA-256 or SHA-512 digests. The AVB README version history does not add ML-DSA to any of these versions, so a VBMeta struct at these versions carries an RSA signature and no post-quantum signature. The public-key operations in these builds are the VBMeta signature check against an embedded key, chained partition delegation and the avb_custom_key trust anchor.

  • Algorithms available: SHA256_RSA2048, SHA256_RSA4096, SHA256_RSA8192, SHA512_RSA2048, SHA512_RSA4096 and SHA512_RSA8192, using PKCS#1 v1.5 padding.
  • Signature sizes: 256, 512 or 1024 bytes for 2048, 4096 or 8192-bit keys.
  • No ML-DSA path: the format version alone does not add ML-DSA, so MLDSA65 and MLDSA87 cannot be used at these versions.
  • Rollback checks: rollback protection is a counter comparison and is not a public-key operation, so it does not change with the format version.
  • Build variable: the BOARD_AVB_BOOT_ALGORITHM setting, such as SHA256_RSA4096, selects the algorithm for the boot image.

Confirm the format version in each VBMeta image of your build before you record an RSA-only answer for it.

How the bootloader checks the VBMeta signature and trusts the hashes

The bootloader starts at the vbmeta partition and checks the VBMeta signature against a public key embedded in the device, or against the avb_custom_key trust anchor where the device supports it. If the signature verifies, the bootloader trusts the hashes the struct covers: the boot hash, and the system and vendor hashtree roots. Chained partition descriptors hand signing authority to other keys, so each delegated partition is checked against its own named key. The rollback index comparison runs as a separate counter check and does not use a public key, so verifying it does not involve the signature step.

Public-key steps are the signature check and delegated partition keys; rollback is a counter.

What to check in your build to confirm the current AVB signing algorithm

This sequence establishes which AVB format version, signing algorithm and libavb crypto backend your build actually uses, and records the public key state that a bootloader trusts. Each step ends with a recorded check, so the team can show which algorithm signs its VBMeta images today and whether ML-DSA is available in its build.

  1. Identify the AVB format version and algorithm

    The build engineer searches the device or product build configuration for BOARD_AVB_BOOT_ALGORITHM and the related algorithm variables for each partition, and notes the value set for each one. The AVB README's GKI example uses BOARD_AVB_BOOT_ALGORITHM := SHA256_RSA4096, so the value you find may be an RSA algorithm or an ML-DSA algorithm such as MLDSA65 or MLDSA87. Record the algorithm name for each signed partition, and record the AVB format version from the libavb headers in the tree. The step closes when every signed partition has an algorithm and version recorded in your inventory.

  2. Confirm whether the build targets Android 17 with ML-DSA

    The release engineer checks that the build is based on an Android 17 branch, since the ML-DSA entries in avbtool.py and the format 1.4 support are documented against the android17-release branch. Confirm that the VBMeta format version in use is 1.4 or later, because the AVB README version history says format 1.4 adds ML-DSA-65 and ML-DSA-87 signed structs and that versions 1.0 to 1.3 cover earlier features. Where the build is on an earlier branch, record that ML-DSA signing is not available from that tree. The step closes with a written statement of the Android release and AVB format version for the build.

  3. Confirm the libavb crypto backend

    The platform engineer checks which crypto backend libavb is built with. 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. Inspect the build configuration for the selected backend and confirm it is BoringSSL for any build that must verify ML-DSA-signed images. The step closes when the backend name is recorded for each build variant, and any variant on the stub is marked as unable to verify ML-DSA.

  4. Check the system OpenSSL for ML-DSA support

    The signing engineer runs the signing host's system openssl to list supported public-key algorithms, using openssl list -public-key-algorithms, and looks for mldsa in the output. avbtool.py performs this same check and raises the error 'ML-DSA is not supported by the system openssl.' when the name is absent, and when signing with ML-DSA it either uses a configured signing_helper or runs openssl pkeyutl -sign. Record the OpenSSL version and whether mldsa appears in its list, and note which signing path the build uses. The step closes when the signing host's ML-DSA status is recorded, and any host without mldsa is excluded from ML-DSA signing.

  5. Extract and record public key metadata

    The release engineer runs avbtool extract_public_key with the signing key, for example avbtool extract_public_key --key key.pem --output pkmd.bin, to produce the public key metadata that the bootloader can trust. Store the resulting pkmd.bin file with the build record, and note the key identifier and the algorithm that the key was generated for, so that it can be matched to the algorithm checked in the first step. Confirm that the key type matches the signing algorithm recorded earlier, such as an RSA key for an RSA algorithm or an ML-DSA key for MLDSA65 or MLDSA87. The step closes when a pkmd.bin file and its matching key record are stored and checked against the algorithm recorded in the first step.

  6. Record the avb_custom_key state

    The device owner or build engineer records whether a custom key is flashed to the avb_custom_key virtual partition on each Pixel 2 or later device. The AVB README says this partition is set with fastboot flash avb_custom_key pkmd.bin, and that flashing or erasing it works only in the UNLOCKED state. Record the device state (LOCKED or UNLOCKED), whether avb_custom_key holds a key, and that the key's metadata matches the pkmd.bin file extracted earlier. Note that in the LOCKED state the rollback check requires rollback_index values in the verified image to be greater than or equal to the stored values, which is a counter check and not a public-key operation. The step closes when the device state and avb_custom_key status are recorded for each device model in scope.

What the sources do not publish for AVB and what to ask Google or the integrator

The sources checked for Android Verified Boot document signature algorithms and roadmap wording, but leave gaps on key exchange, release dates, certification language, default backends, migration and OEM builds. The cards below list each gap, what to ask, and whom to ask, so the answers can be recorded in your inventory.

No post-quantum key exchange for AVB

The AVB README and avbtool.py list ML-DSA-65 and ML-DSA-87 for signatures on VBMeta structs, and the sources checked name no post-quantum key exchange or key encapsulation algorithm for AVB. The Google blog places key encapsulation under KeyMint, Key Attestation and Remote Key Provisioning as roadmap items. Ask Google whether AVB will ever use key encapsulation, and ask your integrator whether any AVB-related channel in your build uses key exchange at all.

AVB README

No release dates beyond Android 17

The Google blog says post-quantum testing begins in the next Android 17 beta, with general availability in the Android 17 production release, and gives no specific dates. The sources checked do not say when ML-DSA support will reach a given device, OEM branch or Android version. Ask Google for the production release date for your device line, and ask your OEM for its own schedule and whether it will ship Android 17 with these changes.

Google Android PQC blog

No FIPS or CNSA 2.0 statement

The Google blog refers only to NIST post-quantum standards and does not mention FIPS or CNSA 2.0 for AVB. Nothing in the sources checked says AVB meets either. If your review needs a FIPS or CNSA 2.0 position, ask Google in writing which validation or approach applies to AVB signatures, and do not record ML-DSA support as meeting those requirements until Google confirms it.

Google Android PQC blog

ML-DSA on the default stub backend

The AVB README states that ML-DSA verification in libavb is supported only when built with the BoringSSL backend, and that the default libavb/crypto backend is a stub that returns an error. Ask your integrator which crypto backend their bootloader build uses, and whether a stub build will fail or silently skip verification of ML-DSA-signed VBMeta structs. Record this as a build-time check, not a product claim.

AVB README

No migration path for RSA-signed devices

The sources checked describe signing algorithms and key formats but publish no path for moving an existing RSA-signed device to ML-DSA. Ask Google whether a devices already in the field can be re-signed or re-provisioned, and what the rollback index rules mean for that change. Ask your integrator whether a locked device can accept a new avb_custom_key without an unlock, since the README limits flashing that key to the UNLOCKED state.

AVB README

OEM and integrator ML-DSA builds

The sources checked do not say whether OEM or integrator builds ship with ML-DSA enabled, or whether they keep the RSA defaults such as BOARD_AVB_BOOT_ALGORITHM set to SHA256_RSA4096. Ask each OEM and integrator which AVB algorithm their images use, which libavb backend they compile, and whether they will publish an ML-DSA build with a date. Record the answers per device model, since the same codebase may ship differently.

AVB README

What can break or silently stay classical during an AVB migration

The main risk in an Android Verified Boot migration is that a system can appear upgraded while its boot chain still verifies with RSA. The AVB README says the bootloader checks the VBMeta signature against an embedded public key, and the avbtool.py source lists MLDSA65 and MLDSA87 alongside the RSA algorithms. Two things can keep the chain classical. First, BOARD_AVB_BOOT_ALGORITHM in the build configuration selects the signing algorithm for the boot image, and the README's GKI example sets it to SHA256_RSA4096. A build pipeline that still carries that value will keep producing RSA-signed images even after ML-DSA is available in the tooling. Check this variable in every product configuration and build target, not only the one a team has tested.

Second, a signed ML-DSA VBMeta struct is only useful if the bootloader can verify it. The 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 with the stub backend may reject an ML-DSA signed VBMeta or fail in a way the team does not expect. Confirm which crypto backend your libavb build uses, and check how your bootloader behaves when verification returns an error. On the tooling side, avbtool.py ML-DSA signing depends on the system openssl, which must report mldsa in openssl list -public-key-algorithms, so build hosts need checking too.

Questions security leads ask about AVB public-key dependencies

Is Android Verified Boot quantum safe?

No product-level statement can be made. The sources checked show that AVB added ML-DSA-65 and ML-DSA-87 signature support for VBMeta structs in format 1.4, and Google's March 25, 2026 post says the AVB library is integrating ML-DSA for boot-time software. The sources name no post-quantum key exchange or key encapsulation algorithm for AVB, and the AOSP AVB overview checked on 2026-12-04 does not mention post-quantum cryptography at all. Signature support alone does not make the boot chain quantum safe, because the rest of the chain, the keys you hold and the device's bootloader behavior all still matter. Ask Google and your device maker which signature algorithms their shipping builds enable and whether any key exchange is planned. Treat any compliance or validation claim as something to verify in writing, not something this page establishes.

Which Android Verified Boot version do I need for ML-DSA?

You need VBMeta format 1.4 or later and an ML-DSA-capable libavb build. The AVB README version history says format 1.4 adds support for ML-DSA-65 and ML-DSA-87 signed VBMeta structs. The README also states that ML-DSA verification in libavb is currently supported only when built with the BoringSSL backend, and that the default crypto backend is a stub that returns an error. On the signing side, avbtool.py checks that the system openssl lists mldsa among its public-key algorithms and otherwise stops with an error. Confirm with your device maker which Android release and libavb build ship these pieces, and whether the bootloader in your device trusts format 1.4 VBMeta. The sources checked do not state a specific production release date for the ML-DSA feature.

Does enabling ML-DSA in Android Verified Boot cost extra?

The sources checked give no cost figures, so no price or effort estimate can be stated here. Costs typically fall into a few groups: engineering time to rebuild the boot image with an ML-DSA-capable libavb and BoringSSL backend, key generation and custody for new ML-DSA key pairs, possible changes to build pipelines that call openssl, and device-side validation before release. Some of these are one-time, while key rotation, signing infrastructure and ongoing firmware releases recur. Costs rise with the number of device models, the number of signing keys, and how much of the release process must be re-tested. Ask your device maker or Google for the expected effort, which components they will update, and whether ML-DSA signing is included in the standard platform release or requires separate work.

What breaks if I switch AVB signing algorithms?

Switching changes what the bootloader must verify and what the build must produce. Several things are affected:

  • Public key trust: the bootloader checks the VBMeta signature against an embedded public key, such as the public part of key0, so a new algorithm needs a matching trust anchor. The README's avb_custom_key path on Pixel 2 and later can only be flashed or erased in the UNLOCKED state.
  • Signature sizes: avbtool.py lists 3309 bytes for an MLDSA65 signature and 4627 bytes for MLDSA87, compared with 256 to 1024 bytes for the RSA options, so partition layouts and size assumptions may need review.
  • Chained partitions: a chained partition descriptor names the key trusted for each partition, so every delegated key must move with the change.
  • Rollback protection: the rollback_index check is a counter comparison, not a public-key operation, and it should be confirmed unchanged by the new format.

Test on the device model you ship, including the locked-state boot path.

What should I ask Google or my device maker about AVB post-quantum support?

Ask for written answers to a short list of points:

  • Which AVB and libavb versions, and which Android release, include ML-DSA-65 and ML-DSA-87 signing and verification in production builds.
  • Whether the BoringSSL backend is the supported verification path for your device, and whether the default stub backend is replaced in your build.
  • Whether any post-quantum key exchange or key encapsulation is planned for AVB, given that the sources checked name none.
  • Which keys are used for VBMeta, chained partitions and the avb_custom_key trust anchor, and how they will be migrated.
  • Whether the bootloader on your device model accepts format 1.4 VBMeta and what the release dates are for any production release.
  • Whether the vendor has published FIPS or CNSA 2.0 statements for AVB. The Google post mentions neither and refers only to NIST post-quantum standards.
Can my team switch Android Verified Boot to ML-DSA without outside help?

Some teams can, but it depends on existing skills and on what your device maker controls. Your team can work on the parts it owns: the build variable that selects the signing algorithm (for example, the README's BOARD_AVB_BOOT_ALGORITHM example), key generation with openssl, and the extract_public_key step that produces pkmd.bin. The bootloader, the libavb backend, and any device-side trust anchors are usually controlled by the device maker or the platform owner, so they may need their cooperation. If your team lacks experience with signing pipelines, bootloader locking behavior or device-level testing, outside help may save time. DeployOpen can plan, implement and test a self-hosted signing pipeline, but scope and cost are set only after a written scope is agreed.

Does Android Verified Boot use post-quantum key exchange anywhere?

The sources checked name no post-quantum key exchange or key encapsulation algorithm for AVB. The public-key uses they describe are signatures: the VBMeta signature check, chained partition delegation keys and the avb_custom_key trust anchor. The Google post lists post-quantum key encapsulation for KeyMint, Key Attestation and Remote Key Provisioning as roadmap items, not as AVB features. Treat any key-exchange claim for AVB as unverified until the vendor documents it. If you need a clear answer for a review, ask Google or your device maker to state the status in writing and with a date.

How DeployOpen works on this

DeployOpen plans and delivers AVB signing work as a written, fixed-scope engagement, starting from the vbmeta and chained partition keys your team already uses. We build and test the signing setup inside your own build environment, then hand over documentation and the verification steps your team can repeat.

How we scope

  • We list which vbmeta, hash and hashtree descriptors and chained partitions in your builds depend on RSA keys today.
  • We confirm which avbtool signing algorithms your build targets, including BOARD_AVB_BOOT_ALGORITHM settings and whether your libavb uses the BoringSSL backend.
  • The written scope states which keys, partitions and build variants are covered, and which Android release you are building against.

How we build

  • We set up signing configurations in your build environment, with keys and avb_custom_key handling kept under your control.
  • We test that the bootloader accepts signed VBMeta structs and that rollback_index checks still behave as expected in the LOCKED state.
  • We check ML-DSA support against your system openssl and any signing_helper, and record the results for each build variant.

How we hand over

  • You receive documentation of each signing algorithm, key path and partition configured, with the commands used to produce pkmd.bin and signed images.
  • The handover includes verification steps your team can rerun on new builds to confirm the signatures and chain delegation still hold.
  • We record which findings depend on the android17-release sources, so your team can recheck them when the branch changes.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer when Android releases or AVB sources change.
  • Ask any quote to name the scope items, the build variants covered and who holds the signing keys after handover.

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.