gss: mask out SAnon req_flags after computing session key
authorLuke Howard <lukeh@padl.com>
Mon, 27 Apr 2020 12:32:59 +0000 (22:32 +1000)
committerLuke Howard <lukeh@padl.com>
Mon, 27 Apr 2020 12:32:59 +0000 (22:32 +1000)
commit815ea80b4fe2d755a5c9bad02d4c852ed201ba97
treebb327e377a3089ba5df6f0a1dbf79c78e5c1987e
parent69b34d1b8af1df39bd0e81c92fb85e6c839f1ed6
gss: mask out SAnon req_flags after computing session key

In SAnon, the optional flags send in the initial context token are input into
the key derivation function. Mask out the flags we wish to ignore after (not
before) calling the key derivation function, as the initiator may not know
which flags we wish to ignore.
lib/gssapi/sanon/accept_sec_context.c