Whamcloud - gitweb
LU-17175 gss: background speedtest for Miller-Rabin rounds
authorSebastien Buisson <sbuisson@ddn.com>
Sat, 17 Feb 2024 12:27:15 +0000 (13:27 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 9 Mar 2024 07:46:58 +0000 (07:46 +0000)
commit72217cac0affebf410ff41ac3224f554eea14fa7
treecb164fa21a6f0ff96440bc8299c112feaa9803b3
parent2ea53c8a840a973d1d557833c894b7effcfacc3e
LU-17175 gss: background speedtest for Miller-Rabin rounds

The number of rounds used for Miller-Rabin testing of the prime
provided as input parameter to DH_check() is evaluated when the
lsvcgssd daemon starts. This speed test takes between 5 and 10 seconds
so it makes sense to run it in the background.
Any prime tested before the right number of rounds has been determined
would use the default from OpenSSL. This can lead to longer request
processing time, but this is only for a temporary and short period of
time.

Lustre-change: https://review.whamcloud.com/54088
Lustre-commit: d753dc75ad2a919e5fff3bc51c20b4569cd86a86

Test-Parameters: trivial
Test-Parameters: testgroup=review-dne-selinux-ssk-part-1
Test-Parameters: testgroup=review-dne-selinux-ssk-part-2
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: If77f4374c5af463fdadd15979a594af1786af1df
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54278
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/test-framework.sh
lustre/utils/gss/sk_utils.c
lustre/utils/gss/sk_utils.h
lustre/utils/gss/svcgssd.h
lustre/utils/gss/svcgssd_main_loop.c
lustre/utils/gss/svcgssd_proc.c