Frank Denis
385b44aee5
sign demo: fix weird max message length
2015-05-27 20:01:03 +02:00
Frank Denis
a67f42e015
sign demo: print signature and message separately
2015-05-27 20:00:05 +02:00
Frank Denis
9060457fac
Make prompt_input accept fixed-length and variable-length input.
...
Now that strings have the correct size, but no trailing \0, puts() cannot safely be
used any more.
2015-05-27 18:10:28 +02:00
Frank Denis
cf6106e022
+ box_detached demo
2015-05-27 17:24:20 +02:00
Frank Denis
a14dc377bf
Use meaningful variable names in shorthash demo
2015-05-27 17:17:36 +02:00
Frank Denis
3eef43eead
Remove onetimeauth demo
2015-05-27 17:14:01 +02:00
Frank Denis
a549360201
Display actual data, do not suggest that the nonce is part of the ciphertext
2015-05-27 16:57:51 +02:00
Frank Denis
57fb685157
Use meaningful variable names in box.c
2015-05-27 16:54:42 +02:00
Frank Denis
5b4a40e1f6
Update auth.c demo description.
2015-05-27 16:34:06 +02:00
Frank Denis
8920cde3a3
Use meaningful variable names instead of having to comment them
2015-05-27 16:29:57 +02:00
Frank Denis
67305902ee
DRY
2015-05-27 16:10:07 +02:00
Frank Denis
4ea111bcb5
Remove hash.c and stream.c for now.
2015-05-27 15:49:57 +02:00
Frank Denis
a748029632
demo_utils -> utils for consistency with other demo files
2015-05-27 15:47:49 +02:00
Frank Denis
efbd347cbb
Remove inappropriate sodium_memzero() calls
2015-05-27 15:46:17 +02:00
Frank Denis
b92cc46432
Crank up the max input size; use stddef.h instead of stdlib.h for size_t
2015-05-27 15:40:37 +02:00
Frank Denis
81a7abea7e
"buffer" and "buffer size" are way too generic to be useful
2015-05-27 15:39:34 +02:00
Frank Denis
d97aa46d8a
<sodium.h> or "sodium.h", pick one
2015-05-27 15:32:22 +02:00
Frank Denis
50ffeecb95
Minor changes to demo_utils for clarity
2015-05-27 15:27:15 +02:00
Frank Denis
93499566f4
Remove .gitignore
2015-05-27 13:07:58 +02:00
Frank Denis
f1943d346c
Remove misleading secretbox example
2015-05-27 13:07:16 +02:00
Frank Denis
a46076fa5b
Remove box_old
2015-05-27 13:06:42 +02:00
Frank Denis
ba3fe15b75
Indent
2015-05-27 13:02:56 +02:00
Frank Denis
fb6bb61a72
Dates don't age well
2015-05-27 12:43:49 +02:00
Frank Denis
9c613c2e0c
Have main() return a value
2015-05-27 12:41:43 +02:00
Frank Denis
2f9920c71f
There are no Makefiles in the demos folder
2015-05-27 12:36:44 +02:00
Frank Denis
6c11527878
Merge pull request #192 from GraxRabble/c_demos
...
added gist examples into demos folder; you can figure out where this bel...
2015-05-27 12:34:36 +02:00
James Robson
ea2c1e86e2
Added patch to obtain random bytes for Chrome NaCl via IRT -- allows build with NaCl SDK toolchain
2015-05-22 09:56:51 -06:00
Frank Denis
a678c09ea3
Export chacha20poly1305_ietf functions to JavaScript
2015-05-15 10:27:16 +02:00
Frank Denis
94255bee36
bin2hex(): abort(3) if the length doesn't include the final \0
2015-05-15 09:23:59 +02:00
Frank Denis
bf920dc717
Add IETF-compatible version of chacha20poly1305
2015-05-09 16:12:03 +02:00
Frank Denis
63dd05419e
crypto_box_keypair() cannot fail - Add lcov exclusion.
2015-05-09 15:56:52 +02:00
Frank Denis
ee97d5e3f8
Add tests for custom randombytes_uniform.
...
Check for crypto_auth_hmacsha512256_statebytes() presence.
2015-05-09 15:54:18 +02:00
Frank Denis
fe02b1db1b
Also zero the public key and nonce after encryption in crypto_box_seal()
2015-05-09 12:40:25 +02:00
Frank Denis
a593e37983
Rename arguments for consistency
2015-05-09 12:37:27 +02:00
Frank Denis
e7ec16a35d
Update version for Coverity
2015-05-09 10:08:51 +02:00
Frank Denis
3d03e34b06
Update ChangeLog
2015-05-09 10:06:33 +02:00
Frank Denis
111e79e021
Merge pull request #258 from shancat/master
...
Use https when linking where possible.
2015-05-08 10:34:44 +02:00
Shannen Saez
7237f68d58
Use https when linking where possible.
...
Only makes sense to use TLS when linking from a crypto-related library.
Had to change the libsodium documentation link a bit because the
original URL returns the gitbook.org certificate. cr.yp.to doesn't
actually support encrypting HTTP with TLS so we leave it as-is.
2015-05-08 14:53:59 +10:00
Frank Denis
acac4cbf9d
VC2012 ToolsVersion is 12.0
2015-05-04 12:44:07 +02:00
Frank Denis
f752a3edce
Use correct ToolsVersion in the vc2015 proejct
2015-05-03 11:22:20 +02:00
Frank Denis
09a3b3efbc
Merge branch 'vs2015'
...
* vs2015:
Add solution for vs2015
2015-05-02 10:58:11 +02:00
Frank Denis
95983d4471
Don't downcast size_t to int
2015-05-02 10:56:03 +02:00
Frank Denis
e084aec840
Add solution for vs2015
2015-05-02 10:42:43 +02:00
Frank Denis
1b0e51da5e
Use sodium_malloc() in the pwhash test.
2015-05-01 17:35:45 +02:00
Frank Denis
e0d1d042b7
Remove package.nuspec, package.targets, and package.xml
...
Via @woobs:
"package.nuspec, package.targets, and package.xml are generated from
[the package.config] file [...] thus it may be reasonable to remove them from
the repository"
2015-04-27 22:02:14 +02:00
Frank Denis
47dbfb351a
Merge pull request #256 from woobs/patch-1
...
Update NuGet configuration for version 1.0.3
2015-04-27 22:00:59 +02:00
woobs
baa488a6af
Update NuGet configuration for version 1.0.3
2015-04-27 13:22:42 -05:00
Frank Denis
b5fff1fcf5
Version bump
2015-04-26 17:09:00 +02:00
Frank Denis
a789e00d54
Remove resource.h/resource.rc
2015-04-25 18:32:06 +02:00
Frank Denis
797b423e88
Add missing Visual Studio filters for recent tests
2015-04-24 18:00:42 +02:00