Searched refs:kLength (Results 1 – 19 of 19) sorted by relevance
| /system/ulib/digest/ |
| A D | digest.cpp | 45 memcpy(bytes_, o.bytes_, kLength); in Digest() 46 memset(o.bytes_, 0, kLength); in Digest() 52 memcpy(bytes_, o.bytes_, kLength); in operator =() 58 memcpy(bytes_, rhs, kLength); in operator =() 149 return memcmp(bytes_, rhs.bytes_, kLength) == 0; in operator ==() 157 return rhs ? memcmp(bytes_, rhs, kLength) == 0 : false; in operator ==()
|
| A D | merkle-tree.cpp | 25 const size_t kDigestsPerNode = MerkleTree::kNodeSize / Digest::kLength; 197 digest_.CopyTo(out, Digest::kLength); in CreateUpdate() 198 rc = next_->CreateUpdate(out, Digest::kLength, next); in CreateUpdate() 199 out += Digest::kLength; in CreateUpdate() 200 tree_off += Digest::kLength; in CreateUpdate() 324 expected += Digest::kLength; in VerifyLevel() 411 if (root_len < Digest::kLength) { in merkle_tree_verify()
|
| /system/ulib/digest/include/digest/ |
| A D | digest.h | 30 static constexpr size_t kLength = DIGEST_LENGTH; 111 uint8_t bytes_[kLength];
|
| /system/ulib/blobfs/include/blobfs/ |
| A D | blob-cache.h | 147 return memcmp(k1, k2, Digest::kLength) < 0; in LessThan() 150 return memcmp(k1, k2, Digest::kLength) == 0; in EqualTo()
|
| A D | cache-node.h | 90 uint8_t digest_[Digest::kLength] = {};
|
| A D | format.h | 291 uint8_t merkle_root_hash[Digest::kLength];
|
| /system/utest/digest/ |
| A D | digest.cpp | 37 char buf[(Digest::kLength * 2) + 1]; in DigestStrings() 62 uint8_t buf[Digest::kLength]; in DigestSelf() 65 actual.Hash(buf, Digest::kLength); in DigestSelf() 88 uint8_t buf[Digest::kLength]; in DigestCWrappers()
|
| A D | merkle-tree.cpp | 37 const uint64_t kLarge = ((kNodeSize / Digest::kLength) + 1) * kNodeSize; 45 const char digest[(Digest::kLength * 2) + 1]; 318 uint8_t actual[Digest::kLength]; in CreateFinalC() 343 uint8_t actual[Digest::kLength]; in CreateC() 437 uint8_t digest[Digest::kLength]; in VerifyC() 570 char str[(Digest::kLength * 2) + 1]; in VerifyBadRoot() 632 uint8_t buffer[Digest::kLength]; in CreateAndVerifyHugePRNGData() 651 buffer[rand() % Digest::kLength] ^= in CreateAndVerifyHugePRNGData()
|
| /system/host/blobfs/ |
| A D | blobfs.h | 53 for (size_t i = 0; i < digest::Digest::kLength; i++) { in operator()
|
| /system/ulib/fs-host/include/fs-host/ |
| A D | common.h | 34 kLength, enumerator
|
| /system/host/merkleroot/ |
| A D | merkleroot.cpp | 31 char digest[Digest::kLength * 2 + 1]{};
|
| /system/ulib/blobfs/ |
| A D | vnode.cpp | 122 char name[Digest::kLength * 2 + 1]; in Verify() 338 memset(inode_.merkle_root_hash, 0, Digest::kLength); in SpaceAllocate() 437 memcpy(inode_.merkle_root_hash, GetKey(), Digest::kLength); in WriteMetadata() 984 info->max_filename_size = Digest::kLength * 2; in QueryFilesystem()
|
| A D | blobfs.cpp | 368 char name[Digest::kLength * 2 + 1]; in Readdir() 374 if ((r = df.Next(fbl::StringPiece(name, Digest::kLength * 2), in Readdir() 652 char name[digest::Digest::kLength * 2 + 1]; in InitializeVnodes()
|
| /system/ulib/fs-host/ |
| A D | common.cpp | 33 {"length", Option::kLength, "[bytes]", "Remaining Length",
|
| /system/dev/display/vim-display/ |
| A D | vim-spdif-audio-stream.cpp | 288 uint8_t digest_out[digest::Digest::kLength]; in Init()
|
| /system/utest/blobfs-bench/ |
| A D | blobfs-bench.cpp | 168 fbl::StringPrintf("%s/%*d", fs_path.c_str(), static_cast<int>(2 * Digest::kLength), 0); in GetNegativeLookupPath()
|
| /system/host/minfs/ |
| A D | main.cpp | 164 case Option::kLength: in IsOptionValid()
|
| /system/dev/audio/usb-audio/ |
| A D | usb-audio-stream.cpp | 214 uint8_t digest_out[digest::Digest::kLength]; in ComputePersistentUniqueId()
|
| /system/utest/blobfs/ |
| A D | blobfs.cpp | 686 ASSERT_EQ(info.max_filename_size, Digest::kLength * 2); in QueryInfo() 1218 size_t idx = strlen(info->path) - 1 - (rand() % (2 * Digest::kLength)); in CorruptedDigest()
|
Completed in 36 milliseconds