Home
last modified time | relevance | path

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

/system/extras/verity/
Dverity_verifier.cpp52 static int verify_table(const char* key_path, const uint8_t* signature, size_t signature_size, in verify_table() argument
66 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature, signature_size, key.get())) { in verify_table()
/system/vold/tests/
DCryptfsScryptHidlizationEquivalence_test.cpp235 size_t *signature_size) in keymaster_sign_object_old() argument
294 signature_size); in keymaster_sign_object_old()
349 *signature_size = tmp_sig.data_length; in keymaster_sign_object_old()
399 size_t *signature_size) in keymaster_sign_object_new() argument
435 KEYMASTER_CRYPTFS_RATE_LIMIT, to_sign, to_sign_size, signature, signature_size); in keymaster_sign_object_new()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc180 static bool InsertSignaturePlaceholder(int signature_size, in InsertSignaturePlaceholder() argument
184 signatures.push_back(brillo::Blob(signature_size, 0)); in InsertSignaturePlaceholder()
197 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedPayload() local
200 payload_path, {signature_size}, &hash, nullptr)); in SignGeneratedPayload()
242 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedShellPayload() local
250 signature_size, signature_size); in SignGeneratedShellPayload()
252 signature_size_string = base::StringPrintf("%d", signature_size); in SignGeneratedShellPayload()
556 int signature_size = in GenerateDeltaFile() local
559 ASSERT_TRUE(InsertSignaturePlaceholder(signature_size, state->delta_path, in GenerateDeltaFile()
563 signature_size -= 1; in GenerateDeltaFile()
[all …]
/system/update_engine/scripts/
Dbrillo_update_payload153 DEFINE_string signature_size "" \
589 -signature_size="${FLAGS_signature_size}" \
619 -signature_size="${FLAGS_signature_size}"
/system/update_engine/payload_generator/
Dpayload_signer.cc366 ssize_t signature_size = RSA_private_encrypt(padded_hash.size(), in SignHash() local
372 if (signature_size < 0) { in SignHash()
377 TEST_AND_RETURN_FALSE(static_cast<size_t>(signature_size) == in SignHash()
438 for (int signature_size : signature_sizes) { in HashPayloadForSigning() local
439 signatures.emplace_back(signature_size, 0); in HashPayloadForSigning()
Dgenerate_delta_main.cc298 DEFINE_string(signature_size, "", in Main()
/system/vold/
Dcryptfs.cpp138 size_t *signature_size) in keymaster_sign_object() argument
174 KEYMASTER_CRYPTFS_RATE_LIMIT, to_sign, to_sign_size, signature, signature_size); in keymaster_sign_object()
1039 size_t signature_size; in scrypt_keymaster() local
1057 &signature, &signature_size)) { in scrypt_keymaster()
1062 rc = crypto_scrypt(signature, signature_size, salt, SALT_LEN, in scrypt_keymaster()
/system/core/fs_mgr/
Dfs_mgr_verity.cpp115 static int verify_table(const uint8_t *signature, size_t signature_size, in verify_table() argument
134 signature_size, key)) { in verify_table()