Home
last modified time | relevance | path

Searched refs:kMinGroupRlSize (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/verifier/1.1/src/
Dcontext.c44 const size_t kMinGroupRlSize = sizeof(Epid11GroupRl) - sizeof(Epid11GroupId); in Epid11IsGroupRlValid() local
50 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()
/external/epid-sdk/epid/verifier/src/
Dcontext.c44 const size_t kMinGroupRlSize = sizeof(GroupRl) - sizeof(GroupId); in IsGroupRlValid() local
47 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()