Frank Denis
dbe51e8ff8
Update the link to Sodium-Idris, via mwarning@
2014-03-12 09:04:18 -07:00
Frank Denis
9c33a54e89
Nothing requires <poll.h> in randombytes_sysrandom.c
2014-03-06 21:39:05 -08:00
Frank Denis
9b82685f14
Remove bashism
2014-03-04 09:20:53 -08:00
Frank Denis
9f2e0ba803
Use memset_s() if available
2014-03-02 19:05:14 -08:00
Frank Denis
12281a7312
Merge pull request #124 from Prototik/master
...
Split for armv6 and armv7 archs in buildscripts
2014-02-24 17:12:50 -08:00
Sergey Shatunov
2c48c844d4
Split for armv6 and armv7 archs in buildscripts
2014-02-24 17:21:15 +08:00
Frank Denis
639a92ebe7
Add crypto_hash_primitive()
2014-02-23 20:24:59 -08:00
Frank Denis
ffe39ab544
Merge pull request #122 from sonOfRa/sonames-again
...
Repair broken sonames
2014-02-22 17:18:46 -08:00
Simon Levermann
cd2fabb8f5
Repair broken sonames
2014-02-23 02:07:52 +01:00
Frank Denis
7524a9199e
Merge pull request #119 from sonOfRa/sonames
...
Add ./configure option to disable toggle soname versions
2014-02-20 09:03:47 -08:00
Simon Levermann
c62bbd0b6f
Update android build script
...
Use the --disable-soname-versions option for android
2014-02-20 17:56:54 +01:00
Simon Levermann
d889492173
Add ./configure option to disable toggle versions
...
I consider this way cleaner than setting some environment
variable in the build script. Per default, sonames are generated.
If ./configure is run with "--disable-soname-versions", no soname
versions will be generated. This is mainly useful for android, but
it might find some use for other environments without soname versioning
2014-02-20 17:54:05 +01:00
Frank Denis
464e590969
Merge pull request #118 from Prototik/android-buildscripts
...
Build scripts for android arm/x86/mips
2014-02-17 11:03:30 +01:00
Sergey Shatunov
16a7691ead
Build scripts for android arm/x86/mips
2014-02-17 17:31:35 +08:00
Frank Denis
0e6723c83c
Append to LIBTOOL_EXTRA_FLAGS in case it is not empty
2014-02-17 01:23:23 -08:00
Frank Denis
afcba42802
Save and restore errno when opening the random device.
2014-02-09 09:48:43 -08:00
Frank Denis
28b3f2ab0e
^ is not a good way to check for all zeros :) Spotted by sneves@
2014-01-26 16:47:55 -08:00
Frank Denis
49114ee2f5
Reorder vars
2014-01-24 09:41:19 -08:00
Frank Denis
bd4aacf078
crypto_sign_ed25519_open(): Check that the public key is not all zeroes.
...
Reported by Mikkel Fahnøe Jørgensen via nightcracker@
2014-01-24 09:36:21 -08:00
Frank Denis
dfd555df5d
Not all the constants have been "picked by theorems".
2014-01-03 21:41:30 +01:00
Frank Denis
b70aa80cc6
Check for posix_memalign() presence
2014-01-01 12:57:25 +01:00
Frank Denis
80a1ea8507
Reintroduce 08a4a043d4
minus the FUD.
2014-01-01 12:19:04 +01:00
Frank Denis
e639d48244
Fix Steve Gibson's handle
2013-12-31 21:31:24 +01:00
Frank Denis
e324f4132f
Credit Steve Gibson
2013-12-31 19:10:26 +01:00
Frank Denis
aaa4dab74a
Add a simple test for the secretbox easy interface.
2013-12-31 18:46:10 +01:00
Frank Denis
e8509072a9
Add an easy interface to secretbox
2013-12-31 18:37:36 +01:00
Frank Denis
c57b3c58b3
C++ compat
2013-12-31 18:37:36 +01:00
Frank Denis
a29fcf90a6
Add a simple test for crypto_box_open_easy()
2013-12-31 18:37:36 +01:00
Frank Denis
02ec147a00
Add a crypto_box easy interface
2013-12-31 18:37:36 +01:00
Frank Denis
3fbbffc2c6
Check xmain() return code in tests.
2013-12-31 18:37:05 +01:00
Frank Denis
3aa856474a
Distribute the dist-build directory
2013-12-31 16:16:29 +01:00
Frank Denis
b989d28925
Do not require droid-gcc any more to compile for Android
2013-12-31 16:07:01 +01:00
Frank Denis
b5b250e0ba
2014
2013-12-31 15:22:48 +01:00
Frank Denis
41e66896c8
Disable long long warnings when compiled with an old g++ version.
2013-12-31 15:20:02 +01:00
Frank Denis
eab6ff79d4
Add a build script for msys-win64, rename msys.sh to msys-win32.sh
2013-12-30 17:54:43 +01:00
Frank Denis
9a88b1ed74
Add .type @function to export function names in asm implementations (ELF only)
...
via NeoRaider@
2013-12-26 12:14:46 +01:00
Frank Denis
aec12d00b3
.gitignore << generichash3
2013-12-21 19:02:26 -08:00
Frank Denis
d3c949bafa
Remove ASM version of endian conversion helpers (in portable-jane.h) on PPC
...
This seems to be causing issues on ppc64 when compiling with optimizations.
2013-12-18 14:37:34 -08:00
Frank Denis
db2e1beecb
+Sodium Oxide
2013-12-11 23:06:33 -08:00
Frank Denis
2994aebafb
Remove unused macro
2013-12-11 20:27:42 -08:00
Frank Denis
bf72ee931e
Make crypto_scalarmult_curve25519.h architecture-independent
2013-12-11 20:17:09 -08:00
Frank Denis
5133638024
Make crypto_stream_salsa20.h architecture-independent.
...
Move implementation-specific functions to compat.c
2013-12-11 19:45:11 -08:00
Frank Denis
5ad45ee98c
Move Doxygen API doc to its own branch until it is complete.
2013-12-09 18:04:05 -08:00
Frank Denis
d0793255a3
innvocation -> invocation
2013-12-09 16:56:33 -08:00
Frank Denis
71fb3e3dda
Remove trailing spaces
2013-12-09 16:55:44 -08:00
Frank Denis
149ce5b377
Lenght -> Length
2013-12-09 16:54:06 -08:00
Frank Denis
6eb2c2a284
sodium/version.h.in: fix pasto
2013-12-09 16:19:45 -08:00
Jan de Muijnck-Hughes
5a753ba908
Added api documentation.
...
The outward facing api has been documented where possible. If the
documentation has not been added a `@todo` annotations has been
added. Doxygen will constuct a list of TODO's automatically.
2013-12-08 15:58:03 +00:00
Jan de Muijnck-Hughes
e1218882d4
Initial commit for contribution of documentation.
...
+ Updated `.gitignore`
+ Added `Doxyfile`.
[Doxygen](http://www.doxygen.org ) has been setup to look for documented `C` fles within:
+ `src/sodium/includes`; and
+ `test`
When run with the Doxygen tool documentation will be generated within
the directory `doxydoc`. The projects README.markdown file is used at
the documentation's main page.
More information on Doxygen tags and abilities can be found on the
projects website: http://www.doxygen.org
2013-12-08 14:46:19 +00:00
Frank Denis
08a4a043d4
Remove anti-NIST statement
2013-11-25 06:23:47 -08:00