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