/system/update_engine/payload_generator/ |
D | payload_signer.cc | 227 size_t* signature_size) { in GetMaximumSignatureSize() argument 228 *signature_size = 0; in GetMaximumSignatureSize() 235 *signature_size = EVP_PKEY_size(private_key.get()); in GetMaximumSignatureSize() 319 ssize_t signature_size = RSA_private_encrypt(padded_hash.size(), in SignHash() local 325 if (signature_size < 0) { in SignHash() 330 TEST_AND_RETURN_FALSE(static_cast<size_t>(signature_size) == in SignHash() 337 unsigned int signature_size; in SignHash() local 342 &signature_size, in SignHash() 351 << signature_size; in SignHash() 352 TEST_AND_RETURN_FALSE(signature.size() >= signature_size); in SignHash() [all …]
|
D | payload_signer.h | 128 size_t* signature_size);
|
D | generate_delta_main.cc | 345 DEFINE_string(signature_size, in Main()
|
/system/extras/verity/ |
D | verity_verifier.cpp | 51 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/ |
D | delta_performer_integration_test.cc | 173 static bool InsertSignaturePlaceholder(size_t signature_size, in InsertSignaturePlaceholder() argument 177 signatures.push_back(brillo::Blob(signature_size, 0)); in InsertSignaturePlaceholder() 180 {signature_size}, in InsertSignaturePlaceholder() 190 size_t signature_size; in SignGeneratedPayload() local 192 &signature_size)); in SignGeneratedPayload() 195 payload_path, {signature_size}, &payload_hash, &metadata_hash)); in SignGeneratedPayload() 202 {signature_size}, in SignGeneratedPayload() 218 size_t signature_size; in SignGeneratedShellPayloadWithKeys() local 220 PayloadSigner::GetMaximumSignatureSize(key_path, &signature_size)); in SignGeneratedShellPayloadWithKeys() 221 signature_size_strings.push_back(base::StringPrintf("%zu", signature_size)); in SignGeneratedShellPayloadWithKeys() [all …]
|
D | delta_performer_unittest.cc | 333 auto signature_size = htobe64(10); in DoMetadataSizeTest() local 334 bool result = performer_.Write(&signature_size, 4, &error_code); in DoMetadataSizeTest()
|
/system/incremental_delivery/incfs/kernel-headers/linux/ |
D | incrementalfs.h | 265 __aligned_u64 signature_size; member
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 198 DEFINE_string signature_size "" \ 735 --signature_size="${FLAGS_signature_size}" \ 765 --signature_size="${FLAGS_signature_size}"
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 117 static int verify_table(const uint8_t *signature, size_t signature_size, in verify_table() argument 136 signature_size, key)) { in verify_table()
|
/system/vold/ |
D | cryptfs.cpp | 359 size_t* signature_size) { in keymaster_sign_object() argument 396 to_sign_size, signature, signature_size); in keymaster_sign_object() 1172 size_t signature_size; in scrypt_keymaster() local 1188 if (keymaster_sign_object(ftr, ikey, INTERMEDIATE_BUF_SIZE, &signature, &signature_size)) { in scrypt_keymaster() 1193 rc = crypto_scrypt(signature, signature_size, salt, SALT_LEN, N, r, p, ikey, in scrypt_keymaster()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 379 EXPECT_EQ(512, vbmeta_header->signature_size); in TEST_F() 404 EXPECT_EQ(512, vbmeta_header->signature_size); in TEST_F() 565 header->signature_size)); in TEST_F()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 599 int32_t signature_size; in validateSignatureFormat() member 686 args.signature_size = (uint64_t)params.signature.size; in IncFs_MakeFile()
|