summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mont.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-12 10:40:00 -0500
committerRich Salz <rsalz@openssl.org>2015-01-12 10:40:00 -0500
commitfcf64ba0ace1bb76c6e00ca7d0c7cf7f9bebe628 (patch)
treef311339b47723c214fbd10684e85f06daa74cc32 /crypto/bn/bn_mont.c
parent9405a9a2e1594cea9c963c29d9898bb03cb0f24f (diff)
RT3548: Remove some unsupported platforms.
This commit removes NCR, Tandem, Cray. Regenerates TABLE. Removes another missing BEOS fluff. The last platform remaining on this ticket is WIN16. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r--crypto/bn/bn_mont.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c
index 526b9cec5f..8710d781af 100644
--- a/crypto/bn/bn_mont.c
+++ b/crypto/bn/bn_mont.c
@@ -205,22 +205,7 @@ static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont)
for (carry=0, i=0; i<nl; i++, rp++)
{
-#ifdef __TANDEM
- {
- long long t1;
- long long t2;
- long long t3;
- t1 = rp[0] * (n0 & 0177777);
- t2 = 037777600000l;
- t2 = n0 & t2;
- t3 = rp[0] & 0177777;
- t2 = (t3 * t2) & BN_MASK2;
- t1 = t1 + t2;
- v=bn_mul_add_words(rp,np,nl,(BN_ULONG) t1);
- }
-#else
v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2);
-#endif
v = (v+carry+rp[nl])&BN_MASK2;
carry |= (v != rp[nl]);
carry &= (v <= rp[nl]);