freebsd-nq/lib/libmd
Ed Maste 24ed6f550a Rename skein_block_asm.s to .S and assemble using Clang IAS
Comparing the object files produced by GNU as 2.17.50 and Clang IAS
shows many immaterial changes in strtab etc., and one material change
in .text:

   1bac:  4c 8b 4f 18             mov    0x18(%rdi),%r9
   1bb0:  eb 0e                   jmp    1bc0 <Skein1024_block_loop>
-  1bb2:  66 66 2e 0f 1f 84 00    data16 nopw %cs:0x0(%rax,%rax,1)
-  1bb9:  00 00 00 00
-  1bbd:  0f 1f 00                nopl   (%rax)
+  1bb2:  66 2e 0f 1f 84 00 00    nopw   %cs:0x0(%rax,%rax,1)
+  1bb9:  00 00 00
+  1bbc:  0f 1f 40 00             nopl   0x0(%rax)

 0000000000001bc0 <Skein1024_block_loop>:
 Skein1024_block_loop():
   1bc0:  4c 8b 47 10             mov    0x10(%rdi),%r8
   1bc4:  4c 03 85 c0 00 00 00    add    0xc0(%rbp),%r8

That is, GNU as and Clang's integrated assembler use different multi-
byte NOPs for alignment (GNU as emits an 11 byte NOP + a 3 byte NOP,
while Clang IAS emits a 10 byte NOP + a 4 byte NOP).

Dependency cleanup hacks are not required, because we do not create
.depend files from GNU as.

Reviewed by:	allanjude, arichardson, cem, tsoome
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8434
2020-06-06 00:35:41 +00:00
..
i386
Makefile Rename skein_block_asm.s to .S and assemble using Clang IAS 2020-06-06 00:35:41 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
md4.copyright
md4.h SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
md4c.c ANSIfy and KNF function arg definitions in libmd/md4.c 2020-04-03 20:56:43 +00:00
md5.copyright
md5.h
md5c.c libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
mddriver.c
mdX.3 Add admonitions against using MD5 and SHA1 to the API man pages 2019-05-21 22:17:00 +00:00
mdXhl.c Revert r334090. 2018-05-23 17:01:28 +00:00
ripemd.3 Add missing errors section to md[2-5], ripemd160, sha*, and skein* manpages 2019-05-21 22:11:53 +00:00
ripemd.h
rmd160c.c libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
rmd_locl.h
rmdconst.h
rmddriver.c
sha0c.c libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
sha1c.c libmd: Always erase context in _Final method, and when doing 2018-07-20 07:01:28 +00:00
sha256.3 Add missing errors section to md[2-5], ripemd160, sha*, and skein* manpages 2019-05-21 22:11:53 +00:00
sha512.3 Add missing errors section to md[2-5], ripemd160, sha*, and skein* manpages 2019-05-21 22:11:53 +00:00
sha_locl.h
sha.3 sha.3: clarify admonition against use in NEW signature schemes 2019-06-05 20:18:08 +00:00
sha.h
shadriver.c Integrate SHA2-224 with userspace components 2018-07-09 08:19:04 +00:00
skein.3 Add missing errors section to md[2-5], ripemd160, sha*, and skein* manpages 2019-05-21 22:11:53 +00:00
skeindriver.c SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00