Home
last modified time | relevance | path

Searched refs:log2BlockSize (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/core/java/android/os/incremental/
H A DV4Signature.java51 public final byte log2BlockSize; // only 12 (block size 4096) supported now field in V4Signature.HashingInfo
55 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument
57 this.log2BlockSize = log2BlockSize; in HashingInfo()
69 final byte log2BlockSize = buffer.get(); in fromByteArray()
72 return new HashingInfo(hashAlgorithm, log2BlockSize, salt, rawRootHash); in fromByteArray()
175 buffer.put(hashingInfo.log2BlockSize); in getSignedData()
H A DIncrementalStorage.java514 if (hashingInfo.log2BlockSize != V4Signature.LOG2_BLOCK_SIZE_4096_BYTES) { in validateV4Signature()
515 throw new IOException("Unsupported log2BlockSize: " + hashingInfo.log2BlockSize); in validateV4Signature()