469 Commits

Author SHA1 Message Date
Joel Sing
608555130e Mop up various defines that are no longer used upstream
BSAES_ASM, VPAES_ASM and OPENSSL_IA32_SSE2 were retired a while ago.
2026-01-17 00:15:13 +11:00
Brent Cook
d6b6fe95a7 include crypto/arch/aarch64/crypto_cpu_caps_windows.c 2025-10-28 07:06:00 -05:00
Brent Cook
659e87fe1c move ftruncate to common libcompat for tests 2025-10-07 04:23:58 -05:00
Theo Buehler
607ae1b805 adapt to mlkem deduplication 2025-09-06 06:06:34 +02:00
Theo Buehler
d811b09c21 link new s2n-bignum assembly to build 2025-08-17 14:26:54 -06:00
Theo Buehler
aaabed455c Update for MLKEM changes 2025-08-17 13:13:58 -06:00
Theo Buehler
0a07d6b66f Adjust for x_pkey.c removal
Change-Id: I6a6a696458f18874c81e49aa5068a910a51becdb
2025-07-12 22:23:32 +02:00
Theo Buehler
54dc5a27b1 x_info.c was removed
Change-Id: I6a6a6964f97ec3f04111708ee726de6dd4ea8630
2025-07-12 21:58:33 +02:00
Theo Buehler
0daa8adfe8 Adjust to GCM refactoring 2025-06-29 04:13:08 -06:00
Theo Buehler
fd25d60a12 Pass -Icrypto/aes to CPP flags 2025-06-27 11:57:03 -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
Theo Buehler
86376ca661 link aes_{amd64,i386}.c to build 2025-06-16 11:12:42 -06:00
Brent Cook
0d6948baf6 Land #1176, Automake: use relative paths when linking object lists 2025-06-06 00:03:26 -05: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
cierny
e95c54d54c Switch to top_builddir 2025-06-02 18:42:46 -07:00
cierny
23a3d0ea9b Use relative paths in linking step 2025-06-02 16:15:41 -07:00
Brent Cook
5d9229b169 adjust incorrect commit years
Co-authored-by: Theo Buehler <botovq@users.noreply.github.com>
2025-06-01 17:24:24 +03:00
Brent Cook
340037f69a add autotools build copyright headers 2025-06-01 08:22:33 +07:00
Brent Cook
c51665d429 add copyright headers to Cmake files
based on original committer and date
2025-06-01 08:22:33 +07:00
Theo Buehler
e1866b0fc6 link bn_mod_words.c to build 2025-05-31 04:03:40 -06:00
Theo Buehler
0a5a42dc5e link bn_add_sub.c to build 2025-05-31 03:35:47 -06:00
Theo Buehler
adff7f6528 link ec_field.c and ec_hp_methods.c to build 2025-05-31 03:34:11 -06:00
Theo Buehler
ad6c7f0a49 aes_ige.c was merged into aes.c 2025-05-31 03:30:30 -06:00
Theo Buehler
13602069ad There's only one rc2.c file now 2025-05-31 03:28:14 -06:00
Theo Buehler
5011fa2a0a remove arm perlasm tendrils 2025-05-24 21:37:33 -06:00
Kenjiro Nakayama
7885f9bfc6 update CMake and Makefile 2025-05-22 09:47:56 +09:00
Brent Cook
2a3e1b6df7 rename cpu_caps apple to darwin 2025-05-19 14:23:10 +09:00
Brent Cook
570b0b73c7 add windows aarch64 cpu_caps 2025-05-19 06:19:47 +09:00
Brent Cook
b905935b88 add linux aarc64 cpu_caps 2025-05-19 06:19:47 +09:00
Brent Cook
57af118480 create noop and apple cpu_caps checks for aarch64 2025-05-19 06:19:47 +09:00
Brent Cook
42735e1088 Land #1164, remove BIO_s_log in advance of upstream removal 2025-05-18 14:41:13 -05:00
Brent Cook
15bc02adc5 fix gitignore brokenness in crypto
/crypto/* masks too much and breaks the exclusion function.

The docs for gitignore state that if a parent directory is ignored,
negating a pattern with a ! prefix has no effect since it is not
possible to reinclude a file if the parent director is excluded.

https://git-scm.com/docs/gitignore

This just is more explicit, which catches files added out of tree more
readily.

Also delete the long-removed libtls-standalone references
2025-05-18 20:46:32 +09:00
Brent Cook
de38c5b179 experiment with removing BIO_s_log in advance of upstream removal 2025-05-18 18:01:45 +09:00
Theo Buehler
8f6cbc8987 b_win.c: whitespace nit 2025-05-10 21:56:33 +02:00
Theo Buehler
364fc5b9b9 Include "err_local.h" rather than <openssl/err.h> 2025-05-10 21:56:05 +02:00
Brent Cook
9ba4b33d66 change prefix for fstat 2025-04-16 04:26:34 -05:00
Brent Cook
06297aa3ce reapply special case for std file descriptors 2025-04-16 03:59:46 -05:00
Brent Cook
78b86a2af6 switch to using high bit for fd detection of file/socket 2025-04-12 16:59:51 -05:00
datadiode
ec12395623 Don't break std* file descriptors (inspired by the other is_socket() which lives in poll_win.c) 2025-04-12 15:58:17 -05:00
datadiode
2c5e2c60d9 Issue #1069 - Make file descriptors created through posix_open() distinguishable from sockets by having them take odd values only 2025-04-12 15:58:07 -05:00
Theo Buehler
1087da12fc Sync opensslconf.h, add crypto_arch.h for mips
This was easy enough to make compile. As long as it doesn't get in the
way, I think we can keep this.

Fixes #1110
2025-04-12 18:06:24 +02:00
Ivan A. Melnikov
031c2f1722 Basic loongarch64 support
Just wire things up to make the project buildable
on LoongArch64.

opensslconf.h is taken form riscv64 folder as is,
and is the same as on some other 64 bit architectures.

Refs: https://github.com/libressl/portable/issues/1123
Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
2025-04-10 17:22:36 +04:00
Theo Buehler
ccc254e9a4 Fix UI_OpenSSL for Windows 2025-03-09 11:31:39 -06:00
Theo Buehler
01f74a0b4f Garbage collect SHA*ASM 2025-02-14 05:14:47 -07:00
Theo Buehler
7428e5554c Disable MD5 ASM 2025-01-24 15:10:22 +01:00
Theo Buehler
100511900d fix .gitignore for mlkem and pick up hidden header 2024-12-20 03:09:18 -07:00
Theo Buehler
3378e97726 Remove mlkem and bytestring from public visibility for now 2024-12-19 19:11:43 -07:00
Theo Buehler
bf808ea0fc Provide getdelim and getline compat shims
These are portable implementations from NetBSD that are needed on
Windows and perhaps some other platforms with the new versions of
the mlkem tests.
2024-12-20 01:14:04 +01: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