/external/epid-sdk/epid/common/math/unittests/ |
finitefield-test.cc | 74 FqElemStr qnr = {{0x08, 0x66, 0xA7, 0x67, 0x36, 0x6E, 0x62, 0x71, member in namespace:__anon22098 237 // Fqk ground element is {-qnr, 0, 0} 239 THROW_ON_EPIDERR(FfNeg(fq, FfElementObj(&fq, qnr), neg_qnr));
|
/external/epid-sdk/epid/common/1.1/src/ |
epid11params.c | 198 FfElement* qnr = NULL; local 206 result = NewFfElement(Fq, &qnr); 209 result = ReadFfElement(Fq, &(params->qnr), sizeof(params->qnr), qnr); 215 result = FfNeg(Fq, qnr, neg_qnr); 233 DeleteFfElement(&qnr); 379 FfElement* qnr = NULL; local 399 // qnr 400 result = NewFfElement(Fq, &qnr); [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 141 struct crypto_bignum *qr = NULL, *qnr = NULL, *one = NULL; local 188 while (!qr || !qnr) { 195 } else if (!qnr && res == -1) { 196 qnr = tmp1; 204 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), 302 * (multiplying a qr by qnr would make a qnr). 354 crypto_bignum_deinit(qnr, 1);
|
/external/epid-sdk/epid/common/1.1/ |
types.h | 82 Intel(R) EPID 1.1 parameters are: (p, q, h, a, b, coeff, qnr, orderG2, p', q', 95 FqElemStr qnr; ///< a quadratic non-residue (an integer between [0, q-1]) member in struct:Epid11Params
|
/external/epid-sdk/epid/common/math/src/ |
tatepairing.c | 88 FfElement* qnr = NULL; local 149 // compute fq3_inv_constant = (inverse(qnr), 0, 0) 155 result = NewFfElement(pairing_state_ctx->Fq, &qnr); 165 result = FfNeg(pairing_state_ctx->Fq, neg_qnr, qnr); 167 result = FfInv(pairing_state_ctx->Fq, qnr, inv_qnr); 176 // compute fq3_inv2_constant = (inverse(qnr)^2, 0, 0) 266 DeleteFfElement(&qnr);
|
/external/wpa_supplicant_8/src/common/ |
sae.c | 235 const u8 *qr, const u8 *qnr, 271 * num = (num * qnr) module p 275 const_time_select_bin(mask, qnr, qr, prime_len, qr_or_qnr_bin); 301 const u8 *prime, const u8 *qr, const u8 *qnr, 331 res = is_quadratic_residue_blind(sae, prime, bits, qr, qnr, y_sqr); 429 struct crypto_bignum **qnr) 432 *qnr = NULL; 434 while (!(*qr) || !(*qnr)) { 452 else if (res == -1 && !(*qnr)) 453 *qnr = q 475 struct crypto_bignum *x = NULL, *qr = NULL, *qnr = NULL; local [all...] |