~ubuntu-branches/ubuntu/oneiric/botan1.8/oneiric-updates

« back to all changes in this revision

Viewing changes to src/hash/sha1_amd64/sha1_amd64_imp.S

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2010-08-04 16:59:58 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100804165958-xdmg1izi7xk0t4b5
Tags: 1.8.9-1
* New upstream version
* Add git-buildpackage config

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
 
104
104
   subq $320, W
105
105
 
 
106
/*
 
107
* Using negative values for SHA-1 constants > 2^31 to work around
 
108
* a bug in binutils not accepting large lea displacements.
 
109
*   -0x70E44324 == 0x8F1BBCDC
 
110
*   -0x359D3E2A == 0xCA62C1D6
 
111
*/
106
112
#define MAGIC1 0x5A827999
107
113
#define MAGIC2 0x6ED9EBA1
108
 
#define MAGIC3 0x8F1BBCDC
109
 
#define MAGIC4 0xCA62C1D6
 
114
#define MAGIC3 -0x70E44324
 
115
#define MAGIC4 -0x359D3E2A
110
116
 
111
117
#define T %esi
112
118
#define T2 %eax