aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-20 14:03:51 +0100
committerChristian Göttsche <cgzones@googlemail.com>2024-04-13 22:02:13 +0200
commitc11ccdfad1596199713f75a61f34672f7529ab73 (patch)
treee61136b16d2db9902f8373c2adfda101b9ea27ed /modules
parent9438e084e2b318bf91c3912c0b8ff056e1835486 (diff)
downloadpam-c11ccdfad1596199713f75a61f34672f7529ab73.tar.gz
pam-c11ccdfad1596199713f75a61f34672f7529ab73.tar.bz2
pam-c11ccdfad1596199713f75a61f34672f7529ab73.zip
libpam: add helper to compare strings in constant time
Add a helper function to compare two strings for equality, that performs the same amount of operations based on the first argument, regardless of the length of the second argument, or the position of the first difference. This can be used as defense-in-depth mitigation against timing attacks of password comparisons.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions