Searched refs:kMinGroupRlSize (Results 1 – 2 of 2) sorted by relevance
44 const size_t kMinGroupRlSize = sizeof(Epid11GroupRl) - sizeof(Epid11GroupId); in Epid11IsGroupRlValid() local50 if (grp_rl_size < kMinGroupRlSize) { in Epid11IsGroupRlValid()54 (SIZE_MAX - kMinGroupRlSize) / sizeof(Epid11GroupId)) { in Epid11IsGroupRlValid()58 kMinGroupRlSize + (ntohl(group_rl->n3) * sizeof(Epid11GroupId)); in Epid11IsGroupRlValid()
44 const size_t kMinGroupRlSize = sizeof(GroupRl) - sizeof(GroupId); in IsGroupRlValid() local47 if (!group_rl || grp_rl_size < kMinGroupRlSize) { in IsGroupRlValid()50 if (ntohl(group_rl->n3) > (SIZE_MAX - kMinGroupRlSize) / sizeof(GroupId)) { in IsGroupRlValid()53 input_grp_rl_size = kMinGroupRlSize + (ntohl(group_rl->n3) * sizeof(GroupId)); in IsGroupRlValid()