HomeSort by relevance Sort by last modified time
    Searched defs:Ri (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/boringssl/src/crypto/bn/
montgomery.c 164 to->ri = from->ri;
172 BIGNUM *Ri, *R;
177 Ri = BN_CTX_get(ctx);
178 if (Ri == NULL) {
192 mont->ri = (BN_num_bits(mod) + (BN_BITS2 - 1)) / BN_BITS2 * BN_BITS2;
213 if (BN_mod_inverse(Ri, R, &tmod, ctx) == NULL) {
216 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2)) {
217 goto err; /* R*Ri */
    [all...]
  /external/openssl/crypto/bn/
bn_mont.c 300 BN_mask_bits(t1,mont->ri);
303 BN_mask_bits(t2,mont->ri);
307 if (!BN_rshift(ret,t2,mont->ri)) goto err;
335 ctx->ri=0;
358 BIGNUM *Ri,*R;
361 if((Ri = BN_CTX_get(ctx)) == NULL) goto err;
376 mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2;
391 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
393 if (!BN_lshift(Ri,Ri,2*BN_BITS2)) goto err; /* R*Ri *
    [all...]

Completed in 244 milliseconds