Home
last modified time | relevance | path

Searched refs:pairing_state_ctx (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/common/math/src/
Dtatepairing.c85 Epid11PairingState* pairing_state_ctx = NULL; in NewEpid11PairingState() local
122 pairing_state_ctx = in NewEpid11PairingState()
124 if (!pairing_state_ctx) { in NewEpid11PairingState()
130 pairing_state_ctx->ga = (EcGroup*)ga; in NewEpid11PairingState()
131 pairing_state_ctx->gb = (EcGroup*)gb; in NewEpid11PairingState()
132 pairing_state_ctx->ff = (FiniteField*)ff; in NewEpid11PairingState()
135 pairing_state_ctx->Fq3 = ff->ground_ff; in NewEpid11PairingState()
136 if (!pairing_state_ctx->Fq3) { in NewEpid11PairingState()
140 Fq3 = pairing_state_ctx->Fq3->ipp_ff; in NewEpid11PairingState()
141 pairing_state_ctx->Fq = pairing_state_ctx->Fq3->ground_ff; in NewEpid11PairingState()
[all …]
Dpairing.c130 PairingState* pairing_state_ctx = NULL; in NewPairingState() local
191 pairing_state_ctx = (PairingState*)SAFE_ALLOC(sizeof(PairingState)); in NewPairingState()
192 if (!pairing_state_ctx) { in NewPairingState()
198 pairing_state_ctx->ga = (EcGroup*)ga; in NewPairingState()
199 pairing_state_ctx->gb = (EcGroup*)gb; in NewPairingState()
200 pairing_state_ctx->ff = ff; in NewPairingState()
201 result = NewBigNum(sizeof(BigNumStr), &pairing_state_ctx->t); in NewPairingState()
203 result = ReadBigNum(t, sizeof(BigNumStr), pairing_state_ctx->t); in NewPairingState()
205 pairing_state_ctx->neg = neg; in NewPairingState()
206 pairing_state_ctx->Fq6 = Ffq6; in NewPairingState()
[all …]