1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
Commit Graph

55 Commits

Author SHA1 Message Date
Frank Denis
eb38ff4a85 Sort 2020-12-10 22:22:38 +01:00
Frank Denis
611e1a0bc1 Typo (risretto -> ristretto)
Fixes #1014
2020-12-10 22:17:06 +01:00
Frank Denis
b02dbf2519 Register _crypto_core_ristretto255_from_string_ro 2020-10-13 16:36:14 +02:00
Frank Denis
c3ca08913c Add AEGIS-128L for no good reasons 2020-05-19 15:36:22 +02:00
Frank Denis
c2efce113d Add crypto_core_{ed25519,ristretto255}_scalar_is_canonical() 2020-05-13 22:59:08 +02:00
Frank Denis
67a9e79655 Remove memory shielding
That was a great idea to protect against information leak through
speculative loads.

Realistically, nobody is going to use this.
2020-05-10 21:05:24 +02:00
Frank Denis
728b26c2c1 Remove edwards25519sha512batch
Tagged as deprecated for years, never imported by `<sodium.h>`, and
intentionally never documented.

`edwards25519sha512batch` was just around for ABI compatibility
with NaCl, but no projects seem to be using it.
2020-03-31 12:11:32 +02:00
Frank Denis
ac48996492 Remove crypto_core_ed25519_from_hash()
Undocumented, was deprecated for a while in stable versions,
obsoleted by `_from_string()` and `from_string_ro()`.
2020-03-31 12:04:47 +02:00
Frank Denis
5fdd12fa97 Add crypto_core_ed25519_from_string() and crypto_core_ed25519_from_string_ro() 2020-03-30 17:19:36 +02:00
Frank Denis
eab70f79c0 Add HKDF/SHA-512 and HKDF/SHA-256 2020-03-28 21:35:54 +01:00
Frank Denis
c8b6906c60 has_armcrypto_aes -> has_armcrypto 2019-10-23 19:07:33 +02:00
Frank Denis
acaed459ce Add ARM NEON and AES runtime checks 2019-10-22 22:51:58 +02:00
Frank Denis
a59e1f8b54 aegis256: update MSVC solutions, .gitignore, exported emscripten symbols
and the global list of symbols
2019-09-12 22:10:07 +02:00
Frank Denis
0106e0495d Update emscripten symbols 2019-06-24 14:46:57 +02:00
Frank Denis
4f1d0ccfdb Update the symbol list of the emscripten target 2019-05-02 00:56:02 +02:00
Frank Denis
411ec2de84 Update emscripten symbols for ristretto 2019-02-18 14:10:43 +01:00
Frank Denis
b732443c44 undef _box_curve25519xchacha20poly1305_messagebytes_max in !sumo builds 2019-01-06 20:32:54 +01:00
Frank Denis
b3dc89368e Regen emscripten symbols 2018-12-30 10:37:02 +01:00
Frank Denis
e60049aad1 Revert "Add crypto_kx_ed25519" and "Add low-level kx_curve25519 functions"
This reverts commit 2d736dc2bc.
This reverts commit 7f3bc5cd08.
2018-12-25 19:22:33 +01:00
Frank Denis
7e8c2d34e5 Regen emscripten symbols 2018-12-25 12:50:13 +01:00
Frank Denis
2d736dc2bc Add crypto_kx_ed25519 2018-12-25 12:46:21 +01:00
Frank Denis
7e31bbf1e5 Update emscripten symbols 2018-12-25 11:10:01 +01:00
Frank Denis
fdeb11d81c Regen emscripten symbols 2018-12-20 20:09:57 +01:00
Frank Denis
208989010b Update emscripten symbols 2017-11-25 20:00:50 +01:00
Frank Denis
c2a16ea77d Add missing symbols to emscripten-symbols.def , sort 2017-11-15 23:31:01 +01:00
Frank Denis
5257cceda8 Merge crypto_core_ed25519_from_uniform()
Fixes #628
although we need another one that keeps montgomery coordinates.
2017-11-14 22:05:37 +01:00
Frank Denis
75d507a434 + crypto_core_ed25519_is_valid_point() 2017-11-13 14:36:40 +01:00
Frank Denis
57dac9eb60 + crypto_core_ed25519_add(), crypto_core_ed25519_sub() 2017-11-13 14:22:44 +01:00
Frank Denis
5e1a9c580a Register sodium_stackzero() 2017-11-10 20:48:39 +01:00
Frank Denis
5cde320a08 Add pwhash functions to non-sumo wasm builds
Server relief is important.
2017-11-05 13:44:29 +01:00
Frank Denis
8996c7d53d Regen emscripten symbols 2017-10-23 16:13:01 +02:00
Frank Denis
f1e9acef5c Rename crypto_sign_ed25519_scalarmult() to crypto_scalarmult_ed25519() 2017-10-23 13:22:34 +02:00
Frank Denis
58fc2dcf5b Add crypto_sign_ed25519_scalarmult to emscripten symbols 2017-10-21 19:00:54 +02:00
Frank Denis
8ceb55994b Remove aes128ctr from emscripten 2017-09-27 22:19:04 +02:00
Frank Denis
3e0b4dec6e Add sodium_base64_encoded_len() 2017-09-21 11:25:09 +02:00
Frank Denis
bfab44aa40 initbytes -> headerbytes for clarity 2017-09-16 23:21:28 +02:00
Frank Denis
d0a418a863 + _crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() 2017-09-13 00:36:29 +02:00
Frank Denis
378304f818 Export crypto_pwhash_str_needs_rehash() to Javascript/WebAssembly 2017-09-06 21:00:34 +02:00
Frank Denis
6b43c1ddb6 Javascript: don't define crypto_pwhash constants in non-sumo builds 2017-08-27 16:27:07 +02:00
Frank Denis
f8e535a446 messagesbytes -> messagebytes 2017-08-25 15:12:35 +02:00
Frank Denis
242045cb4d Update emscripten symbols list 2017-08-25 14:24:34 +02:00
Frank Denis
1a3b474f7f Update the exported list of JS symbols 2017-08-03 13:38:15 +02:00
Frank Denis
f02770b2ad Revert "+ sodium_alloc_overhead()"
This reverts commit c5b61d8129.
2017-08-02 14:26:56 +02:00
Frank Denis
c5b61d8129 + sodium_alloc_overhead() 2017-08-02 12:34:56 +02:00
Frank Denis
f2a7b61230 Update symbols 2017-07-30 21:34:09 +02:00
Frank Denis
ccb842f488 Add a xchacha version of crypto_box_seal
No high level API for it, no reasons to, so not available in minimal mode.
2017-07-06 15:30:36 +02:00
Frank Denis
c77ba98d7b Update emscripten symbols 2017-06-28 16:44:06 +02:00
Frank Denis
849a35bd82 + crypto_kx_*() API
This doesn't include a full key exchange API yet.
2017-03-12 13:15:39 +01:00
Frank Denis
5777418548 Export sodium_library_minimal() to javascript 2017-03-06 11:09:12 +01:00
Frank Denis
cac339b226 Update emscripten symbols 2017-03-05 14:53:02 +01:00