Commit Graph

650 Commits

Author SHA1 Message Date
Frank Denis
48f46304ce Crank library minor 2013-09-09 22:21:53 -07:00
Frank Denis
b03a2991b2 Add crypto_onetimeauth_poly1305_ref() wrapper. 2013-09-09 22:17:54 -07:00
Frank Denis
796db0c10b Rephrase. 2013-09-09 21:27:24 -07:00
Frank Denis
03d20b5f32 Blake2 2013-09-09 21:26:46 -07:00
Frank Denis
9b3c459a53 No NIST.
(section ripped from Cryptosphere)
2013-09-09 21:25:31 -07:00
Frank Denis
9db373dd6a Install msys binaries in a local directory 2013-09-09 11:51:25 -07:00
Frank Denis
38d0a4d1ca Disable asm on x86_64-*-cygwin*, thanks to neheb@ 2013-09-09 00:01:55 -07:00
Frank Denis
43f370671c Actually disable PIE on mingw* 2013-09-08 23:45:15 -07:00
Frank Denis
86966d30e4 Include pkg.m4, don't assume that the system has it. 2013-09-08 23:01:50 -07:00
Frank Denis
9174f8b460 Update ChangeLog 2013-09-08 22:34:16 -07:00
Frank Denis
e12b5bd8fb Bump package version 2013-09-08 22:20:42 -07:00
Frank Denis
4b08902232 Disable asm on mingw64 2013-09-08 22:06:27 -07:00
Frank Denis
554ad5bb6c Remove ALIGN definition from portable-jane.h
A macro of the same name is already defined by OpenBSD's libc, and the
portable-jane.h one is not in use yet.
2013-09-08 13:55:54 -07:00
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