summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch
diff options
context:
space:
mode:
authorjsing <>2025-01-24 13:35:04 +0000
committerjsing <>2025-01-24 13:35:04 +0000
commiteb37484907f8d59aa15c1bd84262872087f909c8 (patch)
tree4a38be3aa387374f26fe17d96d1f3348009bd64c /src/lib/libcrypto/arch
parent0fc89df461764e969e114f07942a72c98b6d4e8e (diff)
downloadopenbsd-eb37484907f8d59aa15c1bd84262872087f909c8.tar.gz
openbsd-eb37484907f8d59aa15c1bd84262872087f909c8.tar.bz2
openbsd-eb37484907f8d59aa15c1bd84262872087f909c8.zip
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@
Diffstat (limited to 'src/lib/libcrypto/arch')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
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 @@
1# $OpenBSD: Makefile.inc,v 1.35 2024/12/06 11:57:17 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.36 2025/01/24 13:35:04 jsing Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -40,7 +40,7 @@ SRCS += word_clz.S
40 40
41# md5 41# md5
42CFLAGS+= -DMD5_ASM 42CFLAGS+= -DMD5_ASM
43SSLASM+= md5 md5-x86_64 43SRCS+= md5_amd64_generic.S
44# modes 44# modes
45CFLAGS+= -DGHASH_ASM 45CFLAGS+= -DGHASH_ASM
46SSLASM+= modes ghash-x86_64 46SSLASM+= modes ghash-x86_64