Lines Matching refs:sig_rl
65 bool Epid11IsSigRlValid(Epid11GroupId const* gid, Epid11SigRl const* sig_rl, in Epid11IsSigRlValid() argument
69 if (!gid || !sig_rl || kMinSigRlSize > sig_rl_size) { in Epid11IsSigRlValid()
72 if (ntohl(sig_rl->n2) > (SIZE_MAX - kMinSigRlSize) / sizeof(sig_rl->bk[0])) { in Epid11IsSigRlValid()
76 input_sig_rl_size = kMinSigRlSize + ntohl(sig_rl->n2) * sizeof(sig_rl->bk[0]); in Epid11IsSigRlValid()
81 if (0 != memcmp(gid, &sig_rl->gid, sizeof(*gid))) { in Epid11IsSigRlValid()
160 verifier_ctx->sig_rl = NULL; in Epid11VerifierCreate()
186 (*ctx)->sig_rl = NULL; in Epid11VerifierDelete()
251 Epid11SigRl const* sig_rl, in Epid11VerifierSetSigRl() argument
253 if (!ctx || !sig_rl || !ctx->pub_key) { in Epid11VerifierSetSigRl()
257 if (ctx->sig_rl) { in Epid11VerifierSetSigRl()
260 current_ver = ntohl(ctx->sig_rl->version); in Epid11VerifierSetSigRl()
261 incoming_ver = ntohl(sig_rl->version); in Epid11VerifierSetSigRl()
266 if (!Epid11IsSigRlValid(&ctx->pub_key->gid, sig_rl, sig_rl_size)) { in Epid11VerifierSetSigRl()
269 ctx->sig_rl = sig_rl; in Epid11VerifierSetSigRl()