Frank Denis
|
b50e6fb5e7
|
Don't protect api.h against double inclusion, it's useless.
Plus, we need to use dedicated macros for that.
|
2013-04-22 12:47:32 -07:00 |
|
Frank Denis
|
b146c5150a
|
Improve Visual C++ compat.
|
2013-04-22 12:35:59 -07:00 |
|
Frank Denis
|
c21c7eb3f7
|
indent
|
2013-04-22 11:50:20 -07:00 |
|
Frank Denis
|
a2eeafe2ed
|
Update Android toolchain version
|
2013-04-22 11:43:35 -07:00 |
|
Frank Denis
|
aaf585e8e0
|
Update NEWS file
|
2013-04-22 11:41:16 -07:00 |
|
Frank Denis
|
e11c852ab3
|
Fix bad typo in the crypto_box wrapper
|
2013-04-22 11:20:45 -07:00 |
|
Frank Denis
|
429917f8d6
|
Quick NEWS update.
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
0f3f3f8b92
|
No more arithmetic needed
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
019064e663
|
Use HAVE_TI_MODE for the macro and HAVE_TI_MODE_V for the substitution
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
08e08c966b
|
Wrap crypto_onetimeauth
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
61c4f21c97
|
Add SODIUM_EXPORT to all functions that need to be visible.
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
6db3177585
|
Include export.h everywhere.
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
f44c1e477f
|
And finally, wrap crypto_stream macros
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
765cad9146
|
Wrap crypto_sign macros
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
d689a92c17
|
Wrap crypto_shorthash macros
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
6dd19c1665
|
Wrap crypto_secretbox macros
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
4a9a9ffeb8
|
Wrap crypto_scalarmult macros.
|
2013-04-21 17:32:10 -07:00 |
|
Frank Denis
|
98da611f98
|
Explicitly include <stdlib.h> in crypto_generichash.h for size_t
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
fa7ed1faad
|
Add macros for crypto_hash block size
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
7c67c81444
|
Add wrappers around crypto_generichash macros
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
b52f513f90
|
Untab, remove trailing spaces and other no-ops.
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
4d953b1d97
|
Add missing extern "C"
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
b3a1d6b967
|
Add function wrappers around macros, for crypto_auth and crypto_box
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
9459a4b5ff
|
Change the generichash API to better match other NaCl APIs
i.e. give a size right after the pointer.
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
e56415489c
|
Add some test vectors for the generichash streaming API
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
5e748bbc8c
|
Add a streaming interface to crypto_generichash
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
76cb00d56f
|
Add export.h to define SODIUM_EXPORT
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
8088b99359
|
Update .gitignore
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
476730ae69
|
Define NATIVE_LITTLE_ENDIAN / NATIVE_BIG_ENDIAN if we can
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
201ee903a2
|
Credit Blake2 team
|
2013-04-21 17:32:09 -07:00 |
|
Frank Denis
|
0426aa28da
|
Welcome, Blake2
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
d43309490a
|
Add preliminary tests for crypto_generichash (blake2)
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
ec38ca745d
|
Wrap crypto_generichash() and add necessary macros.
The streaming API will be wrapped next.
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
2bf7fb85bf
|
Nits
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
3f13a1e9d0
|
Turn crypto_verify macros to functions.
No wrappers since there isn't going to be alternative implementations anytime
soon.
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
3ffdfd2b3d
|
crypto_stream macros -> functions
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
55d0b9f486
|
Shave some lines in crypto_sign_keypair(), reintroduce @bascule's original code
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
5ca15fa3e8
|
Change some crypto_sign macros to functions.
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
a821eae055
|
Reintroduce crypto_sign_seed_keypair
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
83a3892209
|
Wrap crypto_shorthash
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
c46e08585b
|
Wrap crypto_secretbox
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
fade3b640c
|
crypto_scalarmult wrappers
|
2013-04-21 17:32:08 -07:00 |
|
Frank Denis
|
25c18b66e5
|
Make crypto_hash a real function.
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
7d916fb0b1
|
Make crypto_box functions actual functions, not macros.
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
1cbe55f9bd
|
Sort filenames
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
8a5165bf06
|
Start replacing macros with real functions. First candidate: crypto_auth
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
220ad48353
|
Make the tests compileable from a separate directory.
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
1da604d27d
|
Allow building in a separate directory
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
2b2b9846a6
|
Only compile curve25519_ref or curve25519_donna_c64
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
2916224650
|
Use curve25519_donna_c64 instead of curve25519_ref if supported.
|
2013-04-21 17:32:07 -07:00 |
|