libcrypto: expand the common Makefile for providers

OpenSSL 3 supports a modular architecture, allowing different providers
to bring specific implementations of cryptographical algorithms. This
change adds mandatory source files to every provider.

Sponsored by:	The FreeBSD Foundation
Pull Request:	https://github.com/freebsd/freebsd-src/pull/787
This commit is contained in:
Pierre Pronchery 2023-06-30 19:20:31 +02:00 committed by Mark Johnston
parent 7a991ecd1a
commit 4a3cc17e31
3 changed files with 5 additions and 8 deletions

View File

@ -9,7 +9,9 @@ CFLAGS+= -I${LCRYPTO_SRC}/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include
CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include
.include <bsd.endian.mk>
# common
SRCS+= provider_err.c provider_ctx.c
SRCS+= provider_util.c
.PATH: ${LCRYPTO_SRC}/providers \
${LCRYPTO_SRC}/providers/common

View File

@ -238,8 +238,7 @@ SRCS+= keccak1600.c
.endif
# common
SRCS+= provider_err.c provider_ctx.c
SRCS+= provider_util.c capabilities.c bio_prov.c digest_to_nid.c \
SRCS+= capabilities.c bio_prov.c digest_to_nid.c \
securitycheck.c provider_seeding.c
SRCS+= securitycheck_fips.c

View File

@ -2,11 +2,7 @@
SHLIB_NAME?= legacy.so
SRCS= legacyprov.c prov_running.c
# common
SRCS+= provider_err.c provider_ctx.c
SRCS+= provider_util.c
SRCS+= legacyprov.c prov_running.c
# ciphers
SRCS+= ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \