Home | History | Annotate | Line # | Download | only in libcrypto
      1 #	$NetBSD: sha.inc,v 1.1.1.2 2023/04/18 14:19:04 christos Exp $
      2 #
      3 #	@(#) Copyright (c) 1995 Simon J. Gerraty
      4 #
      5 #	SRCS extracted from src/crypto/dist/openssl/crypto/sha/Makefile
      6 #
      7 
      8 .PATH:	${OPENSSLSRC}/crypto/sha
      9 
     10 
     11 SHA_SRCS += sha1dgst.c sha1_one.c
     12 
     13 # Replaced OpenSSL version to avoid overlap with libc
     14 SHA_SRCS+= libc-sha512.c libc-sha256.c libc-sha2xx.c
     15 #SHA_SRCS+= sha256.c sha512.c
     16 .if !defined(KECCAKNI)
     17 SHA_SRCS+= keccak1600.c
     18 .endif
     19 
     20 SRCS += ${SHA_SRCS}
     21 
     22 .for cryptosrc in ${SHA_SRCS}
     23 CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/sha ${SHACPPFLAGS}
     24 .endfor
     25