summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/openssl/lib/libcrypto/sha.inc
blob: 12696ab78af15becc0be59468ca4ce84768a9338 (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
25
#	$NetBSD: sha.inc,v 1.7 2023/05/06 17:07:23 christos Exp $

.PATH:	${OPENSSLSRC}/crypto/sha


SHA_SRCS += sha1dgst.c sha3.c

# Replaced OpenSSL version to avoid overlap with libc
SHA_SRCS+= libc-sha1.c libc-sha512.c libc-sha256.c libc-sha2xx.c

.if !defined(KECCAKNI)
SHA_SRCS+= keccak1600.c
.endif
#SHA_SRCS += \
#sha1_one.c \
#sha1dgst.c \
#sha256.c \
#sha3.c \
#sha512.c \

SRCS += ${SHA_SRCS}

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