Commit Graph

13 Commits (fd3ed85c67174a0d3b6639ba9b237351d1c2201f)

Author SHA1 Message Date
Richard Levitte b830e00429 Diverse Adjust paths
Fixes #12815

Reviewed-by: Paul Dale <>
Reviewed-by: Matthias St. Pierre <>
(Merged from
2020-09-10 09:50:56 +02:00
Richard Levitte 0e43960e88 Adapt all and test recipes to the new $disabled{'deprecated-x.y'}
Reviewed-by: Matt Caswell <>
(Merged from
2020-02-07 14:54:36 +01:00
Pauli 601fca1778 Deprecate the low level RIPEMD160 functions.
Use of the low level RIPEMD160 functions has been informally discouraged for a
long time. We now formally deprecate them.

Applications should instead use the EVP APIs, e.g. EVP_Digest,
EVP_DigestInit_ex, EVP_DigestUpdate and EVP_DigestFinal_ex.

Reviewed-by: Matt Caswell <>
Reviewed-by: Tomas Mraz <>
(Merged from
2020-01-12 12:00:31 +10:00
Shane Lontis 64fd90fbe9 Fix missing Assembler defines
Implementations are now spread across several libraries, so the assembler
related defines need to be applied to all affected libraries and modules.

AES_ASM define was missing from libimplementations.a which disabled AESNI
aarch64 changes were made by xkqian.

Reviewed-by: Richard Levitte <>
(Merged from
2019-10-16 16:10:39 +10:00
Richard Levitte a1c8befd66 For all assembler generators, remove all arguments
Since the arguments are now generated in the build file templates,
they should be removed from the files.

Reviewed-by: Matt Caswell <>
(Merged from
2019-09-16 16:29:57 +02:00
Richard Levitte 2ffea44322 Move rmd160_asm_src file information to files
Reviewed-by: Matt Caswell <>
(Merged from
2019-06-17 16:08:52 +02:00
Richard Levitte 722c9762f2 Harmonize the make variables across all known platforms families
The make variables LIB_CFLAGS, DSO_CFLAGS and so on were used in
addition to CFLAGS and so on.  This works without problem on Unix and
Windows, where options with different purposes (such as -D and -I) can
appear anywhere on the command line and get accumulated as they come.
This is not necessarely so on VMS.  For example, macros must all be
collected and given through one /DEFINE, and the same goes for
inclusion directories (/INCLUDE).

So, to harmonize all platforms, we repurpose make variables starting
with LIB_, DSO_ and BIN_ to be all encompassing variables that
collects the corresponding values from CFLAGS, CPPFLAGS, DEFINES,
INCLUDES and so on together with possible config target values
specific for libraries DSOs and programs, and use them instead of the
general ones everywhere.

This will, for example, allow VMS to use the exact same generators for
generated files that go through cpp as all other platforms, something
that has been impossible to do safely before now.

Reviewed-by: Andy Polyakov <>
(Merged from
2018-02-14 17:13:53 +01:00
Richard Levitte 8c3bc594e0 Processing GNU-style "make variables" - separate CPP flags from C flags
C preprocessor flags get separated from C flags, which has the
advantage that we don't get loads of macro definitions and inclusion
directory specs when linking shared libraries, DSOs and programs.

This is a step to add support for "make variables" when configuring.

Reviewed-by: Tim Hudson <>
Reviewed-by: Rich Salz <>
(Merged from
2018-01-28 07:26:10 +01:00
Richard Levitte f425f9dcff Add $(LIB_CFLAGS) for any generator that uses $(CFLAGS)
The reason to do so is that some of the generators detect PIC flags
like -fPIC and -KPIC, and those are normally delivered in LD_CFLAGS.

Reviewed-by: Rich Salz <>
2016-03-13 00:02:55 +01:00
Richard Levitte fe7f8263af Unified - adapt the generation of ripemd assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/ripemd/

This also moves the assembler generating perl scripts to take the
output file name as last command line argument, where necessary.

Reviewed-by: Andy Polyakov <>
2016-03-09 11:09:26 +01:00
Richard Levitte de72be2e57 Pass $(CC) to perlasm scripts via the environment
It seems that on some platforms, the perlasm scripts call the C
compiler for certain checks.  These scripts need the environment
variable CC to have the C compiler command.

Reviewed-by: Rich Salz <>
2016-02-13 19:21:36 +01:00
Richard Levitte 567a9e6fe0 unified build scheme: add a "unified" template for Unix Makefile
This also adds all the raw sections needed for some files.

Reviewed-by: Rich Salz <>
2016-02-10 14:36:04 +01:00
Richard Levitte 777a288270 unified build scheme: add files
Now that we have the foundation for the "unified" build scheme in
place, we add files.  They have been generated from the
Makefiles in the same directories.  Things that are platform specific
will appear in later commits.

Reviewed-by: Andy Polyakov <>
2016-02-01 12:46:58 +01:00