Home | History | Annotate | Download | only in src

Lines Matching refs:priv_rl

61 static bool IsPrivRlValid(GroupId const* gid, PrivRl const* priv_rl,
66 if (!gid || !priv_rl || kMinPrivRlSize > priv_rl_size) {
69 if (ntohl(priv_rl->n1) >
70 (SIZE_MAX - kMinPrivRlSize) / sizeof(priv_rl->f[0])) {
75 kMinPrivRlSize + ntohl(priv_rl->n1) * sizeof(priv_rl->f[0]);
80 if (0 != memcmp(gid, &priv_rl->gid, sizeof(*gid))) {
184 verifier_ctx->priv_rl = NULL;
214 (*ctx)->priv_rl = NULL;
268 EpidStatus EpidVerifierSetPrivRl(VerifierCtx* ctx, PrivRl const* priv_rl,
270 if (!ctx || !priv_rl || !ctx->pub_key) {
273 if (!IsPrivRlValid(&ctx->pub_key->gid, priv_rl, priv_rl_size)) {
277 if (ctx->priv_rl) {
280 current_ver = ntohl(ctx->priv_rl->version);
281 incoming_ver = ntohl(priv_rl->version);
286 ctx->priv_rl = priv_rl;