1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-22 16:12:01 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
Samuel Neves
643decfbf8
Merge pull request #45 from shadchin/sync_with_python_2
Trim trailing whitespace
2023-05-14 17:17:32 +01:00
Hugo van Kemenade
7911e569af Trim trailing whitespace 2023-05-12 13:07:01 +03:00
Samuel Neves
6fafe5c546
Merge pull request #42 from shadchin/fix_build_with_clang
Fix build with Clang
2023-05-11 16:15:51 +01:00
Alexander Shadchin
48e205f070 Fix build with Clang 2023-05-05 15:27:59 +03:00
Samuel Neves
1705999115
fix macro name
Suggested by @maxbachmann
2023-04-06 00:02:47 +01:00
Samuel Neves
a036711671
Merge pull request #35 from noloader/travis
Add Travis testing
2020-07-04 00:08:08 +01:00
Jeffrey Walton
68712f41ce
Add Travis testing 2020-07-03 18:17:13 -04:00
Samuel Neves
186ffdfcde x86_64 always has at least SSE2 2020-07-02 03:46:23 +01:00
Samuel Neves
37e4b4b802
Merge pull request #33 from noloader/cpuid
Fix missing xgetbv on downlevel compilers
2020-06-30 23:37:54 +01:00
Jeffrey Walton
c4283b3469
Fix missing xgetbv on downlevel compilers 2020-06-30 13:54:56 -04:00
Samuel Neves
0f7c898301
Merge pull request #31 from DarthGandalf/patch-1
Fix build with distcc
2020-04-26 23:45:02 +01:00
Alexey Sokolov
0a706db5d7
Fix build with distcc
It also fixes a warning when building without distcc:

armv7a-unknown-linux-gnueabihf-gcc: warning: ../src/: linker input file unused because linking not done 

https://bugs.gentoo.org/704044
2020-04-26 13:14:26 +01:00
Samuel Neves
f4eedd3cde
Merge pull request #30 from lnjX/patch-1
clean.sh: Add shebang
2019-12-04 11:03:07 +00:00
LNJ
d0aab727cc
clean.sh: Add shebang 2019-11-28 23:28:06 +01:00
Samuel Neves
fa83ddbe17
Merge pull request #24 from LocutusOfBorg/patch-1
Update configure.ac, do not override CFLAGS from the system
2019-07-23 00:55:09 +01:00
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
Gianfranco Costamagna
9b9a3a452e
Update configure.ac, do not override CFLAGS from the system
By default, AX_CHECK_COMPILE_FLAG overrides the *FLAG, so lets stop doing that.
2019-03-14 16:11:43 +01: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