201 Commits

Author SHA1 Message Date
Brent Cook
d8bfe23353 remove extra cms in cmac 2019-11-03 06:47:45 -06:00
Brent Cook
3c51ff271e add cms to portable build 2019-11-03 06:24:47 -06:00
Ørjan Malde
b80c4bf262 initial support for midipix 2019-10-20 20:22:22 +02:00
Brent Cook
935dedc22c remove duplicate copy of public header 2019-09-09 22:08:34 -05:00
Brent Cook
b43bee6451 update portable for latest build changes 2019-09-09 22:00:57 -05:00
kinichiro
856d0511d6 Use posix_win.c functions on WIN32
- read() returns bytes count as 1 for crlf unless binary mode isn't
  specified with open(). Reported by @ulfworsoe in libressl-portable#542
- err could be WSANOTINITIALISED when WSAStartup() is not called
2019-07-28 19:10:47 +09:00
Brent Cook
b3e2e71310 default to a directory that is not world-creatable 2019-06-12 09:08:17 -05:00
Brent Cook
5ed7cf2553 sigh, add back the quotes for C 2019-06-10 07:07:44 -05:00
Brent Cook
6e2192618a use something else by default for Windows builds (match dist-win.sh) 2019-06-10 07:04:01 -05:00
Brent Cook
83012fe34a let cmake handle quoting itself 2019-06-10 06:49:34 -05:00
kinichiro
bbb662b69c Fix masm build
- Fix masm operators and comments
- Add -DOPENSSL_NO_ASM only if not 64 bit build
- Add -DCMAKE_INSTALL_PREFIX to avoid build error
2019-06-10 06:49:34 -05:00
Stephan Vedder
c6f8ca2bc6 Enable masm compilation under windows 2019-06-10 06:49:34 -05:00
Brent Cook
c199315ee9 condense android comments for clarity 2019-05-23 06:58:38 -05:00
Ishimoto Shinobu
65159f37d0
Remove info about glibc 2019-05-22 10:47:47 +03:00
Ishimoto Shinobu
a747aacc23
avoid glibc
cause problems on musl systems
2019-05-21 22:41:05 +09:00
Simone Basso
44082746db Fix getprogname_linux.c for Android API < 21
This diff fixes the build of LibreSSL for Android with API < 21 where
the `getprogname` system call was not part of libc.

A comment in the diff itself explains in detail the issue.
2019-05-04 09:15:23 +02:00
Daniel Wyatt
23fa9a51d8 Add portable scaffold for SM4 2019-03-04 08:53:22 -05:00
Brent Cook
40c848316e add unimpl fallback for getprogname 2019-02-03 18:50:14 -06:00
Brent Cook
7f59976700 export getuid for libtls 2019-02-01 05:44:31 -06:00
Brent Cook
5269dbb279 update cmake 2019-01-31 13:56:56 -06:00
Brent Cook
a6d7ea9562 update autoconf for latest compat functions 2019-01-31 13:56:56 -06:00
Brent Cook
495a1b6316 more masm fixes, but disable for now 2019-01-21 20:15:30 -06:00
Brent Cook
1b2e3576e0 a couple of fixes to get MSVC Win64 going again 2019-01-21 15:26:32 -06:00
Brent Cook
64d9c5d678 fixes to build asm on MSVS 2019-01-21 05:24:11 -06:00
Brent Cook
cc08f8eae0 adjust asm exclusions 2019-01-20 23:38:22 -06:00
Brent Cook
73b371073e remove xcode annotations for windows 2019-01-20 23:37:44 -06:00
Brent Cook
f553a9fe63 consider masm/mingw assembly flavors from cmake 2019-01-20 21:18:34 -06:00
Brent Cook
a2c03cbb56 disable bn acceleration 2019-01-20 20:54:47 -06:00
Brent Cook
8730803401 enable asm for mingw64 2019-01-20 20:03:37 -06:00
Brent Cook
72bb1ed618 generate masm and mingw64 assembly 2019-01-20 20:03:37 -06:00
Brent Cook
7c4d13138a fix build 2019-01-19 05:09:13 -06:00
Brent Cook
f1dfe95403 add ec to crypto private -I path for ec_lcl.h 2019-01-19 04:33:03 -06:00
John Norrbin
1e848d2e4e
Handle malloc returning null
Locks are required for multi-threading. If memory can't be allocated, exit the program with memory error. If we let the program continue, it will deadlock in the next part of the code anyway so better end it before.
2019-01-04 19:24:59 +01:00
kinichiro
7d5b905723 Add arm_arch.h to build ARM portable 2019-01-04 01:08:15 +09:00
Brent Cook
6831427442 enable getpagesize for all Windows builds 2019-01-01 15:48:27 -06:00
Brent Cook
565258a447 use InterlockedExchangeAdd for add 2019-01-01 15:44:37 -06:00
Brent Cook
e508171956 make locks self-initialize, switch to critical sections 2019-01-01 15:44:37 -06:00
Brent Cook
0f0bec5a76 build crypto_lock_win.c in-place 2019-01-01 15:44:11 -06:00
Brent Cook
a256df7fe9 build lock functions with CMake 2018-11-11 11:05:21 -06:00
Brent Cook
ff7a18318c include header 2018-11-11 10:59:15 -06:00
Brent Cook
1cb05b51c1 Land #439, Add portable scaffold for SM3 2018-11-11 09:14:41 -06:00
Brent Cook
1e2937e1a2 added crypto_lock portable bits 2018-11-11 09:14:00 -06:00
Brent Cook
ba2fe0e949 add simple Windows lock implementation 2018-11-11 09:06:13 -06:00
Brent Cook
3172a42c45 add Makefile.am.elf-arm 2018-11-11 08:35:14 -06:00
Brent Cook
8f32297dce add arm asm support via autoconf/make 2018-11-11 02:08:55 -06:00
Brent Cook
9c6e9f0995 initial 32-bit arm assembly optimization support 2018-11-11 00:24:35 -06:00
bobsayshilol
34394e7ee0 Misc fixes to bring portable in line with upstream. 2018-11-07 23:45:17 +00:00
kinichiro
0b8343ace3 Fix cmake to generate proper Libs.private in .pc files 2018-10-05 22:59:44 +09:00
kinichiro
f819a2bce7 Fix cmake linking libraries 2018-10-03 20:35:36 +09:00
Jack Lloyd
d4803f134f Add portable scaffold for SM3 2018-08-14 15:16:36 -04:00