mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
abbc2c4083
This configuration module supports a configuration structure pretty much like the engine configuration module, i.e. something like this: openssl_conf = openssl_init [openssl_init] providers = provider_section [provider_section] # Configure the provider named "foo" foo = foo_section # Configure the provider named "bar" bar = bar_section [foo_section] # Override name given in the provider section identity = myfoo # The exact path of the module. This is platform specific module_path = /opt/openssl/modules/foo.so # Whether it should be automatically activated. Value is unimportant activate = whatever # Anything else goes as well, and becomes parameters that the # provider can get what = 1 # sub-sections will be followed as well ever = ever_section [ever_section] cookie = monster All the configurations in a provider section and its sub-sections become parameters for the provider to get, i.e. the "foo" provider will be able to get values for the following keys (with associated values shown): identity => myfoo module_path => /opt/openssl/modules/foo.so activate => whatever what => 1 ever.cookie => monster Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8549)
52 lines
2.1 KiB
Plaintext
52 lines
2.1 KiB
Plaintext
# Note that these directories are filtered in Configure. Look for %skipdir
|
|
# there for further explanations.
|
|
SUBDIRS=objects buffer bio stack lhash rand evp asn1 pem x509 x509v3 conf \
|
|
txt_db pkcs7 pkcs12 ui kdf store property \
|
|
md2 md4 md5 sha mdc2 gmac hmac ripemd whrlpool poly1305 blake2 \
|
|
siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
|
|
seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
|
|
err comp ocsp cms ts srp cmac ct async kmac ess crmf
|
|
|
|
LIBS=../libcrypto
|
|
# The Core
|
|
SOURCE[../libcrypto]=provider_core.c provider_predefined.c provider_conf.c \
|
|
core_fetch.c
|
|
|
|
# Central utilities
|
|
SOURCE[../libcrypto]=\
|
|
cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c \
|
|
ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fopen.c ctype.c \
|
|
threads_pthread.c threads_win.c threads_none.c getenv.c \
|
|
o_init.c o_fips.c mem_sec.c init.c context.c sparse_array.c \
|
|
trace.c provider.c params.c \
|
|
{- $target{cpuid_asm_src} -} {- $target{uplink_aux_src} -}
|
|
|
|
DEPEND[cversion.o]=buildinf.h
|
|
GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)"
|
|
DEPEND[buildinf.h]=../configdata.pm
|
|
|
|
GENERATE[uplink-x86.s]=../ms/uplink-x86.pl $(PERLASM_SCHEME)
|
|
GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl $(PERLASM_SCHEME)
|
|
GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[x86cpuid.s]=x86cpuid.pl \
|
|
$(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
|
|
DEPEND[x86cpuid.s]=perlasm/x86asm.pl
|
|
|
|
GENERATE[x86_64cpuid.s]=x86_64cpuid.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[ia64cpuid.s]=ia64cpuid.S
|
|
GENERATE[ppccpuid.s]=ppccpuid.pl $(PERLASM_SCHEME)
|
|
GENERATE[pariscid.s]=pariscid.pl $(PERLASM_SCHEME)
|
|
GENERATE[alphacpuid.s]=alphacpuid.pl
|
|
GENERATE[arm64cpuid.S]=arm64cpuid.pl $(PERLASM_SCHEME)
|
|
INCLUDE[arm64cpuid.o]=.
|
|
GENERATE[armv4cpuid.S]=armv4cpuid.pl $(PERLASM_SCHEME)
|
|
INCLUDE[armv4cpuid.o]=.
|
|
GENERATE[s390xcpuid.S]=s390xcpuid.pl $(PERLASM_SCHEME)
|
|
INCLUDE[s390xcpuid.o]=.
|
|
|
|
IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
|
|
SHARED_SOURCE[../libcrypto]=dllmain.c
|
|
ENDIF
|