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 79 AvbHashDescriptor hash_desc; local
94 (const AvbHashDescriptor*)descriptor, &hash_desc)) {
101 desc_salt = desc_partition_name + hash_desc.partition_name_len;
102 desc_digest = desc_salt + hash_desc.salt_len;
104 if (!avb_validate_utf8(desc_partition_name, hash_desc.partition_name_len)) {
115 hash_desc.partition_name_len);
124 hash_desc.partition_name_len,
132 /* If we're allowing verification errors then hash_desc.image_size
140 image_size = hash_desc.image_size;
184 if (avb_strcmp((const char*)hash_desc.hash_algorithm, "sha256") == 0)
    [all...]
  /external/avb/test/
avb_slot_verify_unittest.cc 744 AvbHashDescriptor hash_desc; local
747 ((AvbHashDescriptor*)descriptors[0]), &hash_desc));
753 hash_desc.partition_name_len));
754 o += hash_desc.partition_name_len;
755 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len));
756 o += hash_desc.salt_len;
758 mem_to_hexstring(desc_end + o, hash_desc.digest_len));
    [all...]

Completed in 991 milliseconds