Home
last modified time | relevance | path

Searched refs:basename_hash (Results 1 – 8 of 8) sorted by relevance

/external/epid-sdk/epid/verifier/src/
Dcontext.c187 verifier_ctx->basename_hash = NULL; in EpidVerifierCreate()
218 DeleteEcPoint(&(*ctx)->basename_hash); in EpidVerifierDelete()
351 if (!ctx->basename_hash) { in EpidVerifierSetVerifierRl()
371 res = EcIsEqual(G1, ctx->basename_hash, B, &cmp_result); in EpidVerifierSetVerifierRl()
399 if (!ctx || !ctx->basename_hash) return 0; in EpidGetVerifierRlSize()
435 res = WriteEcPoint(ctx->epid2_params->G1, ctx->basename_hash, &(ver_rl->B), in EpidWriteVerifierRl()
458 if (!ctx->basename_hash) { in EpidBlacklistSig()
477 WriteEcPoint(G1, ctx->basename_hash, &(ver_rl->B), sizeof(ver_rl->B)); in EpidBlacklistSig()
534 EcPoint* basename_hash = NULL; in EpidVerifierSetBasename() local
545 DeleteEcPoint(&ctx->basename_hash); in EpidVerifierSetBasename()
[all …]
Dverifybasic.c83 EcPoint* basename_hash = ctx->basename_hash; in EpidVerifyBasicSig() local
151 if (basename_hash) { in EpidVerifyBasicSig()
152 res = EcIsEqual(G1, basename_hash, B, &cmp_result); in EpidVerifyBasicSig()
Dcontext.h43 EcPoint* basename_hash; ///< EcHash of the basename (NULL = random base) member
/external/epid-sdk/epid/verifier/1.1/src/
Dcontext.c188 DeleteEcPoint(&(*ctx)->basename_hash); in Epid11VerifierDelete()
302 EcPoint* basename_hash = NULL; in Epid11VerifierSetBasename() local
314 DeleteEcPoint(&ctx->basename_hash); in Epid11VerifierSetBasename()
321 result = NewEcPoint(G3, &basename_hash); in Epid11VerifierSetBasename()
326 result = Epid11EcHash(G3, basename, basename_len, basename_hash); in Epid11VerifierSetBasename()
349 DeleteEcPoint(&ctx->basename_hash); in Epid11VerifierSetBasename()
352 ctx->basename_hash = basename_hash; in Epid11VerifierSetBasename()
358 DeleteEcPoint(&basename_hash); in Epid11VerifierSetBasename()
Dverifybasic.c102 EcPoint* basename_hash = ctx->basename_hash; in Epid11VerifyBasicSig() local
184 if (basename_hash) { in Epid11VerifyBasicSig()
185 res = EcIsEqual(G3, basename_hash, B, &cmp_result); in Epid11VerifyBasicSig()
Dcontext.h44 EcPoint* basename_hash; ///< Epid11EcHash of the basename member
/external/epid-sdk/epid/verifier/1.1/unittests/
Dcontext-test.cc460 EXPECT_NE(nullptr, ctx->basename_hash); in TEST_F()
467 EXPECT_NE(nullptr, ctx->basename_hash); in TEST_F()
476 EXPECT_EQ(nullptr, ctx->basename_hash); in TEST_F()
487 EXPECT_NE(nullptr, ctx->basename_hash); in TEST_F()
/external/epid-sdk/epid/verifier/unittests/
Dcontext-test.cc1053 EXPECT_EQ(nullptr, ctx->basename_hash); in TEST_F()
1086 EXPECT_EQ(nullptr, ctx->basename_hash); in TEST_F()