summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/openssl.old/lib/libcrypto/sha.inc
blob: 154f201fd0bc76d9ea4110fa8195572a112d9181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$NetBSD: sha.inc,v 1.1.1.2 2023/04/18 14:19:04 christos Exp $
#
#	@(#) Copyright (c) 1995 Simon J. Gerraty
#
#	SRCS extracted from src/crypto/dist/openssl/crypto/sha/Makefile
#

.PATH:	${OPENSSLSRC}/crypto/sha


SHA_SRCS += sha1dgst.c sha1_one.c

# Replaced OpenSSL version to avoid overlap with libc
SHA_SRCS+= libc-sha512.c libc-sha256.c libc-sha2xx.c
#SHA_SRCS+= sha256.c sha512.c
.if !defined(KECCAKNI)
SHA_SRCS+= keccak1600.c
.endif

SRCS += ${SHA_SRCS}

.for cryptosrc in ${SHA_SRCS}
CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/sha ${SHACPPFLAGS}
.endfor