ghash-x86[_64].pl: ~15% improvement on Atom Silvermont
[openssl.git] / crypto / modes / asm / ghash-x86.pl
index a768a056f36a49d07fdd42eac12bd25378717c25..23a5527b30af3b5df82de4d64d0899d6359d14c0 100644 (file)
 # The module implements "4-bit" GCM GHASH function and underlying
 # single multiplication operation in GF(2^128). "4-bit" means that it
 # uses 256 bytes per-key table [+64/128 bytes fixed table]. It has two
-# code paths: vanilla x86 and vanilla MMX. Former will be executed on
-# 486 and Pentium, latter on all others. MMX GHASH features so called
+# code paths: vanilla x86 and vanilla SSE. Former will be executed on
+# 486 and Pentium, latter on all others. SSE GHASH features so called
 # "528B" variant of "4-bit" method utilizing additional 256+16 bytes
 # of per-key storage [+512 bytes shared table]. Performance results
 # are for streamed GHASH subroutine and are expressed in cycles per
 # processed byte, less is better:
 #
-#              gcc 2.95.3(*)   MMX assembler   x86 assembler
+#              gcc 2.95.3(*)   SSE assembler   x86 assembler
 #
-# Pentium      100/112(**)     -               50
-# PIII         63 /77          12.2            24
-# P4           96 /122         18.0            84(***)
-# Opteron      50 /71          10.1            30
-# Core2                54 /68          8.6             18
+# Pentium      105/111(**)     -               50
+# PIII         68 /75          12.2            24
+# P4           125/125         17.8            84(***)
+# Opteron      66 /70          10.1            30
+# Core2                54 /67          8.4             18
+# Atom         105/105         16.8            53
+# VIA Nano     69 /71          13.0            27
 #
 # (*)  gcc 3.4.x was observed to generate few percent slower code,
 #      which is one of reasons why 2.95.3 results were chosen,
 #      another reason is lack of 3.4.x results for older CPUs;
-#      comparison is not completely fair, because C results are
-#      for vanilla "256B" implementations, not "528B";-)
+#      comparison with SSE results is not completely fair, because C
+#      results are for vanilla "256B" implementation, while
+#      assembler results are for "528B";-)
 # (**) second number is result for code compiled with -fPIC flag,
 #      which is actually more relevant, because assembler code is
 #      position-independent;
 #
 # To summarize, it's >2-5 times faster than gcc-generated code. To
 # anchor it to something else SHA1 assembler processes one byte in
-# 11-13 cycles on contemporary x86 cores. As for choice of MMX in
-# particular, see comment at the end of the file...
+# ~7 cycles on contemporary x86 cores. As for choice of MMX/SSE
+# in particular, see comment at the end of the file...
 
 # May 2010
 #
-# Add PCLMULQDQ version performing at 2.13 cycles per processed byte.
+# Add PCLMULQDQ version performing at 2.10 cycles per processed byte.
 # The question is how close is it to theoretical limit? The pclmulqdq
 # instruction latency appears to be 14 cycles and there can't be more
 # than 2 of them executing at any given time. This means that single
 # Before we proceed to this implementation let's have closer look at
 # the best-performing code suggested by Intel in their white paper.
 # By tracing inter-register dependencies Tmod is estimated as ~19
-# cycles and Naggr is 4, resulting in 2.05 cycles per processed byte.
-# As implied, this is quite optimistic estimate, because it does not
-# account for Karatsuba pre- and post-processing, which for a single
-# multiplication is ~5 cycles. Unfortunately Intel does not provide
-# performance data for GHASH alone, only for fused GCM mode. But
-# we can estimate it by subtracting CTR performance result provided
-# in "AES Instruction Set" white paper: 3.54-1.38=2.16 cycles per
-# processed byte or 5% off the estimate. It should be noted though
-# that 3.54 is GCM result for 16KB block size, while 1.38 is CTR for
-# 1KB block size, meaning that real number is likely to be a bit
-# further from estimate.
+# cycles and Naggr chosen by Intel is 4, resulting in 2.05 cycles per
+# processed byte. As implied, this is quite optimistic estimate,
+# because it does not account for Karatsuba pre- and post-processing,
+# which for a single multiplication is ~5 cycles. Unfortunately Intel
+# does not provide performance data for GHASH alone. But benchmarking
+# AES_GCM_encrypt ripped out of Fig. 15 of the white paper with aadt
+# alone resulted in 2.46 cycles per byte of out 16KB buffer. Note that
+# the result accounts even for pre-computing of degrees of the hash
+# key H, but its portion is negligible at 16KB buffer size.
 #
 # Moving on to the implementation in question. Tmod is estimated as
 # ~13 cycles and Naggr is 2, giving asymptotic performance of ...
 # 2.16. How is it possible that measured performance is better than
 # optimistic theoretical estimate? There is one thing Intel failed
-# to recognize. By fusing GHASH with CTR former's performance is
-# really limited to above (Tmul + Tmod/Naggr) equation. But if GHASH
-# procedure is detached, the modulo-reduction can be interleaved with
-# Naggr-1 multiplications and under ideal conditions even disappear
-# from the equation. So that optimistic theoretical estimate for this
-# implementation is ... 28/16=1.75, and not 2.16. Well, it's probably
-# way too optimistic, at least for such small Naggr. I'd argue that
-# (28+Tproc/Naggr), where Tproc is time required for Karatsuba pre-
-# and post-processing, is more realistic estimate. In this case it
-# gives ... 1.91 cycles per processed byte. Or in other words,
-# depending on how well we can interleave reduction and one of the
-# two multiplications the performance should be betwen 1.91 and 2.16.
-# As already mentioned, this implementation processes one byte [out
-# of 1KB buffer] in 2.13 cycles, while x86_64 counterpart - in 2.07.
-# x86_64 performance is better, because larger register bank allows
-# to interleave reduction and multiplication better.
+# to recognize. By serializing GHASH with CTR in same subroutine
+# former's performance is really limited to above (Tmul + Tmod/Naggr)
+# equation. But if GHASH procedure is detached, the modulo-reduction
+# can be interleaved with Naggr-1 multiplications at instruction level
+# and under ideal conditions even disappear from the equation. So that
+# optimistic theoretical estimate for this implementation is ...
+# 28/16=1.75, and not 2.16. Well, it's probably way too optimistic,
+# at least for such small Naggr. I'd argue that (28+Tproc/Naggr),
+# where Tproc is time required for Karatsuba pre- and post-processing,
+# is more realistic estimate. In this case it gives ... 1.91 cycles.
+# Or in other words, depending on how well we can interleave reduction
+# and one of the two multiplications the performance should be betwen
+# 1.91 and 2.16. As already mentioned, this implementation processes
+# one byte out of 8KB buffer in 2.10 cycles, while x86_64 counterpart
+# - in 2.02. x86_64 performance is better, because larger register
+# bank allows to interleave reduction and multiplication better.
 #
 # Does it make sense to increase Naggr? To start with it's virtually
 # impossible in 32-bit mode, because of limited register bank
 # providing access to a Westmere-based system on behalf of Intel
 # Open Source Technology Centre.
 
+# January 2010
+#
+# Tweaked to optimize transitions between integer and FP operations
+# on same XMM register, PCLMULQDQ subroutine was measured to process
+# one byte in 2.07 cycles on Sandy Bridge, and in 2.12 - on Westmere.
+# The minor regression on Westmere is outweighed by ~15% improvement
+# on Sandy Bridge. Strangely enough attempt to modify 64-bit code in
+# similar manner resulted in almost 20% degradation on Sandy Bridge,
+# where original 64-bit code processes one byte in 1.95 cycles.
+
+#####################################################################
+# For reference, AMD Bulldozer processes one byte in 1.98 cycles in
+# 32-bit mode and 1.89 in 64-bit.
+
+# February 2013
+#
+# Overhaul: aggregate Karatsuba post-processing, improve ILP in
+# reduction_alg9. Resulting performance is 1.96 cycles per byte on
+# Westmere, 1.95 - on Sandy/Ivy Bridge, 1.76 - on Bulldozer.
+
 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
@@ -322,7 +343,7 @@ if (!$x86only) {{{
 
 &static_label("rem_4bit");
 
-if (0) {{      # "May" MMX version is kept for reference...
+if (!$sse2) {{ # pure-MMX "May" version...
 
 $S=12;         # shift factor for rem_4bit
 
@@ -626,7 +647,7 @@ sub mmx_loop() {
     { my @lo  = ("mm0","mm1","mm2");
       my @hi  = ("mm3","mm4","mm5");
       my @tmp = ("mm6","mm7");
-      my $off1=0,$off2=0,$i;
+      my ($off1,$off2,$i) = (0,0,);
 
       &add     ($Htbl,128);                    # optimize for size
       &lea     ("edi",&DWP(16+128,"esp"));
@@ -812,26 +833,21 @@ $len="ebx";
 
 &static_label("bswap");
 
-sub pclmulqdq
-{ my($dst,$src,$imm)=@_;
-    if ("$dst:$src" =~ /xmm([0-7]):xmm([0-7])/)
-    {  &data_byte(0x66,0x0f,0x3a,0x44,0xc0|($1<<3)|$2,$imm);   }
-}
-
 sub clmul64x64_T2 {    # minimal "register" pressure
-my ($Xhi,$Xi,$Hkey)=@_;
+my ($Xhi,$Xi,$Hkey,$HK)=@_;
 
        &movdqa         ($Xhi,$Xi);             #
        &pshufd         ($T1,$Xi,0b01001110);
-       &pshufd         ($T2,$Hkey,0b01001110);
+       &pshufd         ($T2,$Hkey,0b01001110)  if (!defined($HK));
        &pxor           ($T1,$Xi);              #
-       &pxor           ($T2,$Hkey);
+       &pxor           ($T2,$Hkey)             if (!defined($HK));
+                       $HK=$T2                 if (!defined($HK));
 
        &pclmulqdq      ($Xi,$Hkey,0x00);       #######
        &pclmulqdq      ($Xhi,$Hkey,0x11);      #######
-       &pclmulqdq      ($T1,$T2,0x00);         #######
-       &pxor           ($T1,$Xi);              #
-       &pxor           ($T1,$Xhi);             #
+       &pclmulqdq      ($T1,$HK,0x00);         #######
+       &xorps          ($T1,$Xi);              #
+       &xorps          ($T1,$Xhi);             #
 
        &movdqa         ($T2,$T1);              #
        &psrldq         ($T1,8);
@@ -876,31 +892,32 @@ if (1) {          # Algorithm 9 with <<1 twist.
                        # below. Algorithm 9 was therefore chosen for
                        # further optimization...
 
-sub reduction_alg9 {   # 17/13 times faster than Intel version
+sub reduction_alg9 {   # 17/11 times faster than Intel version
 my ($Xhi,$Xi) = @_;
 
        # 1st phase
-       &movdqa         ($T1,$Xi)               #
+       &movdqa         ($T2,$Xi);              #
+       &movdqa         ($T1,$Xi);
+       &psllq          ($Xi,5);
+       &pxor           ($T1,$Xi);              #
        &psllq          ($Xi,1);
        &pxor           ($Xi,$T1);              #
-       &psllq          ($Xi,5);                #
-       &pxor           ($Xi,$T1);              #
        &psllq          ($Xi,57);               #
-       &movdqa         ($T2,$Xi);              #
+       &movdqa         ($T1,$Xi);              #
        &pslldq         ($Xi,8);
-       &psrldq         ($T2,8);                #
-       &pxor           ($Xi,$T1);
-       &pxor           ($Xhi,$T2);             #
+       &psrldq         ($T1,8);                #       
+       &pxor           ($Xi,$T2);
+       &pxor           ($Xhi,$T1);             #
 
        # 2nd phase
        &movdqa         ($T2,$Xi);
+       &psrlq          ($Xi,1);
+       &pxor           ($Xhi,$T2);             #
+       &pxor           ($T2,$Xi);
        &psrlq          ($Xi,5);
        &pxor           ($Xi,$T2);              #
        &psrlq          ($Xi,1);                #
-       &pxor           ($Xi,$T2);              #
-       &pxor           ($T2,$Xhi);
-       &psrlq          ($Xi,1);                #
-       &pxor           ($Xi,$T2);              #
+       &pxor           ($Xi,$Xhi)              #
 }
 
 &function_begin_B("gcm_init_clmul");
@@ -934,8 +951,14 @@ my ($Xhi,$Xi) = @_;
        &clmul64x64_T2  ($Xhi,$Xi,$Hkey);
        &reduction_alg9 ($Xhi,$Xi);
 
+       &pshufd         ($T1,$Hkey,0b01001110);
+       &pshufd         ($T2,$Xi,0b01001110);
+       &pxor           ($T1,$Hkey);            # Karatsuba pre-processing
        &movdqu         (&QWP(0,$Htbl),$Hkey);  # save H
+       &pxor           ($T2,$Xi);              # Karatsuba pre-processing
        &movdqu         (&QWP(16,$Htbl),$Xi);   # save H^2
+       &palignr        ($T2,$T1,8);            # low part is H.lo^H.hi
+       &movdqu         (&QWP(32,$Htbl),$T2);   # save Karatsuba "salt"
 
        &ret            ();
 &function_end_B("gcm_init_clmul");
@@ -951,10 +974,11 @@ my ($Xhi,$Xi) = @_;
 
        &movdqu         ($Xi,&QWP(0,$Xip));
        &movdqa         ($T3,&QWP(0,$const));
-       &movdqu         ($Hkey,&QWP(0,$Htbl));
+       &movups         ($Hkey,&QWP(0,$Htbl));
        &pshufb         ($Xi,$T3);
+       &movups         ($T2,&QWP(32,$Htbl));
 
-       &clmul64x64_T2  ($Xhi,$Xi,$Hkey);
+       &clmul64x64_T2  ($Xhi,$Xi,$Hkey,$T2);
        &reduction_alg9 ($Xhi,$Xi);
 
        &pshufb         ($Xi,$T3);
@@ -991,86 +1015,116 @@ my ($Xhi,$Xi) = @_;
        &movdqu         ($Xn,&QWP(16,$inp));    # Ii+1
        &pshufb         ($T1,$T3);
        &pshufb         ($Xn,$T3);
+       &movdqu         ($T3,&QWP(32,$Htbl));
        &pxor           ($Xi,$T1);              # Ii+Xi
 
-       &clmul64x64_T2  ($Xhn,$Xn,$Hkey);       # H*Ii+1
-       &movdqu         ($Hkey,&QWP(16,$Htbl)); # load H^2
-
+       &pshufd         ($T1,$Xn,0b01001110);   # H*Ii+1
+       &movdqa         ($Xhn,$Xn);
+       &pxor           ($T1,$Xn);              #
        &lea            ($inp,&DWP(32,$inp));   # i+=2
+
+       &pclmulqdq      ($Xn,$Hkey,0x00);       #######
+       &pclmulqdq      ($Xhn,$Hkey,0x11);      #######
+       &pclmulqdq      ($T1,$T3,0x00);         #######
+       &movups         ($Hkey,&QWP(16,$Htbl)); # load H^2
+       &nop            ();
+
        &sub            ($len,0x20);
        &jbe            (&label("even_tail"));
+       &jmp            (&label("mod_loop"));
 
-&set_label("mod_loop");
-       &clmul64x64_T2  ($Xhi,$Xi,$Hkey);       # H^2*(Ii+Xi)
-       &movdqu         ($T1,&QWP(0,$inp));     # Ii
-       &movdqu         ($Hkey,&QWP(0,$Htbl));  # load H
+&set_label("mod_loop",32);
+       &pshufd         ($T2,$Xi,0b01001110);   # H^2*(Ii+Xi)
+       &movdqa         ($Xhi,$Xi);
+       &pxor           ($T2,$Xi);              #
+       &nop            ();
 
-       &pxor           ($Xi,$Xn);              # (H*Ii+1) + H^2*(Ii+Xi)
-       &pxor           ($Xhi,$Xhn);
+       &pclmulqdq      ($Xi,$Hkey,0x00);       #######
+       &pclmulqdq      ($Xhi,$Hkey,0x11);      #######
+       &pclmulqdq      ($T2,$T3,0x10);         #######
+       &movups         ($Hkey,&QWP(0,$Htbl));  # load H
 
-       &movdqu         ($Xn,&QWP(16,$inp));    # Ii+1
-       &pshufb         ($T1,$T3);
-       &pshufb         ($Xn,$T3);
+       &xorps          ($Xi,$Xn);              # (H*Ii+1) + H^2*(Ii+Xi)
+       &movdqa         ($T3,&QWP(0,$const));
+       &xorps          ($Xhi,$Xhn);
+        &movdqu        ($Xhn,&QWP(0,$inp));    # Ii
+       &pxor           ($T1,$Xi);              # aggregated Karatsuba post-processing
+        &movdqu        ($Xn,&QWP(16,$inp));    # Ii+1
+       &pxor           ($T1,$Xhi);             #
 
-       &movdqa         ($T3,$Xn);              #&clmul64x64_TX ($Xhn,$Xn,$Hkey); H*Ii+1
-       &movdqa         ($Xhn,$Xn);
-        &pxor          ($Xhi,$T1);             # "Ii+Xi", consume early
+        &pshufb        ($Xhn,$T3);
+       &pxor           ($T2,$T1);              #
 
-         &movdqa       ($T1,$Xi)               #&reduction_alg9($Xhi,$Xi); 1st phase
+       &movdqa         ($T1,$T2);              #
+       &psrldq         ($T2,8);
+       &pslldq         ($T1,8);                #
+       &pxor           ($Xhi,$T2);
+       &pxor           ($Xi,$T1);              #
+        &pshufb        ($Xn,$T3);
+        &pxor          ($Xhi,$Xhn);            # "Ii+Xi", consume early
+
+       &movdqa         ($Xhn,$Xn);             #&clmul64x64_TX ($Xhn,$Xn,$Hkey); H*Ii+1
+         &movdqa       ($T2,$Xi);              #&reduction_alg9($Xhi,$Xi); 1st phase
+         &movdqa       ($T1,$Xi);
+         &psllq        ($Xi,5);
+         &pxor         ($T1,$Xi);              #
          &psllq        ($Xi,1);
          &pxor         ($Xi,$T1);              #
-         &psllq        ($Xi,5);                #
-         &pxor         ($Xi,$T1);              #
        &pclmulqdq      ($Xn,$Hkey,0x00);       #######
+       &movups         ($T3,&QWP(32,$Htbl));
          &psllq        ($Xi,57);               #
-         &movdqa       ($T2,$Xi);              #
+         &movdqa       ($T1,$Xi);              #
          &pslldq       ($Xi,8);
-         &psrldq       ($T2,8);                #       
-         &pxor         ($Xi,$T1);
-       &pshufd         ($T1,$T3,0b01001110);
+         &psrldq       ($T1,8);                #       
+         &pxor         ($Xi,$T2);
+         &pxor         ($Xhi,$T1);             #
+       &pshufd         ($T1,$Xhn,0b01001110);
+         &movdqa       ($T2,$Xi);              # 2nd phase
+         &psrlq        ($Xi,1);
+       &pxor           ($T1,$Xhn);
          &pxor         ($Xhi,$T2);             #
-       &pxor           ($T1,$T3);
-       &pshufd         ($T3,$Hkey,0b01001110);
-       &pxor           ($T3,$Hkey);            #
-
        &pclmulqdq      ($Xhn,$Hkey,0x11);      #######
-         &movdqa       ($T2,$Xi);              # 2nd phase
+       &movups         ($Hkey,&QWP(16,$Htbl)); # load H^2
+         &pxor         ($T2,$Xi);
          &psrlq        ($Xi,5);
          &pxor         ($Xi,$T2);              #
          &psrlq        ($Xi,1);                #
-         &pxor         ($Xi,$T2);              #
-         &pxor         ($T2,$Xhi);
-         &psrlq        ($Xi,1);                #
-         &pxor         ($Xi,$T2);              #
-
+         &pxor         ($Xi,$Xhi)              #
        &pclmulqdq      ($T1,$T3,0x00);         #######
-       &movdqu         ($Hkey,&QWP(16,$Htbl)); # load H^2
-       &pxor           ($T1,$Xn);              #
-       &pxor           ($T1,$Xhn);             #
-
-       &movdqa         ($T3,$T1);              #
-       &psrldq         ($T1,8);
-       &pslldq         ($T3,8);                #
-       &pxor           ($Xhn,$T1);
-       &pxor           ($Xn,$T3);              #
-       &movdqa         ($T3,&QWP(0,$const));
 
        &lea            ($inp,&DWP(32,$inp));
        &sub            ($len,0x20);
        &ja             (&label("mod_loop"));
 
 &set_label("even_tail");
-       &clmul64x64_T2  ($Xhi,$Xi,$Hkey);       # H^2*(Ii+Xi)
+       &pshufd         ($T2,$Xi,0b01001110);   # H^2*(Ii+Xi)
+       &movdqa         ($Xhi,$Xi);
+       &pxor           ($T2,$Xi);              #
 
-       &pxor           ($Xi,$Xn);              # (H*Ii+1) + H^2*(Ii+Xi)
-       &pxor           ($Xhi,$Xhn);
+       &pclmulqdq      ($Xi,$Hkey,0x00);       #######
+       &pclmulqdq      ($Xhi,$Hkey,0x11);      #######
+       &pclmulqdq      ($T2,$T3,0x10);         #######
+       &movdqa         ($T3,&QWP(0,$const));
+
+       &xorps          ($Xi,$Xn);              # (H*Ii+1) + H^2*(Ii+Xi)
+       &xorps          ($Xhi,$Xhn);
+       &pxor           ($T1,$Xi);              # aggregated Karatsuba post-processing
+       &pxor           ($T1,$Xhi);             #
+
+       &pxor           ($T2,$T1);              #
+
+       &movdqa         ($T1,$T2);              #
+       &psrldq         ($T2,8);
+       &pslldq         ($T1,8);                #
+       &pxor           ($Xhi,$T2);
+       &pxor           ($Xi,$T1);              #
 
        &reduction_alg9 ($Xhi,$Xi);
 
        &test           ($len,$len);
        &jnz            (&label("done"));
 
-       &movdqu         ($Hkey,&QWP(0,$Htbl));  # load H
+       &movups         ($Hkey,&QWP(0,$Htbl));  # load H
 &set_label("odd_tail");
        &movdqu         ($T1,&QWP(0,$inp));     # Ii
        &pshufb         ($T1,$T3);
@@ -1270,13 +1324,6 @@ my ($Xhi,$Xi)=@_;
 &set_label("bswap",64);
        &data_byte(15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0);
        &data_byte(1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0xc2); # 0x1c2_polynomial
-}}     # $sse2
-
-&set_label("rem_4bit",64);
-       &data_word(0,0x0000<<$S,0,0x1C20<<$S,0,0x3840<<$S,0,0x2460<<$S);
-       &data_word(0,0x7080<<$S,0,0x6CA0<<$S,0,0x48C0<<$S,0,0x54E0<<$S);
-       &data_word(0,0xE100<<$S,0,0xFD20<<$S,0,0xD940<<$S,0,0xC560<<$S);
-       &data_word(0,0x9180<<$S,0,0x8DA0<<$S,0,0xA9C0<<$S,0,0xB5E0<<$S);
 &set_label("rem_8bit",64);
        &data_short(0x0000,0x01C2,0x0384,0x0246,0x0708,0x06CA,0x048C,0x054E);
        &data_short(0x0E10,0x0FD2,0x0D94,0x0C56,0x0918,0x08DA,0x0A9C,0x0B5E);
@@ -1310,6 +1357,13 @@ my ($Xhi,$Xi)=@_;
        &data_short(0xA7D0,0xA612,0xA454,0xA596,0xA0D8,0xA11A,0xA35C,0xA29E);
        &data_short(0xB5E0,0xB422,0xB664,0xB7A6,0xB2E8,0xB32A,0xB16C,0xB0AE);
        &data_short(0xBBF0,0xBA32,0xB874,0xB9B6,0xBCF8,0xBD3A,0xBF7C,0xBEBE);
+}}     # $sse2
+
+&set_label("rem_4bit",64);
+       &data_word(0,0x0000<<$S,0,0x1C20<<$S,0,0x3840<<$S,0,0x2460<<$S);
+       &data_word(0,0x7080<<$S,0,0x6CA0<<$S,0,0x48C0<<$S,0,0x54E0<<$S);
+       &data_word(0,0xE100<<$S,0,0xFD20<<$S,0,0xD940<<$S,0,0xC560<<$S);
+       &data_word(0,0x9180<<$S,0,0x8DA0<<$S,0,0xA9C0<<$S,0,0xB5E0<<$S);
 }}}    # !$x86only
 
 &asciz("GHASH for x86, CRYPTOGAMS by <appro\@openssl.org>");