Home
last modified time | relevance | path

Searched refs:parent_size (Results 1 – 9 of 9) sorted by relevance

/external/vboot_reference/firmware/lib20/
Dcommon.c19 int vb2_verify_member_inside(const void *parent, size_t parent_size, in vb2_verify_member_inside() argument
24 const uintptr_t parent_end = (uintptr_t)parent + parent_size; in vb2_verify_member_inside()
31 if (parent_size < 0 || parent_end < (uintptr_t)parent) in vb2_verify_member_inside()
40 if (member_offs < 0 || member_offs > parent_size || in vb2_verify_member_inside()
41 member_end_offs > parent_size) in vb2_verify_member_inside()
51 if (data_offs < 0 || data_offs > parent_size || in vb2_verify_member_inside()
52 data_end_offs > parent_size) in vb2_verify_member_inside()
59 uint32_t parent_size, in vb2_verify_signature_inside() argument
62 return vb2_verify_member_inside(parent, parent_size, in vb2_verify_signature_inside()
Dpacked_key.c18 uint32_t parent_size, in vb2_verify_packed_key_inside() argument
21 return vb2_verify_member_inside(parent, parent_size, in vb2_verify_packed_key_inside()
/external/vboot_reference/firmware/lib/
Dvboot_common.c58 int VerifyMemberInside(const void *parent, uint64_t parent_size, in VerifyMemberInside() argument
65 if (end > parent_size) in VerifyMemberInside()
70 if (end + member_size > parent_size) in VerifyMemberInside()
76 if (end > parent_size) in VerifyMemberInside()
81 if (end + member_data_size > parent_size) in VerifyMemberInside()
87 int VerifyPublicKeyInside(const void *parent, uint64_t parent_size, in VerifyPublicKeyInside() argument
90 return VerifyMemberInside(parent, parent_size, in VerifyPublicKeyInside()
95 int VerifySignatureInside(const void *parent, uint64_t parent_size, in VerifySignatureInside() argument
98 return VerifyMemberInside(parent, parent_size, in VerifySignatureInside()
/external/vboot_reference/firmware/lib20/include/
Dvb2_common.h50 int vb2_verify_member_inside(const void *parent, size_t parent_size,
64 uint32_t parent_size,
77 uint32_t parent_size,
/external/vboot_reference/firmware/lib/include/
Dvboot_common.h69 int VerifyMemberInside(const void *parent, uint64_t parent_size,
74 int VerifyPublicKeyInside(const void *parent, uint64_t parent_size,
77 int VerifySignatureInside(const void *parent, uint64_t parent_size,
/external/vboot_reference/firmware/lib21/include/
Dvb2_common.h35 int vb2_verify_common_header(const void *parent, uint32_t parent_size);
/external/vboot_reference/firmware/lib21/
Dcommon.c21 int vb2_verify_common_header(const void *parent, uint32_t parent_size) in vb2_verify_common_header() argument
26 if (parent_size < c->total_size) in vb2_verify_common_header()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc1458 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1463 return parent_size + size; in PayloadSize()
1674 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1685 return parent_size + size; in PayloadSize()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc1458 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1463 return parent_size + size; in PayloadSize()
1674 const uint64_t parent_size = Track::PayloadSize(); in PayloadSize() local
1685 return parent_size + size; in PayloadSize()