Lines Matching refs:bnS
34504 1112 BIGNUM *bnS;
34523 1131 bnS = BN_CTX_get(context);
34602 1205 if( !BN_mod_mul(bnS, bnD, bnR, bnN, context) // (r * dA) mod n
34603 1206 || !BN_mod_sub(bnS, bnK, bnS, bnN, context) // (k - (r * dA) mod n
34604 1207 || !BN_mod_mul(bnS, bnT, bnS, bnN, context))// t * (k - (r * dA) mod n
34607 1210 pAssert(cmp_bn2hex(bnS,
34612 1215 if(BN_is_zero(bnS))
34620 1223 BnTo2B(&sOut->b, bnS, curveData->n->size);
34727 1298 BIGNUM *bnS;
34758 1329 bnS = BN_CTX_get(context);
34798 1364 || BN_bin2bn(sIn->t.buffer, sIn->t.size, bnS) == NULL
34813 1379 if (BN_mod_inverse(bnW, bnS, bnN, context) == NULL)
34967 1499 BIGNUM *bnS;
34987 1513 bnS = BN_CTX_get(context);
34988 1514 if( bnS == NULL
35003 1529 pAssert(EC_POINT_get_affine_coordinates_GFp(group, pQ, bnT, bnS, context));
35007 1533 pAssert(cmp_bn2hex(bnS,
35013 1539 BnFrom2B(bnS, &sIn->b);
35027 1553 fail = (BN_ucmp(bnS, &group->order) >= 0) || fail;
35035 1561 if(!BN_mod_add(bnT, bnR, bnS, &group->order, context))
35053 1574 BN_copy(bnT, bnS);
35056 1577 if(!EC_POINT_mul(group, pQ, bnS, pQ, bnT, context))