summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-05Update NEWS.upstream/4.4.36upstreamBjörn Esser1-0/+1
2023-06-25Remove smartmatch usage from gen-crypt-hAndreas K. Hüttel1-17/+14
Needed for Perl 5.38
2023-06-06Bump tarball version to 4.4.36 and update NEWS.Björn Esser2-1/+3
2023-06-06Update NEWS.Björn Esser1-0/+2
2023-06-06lib: Remove some unneeded zeroizing of memory.Björn Esser2-14/+0
2023-06-06Fix for compilation on WindowsBrecht Sanders1-0/+5
This fix allows the library to build on Windows (at least with MinGW-w64). `.symver` is only supported for ELF format but Windows uses COFF/PE. Workaround dummy define of `symver_set()`
2023-06-06Make BuildCommon.pm compatible with latest perlLeon Timmermans1-5/+4
It was previously using an experimental feature that has since been dropped. This removes the use of that feature.
2023-05-31Bump tarball version to 4.4.35 and update NEWS.Björn Esser2-1/+3
2023-05-31Update NEWS.Björn Esser1-0/+7
2023-05-31alg-gost3411-2012-hmac.c: Safely clear the context state.Björn Esser1-0/+15
2023-05-31alg-sha256.c: Explicitly clear the context state in HMAC_SHA256_Final.Björn Esser1-0/+3
Backported from https://github.com/Tarsnap/libcperciva/commit/f3eceb448509b7baa1e4422cb84b7a753097a477 Fixes #168.
2023-05-31alg-hmac-sha1.c: Explicitly clean the stack after computation.Björn Esser1-0/+14
2023-01-01rpkg: Optimized cleanup after installing compat files into %buildroot.Björn Esser1-2/+2
2022-12-19rpkg: Sorted BuildRequires, add coreutils.Björn Esser1-2/+3
2022-12-19rpkg: Sync with Fedora spec file.Björn Esser1-24/+29
2022-12-07alg-sha512.c: SHA-2 Maj() optimization proposed by Wei Dai.Björn Esser1-2/+9
This patch has already been applied to 'lib/alg-sha256.c' in commit bb1721800932268a537c804a4b7655af8c62d5e8.
2022-11-28rpkg: Convert License to SPDX expressionBjörn Esser1-1/+1
2022-11-20alg-yescrypt-platform.c: Optimize some cast operation for performance.Björn Esser1-1/+1
2022-11-20ax_valgrind_check.m4: Update to v23.Björn Esser1-9/+9
2022-11-18Bump tarball version to 4.4.34 and update NEWS.Björn Esser2-1/+3
2022-11-18Update NEWS.Björn Esser1-0/+4
2022-11-18lib/alg-yescrypt-platform.c: Fix -Werror=sign-conversion.Björn Esser1-6/+6
This is a more elegant approach of the previous commit.
2022-11-18lib/alg-yescrypt-platform.c: Fix -Werror=sign-conversion.Björn Esser1-2/+2
In 894aee75433b4dc8d9724b126da6e79fa5f6814b we introduced some changes, which show is this error when building with GCC v12.2.1.
2022-11-18Bump tarball version to 4.4.33 and update NEWS.Björn Esser2-1/+3
2022-11-18Update NEWS.Björn Esser1-0/+7
2022-11-18alg-yescrypt-platform.c: Improvements to huge page handling.Björn Esser1-4/+7
When explicitly using huge pages, request the 2 MiB page size. This should fix the issue where on a system configured to use 1 GiB huge pages we'd fail on munmap() as we're only rounding the size up to a multiple of 2 MiB. With the fix, we wouldn't use huge pages on such a system. Unfortunately, now we also wouldn't use huge pages on Linux kernels too old to have MAP_HUGE_2MB. This patch has been cherry-picked from: https://github.com/openwall/yescrypt/commit/1554b087ffe2 Fixes #152.
2022-11-16rpkg: Add %%{perl_minver} macro and re-add BR on perl(:VERSION).Björn Esser1-1/+6
2022-11-16rpkg: Move the BR for minimum Perl version to perl-interpreter.Björn Esser1-2/+1
2022-11-16rpkg: Add BR for perl modules to run the skip-if-exec-format-error script.Björn Esser1-0/+2
2022-11-15rpkg: Explicitly list all needed build-time Perl modules.Björn Esser1-1/+11
2022-11-15rpkg: Narrow down BuildRequires for the minimum needed Perl modules.Björn Esser1-1/+4
2022-11-13NEWS: Fix entry.Björn Esser1-1/+2
2022-11-12Bump tarball version to 4.4.32 and update NEWS.Björn Esser2-1/+3
2022-11-12Update NEWS.Björn Esser1-0/+5
2022-11-12crypt-des.c: Fix Werror=strict-overflow with GCC 12.x.Björn Esser1-3/+3
Fixes #155 and #163.
2022-11-08rpkg: Disable arc4random_buf in all_possible_tests configuration.Björn Esser1-0/+3
2022-11-08Fix warning about signed->unsigned conversionMoinak Bhattacharyya1-1/+1
2022-11-08test/getrandom-fallback.c: Fix 'OVERRUN' found by Covscan.Björn Esser1-3/+3
CWE-119: Out-of-bounds access to a buffer (OVERRUN) overrun-buffer-arg: Calling memset with buf and buflen is suspicious because of the very large index, 9223372036854775807. The index may be due to a negative parameter being interpreted as unsigned. Limiting buflen to INT16_MAX is big enough for our purposes.
2022-11-07alg-sha256.c: SHA-2 Maj() optimization proposed by Wei Dai.Björn Esser1-3/+9
This patch has been cherry-picked from: https://github.com/openwall/yescrypt/commit/9edf51061b45
2022-11-07Fix warning about truncating conversionMoinak Bhattacharyya1-1/+1
2022-11-01Bump tarball version to 4.4.31 and update NEWS.Björn Esser2-1/+3
2022-11-01Update NEWS.Björn Esser1-0/+12
2022-11-01doc/crypt.3: Fix variable name for datamember in 'struct crypt_data'.Björn Esser1-5/+5
Fixes #153.
2022-11-01configure: Restore the functionality of the '--disable-symvers' switch.GalaxyMaster6-2/+40
Without this change the build was simply broken, if symbol versioning was disabled for any reason, e.g. whether the compiler nor the linker supporting it, or if disabled on purpose by the user. Also adapt the testsuite and the CI test-matrix. Fixes #142. Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2022-11-01configure: Restore ucontext api functionality check.Yureka2-1/+34
In c3f01c72b303cbbb0cc8983120677edee2f3fa4b the use of the ucontext api in the main program was removed, and with it the configure check for it. However, the ucontext api is still used in the "explicit_bzero" test and this has the same problem as described in the comment: > The ucontext.h functions that we use were withdrawn from > POSIX.1-2008, so the existence of the header does not prove > we can use the functions. Thus, restore the full configure check and use it instead of the header check for the explicit_bzero test. See https://bugs.gentoo.org/838172 Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2022-10-31Bump tarball version to 4.4.30 and update NEWS.Björn Esser2-1/+3
2022-10-31Update NEWS.Björn Esser1-0/+2
2022-10-31libcrypt.minver: Add glibc-on-loongarch-lp64 (Loongson LA464 / LA664).Björn Esser2-0/+2
This was added in GNU libc 2.36.
2022-02-04rpkg: Add config file needed for newer versions of rpkg.Björn Esser1-0/+2
2022-02-04rpkg: Port changes from Fedora release spec-file.Björn Esser1-3/+9