Commit Graph

671 Commits

Author SHA1 Message Date
Massimo Cetra
4e35c3f327 fix compile warnings
When compiling with [-Wold-style-declaration] on GCC, this warning appears:

  warning: ‘inline’ is not at beginning of declaration

This is easily fixed moving the INLINE directive at the very beginning of the declaration
2013-09-07 00:15:36 +02:00
Massimo Cetra
b6b005a527 fix compile warnings
When compiling with [-Wold-style-declaration] on GCC, this warning appears:

  warning: ‘inline’ is not at beginning of declaration

This is easily fixed moving the INLINE directive at the very beginning of the declaration
2013-09-06 23:57:44 +02:00
Frank Denis
4cbfd71d88 Bump Android NDK version 2013-09-04 00:16:00 -07:00
Frank Denis
84f634a8f2 Requires at least autoconf 2.65 2013-08-26 23:37:08 -07:00
Frank Denis
b95e3ed990 Add pysodium 2013-08-25 23:12:59 -07:00
Frank Denis
74031ee550 Make --disable-blocking-random and --disable-debug no-ops 2013-08-18 14:06:00 -06:00
Frank Denis
9c1596194e Ignore libsodium.pc 2013-08-18 14:05:43 -06:00
Christian Wiese
2f64b991b6 build: changed to only generate/install .pc file if pkg-config is found
This change improves the pkg-config support to only generate/install a .pc
file if pkg-config is found, assuming it is part of the build toolchain.

Note:

The minimal version set for pkg-config is 0.25, because this is the oldest
version I am able to test at the moment.
2013-08-12 15:16:23 -07:00
Frank Denis
dcea4e938b Merge pull request #66 from morfoh/pkgconfig
build: create and install a pkgconfig file
2013-08-11 22:08:20 -07:00
Christian Wiese
24510eb3e9 build: create and install a pkgconfig file
This adds trivial changes to the autotools infrastructur and a
template to generate and install a pkgconfig file libsodium.pc.
2013-08-11 23:18:14 +02:00
Frank Denis
6b3691be00 More CPUs supporting unaligned access 2013-08-07 16:49:45 -07:00
Frank Denis
4b6f1f5114 Don't assume that unaligned word access is ok, except on x86 & amd64. 2013-08-07 16:38:54 -07:00
Frank Denis
bcfed75ad4 Rename stream_salsa20_amd64_xmm6.s to stream_salsa20_amd64_xmm6.S 2013-08-07 14:53:15 -07:00
Frank Denis
8ba5834468 Add .dirstamp to .ignore 2013-08-05 11:21:27 -07:00
Frank Denis
675541b6f2 Rename ChangeLog to NEWS, change autoconf strictness to foreign,
rename COPYING to LICENSE.
2013-08-05 11:19:13 -07:00
Frank Denis
122be8e3c9 Merge pull request #63 from VeXocide/patch-1
s/mardown/markdown/
2013-08-05 09:41:31 -07:00
Jeroen Habraken
7056df2138 s/mardown/markdown/ 2013-08-05 10:22:44 -06:00
Frank Denis
4ec678157a Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add stackmarkings to stream_salsa20_amd64_xmm6.s
2013-08-05 09:05:53 -07:00
Frank Denis
7738f2e3b8 Don't forget to include README.markdown in the tarball
Spotted by cicku
2013-08-05 09:05:46 -07:00
Frank Denis
63413db427 Merge pull request #60 from mrueg/master
Add stackmarkings to stream_salsa20_amd64_xmm6.s
2013-08-03 19:52:24 -07:00
Manuel Rüger
1f4b11d5ab Add stackmarkings to stream_salsa20_amd64_xmm6.s
I'm trying to package libsodium for gentoo and received
 * !WX --- --- usr/lib64/libsodium.a:stream_salsa20_amd64_xmm6.o

According to http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
this commit fixes it.
2013-08-04 04:42:56 +02:00
Frank Denis
5cb2c0be12 Add a reference to the COPYING files in README.markdown 2013-07-29 09:37:42 -07:00
Frank Denis
c6ad966868 Reorder automake options 2013-07-29 09:35:09 -07:00
Frank Denis
898cadc3e6 Set subdir-objects 2013-07-20 18:04:34 -07:00
Frank Denis
879112786c Switch poly1305-ref to Floodyberry's poly1305-donna-unrolled. 2013-07-20 17:57:32 -07:00
Frank Denis
93aaa0e1a9 Target iOS 7 2013-07-20 17:40:23 -07:00
Frank Denis
b9c4147169 Link Kalium-JNI 2013-07-16 14:14:58 -07:00
Frank Denis
49f658c647 Fix C++ compat for utils.c 2013-07-12 21:46:27 -07:00
Frank Denis
de78d541d6 Crank library minor 2013-07-12 09:49:44 -07:00
Frank Denis
eee25f0864 Merge pull request #55 from dsheets/seedbytes
Add a crypto_sign_SEEDBYTES macro/getter and associated ed25519 macro/getter
2013-07-12 09:48:12 -07:00
David Sheets
c7313f56a6 Add a crypto_sign_SEEDBYTES macro/getter and associated ed25519 macro/getter 2013-07-12 17:44:32 +01:00
Frank Denis
d061c6f338 Mention ocaml-sodium 2013-07-10 00:25:55 -07:00
Frank Denis
a3544f8c1e It's a fork. 2013-07-10 00:18:52 -07:00
Frank Denis
5e814b0918 Update NEWS file 2013-07-07 23:56:53 -07:00
Frank Denis
6ee74618d0 Use sodium_bin2hex() instead of duplicating the same code everywhere. 2013-07-07 23:46:42 -07:00
Frank Denis
1a3786705e Add a sodium_bin2hex utility function. 2013-07-07 23:38:14 -07:00
Frank Denis
a6490db658 Don't -> Do not 2013-07-07 22:38:51 -07:00
Frank Denis
09a4848fc9 Document --disable-pie instead of --enable-pie 2013-07-07 22:35:34 -07:00
Frank Denis
617eb6d26f Move --enable-pie switch 2013-07-07 22:29:58 -07:00
Frank Denis
51d91d1115 autoconf: move the last switch, --enable-debug 2013-07-07 22:25:20 -07:00
Frank Denis
1d921e45da autoconf: keep moving switches to the top of the file 2013-07-07 22:20:27 -07:00
Frank Denis
43132738d2 Add a pre-js script for providing /dev/urandom to tests in Javascript.
Not plugged to the build system yet.
2013-07-07 22:04:13 -07:00
Frank Denis
c06e228867 autoconf: start moving AC_ARG_ENABLE macros to the top of the script. 2013-07-07 21:46:44 -07:00
Frank Denis
c8a44ba02e Disable asm implementations when compiling to javascript with emscripten. 2013-07-07 21:33:41 -07:00
Frank Denis
f66ab14d7f Remove -I/usr/local/include and -L/usr/local/lib
libsodium doesn't have any dependency on 3rd party libs.
2013-07-07 19:18:03 -07:00
Frank Denis
34fe1205ac Mark clang false positives 2013-07-07 18:57:09 -07:00
Frank Denis
cdbbe47ed9 Remove dead assignments that the compiler optimizes out. 2013-07-07 14:27:31 -07:00
Frank Denis
c828d169c6 Prepare for a version bump. 2013-07-07 14:10:02 -07:00
Frank Denis
8bc0e72f2f libsodium.org is now available over HTTPS & SPDY 2013-07-07 14:04:52 -07:00
Frank Denis
98436192db Merge pull request #52 from dsheets/patch-1
Add a DNSSEC tarball verification note from @jedisct1 in #51
2013-07-05 10:57:02 -07:00