225 Commits

Author SHA1 Message Date
Joel Sing
d4164d5a56 Simplify update.sh slightly
Produce a list of files from the various crypto/Makefile.am* files,
rather than sourcing some from crypto/Makefile.am and manually
copying the remainder. This will make it easier to add platform
specific sources in the future, since they only need to be added
to the appropriate Makefile.am* file.

Remove symbols exclusion for OPENSSL_ia32cap_P - this disappeared
from upstream in 2024.
2026-01-18 00:57:55 +11:00
Theo Buehler
e4e25cd281 Make opensslconf.h MI again 2025-08-26 00:55:50 -06:00
Theo Buehler
aaabed455c Update for MLKEM changes 2025-08-17 13:13:58 -06:00
Theo Buehler
0daa8adfe8 Adjust to GCM refactoring 2025-06-29 04:13:08 -06:00
Theo Buehler
e05910b503 Only link aes_${arch}.c to asm builds
Don't mix C source with ASM source. Add the ASM support C code
to CRYPTO_SRC or libcrypto_la_SOURCES as normal, but depending 
on the HOST_ASM* bits

Change-Id: I6a6a69648fc7c2102c96813b70be0d255a345cd3
2025-06-26 05:37:35 +02:00
Brent Cook
21f4bd2a61 Land #1175, Add ISC copyright headers, add explicit COPYING to LibreSSL portable tree 2025-06-03 05:08:04 -05:00
Brent Cook
43ee348d0f add top-level script copyright notices 2025-06-02 08:07:50 +07:00
Brent Cook
30598098a5 explicitly copy COPYING file in this project from LICENSE file in CVS tree 2025-06-01 08:22:33 +07:00
Theo Buehler
5011fa2a0a remove arm perlasm tendrils 2025-05-24 21:37:33 -06:00
Kenjiro Nakayama
95fea99949 update.sh: stop generating vpaes and bsaes x86_64 assembly
Remove generation of vpaes and bsaes assembly sources from update.sh,
as these are removed from source tree.

See: 824f363240
2025-05-22 09:34:52 +09:00
Brent Cook
0341e8da9f remove tmp files left behind during masm generation 2025-05-18 20:46:32 +09:00
Kenjiro Nakayama
dbce13a80f rewrite pq_test to perform internal checks
This change prepares for the patch at
https://marc.info/?l=openbsd-tech&m=174634767904894&w=2 by removing the
need for pq_expected.txt, pq_test.sh, and pq_test.bat. The test now
performs internal output and priority verification in code, simplifying
the test infrastructure across platforms.

Update CMakeLists.txt and Makefile.am accordingly.
2025-05-04 20:50:49 +09:00
Theo Buehler
7428e5554c Disable MD5 ASM 2025-01-24 15:10:22 +01:00
Theo Buehler
3378e97726 Remove mlkem and bytestring from public visibility for now 2024-12-19 19:11:43 -07:00
Kenjiro Nakayama
a6cc8cca47 Hook ML-KEM related tests
This patch adds ML-KEM related tests.
2024-12-17 16:48:00 +09:00
Theo Buehler
b96ad7e8ab Also install test headers 2024-12-14 13:59:23 -07:00
Theo Buehler
08207128ce Link mlkem to build 2024-12-14 13:59:08 -07:00
Theo Buehler
694d869854 Disable sha1 assembly on amd64 2024-12-04 20:06:10 -07:00
Theo Buehler
8de367893b Disable sha512 perlasm 2024-11-16 08:20:29 -07:00
Theo Buehler
19eef52c71 Disable sha256 assembly 2024-11-08 09:29:55 -07:00
Theo Buehler
696c490c0a Hook up crypto_cpu_caps_init() 2024-10-18 09:13:27 -06:00
Theo Buehler
64f8aa3701 Adjust for whirlpool removal 2024-08-31 05:58:34 -06:00
Theo Buehler
2a907257f9 Need to copy over crypto_arch.h 2024-08-11 15:32:32 +02:00
Theo Buehler
087a9d4c57 ui_compat.h was removed 2024-08-10 00:44:03 -06:00
Theo Buehler
60d65be44a ssl2.h and ssl23.h are gone 2024-07-13 12:35:19 -06:00
Theo Buehler
a8bd03a588 pem2.h headed to the bit bucket 2024-04-25 12:42:07 -06:00
Brent Cook
e28c00a367 Land #1047, use file version number in test scripts 2024-04-08 20:26:36 -05:00
Brent Cook
7d28eaa941 Land #1035, explicitly undef __CET__ on masm cpp 2024-04-08 20:19:42 -05:00
Brent Cook
9091d5551c use a specific version number in test scripts
This avoids issue reported in #1041 with file glob confusing cd.
Also remove extra newline from VERSION when update.sh runs.
2024-04-08 20:05:29 -05:00
Theo Buehler
70d384d537 camellia/cast consolidation coping 2024-03-29 02:24:23 -06:00
Theo Buehler
f95940836b Consolidate whirlpool 2024-03-28 20:47:48 -06:00
Brent Cook
35970684c0 explicitly undef __CET__ on masm cpp
Some systems (e.g. OpenBSD) unconditionally set __CET__ in the C
preprocessor.
2024-03-28 06:26:36 -05:00
Theo Buehler
7f652d45cb More garbage was hiding here 2024-03-27 16:54:42 -06:00
Viktor Szakats
9646391f92 update.sh: add LIBRESSL_GIT_OPTIONS 2024-03-22 08:45:18 +00:00
Viktor Szakats
24bb326b72 update.sh: use shallow clone to spare time/bandwidth 2024-03-20 17:55:45 +00:00
Theo Buehler
9b54faaf97 Update build system for file removal 2024-03-02 07:52:39 -07:00
Brent Cook
d8702f6951 upstreamed masm alignment fix 2024-02-27 07:18:09 -06:00
Brent Cook
53edbd00c1 define _MSC_VER when preprocessing, add guards 2024-02-25 18:29:14 -06:00
Brent Cook
950b5bc1fb include placeholder cet.h for cpp 2024-02-25 18:12:24 -06:00
Theo Buehler
500a1029e9 Remove use of endbr64.patch 2024-02-24 10:41:41 -07:00
Theo Buehler
b9b65324ec Add posix_time.h 2024-02-18 23:04:08 -07:00
Brent Cook
37cff9e9a4 align read only sections on masm/windows to 64 bytes
Avoid conflicts where alignment is specified later in the underlying
assembly.
2024-02-12 03:14:54 -06:00
Brent Cook
cc78bdf3dd integrate new upstream endbr64 test code, remove os-specific reverts 2024-02-12 03:14:54 -06:00
Brent Cook
548b3d0485 restrict patches to windows / macos platforms 2023-10-31 09:25:23 -05:00
Brent Cook
98a5122bc6 portable asm generator patches for portable
This reverses changes from the 3.8.x upstream that are causing issues on
a few different platforms, including macOS x64, Windows, and older
Linux/FreeBSD.
2023-10-30 22:55:29 -05:00
Brent Cook
01e3b10f50 remove conflicting align directives for MASM 2023-10-29 11:18:52 -05:00
Theo Buehler
85a0a1ae3f Adjust for file removal and renaming 2023-07-28 06:06:26 -06:00
Brent Cook
09418fe29e make update.sh compatible with Solaris 11 tail behavior 2023-07-06 11:07:42 +03:00
Brent Cook
11dfc90f83 move endbr64 removal to preprocessor 2023-07-03 16:34:38 +03:00
Brent Cook
419fbd6fba fix asm on x86_64 macos 2023-05-26 21:51:56 -05:00