Commit 5e04680
crypto: derive Argon2 without worker threads
Keep Argon2 lane count independent from backend worker availability.
When the OpenSSL thread pool is unavailable, compute lanes serially.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
PR-URL: #66237
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>1 parent fe09120 commit 5e04680
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2937 | 2937 | | |
2938 | 2938 | | |
2939 | 2939 | | |
2940 | | - | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
2941 | 2943 | | |
2942 | 2944 | | |
2943 | 2945 | | |
| |||
2947 | 2949 | | |
2948 | 2950 | | |
2949 | 2951 | | |
2950 | | - | |
2951 | | - | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
2952 | 2959 | | |
2953 | 2960 | | |
2954 | 2961 | | |
| |||
2966 | 2973 | | |
2967 | 2974 | | |
2968 | 2975 | | |
2969 | | - | |
| 2976 | + | |
| 2977 | + | |
2970 | 2978 | | |
2971 | 2979 | | |
2972 | 2980 | | |
| |||
0 commit comments