Frank Denis
3890eb1f33
Generate files from .in files before compilation
2013-09-30 13:31:37 -07:00
Frank Denis
e1e6e0cf7e
Enable full optimization on MSVC
2013-09-30 12:47:34 -07:00
Frank Denis
64be43d487
MSVC: define inline and NATIVE_LITTLE_ENDIAN for all targets
2013-09-24 14:44:05 -07:00
Frank Denis
cec400d5ad
Add Visual Studio project files
2013-09-24 14:33:19 -07:00
Frank Denis
32a8591985
Fix randombytes_salsa20_random.c for MSVC
2013-09-24 14:20:52 -07:00
Frank Denis
26d108d468
MSVC fixes for randombytes_sysrandom.c
2013-09-24 14:09:26 -07:00
Frank Denis
ad49d05a8b
Match randombytes() prototype with declaration.
2013-09-24 14:06:26 -07:00
Frank Denis
18015e71e2
randombytes_stir() returns void
2013-09-24 14:05:34 -07:00
Frank Denis
02bb86d18b
MSVC/portable-jane.h: don't redefine _CRT_SECURE_NO_WARNINGS
2013-09-24 13:42:23 -07:00
Frank Denis
8086d6f696
blake2: remove more declarations in for() for MSVC
2013-09-24 13:38:02 -07:00
Frank Denis
14809c12c4
MSVC doesn't like a definition in a for() loop.
2013-09-24 13:28:31 -07:00
Frank Denis
30026fbbfe
Check for inline vs __inline for MSVC
2013-09-24 13:23:48 -07:00
Frank Denis
656d8d6495
Disable donna_c64 on big endian architectures for now
2013-09-21 20:07:50 -07:00
Frank Denis
c43440f01c
More fixes for big-endian architectures
2013-09-21 19:43:39 -07:00
Frank Denis
c19b0128e2
Add aes256-table-be.h to the Makefile
2013-09-21 18:56:24 -07:00
Frank Denis
29f81d167c
aes256 table for big endian
2013-09-21 18:55:36 -07:00
Frank Denis
15f87c1c90
Reformat aes-table-le.h
2013-09-21 18:50:59 -07:00
Frank Denis
5dd623e96d
Move endian-dependent aes256estream/aes-table.h bits to aes-table-le.h
2013-09-21 18:27:11 -07:00
Frank Denis
30e27fcd25
Make aes256estream implementation less LE dependant. BE Sbox coming up next.
2013-09-21 15:27:34 -07:00
Frank Denis
bc7dbdc498
ephasize -> emphasize, via @kur41
2013-09-19 13:21:35 -07:00
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