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
Frank Denis
08755e04e1
Support randombytes() with size == 0, but don't force implementations to support it
2013-11-21 23:22:45 -08:00
Frank Denis
b64f19d439
plural
2013-11-20 14:08:57 -08:00
Frank Denis
0331a0da97
Better document why sodium_init() should be used if thread safety is required
2013-11-20 14:06:17 -08:00
Frank Denis
9927b7460e
Target iOS 7.1
2013-11-18 14:59:25 -08:00
Frank Denis
f553bb4bf2
aes256-ctr: do not left shift more than 16 bits on a signed int.
...
Spotted by John Regehr and clang -fsigned-integer-overflow
2013-11-12 09:47:36 -08:00
Frank Denis
5a566c041c
We can't enforce 64-bit alignment of aes256 context w/ the current interface
2013-11-12 09:41:23 -08:00
Frank Denis
deaa893ce4
Add a test for blake2 with salt&personalization
2013-11-11 23:33:16 -08:00
Frank Denis
f47b7cdb58
Rename crypto_generichash_blake2b_init2()
2013-11-11 23:18:34 -08:00
Frank Denis
adf1e2e169
+libsodium-php
2013-11-11 21:16:45 -08:00
Frank Denis
e43cf109a7
Add crypto_secretbox_macbytes()
2013-11-11 20:07:14 -08:00
Frank Denis
4faa73abe4
+node-sodium
2013-11-11 09:34:51 -08:00
Frank Denis
d9093e4ce6
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
void * casts for c++ compat
Add blake2b_salt_personal()
Add support for salt & personalization to Blake2. This API might change. I'm not a big fan of what we have now.
Use blake2b_init() *or* blake2b_init_key(). Calling both is not needed.
2013-11-11 08:23:06 -08:00
Frank Denis
6d6ad528af
+salt, new bindings for Erlang
2013-11-11 08:22:52 -08:00
Frank Denis
1f405ef7f2
void * casts for c++ compat
2013-11-05 22:30:39 -08:00
Frank Denis
6745db7a0b
Add blake2b_salt_personal()
2013-11-05 22:28:33 -08:00
Frank Denis
e9c46aef5f
Add support for salt & personalization to Blake2.
...
This API might change. I'm not a big fan of what we have now.
2013-11-05 21:46:19 -08:00
Frank Denis
a586df583a
Use blake2b_init() *or* blake2b_init_key(). Calling both is not needed.
2013-11-05 21:00:04 -08:00
Frank Denis
4943275819
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Have sodium_memcmp(a,b,s) return -1 if a != b, document return value.
2013-11-04 23:00:12 -08:00
Frank Denis
08082b2ac8
Add Idris-Sodium
2013-11-04 23:00:02 -08:00
Frank Denis
de0d497a28
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Update the link to droid-wrapper
2013-10-30 06:49:26 -07:00
Frank Denis
1ca05f6b16
Have sodium_memcmp(a,b,s) return -1 if a != b, document return value.
2013-10-30 06:47:13 -07:00
Frank Denis
deb18cd490
Update the link to droid-wrapper
2013-10-29 20:17:36 -07:00
Frank Denis
d140634ce0
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
clarify upstream NaCl version
2013-10-28 11:00:52 -07:00
Frank Denis
82046cbd5e
Face it, /dev/arandom was removed from OpenBSD a loooooong time ago.
2013-10-28 10:59:51 -07:00
Frank Denis
18c0a5f596
Merge pull request #94 from oberstet/master
...
clarify upstream NaCl version
2013-10-28 09:08:30 -07:00
Tobias Oberstein
0336cede34
clarify upstream NaCl version
2013-10-28 09:24:44 +01:00