• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenSSL098-52/src/crypto/bn/

Lines Matching defs:?r

20  * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
30 * documentation and/or other materials provided with the distribution.
31 * 3. All advertising materials mentioning features or use of this software
37 * 4. If you include any Windows specific code (or a derivative thereof) from
53 * The licence and distribution terms for any publically available version or
61 * Redistribution and use in source and binary forms, with or without
70 * the documentation and/or other materials provided with the
73 * 3. All advertising materials mentioning features or use of this
79 * endorse or promote products derived from this software without
123 BIGNUM *v,*rr;
134 rr = BN_CTX_get(ctx);
136 rr = r;
138 if (rr == NULL || v == NULL) goto err;
144 { if (BN_copy(rr,a) == NULL) goto err; }
145 else { if (!BN_one(rr)) goto err; }
152 if (!BN_mul(rr,rr,v,ctx)) goto err;
157 if (r != rr) BN_copy(r,rr);
372 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
385 return BN_mod_exp_mont_consttime(rr, a, p, m, ctx, in_mont);
400 ret = BN_one(rr);
431 BN_zero(rr);
510 if (!BN_from_montgomery(rr,r,mont,ctx)) goto err;
515 bn_check_top(rr);
572 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
601 ret = BN_one(rr);
710 if (!BN_from_montgomery(rr,r,mont,ctx)) goto err;
725 int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
770 ret = BN_one(rr);
775 BN_zero(rr);
860 if (!BN_one(rr)) goto err;
864 if (!BN_from_montgomery(rr, r, mont, ctx)) goto err;
870 bn_check_top(rr);