Home
last modified time | relevance | path

Searched refs:neg_qnr (Results 1 – 4 of 4) sorted by relevance

/external/epid-sdk/epid/common-testhelper/1.1/
Depid_params-testhelper.cc68 FfElementObj neg_qnr(&fq); in Epid11ParamsObj() local
69 THROW_ON_EPIDERR(FfNeg(fq, FfElementObj(&fq, qnr_str), neg_qnr)); in Epid11ParamsObj()
71 THROW_ON_EPIDERR(WriteFfElement(fq, neg_qnr, &ground_element_str.a[0], in Epid11ParamsObj()
/external/epid-sdk/epid/common/math/unittests/
Dfinitefield-test.cc238 FfElementObj neg_qnr(&fq); in TEST() local
239 THROW_ON_EPIDERR(FfNeg(fq, FfElementObj(&fq, qnr), neg_qnr)); in TEST()
241 THROW_ON_EPIDERR(WriteFfElement(fq, neg_qnr, &ground_element_str.a[0], in TEST()
/external/epid-sdk/epid/common/1.1/src/
Depid11params.c199 FfElement* neg_qnr = NULL; in NewFqk() local
212 result = NewFfElement(Fq, &neg_qnr); in NewFqk()
215 result = FfNeg(Fq, qnr, neg_qnr); in NewFqk()
218 result = WriteFfElement(Fq, neg_qnr, &ground_element_str.a[0], in NewFqk()
234 DeleteFfElement(&neg_qnr); in NewFqk()
/external/epid-sdk/epid/common/math/src/
Dtatepairing.c90 FfElement* neg_qnr = NULL; in NewEpid11PairingState() local
153 result = NewFfElement(pairing_state_ctx->Fq, &neg_qnr); in NewEpid11PairingState()
162 sizeof(ff_modulus.x[0].x), neg_qnr, in NewEpid11PairingState()
165 result = FfNeg(pairing_state_ctx->Fq, neg_qnr, qnr); in NewEpid11PairingState()
268 DeleteFfElement(&neg_qnr); in NewEpid11PairingState()