Commit Graph

624 Commits

Author SHA1 Message Date
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
Frank Denis
6af887ed01 Pre-built MSVC binaries are available 2013-10-27 22:00:53 -07:00
Frank Denis
2c4f936715 Compile separately and use lipo(1) to build universal binaries. 2013-10-24 12:27:50 -07:00
Frank Denis
5ae0dbc579 Drop support for universal binaries. 2013-10-24 11:51:09 -07:00
Frank Denis
43ae7c1d07 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Downgrade the minimal pkg-config version from 0.25 to 0.23 (which is the pkg-config version shipped in Red Hat Enterprise Linux 6).
2013-10-23 09:52:25 -07:00
Frank Denis
7101ee54dd Merge pull request #93 from jpoliv/pkgconfig
Downgrade the minimal pkg-config version from 0.25 to 0.23.
2013-10-23 09:52:14 -07:00
Jose Pedro Oliveira
7101eb6a3f Downgrade the minimal pkg-config version from 0.25 to 0.23 (which is
the pkg-config version shipped in Red Hat Enterprise Linux 6).
2013-10-23 17:19:08 +01:00
Frank Denis
5f8800bfa0 Update versions in process.bat 2013-10-22 06:12:19 -07:00
Frank Denis
ad460c2516 Update ChangeLog 2013-10-22 02:57:27 -07:00
Frank Denis
abb7f74e5d 0.4.5 2013-10-22 02:56:36 -07:00
Frank Denis
afb89c7e16 Some systems have arc4random() but not arc4random_buf() 2013-10-22 02:54:45 -07:00
Frank Denis
1fe019c482 Mention that Win64 is supported. 2013-10-21 22:25:33 -07:00
Frank Denis
af28f8f2cd Export stream_salsa20 constants 2013-10-21 22:03:37 -07:00
Frank Denis
e10a84350f Keep crypto_stream_salsa* constants close to their wrappers 2013-10-21 21:51:59 -07:00
Frank Denis
3f615b093f Ship MSVC project files 2013-10-21 21:44:11 -07:00