From e645f65a85d604ca35a8889b91950b72ea837f74 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 24 Jan 2025 13:35:04 +0000 Subject: Provide a readable assembly implementation for MD5 on amd64. This appears to be about 5% faster than the current perlasm version on a modern Intel CPU. While here rename md5_block_asm_data_order to md5_block_data_order, for consistency with other hashes. ok tb@ --- src/lib/libcrypto/arch/amd64/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/arch') diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc index f8f829cca1..f4410e8059 100644 --- a/src/lib/libcrypto/arch/amd64/Makefile.inc +++ b/src/lib/libcrypto/arch/amd64/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.35 2024/12/06 11:57:17 jsing Exp $ +# $OpenBSD: Makefile.inc,v 1.36 2025/01/24 13:35:04 jsing Exp $ # amd64-specific libcrypto build rules @@ -40,7 +40,7 @@ SRCS += word_clz.S # md5 CFLAGS+= -DMD5_ASM -SSLASM+= md5 md5-x86_64 +SRCS+= md5_amd64_generic.S # modes CFLAGS+= -DGHASH_ASM SSLASM+= modes ghash-x86_64 -- cgit v1.2.3-55-g6feb