Use x86_64 assembler version of MD5.

This commit is contained in:
joerg 2015-05-16 19:19:36 +00:00
parent a69ca7eeeb
commit 2000d7aac1
2 changed files with 7 additions and 3 deletions

View File

@ -0,0 +1,4 @@
.PATH.S: ${.PARSEDIR}
MD5_SRCS = md5-x86_64.S
MD5CPPFLAGS = -DMD5_ASM
.include "../../md5.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: md5.inc,v 1.1 2009/07/19 23:30:44 christos Exp $
# $NetBSD: md5.inc,v 1.2 2015/05/16 19:19:36 joerg Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
@ -8,9 +8,9 @@
.PATH: ${OPENSSLSRC}/crypto/md5
MD5_SRCS = md5_dgst.c md5_one.c $(MD5_ASM_OBJ)
MD5_SRCS += md5_dgst.c md5_one.c $(MD5_ASM_OBJ)
SRCS += ${MD5_SRCS}
.for cryptosrc in ${MD5_SRCS}
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/md5
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/md5 ${MD5CPPFLAGS}
.endfor