src/sha2.c


Log

Author Commit Date CI Message
Guillem Jover 4c5931f5 2023-04-06T20:37:41 Sync SHA2 changes from OpenBSD This adds support for SHA224 and SHA512-256.
Guillem Jover 08b2c5dd 2023-04-08T23:43:04 build: Rename libmd_alias() to libmd_strong_alias()
Guillem Jover 281dab62 2021-02-19T07:13:28 Place static keyword before const in function definitions Warned-by: gcc
Guillem Jover 6b3f9f75 2021-01-02T16:26:38 build: Provide wrapper functions instead of aliases in DLL built with MSVC On Windows we cannot use proper aliases, and using the /EXPORT linker flag is too cumbersome, as it does not work when static linking, and when dynamic linking it does not make the aliases visible within the DLL itself. Just use normal function wrapper in those cases, which are way more maintainable.
Guillem Jover bd364c6d 2019-08-28T11:30:29 Switch SHA2 symbols from weak to strong aliases There is no good reason to have these as weak symbols at all. And it makes building on Windows (Cygwin, MinGW) harder as it does not support weak symbols. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner 555d5074 2017-04-10T13:10:45 build: Switch to AC_C_BIGENDIAN defining WORD_BIGENDIAN We should use the autoconf macro instead of expecting the system to provide the endianness information, which many do not. [guillem@hadrons.org: - Use autoconf macro instead of gnulib one. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover c3c8d859 2017-06-01T02:43:22 build: Drop GCC specific compiler flag -include Instead, explicitly include <config.h> in library and test source files for increased portability. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover 18ebbe24 2012-05-29T05:44:54 Use stdint types instead of BSD u_int ones
Guillem Jover 7a257475 2014-07-19T16:49:55 build: Add weak_alias definition
Guillem Jover ee0b2299 2011-05-29T03:22:21 Initial import from OpenBSD and NetBSD