1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-23 00:32:03 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
Samuel Neves
3b60b264a0
Merge pull request #28 from haubi/master
use -no-undefined flag with libtool
2019-07-23 00:54:21 +01:00
Samuel Neves
1f2f674762
Merge pull request #29 from bsiegert/equals
Use "test x = y" instead of == in configure.ac
2019-06-25 01:35:23 +01:00
Benny Siegert
8de35db19d
Use "test x = y" instead of == in configure.ac
The ==  form is non-portable and not supported everywhere. Here is the explanation for this issue from pkgsrc:

The "test" command, as well as the "[" command, are not required to know                                                            
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the                                                              
"==" operator, the result will be "false" instead of "true". This can                                                               
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains                                                             
the "test ==" is needed for building the package, you should create a                                                               
patch for it, replacing the "==" operator with "=". If the file is not                                                              
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the                                                                  
package Makefile.
2019-06-22 18:53:33 +02:00
Michael Haubenwallner
6540778e78 use -no-undefined flag with libtool
We need to tell libtool that we expect all symbols to be defined when
creating the library.  Otherwise, on platforms that do not support
undefined symbols, libtool does create the static library only.
2019-06-05 15:31:10 +02:00
JP Aumasson
37062e55cc
Merge pull request #26 from michael-o/hpux-secure-memory
Make secure_zero_memory() compile on HP-UX
2019-05-28 16:00:13 +02:00
Michael Osipov
30d45a17c5 Make secure_zero_memory() compile on HP-UX
This reinstantiates the portable approach to this function dropped in
b4b241a34824b51956a7866606329a065d397525.
HP-UX does not have any of the fancy secure/explicit functions and the
compiler does not support the inline assembly syntax.
2019-05-28 15:48:17 +02:00
Samuel Neves
2c5142f12a make dist expects COPYING v0.98.1 2019-03-10 15:35:26 +00:00
Samuel Neves
73d41c8255 bump version for new release 2019-03-10 15:28:51 +00:00
Samuel Neves
09e2aeeb1d Merge branch 'RonnyPfannschmidt-pkg-config' 2019-03-10 15:25:49 +00:00
Samuel Neves
9f7b0fced6 add newlines to end of files 2019-03-10 15:25:30 +00:00
Ronny Pfannschmidt
9aff919276 add support for pkg-config by emmiting a libb2.pc 2019-02-14 22:59:04 +01:00
Samuel Neves
7feb2bb35d
Merge pull request #21 from benjaminp/native-aligned-access
Use memcpy for possibly-unaligned loads and stores.
2018-07-11 13:03:45 +01:00
Benjamin Peterson
4d8616dae4 Use memcpy for possibly-unaligned loads and stores.
The core change is ported from
b8024d53e7.

This let's us remove the ALIGNED_ACCESS_REQUIRED configure check. This isn't a
very good thing to check through configure because it requires running an
executable. That doesn't work for cross compiles.
2018-06-20 23:35:09 -07:00
Samuel Neves
9b1cc68593
Merge pull request #19 from dcarlier-afilias/win_fix
windows build fix
2018-06-04 17:14:59 +01:00
David Carlier
4f02982605 windows build fix 2018-06-04 17:18:31 +01:00
Samuel Neves
e5f2bb51e5 do not enable -march=native if --enable-native=no is selected
(see issue #11)
2018-03-27 13:09:32 +01:00
Samuel Neves
620681a3b1
Merge pull request #14 from dcarlier-afilias/native_mem_clearance_calls
For secure memory clearance, trying to use the native calls whenever
2018-03-27 12:39:51 +01:00
David Carlier
b4b241a348 For secure memory clearance, trying to use the native calls whenever
it is possible or a simple barrier.
2018-01-16 11:38:43 +00:00
Samuel Neves
60ea749837 detect whether the operating system can use AVX v0.98 2017-12-25 12:34:30 +00:00
Samuel Neves
0d7015f6a6 consistency, bump version 2017-10-10 13:33:42 +01:00
Samuel Neves
b044244959 fix #9 2017-10-10 13:27:31 +01:00
Samuel Neves
9a0d006240 remove -Wconversion by default 2016-10-28 01:23:17 +01:00
Samuel Neves
348f9709f3 Merge pull request #7 from garoose/conversion-warnings
Fix implicit conversions and enable warnings
2016-10-28 01:20:10 +01:00
Joshua Kahn
01ab0d1b3a Fix implicit conversions and enable warnings 2016-09-20 17:37:21 -04:00
Samuel Neves
9b8de7329a Merge pull request #3 from bit4/fix-march-native
Not all architectures support -march=native...
2016-02-09 02:46:51 +00:00
bit4
2e0657f4c6 Not all architectures support -march=native, make it configurable and disable it when necessary. 2016-02-06 10:32:29 -05:00
Samuel Neves
9be7c822f7 Merge pull request #1 from BurningEnlightenment/feature/enhanced-dll-helper
REPLACE EXPORT_DLL WITH BLAKE2_API
2015-12-16 06:33:44 +00:00
Henrik S. Gaßmann
b54f34c1d5 PREFIX DLL HELPER SYMBOLS WITH BLAKE2 2015-12-16 06:14:39 +01:00
Henrik S. Gaßmann
27691aa58c REPLACE EXPORT_DLL WITH BLAKE2_API
Export symbols as recommended by the https://gcc.gnu.org/wiki/Visibility
Step-by-Step Guide.
The symbols EXPORT_DLL, DYNAMIC_LIB_EXPORT and DYNAMIC_LIB are way too
generic and will likely cause name clashes if libb2 is used within a
larger project importing multiple external libraries.
2015-12-15 19:11:33 +01:00
Samuel Neves
605184616d replace secure_zero_memory 2015-12-12 20:47:57 +00:00
JP Aumasson
0258cc28a3 Merge branch 'master' of github.com:BLAKE2/libb2 2015-10-14 23:23:39 +02:00
JP Aumasson
b90cb05353 install instructions 2015-10-14 23:23:31 +02:00
Samuel Neves
400782443c compilers do not always correctly detect host cpu features 2015-10-14 22:22:48 +01:00
JP Aumasson
e0f4101303 consistent checks 2015-10-14 23:03:06 +02:00
JP Aumasson
4b5f51eeae ditched redundant license 2015-10-14 22:48:16 +02:00
JP Aumasson
564832de5e init 2015-10-14 14:52:16 +02:00
JP Aumasson
a8b3f1469c Initial commit 2015-10-14 14:50:52 +02:00