Searched refs:verifier_ctx (Results 1 – 2 of 2) sorted by relevance
/external/epid-sdk/epid/verifier/1.1/src/ |
D | context.c | 118 Epid11VerifierCtx* verifier_ctx = NULL; in Epid11VerifierCreate() local 124 verifier_ctx = SAFE_ALLOC(sizeof(Epid11VerifierCtx)); in Epid11VerifierCreate() 125 if (!verifier_ctx) { in Epid11VerifierCreate() 131 result = CreateEpid11Params(&verifier_ctx->epid11_params); in Epid11VerifierCreate() 134 result = CreateEpid11GroupPubKey(pub_key, verifier_ctx->epid11_params->G1, in Epid11VerifierCreate() 135 verifier_ctx->epid11_params->G2, in Epid11VerifierCreate() 136 &verifier_ctx->pub_key); in Epid11VerifierCreate() 140 SetKeySpecificEpid11CommitValues(pub_key, &verifier_ctx->commit_values); in Epid11VerifierCreate() 145 result = NewFfElement(verifier_ctx->epid11_params->GT, &verifier_ctx->e12); in Epid11VerifierCreate() 148 result = NewFfElement(verifier_ctx->epid11_params->GT, &verifier_ctx->e22); in Epid11VerifierCreate() [all …]
|
/external/epid-sdk/epid/verifier/src/ |
D | context.c | 118 VerifierCtx* verifier_ctx = NULL; in EpidVerifierCreate() local 124 verifier_ctx = SAFE_ALLOC(sizeof(VerifierCtx)); in EpidVerifierCreate() 125 if (!verifier_ctx) { in EpidVerifierCreate() 131 verifier_ctx->hash_alg = kSha512; in EpidVerifierCreate() 133 verifier_ctx->hash_alg = kSha256; in EpidVerifierCreate() 137 result = CreateEpid2Params(&verifier_ctx->epid2_params); in EpidVerifierCreate() 142 result = CreateGroupPubKey(pubkey, verifier_ctx->epid2_params->G1, in EpidVerifierCreate() 143 verifier_ctx->epid2_params->G2, in EpidVerifierCreate() 144 &verifier_ctx->pub_key); in EpidVerifierCreate() 149 result = SetKeySpecificCommitValues(pubkey, &verifier_ctx->commit_values); in EpidVerifierCreate() [all …]
|