Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.cc227 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 …]
Dpayload_signer.h128 size_t* signature_size);
Dgenerate_delta_main.cc345 DEFINE_string(signature_size, in Main()
/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.cc173 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 …]
Ddelta_performer_unittest.cc333 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/
Dincrementalfs.h265 __aligned_u64 signature_size; member
/system/update_engine/scripts/
Dbrillo_update_payload198 DEFINE_string signature_size "" \
735 --signature_size="${FLAGS_signature_size}" \
765 --signature_size="${FLAGS_signature_size}"
/system/core/fs_mgr/
Dfs_mgr_verity.cpp117 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/
Dcryptfs.cpp359 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/
Davb_util_test.cpp379 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/
Dincfs.cpp599 int32_t signature_size; in validateSignatureFormat() member
686 args.signature_size = (uint64_t)params.signature.size; in IncFs_MakeFile()