accelerate sha1 by using asm (i386). markus@openbsd.

there's internal symbol name changes, but it does not warrant shlib minor
bump as the symbol is totally internal.
This commit is contained in:
itojun 2003-11-13 02:10:00 +00:00
parent fa24e6f3f8
commit 015dc7875b
3 changed files with 2019 additions and 2 deletions

View File

@ -0,0 +1,13 @@
# $NetBSD: sha.inc,v 1.1 2003/11/13 02:10:00 itojun Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
# SRCS extracted from /home/current/src/lib/libcrypto/../../crypto/dist/openssl/crypto/sha/Makefile.ssl
#
.PATH: ${OPENSSLSRC}/crypto/sha
.PATH: ${.CURDIR}/arch/i386
CPPFLAGS+= -I${OPENSSLSRC}/crypto/sha -DSHA1_ASM
SRCS+=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c sha1_586.S

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
# $NetBSD: sha.inc,v 1.4 2003/07/24 14:16:33 itojun Exp $
# $NetBSD: sha.inc,v 1.5 2003/11/13 02:10:00 itojun Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
@ -9,4 +9,4 @@
CPPFLAGS+= -I${OPENSSLSRC}/crypto/sha
SRCS+=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c $(SHA1_ASM_OBJ)
SRCS+=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c