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
Bi11
981cbcc2a2
Fix build with cmake -G Xcode
2018-07-06 02:58:23 +08:00
Brent Cook
64b6951576
make headers under include/compat private again
2018-06-14 04:48:59 -05:00
Brent Cook
4fcfc82d83
scope private/public headers when embedding into other projects
...
thanks to Cameron Palmer
2018-05-29 05:46:54 -05:00
Don
26bebfc564
Use BUILD_SHARED_LIBS to specify library type
2018-03-21 10:24:52 -07:00
Brent Cook
366071c2cf
add new init functions
2018-03-18 10:43:16 -05:00
Brent Cook
1b84f79f4c
Land #402 , Remove CMAKE_HOST_ references
2018-03-18 09:53:37 -05:00
Brent Cook
c9c8e32fbe
Land #400 , Use groups in CMake install command for libraries
2018-03-18 09:52:27 -05:00
Don
09590953d0
Remove CMAKE_HOST_ references
...
CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
2018-03-16 14:59:53 -07:00
Don
5fb488de9f
Use groups in CMake install command for libraries
...
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
2018-03-16 13:59:26 -07:00
Don
3625c50f44
Use binary directory for symbol exports generation
...
Currently the CMake files generate symbols into the source tree when they should go into the build tree.
2018-03-16 12:15:30 -07:00
Brent Cook
3fb9e63b90
bump base requirement to Windows Vista, use builtin inet_ntop/pton
2018-03-14 07:29:04 -05:00
kinichiro
413956f494
Add bio_meth.c
2018-02-26 22:49:46 +09:00
kinichiro
f4d2b810cb
Remove rsa/rsa_ssl.c
2017-09-01 23:37:09 +09:00
Brent Cook
9e7fd1fa31
declare struct timezone outside of the function declaration
2017-08-13 16:04:03 -05:00
Brent Cook
94e4224f5f
don't build empty object files
2017-08-12 10:05:30 -05:00
Brent Cook
70ee57c6ad
Land #328 , generate the crypto export symbol list at build time
2017-07-09 05:12:21 -05:00
Brent Cook
9b88fa46bb
generate the crypto export symbol list at build time
...
we currently do it at configure time, which makes this a generated
source, but generated sources should be cleaned up, which breaks
'make clean; make'
2017-07-08 17:46:16 -05:00
d3x0r
a4d80ca56a
Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
...
Fix merge conflicts from GNUInstallDirs merge to master.
2017-07-06 23:11:11 -07:00
d3x0r
2557dd7439
Add option LIBRESSL_SKIP_INSTALL
...
Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled. defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules.
This is useful if another project includes and links to this statically.
I chose to add a prefix to avoid potential name collision because the options are cached globally.
If the installation is skipped, maybe it should also disable building apps? I didn't do that.
2017-07-06 02:09:44 -07:00
d3x0r
a2bd5ebaba
use GNUInstallDirs from cmake to specify install paths.
...
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
2017-07-06 01:49:43 -07:00
Brent Cook
8b80bcdad8
re-add getpagesize fallback, needed for Android
2017-06-11 11:21:34 -05:00
kinichiro
63042e98f8
Add HKDF functionality
2017-05-13 23:59:59 +09:00
Brent Cook
993f5cf6f9
add back copyright notice from OpenBSD malloc.c from which this came.
2017-04-28 00:26:40 -05:00
kinichiro
048625cf2b
Add freezero support
2017-04-22 23:37:20 +09:00
Brent Cook
922cd9c94e
move crypto_portable.sym to builddir
2017-04-10 09:30:29 -05:00
Brent Cook
764ab1e6a9
remove sysconf fallback for now
2017-03-16 19:25:42 -05:00
Brent Cook
d5b247cc4f
Land #297 , Add recallocarray
2017-03-16 19:23:36 -05:00