1
0
mirror of https://github.com/openwall/yescrypt.git synced 2026-10-24 16:59:17 +03:00

Commit Graph

  • 86ea42c29d Updates on adoption: yescrypt is now default in RHEL 10 main Solar Designer 2026-10-12 03:52:41 +02:00
  • ccdf3e9073 Add MSVC build script, fix build for MSVC and macOS, add GitHub Actions QuadV 2026-06-16 03:53:40 +09:00
  • 62ee1f0611 Silence a clang warning Solar Designer 2025-09-18 04:13:10 +02:00
  • 10354f7dcc Solaris portability Solar Designer 2025-06-15 03:02:53 +02:00
  • 864f90336f Makefile: Enable -march=native by default Solar Designer 2025-03-09 03:22:33 +01:00
  • c9896ebd97 Use AVX512VL XOP-like bit rotates for faster Salsa20 Solar Designer 2025-03-09 03:15:00 +01:00
  • 087682c0cf Wrap #warning lines in #ifdef __GNUC__ Solar Designer 2025-02-03 02:59:17 +01:00
  • e5873f8901 Updates on adoption: yescrypt is now default in Arch Linux Solar Designer 2023-09-24 16:00:15 +02:00
  • 1554b087ff When explicitly using huge pages, request the 2 MiB page size Solar Designer 2022-11-17 16:45:03 +01:00
  • 86a994125f Updates on adoption: yescrypt is now default in Ubuntu 22.04 Solar Designer 2022-05-28 16:18:56 +02:00
  • 7f5f3793c3 Updates on adoption: yescrypt is now default in Debian 11 and Fedora 35 Solar Designer 2021-11-03 22:20:30 +01:00
  • 9edf51061b Implemented a little-known SHA-2 Maj() optimization proposed by Wei Dai Solar Designer 2021-05-17 17:50:29 +02:00
  • 0cd2470f2c Updates on yescrypt adoption Solar Designer 2021-04-01 21:13:21 +02:00
  • 7bde432a9b "Fix '-Wmaybe-uninitialized' with GCC 10 on s390x." from libxcrypt Solar Designer 2021-03-12 23:03:42 +01:00
  • dbe63d8f80 Consistently cast r to (uint64_t) when determining ram_bytes. This shouldn't matter for the sizes we use in these tests currently, but is cleaner this way. Solar Designer 2020-01-17 22:46:41 +01:00
  • 0731cce8fd Mention the addition of x32 support YESCRYPT_1_1_0 Solar Designer 2019-06-30 17:59:49 +02:00
  • 9ffdedcb61 https URLs Solar Designer 2019-06-30 14:37:55 +02:00
  • 03d4b65753 Consistently use const qualifier when casting string constants Solar Designer 2019-06-30 14:34:51 +02:00
  • 31dd19b339 Mention that yescrypt is included in libxcrypt Solar Designer 2019-06-06 17:19:18 +02:00
  • 08a7c22a71 Added ULL to the 64-bit YESCRYPT_ROM_TAG* constants Solar Designer 2019-04-11 21:19:30 +02:00
  • 202210b2df Documented the major post-1.0.3 change Solar Designer 2019-04-11 20:19:11 +02:00
  • ff353914ea x32 support Solar Designer 2019-04-07 18:21:13 +02:00
  • ba5949d851 Refer to yespower Solar Designer 2018-07-12 21:44:57 +02:00
  • da5b89bf22 Wrap the C function prototypes in extern "C" { ... } when included from C++ Solar Designer 2018-07-11 17:43:31 +02:00
  • d02c1d176d Added "Credits" and "Contact info" Solar Designer 2018-07-11 17:26:43 +02:00
  • 856787c7ba Fixed some gcc warnings beyond -Wall Solar Designer 2018-07-10 19:59:45 +02:00
  • 6bf917d961 Dropped be64dec(), which is unused in yescrypt Solar Designer 2018-07-10 17:38:24 +02:00
  • 06d1bfcc2d Dropped the 16-bit encoding/decoding functions, which are unused in yescrypt Solar Designer 2018-07-10 17:28:19 +02:00
  • a231666aed Added #ifdef __unix__ ... #endif around the #include <sys/mman.h> Solar Designer 2018-07-10 17:21:15 +02:00
  • 666f670a59 Don't require/use external "temporary space Y" in blockmix_pwxform() Solar Designer 2018-06-23 16:29:51 +02:00
  • 26fa84e179 Corrected the comment on smix1() to specify that XY must be 128r+64 bytes Solar Designer 2018-06-23 16:03:38 +02:00
  • 505232e059 Revised the comment on tunable pwxform parameters to mention that "they must meet certain constraints". Solar Designer 2018-06-20 14:24:51 +02:00
  • 70d875f011 Removed excessive indentation in a definition of EXTRACT64() Solar Designer 2018-06-18 14:06:23 +02:00
  • b244976b0f In the comment and #warning refer to yescrypt-opt.c, not yescrypt-best.c Solar Designer 2018-06-17 20:21:53 +02:00
  • e4bb767ca6 Moved yescrypt_init_shared(), yescrypt_digest_shared(), yescrypt_free_shared(), yescrypt_init_local(), yescrypt_free_local() from yescrypt-platform.c to yescrypt-opt.c. This is consistent with their placement in yescrypt-ref.c and it no longer results in duplicate code now that we no longer have a -simd file. It'll also help with possible introduction of -lite, which would need the rest of what's in -platform, but not these functions (as it wouldn't support ROM). Solar Designer 2018-06-13 19:05:23 +02:00
  • 9dd8264711 Merged yescrypt-opt.c and yescrypt-simd.c into one source file, which is a closer match to -simd but is called -opt (and -simd is now gone). With this commit, performance of SIMD builds should be almost unchanged, while scalar builds should be faster than before on register-rich 64-bit architectures but may be slower than before on register-starved 32-bit architectures (this shortcoming may be addressed later). This also happens to make SSE prefetch available even in otherwise-scalar builds and it paves the way for adding SIMD support on big-endian architectures (previously, -simd assumed little-endian). Solar Designer 2018-06-13 17:36:55 +02:00
  • 403c0cc21b Documented the changes leading to 1.0.3 YESCRYPT_1_0_3 Solar Designer 2018-06-13 17:04:46 +02:00
  • 4bf6fe02db In SMix1, optimized out the indexing of V for the sequential writes Solar Designer 2018-06-09 18:20:39 +02:00
  • 137fc47739 Dropped INTEGERIFY macro argument since it was always the same Solar Designer 2018-06-09 18:12:04 +02:00
  • 9708b681a5 Dropped SALSA20_2ROUNDS macro arguments since they were always the same Solar Designer 2018-06-09 18:09:49 +02:00
  • be6a806b6c Dropped the unused SALSA20_8_XOR_REG macro Solar Designer 2018-06-09 16:41:04 +02:00
  • a090fe97e5 Don't use MAP_POPULATE anymore because new multi-threaded benchmarks on RHEL6'ish and RHEL7'ish systems revealed that it sometimes has adverse effect far in excess of its occasional positive effect. YESCRYPT_1_0_2 Solar Designer 2018-06-07 15:24:52 +02:00
  • 41f6f94d9c Documented the changes leading to 1.0.2 Solar Designer 2018-06-06 21:04:18 +02:00
  • a0e759dd53 Added a compiler memory barrier between sub-blocks to ensure that none of the writes into what was S2 during processing of the previous sub-block are postponed until after a read from S0 or S1 in the inline asm code for the current sub-block. This potential problem was never observed so far due to other constraints that we have(*), but strictly speaking those constraints were insufficient to guarantee it can't occur. Solar Designer 2018-06-06 20:51:57 +02:00
  • 24c09e6ead Use a typecast and its corresponding print format for dkLen in the currently disabled PBKDF2_SHA256() test. Solar Designer 2018-06-06 19:47:42 +02:00
  • c9f42138a8 Reuse the same buffer for BlockMix_pwxform input and output in SMix2 Solar Designer 2018-05-15 20:26:02 +02:00
  • 7f2f423cd8 Corrected the comment on BlockMix_pwxform to say it uses Salsa20/2 (it wrongly said Salsa20/8). Solar Designer 2018-05-06 13:23:17 +02:00
  • 4bc8279c1d Further revised the message about XOP YESCRYPT_1_0_1 Solar Designer 2018-04-22 13:35:55 +02:00
  • 90f39b4295 Documented the changes leading to 1.0.1 Solar Designer 2018-04-22 13:28:52 +02:00
  • 5ed8313d7f Don't claim that XOP is slower than plain SSE2 for YESCRYPT_RW. It's actually fast at least on Bulldozer, and being able to run XOP code implies AMD CPUs of similar microarch, whereas the slowdown was mostly seen with AVX on Intel CPUs. Solar Designer 2018-04-22 13:11:02 +02:00
  • a6da7b3506 Added guidelines on parameter selection Solar Designer 2018-04-21 22:42:51 +02:00
  • b627c1480f Removed unneeded cosmetic differences of yescrypt-simd.c vs. yescrypt-opt.c Solar Designer 2018-04-21 22:26:57 +02:00
  • 00869a270e Renamed dest to dst for consistency with naming elsewhere in yescrypt Solar Designer 2018-04-21 22:20:36 +02:00
  • 6f10d875ed Correctly report "1 thread" (not "1 threads") when running with OpenMP, but just 1 thread. Solar Designer 2018-04-21 19:38:52 +02:00
  • aac7795616 In the 2x unrolled loops in smix2(), loop "while (Nloop -= 2)" instead of setting a separate variable to Nloop/2. Solar Designer 2018-04-21 19:33:40 +02:00
  • 3d0863bd58 Re-added YESCRYPT_RW_DEFAULTS for compatibility with yescrypt 1.0.0 Solar Designer 2018-04-21 19:24:28 +02:00
  • dc5413eb3c Renamed YESCRYPT_RW_DEFAULTS to YESCRYPT_DEFAULTS Solar Designer 2018-04-18 19:32:14 +02:00
  • 973bbb5a94 Ensure we don't try to use inline asm when !defined(__GNUC__) Solar Designer 2018-04-17 09:32:49 +02:00
  • f2df532325 Updated the summary for RAM-only benchmarks to consider both block sizes Solar Designer 2018-04-16 19:03:05 +02:00
  • 69149a5b7e Moved "Development status" to the end Solar Designer 2018-04-16 18:50:34 +02:00
  • aa89b92cee Documentation updates (mostly merging of yescrypt homepage edits into the documentation files) Solar Designer 2018-04-16 18:46:28 +02:00
  • 9a3426ee11 Dropped AVX2 support as it almost always hurt performance with currently recommended (ye)scrypt parameters on Intel & AMD CPUs tested so far. Solar Designer 2018-04-15 17:49:28 +02:00
  • 005b7fcb38 Dropped comments referring to the numbered algorithm steps. Solar Designer 2018-04-15 17:40:12 +02:00
  • caa931d121 yescrypt 1.0.0 YESCRYPT_1_0_0 Solar Designer 2018-03-09 22:10:54 +01:00