1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00
Commit Graph

1104 Commits

Author SHA1 Message Date
Frank Denis
6d3afb32de Build the library as a module on Windows 2013-02-04 17:16:46 -08:00
Frank Denis
49461b5e66 Pass -no-undefined to libtool so that a native DLL can be built on Windows 2013-02-04 16:31:02 -08:00
Frank Denis
9abef59142 Bump lib source version 2013-02-04 14:52:57 -08:00
Frank Denis
85ba9d3ff5 Add crypto_box_MACBYTES 2013-02-04 14:51:04 -08:00
Frank Denis
b27030010e Fix logo URL 2013-01-30 23:25:02 -08:00
Frank Denis
00e78efbf5 Update logo URL 2013-01-30 23:24:04 -08:00
Frank Denis
f91b444406 Merge pull request #8 from tarcieri/logo
Logo
2013-01-30 23:23:32 -08:00
Tony Arcieri
d19b78178c Logo 2013-01-30 23:18:39 -08:00
Frank Denis
ca02a49b25 Bump minor 2013-01-28 21:46:51 -08:00
Frank Denis
2556007a6f Bump library and package version. 2013-01-28 21:43:15 -08:00
Frank Denis
5b0d0eab1f Merge pull request #7 from tarcieri/crypto_sign_seed_keypair
Rename crypto_sign_publickey to crypto_sign_seed_keypair
2013-01-28 21:38:40 -08:00
Tony Arcieri
c046fe8ccc Rename crypto_sign_publickey to crypto_sign_seed_keypair
The crypto_sign_seed_keypair function is analagous to
crypto_sign_keypair, except it generates a keypair for a seed instead of
a random keypair.

I think this name makes more sense than crypto_sign_publickey.
2013-01-28 21:31:25 -08:00
Frank Denis
02156fac27 Merge pull request #6 from tarcieri/crypto_sign_keypair
Add crypto_sign_publickey() API
2013-01-26 13:27:58 -08:00
Tony Arcieri
53d3b5969e Add crypto_sign_publickey() API
This adds a new API crypto_sign_publickey, which works similarly to the
existing crypto_sign_keypair() API, but supports a 32-byte
user-specified seed value (k).

This API is necessary for implementing Ed25519 test vectors, for
example, since we need to pass in a known seed to ensure we're
computing the public key correctly.

The name and implementation are largely borrowed from Brian Warner's
python-ed25519 library. See:

d42d4b7049/src/ed25519.c (L21)

That said, perhaps a different name would be more descriptive, since it
still returns a keypair, not just the public key? Or perhaps that's
needless bikeshedding since this name is already in use.
2013-01-26 13:12:10 -08:00
Frank Denis
92e1e0c81c Point to the /releases/ directory for tarballs. 2013-01-21 21:33:39 -08:00
Frank Denis
4e51588674 Add build scripts for iOS, Android and MSYS. 2013-01-21 21:25:49 -08:00
Frank Denis
d541144327 Add -Wsometimes-uninitialized 2013-01-21 20:50:50 -08:00
Frank Denis
0ca9901e14 <poll.h> is not needed any more 2013-01-21 20:45:39 -08:00
Frank Denis
ab969fe353 No need for ax_pthread 2013-01-21 20:37:53 -08:00
Frank Denis
e21ead2dca Add a link to tarballs. 2013-01-21 20:34:14 -08:00
Frank Denis
52627fc13e Fantastic ChangeLog 2013-01-21 19:58:38 -08:00
Frank Denis
11c4bf728c Add a link to RbNaCl 2013-01-21 19:57:11 -08:00
Frank Denis
ec925063d6 Add license file & THANKS file 2013-01-21 19:55:24 -08:00
Frank Denis
0d48d2a10b Of course (...) in CryptGenRandom() the size comes before the buffer. 2013-01-21 19:45:58 -08:00
Frank Denis
4668611533 <sys/timeb.h> is required for Windows 2013-01-21 19:30:39 -08:00
Frank Denis
7ba8af5936 Check for SecureZeroMemory at compile time. 2013-01-21 19:18:15 -08:00
Frank Denis
3c5c23a64b Don't run autoheader 2013-01-21 18:52:51 -08:00
Frank Denis
0aaa42ed69 libsodium-randombytes is gone, remove it from all Makefiles 2013-01-21 18:43:11 -08:00
Frank Denis
119011976b 3-digits version numbers are not required. 2013-01-21 18:17:09 -08:00
Frank Denis
dff36063a6 randombytes/randombytes_sysrandom.h moved to includes/sodium 2013-01-21 18:11:19 -08:00
Frank Denis
0faae1eed3 Merge pull request #5 from qmx/authors
add AUTHORS file from designers/implementors files
2013-01-21 17:30:29 -08:00
Douglas Campos
fdbaa9a9ea add AUTHORS file from designers/implementors files 2013-01-21 23:25:51 -02:00
Frank Denis
40d6182ecd Indentation wankery 2013-01-21 14:44:22 -08:00
Frank Denis
68822dab0a COMPILER_ASSERT is not needed for randombytes_sysrandom 2013-01-21 14:39:22 -08:00
Frank Denis
3505db86a5 Add randombytes_sysrandom and use that as the default randombytes impl. 2013-01-21 14:36:26 -08:00
Frank Denis
412c5f4d0c Use /dev/random instead of /dev/urandom if needed. 2013-01-21 14:16:06 -08:00
Frank Denis
d0ca9c815b Document help functions for the PRG 2013-01-21 14:15:23 -08:00
Frank Denis
3bb7e4b1b7 Rename salsa20_random.c to randombytes_salsa20_random.c for consistency 2013-01-21 13:58:18 -08:00
Frank Denis
8a54e2efa8 Implement randombytes_set_implementation() 2013-01-21 13:52:37 -08:00
Frank Denis
5788f3d6a8 Add randombytes wrappers.
These are real wrappers, not globals or macros, in order to make it easier
to use them in different programming languages.
2013-01-21 13:50:00 -08:00
Frank Denis
3444a46f35 Prepare for pluggable randombytes*() implementations. 2013-01-21 13:28:27 -08:00
Frank Denis
4c6e162c52 Remove libsodium-randombytes. 2013-01-21 12:46:40 -08:00
Frank Denis
137ae007ae Export randombytes helpers 2013-01-21 12:35:58 -08:00
Frank Denis
dde2e8086c Use salsa20_random() for randombytes, install libsodium-randombytes DLL. 2013-01-21 12:23:57 -08:00
Frank Denis
3509dbd387 Include libltdl in the tarball 2013-01-21 11:39:31 -08:00
Frank Denis
87af79c629 Don't include randombyte - move it to a different library. 2013-01-21 11:32:34 -08:00
Frank Denis
048da52209 Correct libsodium path in the test Makefile 2013-01-20 19:18:39 -08:00
Frank Denis
1d30d34727 expected -> exp 2013-01-20 19:08:08 -08:00
Frank Denis
2345092aaa Rename .out files to .exp 2013-01-20 19:07:21 -08:00
Frank Denis
d84ccf2ad2 Make compilation less verbose by default, because this is a mess. 2013-01-20 18:06:07 -08:00