sha/asm/sha1-armv4-large.pl: add NEON and ARMv8 code paths.
[openssl.git] / crypto / sha / asm / sha1-alpha.pl
index 9d1e9435acd6a39fa275ba0aa28cf780a156a336..6c4b9251fd4ed69ba87f552a420f3b3bf2505a3d 100644 (file)
@@ -225,8 +225,12 @@ ___
 }
 
 $code=<<___;
+#ifdef __linux__
+#include <asm/regdef.h>
+#else
 #include <asm.h>
 #include <regdef.h>
+#endif
 
 .text
 
@@ -310,6 +314,8 @@ $code.=<<___;
        lda     sp,64(sp)
        ret     (ra)
 .end   sha1_block_data_order
+.ascii "SHA1 block transform for Alpha, CRYPTOGAMS by <appro\@openssl.org>"
+.align 2
 ___
 $output=shift and open STDOUT,">$output";
 print $code;