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 |
|
Frank Denis
|
7139def69f
|
HAVE_MODE_TI -> HAVE_TI_MODE
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
9626bbeb44
|
(re)import curve25519_donna_c64
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
1f596a0966
|
Add crypto_scalarmult.h
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
ba13e40ad1
|
Update Makefile.am
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
280ff25f52
|
Avoid duplicate crypto_verify.h
|
2013-04-21 17:32:07 -07:00 |
|
Frank Denis
|
b86a933ba5
|
Link aes128ctr
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
7844b905d4
|
Avoid duplicate crypto_stream.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
83842a73c8
|
Avoid duplicate crypto_sign.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
8da4cb057c
|
Avoid duplicate crypto_shorthash.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
d6636dbc7a
|
Avoid duplicate crypto_secretbox.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
195df90524
|
Avoid duplicate crypto_scalarmult.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
bb2af7396e
|
Avoid duplicate crypto_hashblocks.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
32c2d620a9
|
Import missing api.h files
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
c1c3ecd80a
|
Avoid duplicate crypto_hash.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
34731d9717
|
Rename crypto_generichash.h
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
24bd4137e9
|
Avoid duplicate crypto_core.h definitions
|
2013-04-21 17:32:06 -07:00 |
|
Frank Denis
|
03196c9550
|
Avoid duplicate crypto_box.h files
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
1a86716acf
|
Avoid duplicate crypto_auth.h
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
54d96dd417
|
rename crypto_onetimeauth local defines.
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
fc98102f2a
|
sodium_reinit() and sodium_shutdown() are gone.
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
05f45575bb
|
sodium_init() is not thread-safe. Roll your own locks if you need that.
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
48d4b5ab1e
|
Rename curve25519 files so that we can introduce the donna_c64 version later.
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
6f5f793195
|
Remove crypto_onetimeauth/poly1305/checksum
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
e29d92347b
|
Remove crypto_onetimeauth/try.c
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
03b82780fd
|
Import missing onetimeauth_poly1305_try.c
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
3b57f77262
|
Pick the best working poly1305 implementation at runtime.
|
2013-04-21 17:32:05 -07:00 |
|
Frank Denis
|
aa6488dbe9
|
Include <stdint.h> when we need SIZE_MAX
|
2013-04-21 17:32:05 -07:00 |
|