rbnacl-libsodium 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -0
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/vendor/libsodium/ChangeLog +25 -0
- data/vendor/libsodium/Makefile.in +1 -1
- data/vendor/libsodium/THANKS +1 -0
- data/vendor/libsodium/autom4te.cache/output.1 +16 -16
- data/vendor/libsodium/autom4te.cache/output.5 +16 -16
- data/vendor/libsodium/autom4te.cache/requests +894 -894
- data/vendor/libsodium/autom4te.cache/traces.1 +4 -4
- data/vendor/libsodium/autom4te.cache/traces.5 +2 -2
- data/vendor/libsodium/builds/msvc/version.h +3 -3
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +7 -3
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +21 -9
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +8 -4
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +21 -9
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +7 -3
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +21 -9
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +7 -3
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +21 -9
- data/vendor/libsodium/configure +16 -16
- data/vendor/libsodium/configure.ac +7 -7
- data/vendor/libsodium/dist-build/Makefile.in +1 -1
- data/vendor/libsodium/libsodium.sln +4 -2
- data/vendor/libsodium/libsodium.vcxproj +17 -13
- data/vendor/libsodium/libsodium.vcxproj.filters +22 -10
- data/vendor/libsodium/msvc-scripts/Makefile.in +1 -1
- data/vendor/libsodium/msvc-scripts/process.bat +3 -3
- data/vendor/libsodium/src/Makefile.in +1 -1
- data/vendor/libsodium/src/libsodium/Makefile.am +19 -7
- data/vendor/libsodium/src/libsodium/Makefile.in +85 -48
- data/vendor/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +11 -3
- data/vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +1 -0
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.c +2 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h +4 -4
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +20 -18
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c +93 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c +80 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.c +89 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse2.h +68 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse41.h +402 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +58 -102
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-round.h +123 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.c +6 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +15 -10
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +14 -14
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +0 -2
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +0 -2
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c +18 -16
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.h +23 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c +2 -2
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h +0 -3
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +6 -2
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +5 -0
- data/vendor/libsodium/src/libsodium/include/Makefile.in +1 -1
- data/vendor/libsodium/src/libsodium/include/sodium/core.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_aes256gcm.h +5 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +5 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth.h +3 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +15 -7
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +4 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +4 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +7 -30
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +8 -4
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +7 -3
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign.h +5 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +6 -3
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +14 -8
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_16.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_32.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_64.h +2 -1
- data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +10 -3
- data/vendor/libsodium/src/libsodium/include/sodium/utils.h +8 -4
- data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +7 -0
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +4 -2
- data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +12 -10
- data/vendor/libsodium/src/libsodium/sodium/core.c +4 -4
- data/vendor/libsodium/src/libsodium/sodium/runtime.c +27 -1
- data/vendor/libsodium/src/libsodium/sodium/utils.c +4 -2
- data/vendor/libsodium/test/Makefile.in +1 -1
- data/vendor/libsodium/test/default/Makefile.in +1 -1
- data/vendor/libsodium/test/default/aead_aes256gcm.c +14 -0
- data/vendor/libsodium/test/default/box_easy2.c +13 -7
- data/vendor/libsodium/test/default/chacha20.c +36 -12
- data/vendor/libsodium/test/default/ed25519_convert.c +6 -2
- data/vendor/libsodium/test/default/generichash3.exp +1 -1
- data/vendor/libsodium/test/default/secretbox_easy2.c +5 -3
- data/vendor/libsodium/test/default/sodium_core.c +2 -0
- data/vendor/libsodium/test/default/sodium_utils.c +10 -4
- data/vendor/libsodium/test/default/sodium_utils2.c +1 -0
- data/vendor/libsodium/test/default/sodium_utils3.c +1 -0
- metadata +8 -22
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa20/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa208/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c +0 -15
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_api.c +0 -11
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c +0 -13
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_verify/16/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_verify/32/checksum +0 -1
@@ -19,7 +19,9 @@ int main(void)
|
|
19
19
|
unsigned int i;
|
20
20
|
|
21
21
|
crypto_sign_ed25519_seed_keypair(ed25519_pk, ed25519_skpk, keypair_seed);
|
22
|
-
crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk)
|
22
|
+
if (crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) != 0) {
|
23
|
+
printf("conversion failed\n");
|
24
|
+
}
|
23
25
|
crypto_sign_ed25519_sk_to_curve25519(curve25519_sk, ed25519_skpk);
|
24
26
|
sodium_bin2hex(curve25519_pk_hex, sizeof curve25519_pk_hex, curve25519_pk,
|
25
27
|
sizeof curve25519_pk);
|
@@ -31,7 +33,9 @@ int main(void)
|
|
31
33
|
|
32
34
|
for (i = 0U; i < 500U; i++) {
|
33
35
|
crypto_sign_ed25519_keypair(ed25519_pk, ed25519_skpk);
|
34
|
-
crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk)
|
36
|
+
if (crypto_sign_ed25519_pk_to_curve25519(curve25519_pk, ed25519_pk) != 0) {
|
37
|
+
printf("conversion failed\n");
|
38
|
+
}
|
35
39
|
crypto_sign_ed25519_sk_to_curve25519(curve25519_sk, ed25519_skpk);
|
36
40
|
crypto_scalarmult_curve25519_base(curve25519_pk2, curve25519_sk);
|
37
41
|
if (memcmp(curve25519_pk, curve25519_pk2, sizeof curve25519_pk) != 0) {
|
@@ -67,7 +67,7 @@ c6d6722a916651a8671383d8260873347d9c248696b4cb3dac4dea9ba57ed971127cb18e44211d7e
|
|
67
67
|
5789f474edd5206ededaccfc35e7dd3ed730748125b5395abf802b2601126b19b109a1db67556945bc79bb25e1ab59610599d155070e0e04354f11a6a5d6f3ac
|
68
68
|
e78efc663a5547c089f2b3b08973c974c4bfd365eac18b80c68bdb3b1ba4554b54d6b8465a68a3b9aa0bc020621f16efd5b8dd8c7c01ed9ee3ec5544aae465ff
|
69
69
|
1afc8ec818bef0a479d2b4cac81d40a52cafa27f6d80c42fc23cbaf4141882ab59ab1101922fcb6e707ef2f61efd07cce5d09094e6bee420b1b96998c7cee96d
|
70
|
-
|
70
|
+
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
71
71
|
fb4e2ad6b7fe6afd2ba06d5c1d79379c5bf10e336a35c89a1aaf408a805171716e0635a5b1d18190131e15b6888510bcb3e3752b050f892a09dbbde60b051495
|
72
72
|
5789f474edd5206ededaccfc35e7dd3ed730748125b5395abf802b2601126b19b109a1db67556945bc79bb25e1ab59610599d155070e0e04354f11a6a5d6f3ac
|
73
73
|
e78efc663a5547c089f2b3b08973c974c4bfd365eac18b80c68bdb3b1ba4554b54d6b8465a68a3b9aa0bc020621f16efd5b8dd8c7c01ed9ee3ec5544aae465ff
|
@@ -19,9 +19,11 @@ int main(void)
|
|
19
19
|
randombytes_buf(m, (unsigned long long) mlen);
|
20
20
|
randombytes_buf(nonce, sizeof nonce);
|
21
21
|
crypto_secretbox_easy(c, m, (unsigned long long) mlen, nonce, k);
|
22
|
-
crypto_secretbox_open_easy(m2, c,
|
23
|
-
|
24
|
-
|
22
|
+
if (crypto_secretbox_open_easy(m2, c,
|
23
|
+
(unsigned long long) mlen + crypto_secretbox_MACBYTES,
|
24
|
+
nonce, k) != 0) {
|
25
|
+
printf("crypto_secretbox_open_easy() failed\n");
|
26
|
+
}
|
25
27
|
printf("%d\n", memcmp(m, m2, mlen));
|
26
28
|
|
27
29
|
for (i = 0; i < mlen + crypto_secretbox_MACBYTES - 1; i++) {
|
@@ -9,6 +9,8 @@ int main(void)
|
|
9
9
|
(void)sodium_runtime_has_neon();
|
10
10
|
(void)sodium_runtime_has_sse2();
|
11
11
|
(void)sodium_runtime_has_sse3();
|
12
|
+
(void)sodium_runtime_has_ssse3();
|
13
|
+
(void)sodium_runtime_has_sse41();
|
12
14
|
(void)sodium_runtime_has_pclmul();
|
13
15
|
(void)sodium_runtime_has_aesni();
|
14
16
|
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
#define TEST_NAME "sodium_utils"
|
3
2
|
#include "cmptest.h"
|
4
3
|
|
@@ -6,6 +5,8 @@ int main(void)
|
|
6
5
|
{
|
7
6
|
unsigned char buf1[1000];
|
8
7
|
unsigned char buf2[1000];
|
8
|
+
unsigned char buf1_rev[1000];
|
9
|
+
unsigned char buf2_rev[1000];
|
9
10
|
char buf3[33];
|
10
11
|
unsigned char buf4[4];
|
11
12
|
unsigned char nonce[24];
|
@@ -13,7 +14,8 @@ int main(void)
|
|
13
14
|
const char *hex;
|
14
15
|
const char *hex_end;
|
15
16
|
size_t bin_len;
|
16
|
-
int
|
17
|
+
unsigned int i;
|
18
|
+
unsigned int j;
|
17
19
|
|
18
20
|
randombytes_buf(buf1, sizeof buf1);
|
19
21
|
memcpy(buf2, buf1, sizeof buf2);
|
@@ -84,11 +86,15 @@ int main(void)
|
|
84
86
|
sodium_increment(nonce, sizeof nonce);
|
85
87
|
printf("%s\n", sodium_bin2hex(nonce_hex, sizeof nonce_hex,
|
86
88
|
nonce, sizeof nonce));
|
87
|
-
for (i =
|
89
|
+
for (i = 0U; i < 1000U; i++) {
|
88
90
|
bin_len = (size_t) randombytes_uniform(sizeof buf1);
|
89
91
|
randombytes_buf(buf1, bin_len);
|
90
92
|
randombytes_buf(buf2, bin_len);
|
91
|
-
|
93
|
+
for (j = 0U; j < bin_len; j++) {
|
94
|
+
buf1_rev[bin_len - 1 - j] = buf1[j];
|
95
|
+
buf2_rev[bin_len - 1 - j] = buf2[j];
|
96
|
+
}
|
97
|
+
if (memcmp(buf1_rev, buf2_rev, bin_len) *
|
92
98
|
sodium_compare(buf1, buf2, bin_len) < 0) {
|
93
99
|
printf("sodium_compare() failure with length=%u\n",
|
94
100
|
(unsigned int) bin_len);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbnacl-libsodium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artiom Di
|
@@ -247,7 +247,6 @@ files:
|
|
247
247
|
- vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c
|
248
248
|
- vendor/libsodium/src/libsodium/crypto_auth/crypto_auth.c
|
249
249
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c
|
250
|
-
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/checksum
|
251
250
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/api.h
|
252
251
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/hmac_hmacsha256.c
|
253
252
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c
|
@@ -256,7 +255,6 @@ files:
|
|
256
255
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/hmac_hmacsha512.c
|
257
256
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c
|
258
257
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c
|
259
|
-
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/checksum
|
260
258
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/api.h
|
261
259
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/hmac_hmacsha512256.c
|
262
260
|
- vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c
|
@@ -264,25 +262,20 @@ files:
|
|
264
262
|
- vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c
|
265
263
|
- vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c
|
266
264
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c
|
267
|
-
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/checksum
|
268
265
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/after_curve25519xsalsa20poly1305.c
|
269
266
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h
|
270
267
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/before_curve25519xsalsa20poly1305.c
|
271
268
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c
|
272
269
|
- vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.c
|
273
|
-
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/checksum
|
274
270
|
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.c
|
275
271
|
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h
|
276
272
|
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.c
|
277
|
-
- vendor/libsodium/src/libsodium/crypto_core/salsa20/checksum
|
278
273
|
- vendor/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c
|
279
274
|
- vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/api.h
|
280
275
|
- vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/core_salsa20.c
|
281
|
-
- vendor/libsodium/src/libsodium/crypto_core/salsa2012/checksum
|
282
276
|
- vendor/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.c
|
283
277
|
- vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h
|
284
278
|
- vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/core_salsa2012.c
|
285
|
-
- vendor/libsodium/src/libsodium/crypto_core/salsa208/checksum
|
286
279
|
- vendor/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.c
|
287
280
|
- vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/api.h
|
288
281
|
- vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/core_salsa208.c
|
@@ -290,15 +283,19 @@ files:
|
|
290
283
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h
|
291
284
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h
|
292
285
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h
|
286
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c
|
287
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c
|
288
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.c
|
289
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse2.h
|
290
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse41.h
|
293
291
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c
|
292
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-round.h
|
294
293
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.c
|
295
294
|
- vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c
|
296
295
|
- vendor/libsodium/src/libsodium/crypto_hash/crypto_hash.c
|
297
|
-
- vendor/libsodium/src/libsodium/crypto_hash/sha256/checksum
|
298
296
|
- vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/api.h
|
299
297
|
- vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
|
300
298
|
- vendor/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c
|
301
|
-
- vendor/libsodium/src/libsodium/crypto_hash/sha512/checksum
|
302
299
|
- vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/api.h
|
303
300
|
- vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c
|
304
301
|
- vendor/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c
|
@@ -307,10 +304,8 @@ files:
|
|
307
304
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h
|
308
305
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h
|
309
306
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h
|
310
|
-
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
|
311
307
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c
|
312
|
-
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/
|
313
|
-
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c
|
308
|
+
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.h
|
314
309
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c
|
315
310
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h
|
316
311
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c
|
@@ -321,7 +316,6 @@ files:
|
|
321
316
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c
|
322
317
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h
|
323
318
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
|
324
|
-
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/checksum
|
325
319
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h
|
326
320
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/base_curve25519_donna_c64.c
|
327
321
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c
|
@@ -346,7 +340,6 @@ files:
|
|
346
340
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519_api.c
|
347
341
|
- vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c
|
348
342
|
- vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c
|
349
|
-
- vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/checksum
|
350
343
|
- vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h
|
351
344
|
- vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/box_xsalsa20poly1305.c
|
352
345
|
- vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.c
|
@@ -421,7 +414,6 @@ files:
|
|
421
414
|
- vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sc25519_edwards25519sha512batch.c
|
422
415
|
- vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sign_edwards25519sha512batch.c
|
423
416
|
- vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/sign_edwards25519sha512batch_api.c
|
424
|
-
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/checksum
|
425
417
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c
|
426
418
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h
|
427
419
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/beforenm_aes128ctr.c
|
@@ -441,31 +433,25 @@ files:
|
|
441
433
|
- vendor/libsodium/src/libsodium/crypto_stream/crypto_stream.c
|
442
434
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/api.h
|
443
435
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.S
|
444
|
-
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/checksum
|
445
436
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h
|
446
437
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c
|
447
438
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c
|
448
439
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c
|
449
|
-
- vendor/libsodium/src/libsodium/crypto_stream/salsa2012/checksum
|
450
440
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h
|
451
441
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012.c
|
452
442
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/xor_salsa2012.c
|
453
443
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.c
|
454
|
-
- vendor/libsodium/src/libsodium/crypto_stream/salsa208/checksum
|
455
444
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h
|
456
445
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c
|
457
446
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c
|
458
447
|
- vendor/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c
|
459
|
-
- vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/checksum
|
460
448
|
- vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h
|
461
449
|
- vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/stream_xsalsa20.c
|
462
450
|
- vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.c
|
463
451
|
- vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c
|
464
|
-
- vendor/libsodium/src/libsodium/crypto_verify/16/checksum
|
465
452
|
- vendor/libsodium/src/libsodium/crypto_verify/16/ref/api.h
|
466
453
|
- vendor/libsodium/src/libsodium/crypto_verify/16/ref/verify_16.c
|
467
454
|
- vendor/libsodium/src/libsodium/crypto_verify/16/verify_16_api.c
|
468
|
-
- vendor/libsodium/src/libsodium/crypto_verify/32/checksum
|
469
455
|
- vendor/libsodium/src/libsodium/crypto_verify/32/ref/api.h
|
470
456
|
- vendor/libsodium/src/libsodium/crypto_verify/32/ref/verify_32.c
|
471
457
|
- vendor/libsodium/src/libsodium/crypto_verify/32/verify_32_api.c
|
@@ -1 +0,0 @@
|
|
1
|
-
3bd7abd4f4dce04396f2ac7cb1cff70607f692411c49a1563b037d31e1662632
|
@@ -1 +0,0 @@
|
|
1
|
-
2f5e8a6a0cac012d8d001351d7d583e69f91390df46305c3608e0c2893491886
|
@@ -1 +0,0 @@
|
|
1
|
-
5fac7400caabc14a99c5c0bc13fb1df5e468e870382a3a1c
|
@@ -1 +0,0 @@
|
|
1
|
-
28ebe700b5878570702a68740aa131e6fa907e58a3f6915cd183c6db3f7afd7a
|
@@ -1 +0,0 @@
|
|
1
|
-
9d1ee8d84b974e648507ffd93829376c5b4420751710e44f6593abd8769378011d85ecda51ceb8f43661d3c65ef5b57c4f5bf8df76c8202784c8df8def61e6a6
|
@@ -1 +0,0 @@
|
|
1
|
-
f36d643f798efc0fca888d3ac4bdcc54c98a968c2da16bd5b8bfe9fe9025a6ca3a207e9362dc7cf17ddfc7477ee754d3f521b1df91640093754f7275b1a54293
|
@@ -1 +0,0 @@
|
|
1
|
-
1e13ea9e74cb36989f7cbf4abc80b29154e1a8b150bd5244951318abea002a93ae9fe2abbcf7217526ac2a85b66c256ba9374b1257eda0c01816da328edfa11a
|
@@ -1 +0,0 @@
|
|
1
|
-
86df8bd202b2a2b5fdc04a7f50a591e43a345849c12fef08d487109648a08e05
|
@@ -1 +0,0 @@
|
|
1
|
-
9a2a989e136a02c3362c98e6e1e0b52fab980a1dafbebe4dd5e44d15d061742e35fb686befd4e33c608d251c96e26c020f90d92bb7ec8a657f79bb8e0b00a473
|
data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
#include "crypto_onetimeauth_poly1305.h"
|
2
|
-
#include "crypto_verify_16.h"
|
3
|
-
#include "poly1305_donna.h"
|
4
|
-
|
5
|
-
int
|
6
|
-
crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h,
|
7
|
-
const unsigned char *in,
|
8
|
-
unsigned long long inlen,
|
9
|
-
const unsigned char *k)
|
10
|
-
{
|
11
|
-
unsigned char correct[16];
|
12
|
-
|
13
|
-
crypto_onetimeauth_poly1305_donna(correct,in,inlen,k);
|
14
|
-
return crypto_verify_16(h,correct);
|
15
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
|
2
|
-
#include <stdlib.h>
|
3
|
-
#include <string.h>
|
4
|
-
#include "crypto_onetimeauth.h"
|
5
|
-
#include "crypto_onetimeauth_poly1305.h"
|
6
|
-
#include "utils.h"
|
7
|
-
#include "donna/poly1305_donna.h"
|
8
|
-
|
9
|
-
crypto_onetimeauth_poly1305_implementation *
|
10
|
-
crypto_onetimeauth_pick_best_implementation(void)
|
11
|
-
{
|
12
|
-
return &crypto_onetimeauth_poly1305_donna_implementation;
|
13
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
dacdae4a0f12353dfc66757f2fd1fff538fe6616115dace9afb8016a55be2a52
|
@@ -1 +0,0 @@
|
|
1
|
-
df372f95dd87381b7c9ceb6f340ccaa03d19bed5d9e4ab004d99d847675a9658
|
@@ -1 +0,0 @@
|
|
1
|
-
6e9966897837aae181e93261ae88fdf0
|
@@ -1 +0,0 @@
|
|
1
|
-
44a3966eabcd3a2b13faca2150e38f2b7e6bac187d626618f50a9f875158ae78
|
@@ -1 +0,0 @@
|
|
1
|
-
ecc758f200061c3cc770b25797da73583548d4f90f69a967fbbe1a6d94d1705c
|
@@ -1 +0,0 @@
|
|
1
|
-
05f32b0647417aaa446b0b3127318133cf9af32b771869eab267000bf02710cd
|
@@ -1 +0,0 @@
|
|
1
|
-
201bc58a96adcb6ed339ca33c188af8ca04a4ce68be1e0953309ee09a0cf8e7a
|
@@ -1 +0,0 @@
|
|
1
|
-
0
|
@@ -1 +0,0 @@
|
|
1
|
-
0
|