Searched refs:signature_size (Results 1 – 8 of 8) sorted by relevance
/system/extras/verity/ |
D | verity_verifier.cpp | 52 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/ |
D | CryptfsScryptHidlizationEquivalence_test.cpp | 235 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/ |
D | delta_performer_integration_test.cc | 180 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/ |
D | brillo_update_payload | 153 DEFINE_string signature_size "" \ 589 -signature_size="${FLAGS_signature_size}" \ 619 -signature_size="${FLAGS_signature_size}"
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 366 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()
|
D | generate_delta_main.cc | 298 DEFINE_string(signature_size, "", in Main()
|
/system/vold/ |
D | cryptfs.cpp | 138 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/ |
D | fs_mgr_verity.cpp | 115 static int verify_table(const uint8_t *signature, size_t signature_size, in verify_table() argument 134 signature_size, key)) { in verify_table()
|