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

4376 Commits

Author SHA1 Message Date
Frank Denis
34fe1205ac Mark clang false positives 2013-07-07 18:57:09 -07:00
Frank Denis
cdbbe47ed9 Remove dead assignments that the compiler optimizes out. 2013-07-07 14:27:31 -07:00
Frank Denis
c828d169c6 Prepare for a version bump. 2013-07-07 14:10:02 -07:00
Frank Denis
8bc0e72f2f libsodium.org is now available over HTTPS & SPDY 2013-07-07 14:04:52 -07:00
Frank Denis
98436192db Merge pull request #52 from dsheets/patch-1
Add a DNSSEC tarball verification note from @jedisct1 in #51
2013-07-05 10:57:02 -07:00
David Sheets
23e40b3557 Add a DNSSEC tarball verification note from @jedisct1 in #51
download.libsodium.org vends DNSSEC-secured SHA256 hashes of release tarballs.
2013-07-05 12:15:22 +01:00
Frank Denis
b2843bb3dc Merge pull request #50 from irungentoo/master
Case insensitive includes prevented libsodium from cross compiling correctly to Windows from a case sensitive OS.
2013-07-03 11:50:51 -07:00
irungentoo
4c43660f68 libsodium now cross compiles correctly for Windows from Linux. 2013-07-03 14:41:47 -04:00
Frank Denis
34b84c0eaf Move libsodium to its own domain. 2013-06-25 18:26:33 -07:00
Frank Denis
ea4e4e0738 Link Pharo/Squeak bindings announce 2013-06-17 23:13:42 -07:00
Frank Denis
71d2d9c127 Add PHP-Sodium 2013-06-15 09:03:04 -07:00
Frank Denis
eb8f06befd Merge pull request #48 from alexanderkjeldaas/master
Check prerequisites in android.sh
2013-06-13 01:14:52 -07:00
Alexander Kjeldaas
b01ebe6caf Check prerequisites in android.sh 2013-06-13 10:11:28 +02:00
Frank Denis
0ad0f3e1ce Disable PIE on Android 2013-06-09 12:14:31 -07:00
Frank Denis
2b50f0845d Merge pull request #46 from neheb/master
Smaller logo
2013-06-06 13:41:19 -07:00
Mangix
20709fd8ec zopflipng + defluff 2013-06-06 13:11:30 -07:00
Frank Denis
8cc4381255 +saltine 2013-06-06 00:24:55 -07:00
Frank Denis
d0e84777ab Add missing SODIUM_EXPORT in crypto_stream.h 2013-06-05 21:54:52 -07:00
Frank Denis
39a54324fb Update Android & iPhone build scripts to build static libraries only. 2013-05-30 22:56:18 -07:00
Frank Denis
01ee32e3a3 Merge remote-tracking branch 'stouset/add-lookup-methods-for-all-constants'
* stouset/add-lookup-methods-for-all-constants:
  Add remaining functions for looking up constants
  Fix definition of crypto_box_curve25519xsalsa20poly1305_macbytes
  Add functions exposing constants for all operation/primitive pairs
2013-05-22 11:42:58 -07:00
Frank Denis
802369e9dd No need to call randombytes_sysrandom_stir_if_needed() twice. 2013-05-22 11:19:13 -07:00
Frank Denis
e68b08a4ff Call randombytes_salsa20_random_stir_if_needed() only when we don't have
anything in stock, and reduce the number of required getpid() calls.
2013-05-22 11:17:37 -07:00
Stephen Touset
98c02a21d6 Add remaining functions for looking up constants
The automated script that generated functions for looking up #define'd
constants didn't handle edge cases in these files, so these have been
added by hand. They're thus either more likely or less likely to
contain mistakes (depending on one's particular point of view).
2013-05-16 15:48:08 -07:00
Stephen Touset
2a0f3d040f Fix definition of crypto_box_curve25519xsalsa20poly1305_macbytes
This function definition was created by an automated script that
incorrectly handled a corner case.
2013-05-16 15:27:28 -07:00
Stephen Touset
8eea4a3f74 Add functions exposing constants for all operation/primitive pairs
Wrappers for other languages can't access constants defined by C
preprocessor macros, so they must be exposed as functions. This was
already done for the "default" implementation of each operation, but
this commit adds functions for (almost) all of the underlying
primitives.

A few are currently excluded due to problems with the automated script
used to generated this commit. They are:

  * crypto_onetimeauth_poly1305
  * crypto_generichash_blake2b
  * crypto_verify16
  * crypto_verify32
2013-05-16 13:17:18 -07:00
Frank Denis
81d604c70c Add crypto_generichash_keybytes() and crypto_generichash_bytes()
to provide a default key/output size.
2013-05-16 11:45:19 -07:00
Frank Denis
4d147466bc Bump generichash minimum key and output size to 128 bits.
People who know what they are doing and who need a truncated output or a
shorter key can still do it.
But we should keep the chance for users to shoot themselves in the foot down
to a minimum.
2013-05-16 11:25:33 -07:00
Frank Denis
9578af69d2 Use crypto_generichash_state for crypto_generichash_*() wrappers. 2013-05-15 21:21:39 -07:00
Frank Denis
8d08a564ae Merge pull request #40 from VeXocide/patch-1
Trivial cleanup of crypto_generichash.h
2013-05-15 20:35:12 -07:00
Jeroen Habraken
fcc7df0e54 Trivial cleanup of crypto_generichash.h 2013-05-15 22:29:21 -05:00
Frank Denis
a8d4c24e42 <stdlib.h> -> <stddef.h> for size_t 2013-05-15 19:57:07 -07:00
Frank Denis
6988a02e4f Remove trailing whitespaces 2013-05-13 17:00:56 -07:00
Frank Denis
ab2e1ab140 hmac/256 -> hmac512/256 in randombytes_salsa20_random_stir() to make code smaller. 2013-05-13 16:59:57 -07:00
Frank Denis
1a0a89df33 No need to define CROSS_COMPILING 2013-05-13 12:45:58 -07:00
Frank Denis
a8e5f6e7ce Merge pull request #37 from neheb/master
Smaller PNG file
2013-05-06 08:53:08 -07:00
Mangix
ce60bdf759 Smaller PNG file 2013-05-06 02:05:51 -07:00
Frank Denis
a461cb00cd Export NDK_ANDROID_SOURCES 2013-05-04 13:16:57 -07:00
Frank Denis
cbe7db977a Mention pre-compiled Win32 packages 2013-05-01 22:11:08 -07:00
Frank Denis
210de1570a Add --disable-asm option to disable assembly implementations.
Check that fesetenv() and fegetenv() are available. If they aren't, still
compile the floating-point implementation of poly1305, but never pick it
in sodium_init().

This helps libsodium compile and work on Emscripten and on environments with
an incomplete libc.
2013-04-28 09:44:23 -07:00
Frank Denis
942c371d3c Use rand() instead of random() in regression tests. 2013-04-28 01:02:52 -07:00
Frank Denis
825cd5f7fe Update THANKS, for Racket and more Ruby bindings 2013-04-28 00:02:32 -07:00
Frank Denis
b339a9a2f6 Mention Racket bindings and the other Ruby library 2013-04-27 23:59:51 -07:00
Frank Denis
24014415a1 Add ../crypto_stream_salsa20.h to .gitignore 2013-04-27 17:23:44 -07:00
Frank Denis
f16186671d Have "make distclean" remove *.res files 2013-04-27 16:42:37 -07:00
Frank Denis
a68f217a80 Fix AC_INIT() 2013-04-27 16:39:23 -07:00
Frank Denis
02f98ce727 Only trust clang support for mode(TI) on amd64 2013-04-27 14:28:18 -07:00
Frank Denis
bb70f436d0 Just check cpuid itself, don't clobber %ebx 2013-04-27 14:07:39 -07:00
Frank Denis
46f5ec89a6 Fix __STDC_LIMIT_MACROS autoconf check 2013-04-27 13:42:55 -07:00
Frank Denis
318d54e990 Check whether __STDC_LIMIT_MACROS is required 2013-04-27 13:40:22 -07:00
Frank Denis
f33d5a231c Adjust doc 2013-04-27 13:26:40 -07:00