Searched refs:DIGEST_SIZE_BYTES (Results 1 – 1 of 1) sorted by relevance
74 public static final int DIGEST_SIZE_BYTES = 32; field in PersistentDataBlockService160 inputStream.skipBytes(DIGEST_SIZE_BYTES); in getTotalDataSizeLocked()183 byte[] storedDigest = new byte[DIGEST_SIZE_BYTES]; in enforceChecksumValidity()210 outputStream.write(digest, 0, DIGEST_SIZE_BYTES); in computeAndWriteDigestLocked()244 if (storedDigest != null && storedDigest.length == DIGEST_SIZE_BYTES) { in computeDigestLocked()247 inputStream.skipBytes(DIGEST_SIZE_BYTES); in computeDigestLocked()252 md.update(data, 0, DIGEST_SIZE_BYTES); // include 0 checksum in digest in computeDigestLocked()275 byte[] data = new byte[DIGEST_SIZE_BYTES]; in formatPartitionLocked()277 outputStream.write(data, 0, DIGEST_SIZE_BYTES); in formatPartitionLocked()372 byte[] checksum = new byte[DIGEST_SIZE_BYTES];[all …]