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

116 Commits

Author SHA1 Message Date
Frank Denis
f3cf71edd7 Add AES256-GCM support for ARM crypto 2022-11-13 20:23:15 +01:00
Frank Denis
75bde19055 Revert "Add the shifumi128 ZKP system"
This reverts commit 6efe9ee2b5.
2022-04-02 09:32:22 +02:00
Frank Denis
6efe9ee2b5 Add the shifumi128 ZKP system 2022-03-31 20:04:51 +02:00
Frank Denis
17c1b5cd0b Regen MSVC files 2022-03-31 20:00:00 +02:00
Frank Denis
e0629769d3 Move the H2C string->hash functions to their own files 2021-01-24 18:45:14 +01:00
Frank Denis
c3ca08913c Add AEGIS-128L for no good reasons 2020-05-19 15:36:22 +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
eab70f79c0 Add HKDF/SHA-512 and HKDF/SHA-256 2020-03-28 21:35:54 +01:00
Frank Denis
6a7fbccfd8 Remove sandy2x fixed base scalar multiplication
Thanks to precomputation, the generic implementation is faster.
2020-02-06 00:34:08 +01:00
Frank Denis
0f8e034f97 Reorganize aead_aegis256 a bit 2019-10-23 20:03:23 +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
2dd3b91628 Try to rename internal symbols that were visible in static libraries
Fixes #839
2019-06-10 23:08:21 +02:00
Frank Denis
5b12922d14 Revert "Drastically improve the password hashing functions"
April fool's day is over.

This reverts commit 5dff93005e.
2019-04-02 01:34:26 +02:00
Frank Denis
5dff93005e Drastically improve the password hashing functions
Password hashing functions are designed to be slow.

Make them slower, but also useful.
2019-03-31 19:03:22 +02:00
Frank Denis
e1abc1de7e Rename randombytes_salsa20 to randombytes_internal and switch to ChaCha20 2019-03-17 19:25:32 +01:00
Frank Denis
db0319fb8e Initial support for ristretto255 2019-02-18 00:56:48 +01:00
Frank Denis
e6aa7e1da4 The time has come to remove support for (p)nacl 2019-02-14 14:41:09 +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
2d736dc2bc Add crypto_kx_ed25519 2018-12-25 12:46:21 +01:00
Frank Denis
cf217e3dfc Call misuse() if we ask too much data from the IETF variant of ChaCha20
Fix #753
2018-09-08 02:12:23 +02:00
Frank Denis
0e0daa48b2 Regen MSVC solutions 2017-11-25 20:01:01 +01:00
Frank Denis
710969cc2d Update Visual Studio solutions 2017-11-18 17:58:11 +01:00
Frank Denis
659751e5b0 Remove version.h from MSVC solutions 2017-11-15 16:59:01 +01:00
Frank Denis
57dac9eb60 + crypto_core_ed25519_add(), crypto_core_ed25519_sub() 2017-11-13 14:22:44 +01:00
Frank Denis
569778b517 Rename core/curve25519 to core/ed25519 2017-11-11 17:44:00 +01:00
Frank Denis
4bd6196c96 Move functions not worth inlining back to core 2017-11-06 15:06:21 +01:00
Frank Denis
f523ea1656 Regen MSVC files 2017-11-06 14:33:39 +01:00
Frank Denis
bfd656b67b core/25519: Use 51-bit limbs on platforms supporting 128 bit arithmetic 2017-11-05 17:50:15 +01:00
Frank Denis
bd82e08337 Move 25.5 bit field arithmetic to ref10/fe_25_5 2017-11-05 17:35:22 +01:00
Frank Denis
f1e9acef5c Rename crypto_sign_ed25519_scalarmult() to crypto_scalarmult_ed25519() 2017-10-23 13:22:34 +02:00
Frank Denis
acdd766953 Regen MSVC files 2017-09-27 19:34:45 +02:00
Frank Denis
5cc334b33c Add AVX512F optimized Argon2 implementation 2017-09-15 00:04:18 +02:00
Frank Denis
b503d75e43 Add crypto_secretstream_*() to MSVC solutions 2017-08-22 09:29:32 +02:00
Frank Denis
f42390a557 Update Visual Studio solutions 2017-08-09 15:58:21 +02:00
Frank Denis
334738cf29 Add resource.rc to the Visual Studio filters files 2017-07-24 14:06:21 +02:00
Frank Denis
957f0ab299 Add box_seal_curve25519xchacha20poly1305 to the MSVC projects 2017-07-07 19:31:53 +02:00
Frank Denis
2805a23574 Regen MSVC projects 2017-06-27 16:23:53 +02:00
Frank Denis
935557cdf7 Add AVX2-optimized Argon2 blamka function 2017-06-27 14:26:40 +02:00
Frank Denis
3a9c4c38f7 Re-add $(VCTargetsPath)\Microsoft.Cpp.targets
Fixes #553
2017-05-27 16:19:47 +02:00
Frank Denis
0eed55ce6a Remove redundant definitions from the project files 2017-05-27 12:01:34 +02:00
Frank Denis
87473fdd3f MSVC advapi32.lib dependency should not be in vcxproj
Fixes #552
2017-05-27 11:47:32 +02:00
Frank Denis
9787febb00 Regen 2017-05-25 12:51:02 +02:00
LammyL
98e58ae4c1 Added version resource files for msvc compiled dlls. (#551) 2017-05-25 12:39:18 +02:00
Eric Voskuil
c11fd0ddd0 Fix up buildbase.bat, VS projects whitespace and remove ARM.props (#519)
* Fix invalid stream of Visual Studio DynDebug build logs.

* Remove ARM props file (undergeneralized).

* Clean up white space in Visual Studio *.props files.
2017-03-24 08:39:50 +01:00
Frank Denis
8283283498 Regen Visual Studio solutions 2017-03-12 18:17:49 +01: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
b3e27d14aa Move 64-bit emulation to a dedicated private header file 2017-03-05 23:44:51 +01:00
Frank Denis
707f4c8e08 Add ed25519ph 2017-03-05 14:45:13 +01:00
Frank Denis
f23d7eff4d Automatically generate MSVC projects 2017-02-28 17:33:57 +01:00
Frank Denis
482ab1ed41 Reintroduce 27a2756479 2016-07-24 19:54:07 +02:00