Commit Graph

487 Commits

Author SHA1 Message Date
Frank Denis
9ee3bd5d56 Use AS_CASE 2013-09-08 10:44:07 -07:00
Frank Denis
493f71a98a Use autoconf to possibly define CPU_ALIGNED_ACCESS_REQUIRED 2013-09-08 10:39:27 -07:00
Frank Denis
2181c087e3 Define CPU type in aes256ctr.
That should be changed to an autoconf test.
2013-09-08 10:01:32 -07:00
Frank Denis
5cfce7ef82 Reduce the 128-bit arithmetic compiler bug test case even further 2013-09-08 02:25:48 -07:00
Frank Denis
7544cba1fa Test a minimum case that crashes gcc when compiling smult_curve25519_donna_c64
Delta and C-Reduce are amazing debugging tools.
2013-09-08 02:15:12 -07:00
Frank Denis
faf6f5cbc1 iPhone / Android targets: issue an explicit make clean every time.
Often useful to automatically wipe forgotten leftovers from a different target.
2013-09-07 17:06:56 -07:00
Frank Denis
2b3969cede Ask Travis to compile with g++ as well 2013-09-07 17:02:53 -07:00
Frank Denis
b65a1ace81 Add newlines to .travis.yml 2013-09-07 17:02:10 -07:00
Frank Denis
05d6defd77 Quick quirk to support unaligned input for aes256estream. 2013-09-07 16:40:51 -07:00
Frank Denis
82d97ce5fb aes256estream: don't assume that unaligned words can be read (for the input) 2013-09-07 16:13:16 -07:00
Frank Denis
69641010c9 Reindent aes256.h, remove commented code 2013-09-07 16:02:24 -07:00
Frank Denis
25c9a00868 Add explicit "const" when casting pointers. No binary changes.
By Massimo Cetra.
2013-09-07 15:39:03 -07:00
Frank Denis
df5a4f56c3 aes256-hongjun: move partial_precompute_tworounds() out of aes256.h 2013-09-07 15:26:46 -07:00
Frank Denis
ecff56742b Rename crypto_onetimeauth_poly1305_ref_implementation_name() prototype. 2013-09-07 15:21:37 -07:00
Frank Denis
5742161416 Merge pull request #73 from ctrix/master
fix compile warnings
2013-09-06 15:57:14 -07:00
Massimo Cetra
91dea37f7e Merge branch 'master' of https://github.com/ctrix/libsodium 2013-09-07 00:15:56 +02:00
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