Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/incremental/
DV4Signature.java52 public final byte log2BlockSize; // only 12 (block size 4096) supported now field in V4Signature.HashingInfo
56 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument
58 this.log2BlockSize = log2BlockSize; in HashingInfo()
70 final byte log2BlockSize = buffer.get(); in fromByteArray()
73 return new HashingInfo(hashAlgorithm, log2BlockSize, salt, rawRootHash); in fromByteArray()
238 buffer.put(hashingInfo.log2BlockSize); in getSignedData()
DIncrementalStorage.java515 if (hashingInfo.log2BlockSize != V4Signature.LOG2_BLOCK_SIZE_4096_BYTES) { in validateV4Signature()
516 throw new IOException("Unsupported log2BlockSize: " + hashingInfo.log2BlockSize); in validateV4Signature()
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java223 if (hashingInfo.log2BlockSize != 12) { in generateFsVerityDigest()
225 "Unsupported log2BlockSize: " + hashingInfo.log2BlockSize); in generateFsVerityDigest()
232 buffer.put(hashingInfo.log2BlockSize); // log2(block-size), only log2(4096) is supported in generateFsVerityDigest()