Home
last modified time | relevance | path

Searched refs:signature_size (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_signer.cc214 size_t* signature_size) { in GetMaximumSignatureSize() argument
215 *signature_size = 0; in GetMaximumSignatureSize()
222 *signature_size = EVP_PKEY_size(private_key.get()); in GetMaximumSignatureSize()
304 ssize_t signature_size = RSA_private_encrypt(padded_hash.size(), in SignHash() local
309 if (signature_size < 0) { in SignHash()
314 TEST_AND_RETURN_FALSE(static_cast<size_t>(signature_size) == in SignHash()
321 unsigned int signature_size; in SignHash() local
326 &signature_size, in SignHash()
335 << signature_size; in SignHash()
336 TEST_AND_RETURN_FALSE(signature.size() >= signature_size); in SignHash()
[all …]
Dpayload_signer.h128 size_t* signature_size);
Dboot_img_filesystem.cc98 result->signature_size_ = hdr_v4->signature_size; in CreateFromFile()
Dgenerate_delta_main.cc355 DEFINE_string(signature_size,
/system/extras/verity/
Dverity_verifier.cpp51 static int verify_table(const char* key_path, const uint8_t* signature, size_t signature_size, in verify_table() argument
65 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature, signature_size, key.get())) { in verify_table()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc206 static bool InsertSignaturePlaceholder(size_t signature_size, in InsertSignaturePlaceholder() argument
210 signatures.push_back(brillo::Blob(signature_size, 0)); in InsertSignaturePlaceholder()
213 {signature_size}, in InsertSignaturePlaceholder()
223 size_t signature_size{}; in SignGeneratedPayload() local
225 &signature_size)); in SignGeneratedPayload()
228 payload_path, {signature_size}, &payload_hash, &metadata_hash)); in SignGeneratedPayload()
235 {signature_size}, in SignGeneratedPayload()
251 size_t signature_size{}; in SignGeneratedShellPayloadWithKeys() local
253 PayloadSigner::GetMaximumSignatureSize(key_path, &signature_size)); in SignGeneratedShellPayloadWithKeys()
254 signature_size_strings.push_back(base::StringPrintf("%zu", signature_size)); in SignGeneratedShellPayloadWithKeys()
[all …]
Ddelta_performer_unittest.cc345 auto signature_size = htobe64(10); in DoMetadataSizeTest() local
346 bool result = performer_.Write(&signature_size, 4, &error_code); in DoMetadataSizeTest()
/system/update_engine/scripts/
Dbrillo_update_payload230 DEFINE_string signature_size "" \
841 --signature_size="${FLAGS_signature_size}" \
871 --signature_size="${FLAGS_signature_size}"
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h401 uint32_t signature_size; /* size in bytes */ member
/system/incremental_delivery/incfs/kernel-headers/linux/
Dincrementalfs.h116 __aligned_u64 signature_size; member
/system/core/fastboot/
Dbootimg_utils.cpp72 hdr_v4->signature_size = 0; in mkbootimg_v3_and_above()
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp384 EXPECT_EQ(512, vbmeta_header->signature_size); in TEST_F()
409 EXPECT_EQ(512, vbmeta_header->signature_size); in TEST_F()
570 header->signature_size)); in TEST_F()
/system/incremental_delivery/incfs/
Dincfs.cpp737 int32_t signature_size; in validateSignatureFormat() member
824 args.signature_size = (uint64_t)params.signature.size; in IncFs_MakeFile()