Searched refs:zeros (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/ |
D | hkdf.cpp | 40 UniquePtr<uint8_t[]> zeros(new(std::nothrow) uint8_t[digest_size_]); in GenerateKey() local 41 if (zeros.get() == nullptr) in GenerateKey() 44 memset(zeros.get(), 0, digest_size_); in GenerateKey() 45 result = prk_hmac.Init(zeros.get(), digest_size_); in GenerateKey()
|
/system/update_engine/payload_consumer/ |
D | extent_writer.h | 119 brillo::Blob zeros(write_size, 0); in EndImpl() 120 TEST_AND_RETURN_FALSE(underlying_extent_writer_->Write(zeros.data(), in EndImpl()
|
D | delta_performer_integration_test.cc | 363 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 364 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 367 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 368 zeros.size())); in GenerateDeltaFile() 424 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 425 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 427 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 428 zeros.size())); in GenerateDeltaFile()
|
D | delta_performer.cc | 963 brillo::Blob zeros; in PerformZeroOrDiscardOperation() local 972 zeros.resize(16 * block_size_); in PerformZeroOrDiscardOperation() 975 for (uint64_t offset = 0; offset < length; offset += zeros.size()) { in PerformZeroOrDiscardOperation() 977 static_cast<uint64_t>(zeros.size())); in PerformZeroOrDiscardOperation() 979 utils::PWriteAll(target_fd_, zeros.data(), chunk_length, start + offset)); in PerformZeroOrDiscardOperation() 1212 brillo::Blob zeros(end_byte - begin_byte); in PerformBsdiffOperation() local 1214 utils::PWriteAll(target_fd_, zeros.data(), end_byte - begin_byte, begin_byte)); in PerformBsdiffOperation()
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 50 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \
|
/system/update_engine/ |
D | update_metadata.proto | 74 // - ZERO: Write zeros to the destination dst_extents. 162 ZERO = 6; // Write zeros in the destination.
|
/system/tpm/trunks/generator/ |
D | raw_commands_fixed.txt | 8675 The returned value may include leading octets zeros so that it is the same size as the public modul… 8677 the data remaining after padding is removed and this may include leading zeros if the original encr… 8678 value contained leading zeros.. 26405 // set authValue buffer to zeros 35226 // Remove any trailing zeros that might have been added by the caller
|
D | raw_commands.txt | 8664 The returned value may include leading octets zeros so that it is the same size as the public modul… 8666 the data remaining after padding is removed and this may include leading zeros if the original encr… 8667 value contained leading zeros.. 26394 // set authValue buffer to zeros 35217 // Remove any trailing zeros that might have been added by the caller
|