Searched refs:kMinSigSize (Results 1 – 2 of 2) sorted by relevance
25 const size_t kMinSigSize = sizeof(EpidSignature) - sizeof(NrProof); in EpidGetSigSize() local27 return kMinSigSize; in EpidGetSigSize()29 if (ntohl(sig_rl->n2) > (SIZE_MAX - kMinSigSize) / sizeof(NrProof)) { in EpidGetSigSize()30 return kMinSigSize; in EpidGetSigSize()32 return kMinSigSize + ntohl(sig_rl->n2) * sizeof(NrProof); in EpidGetSigSize()
33 const size_t kMinSigSize = sizeof(EpidSignature) - sizeof(NrProof); in EpidGetSigSize() local35 return kMinSigSize; in EpidGetSigSize()38 if (n2 > (SIZE_T_MAX - kMinSigSize) / sizeof(NrProof)) { in EpidGetSigSize()39 return kMinSigSize; in EpidGetSigSize()41 return kMinSigSize + n2 * sizeof(NrProof); in EpidGetSigSize()