HomeSort by relevance Sort by last modified time
    Searched refs:hash_desc (Results 1 - 2 of 2) sorted by null

  /external/avb/libavb/
avb_slot_verify.c 78 AvbHashDescriptor hash_desc; local
92 (const AvbHashDescriptor*)descriptor, &hash_desc)) {
99 desc_salt = desc_partition_name + hash_desc.partition_name_len;
100 desc_digest = desc_salt + hash_desc.salt_len;
102 if (!avb_validate_utf8(desc_partition_name, hash_desc.partition_name_len)) {
111 hash_desc.partition_name_len,
119 image_buf = avb_malloc(hash_desc.image_size);
128 hash_desc.image_size,
139 if (part_num_read != hash_desc.image_size) {
145 if (avb_strcmp((const char*)hash_desc.hash_algorithm, "sha256") == 0)
    [all...]
  /external/avb/test/
avb_slot_verify_unittest.cc 646 AvbHashDescriptor hash_desc; local
649 ((AvbHashDescriptor*)descriptors[0]), &hash_desc));
655 hash_desc.partition_name_len));
656 o += hash_desc.partition_name_len;
657 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len));
658 o += hash_desc.salt_len;
660 mem_to_hexstring(desc_end + o, hash_desc.digest_len));
    [all...]

Completed in 275 milliseconds