Searched refs:Ri (Results 1 - 7 of 7) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/bn/
H A Dbn_mont.c374 BIGNUM *Ri, *R; local
377 if ((Ri = BN_CTX_get(ctx)) == NULL)
414 if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL)
416 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2))
417 goto err; /* R*Ri */
418 if (!BN_is_zero(Ri)) {
419 if (!BN_sub_word(Ri, 1))
423 if (bn_expand(Ri, (int)sizeof(BN_ULONG) * 2) == NULL)
425 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/bn/
H A Dbn_mont.c374 BIGNUM *Ri, *R; local
377 if ((Ri = BN_CTX_get(ctx)) == NULL)
414 if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL)
416 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2))
417 goto err; /* R*Ri */
418 if (!BN_is_zero(Ri)) {
419 if (!BN_sub_word(Ri, 1))
423 if (bn_expand(Ri, (int)sizeof(BN_ULONG) * 2) == NULL)
425 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/bn/
H A Dbn_mont.c374 BIGNUM *Ri, *R; local
377 if ((Ri = BN_CTX_get(ctx)) == NULL)
414 if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL)
416 if (!BN_lshift(Ri, Ri, 2 * BN_BITS2))
417 goto err; /* R*Ri */
418 if (!BN_is_zero(Ri)) {
419 if (!BN_sub_word(Ri, 1))
423 if (bn_expand(Ri, (int)sizeof(BN_ULONG) * 2) == NULL)
425 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/bn/
H A Dbn_mont.c416 BIGNUM *Ri,*R; local
419 if((Ri = BN_CTX_get(ctx)) == NULL) goto err;
449 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
451 if (!BN_lshift(Ri,Ri,2*BN_BITS2)) goto err; /* R*Ri */
452 if (!BN_is_zero(Ri))
454 if (!BN_sub_word(Ri,1)) goto err;
458 if (bn_expand(Ri,(int)sizeof(BN_ULONG)*2) == NULL)
460 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/bn/
H A Dbn_mont.c416 BIGNUM *Ri,*R; local
419 if((Ri = BN_CTX_get(ctx)) == NULL) goto err;
449 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
451 if (!BN_lshift(Ri,Ri,2*BN_BITS2)) goto err; /* R*Ri */
452 if (!BN_is_zero(Ri))
454 if (!BN_sub_word(Ri,1)) goto err;
458 if (bn_expand(Ri,(int)sizeof(BN_ULONG)*2) == NULL)
460 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/bn/
H A Dbn_mont.c416 BIGNUM *Ri,*R; local
419 if((Ri = BN_CTX_get(ctx)) == NULL) goto err;
449 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
451 if (!BN_lshift(Ri,Ri,2*BN_BITS2)) goto err; /* R*Ri */
452 if (!BN_is_zero(Ri))
454 if (!BN_sub_word(Ri,1)) goto err;
458 if (bn_expand(Ri,(int)sizeof(BN_ULONG)*2) == NULL)
460 /* Ri
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/bcmcrypto/
H A Dbn.c3517 BIGNUM Ri, *R; local
3519 BN_init(&Ri);
3539 /* Ri = R^-1 mod N */
3540 if ((BN_mod_inverse(&Ri, R, &tmod, ctx)) == NULL)
3542 if (!BN_lshift(&Ri, &Ri, BN_BITS2)) goto err; /* R*Ri */
3543 if (!BN_is_zero(&Ri)) {
3544 if (!BN_sub_word(&Ri, 1)) goto err;
3547 if (!BN_set_word(&Ri, BN_MASK
[all...]

Completed in 203 milliseconds