mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
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:
parent
0102ee0d59
commit
0b27be500a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue