Searched refs:log2BlockSize (Results 1 – 3 of 3) sorted by relevance
52 public final byte log2BlockSize; // only 12 (block size 4096) supported now field in V4Signature.HashingInfo56 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument58 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()
515 if (hashingInfo.log2BlockSize != V4Signature.LOG2_BLOCK_SIZE_4096_BYTES) { in validateV4Signature()516 throw new IOException("Unsupported log2BlockSize: " + hashingInfo.log2BlockSize); in validateV4Signature()
223 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()