Frank Denis
|
a53c566375
|
SIZE -> LEN, for consistency
|
2015-05-27 21:19:24 +02:00 |
|
Frank Denis
|
8b8f89d437
|
fputs(..., stdout) -> printf()
This reduces the number of functions we use to print something from 5 to 4 (!).
|
2015-05-27 21:09:32 +02:00 |
|
Frank Denis
|
5a57615f44
|
print_hex() is always followed by putc('\n'), so let it do it directly
|
2015-05-27 21:04:32 +02:00 |
|
Frank Denis
|
a313e0be66
|
Demos: let prompt_input() add extra \n itself
|
2015-05-27 20:53:54 +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
|
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
|
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
|
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
|
81a7abea7e
|
"buffer" and "buffer size" are way too generic to be useful
|
2015-05-27 15:39:34 +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 |
|
GraxRabble
|
7ae583d19a
|
patched all notied issues #192 except for crypto_box_afternm
|
2014-09-24 19:39:35 -04:00 |
|
GraxRabble
|
c78c978592
|
added gist examples into demos folder; you can figure out where this belongs
|
2014-09-24 17:40:21 -04:00 |
|