~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to crypto/bn/bn_gf2m.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-06-13 18:15:46 UTC
  • mto: (11.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090613181546-vbfntai3b009dl1u
Tags: upstream-0.9.8k
ImportĀ upstreamĀ versionĀ 0.9.8k

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
                if (zz == 0) break;
385
385
                d1 = BN_BITS2 - d0;
386
386
                
387
 
                if (d0) z[dN] = (z[dN] << d1) >> d1; /* clear up the top d1 bits */
 
387
                /* clear up the top d1 bits */
 
388
                if (d0)
 
389
                        z[dN] = (z[dN] << d1) >> d1;
 
390
                else
 
391
                        z[dN] = 0;
388
392
                z[0] ^= zz; /* reduction t^0 component */
389
393
 
390
394
                for (k = 1; p[k] != 0; k++)