summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_spnego_negtokeninit.asn1
AgeCommit message (Collapse)AuthorFilesLines
2021-06-20cifs: decoding negTokenInit with generic ASN1 decoderHyunchul Lee1-0/+40
Decode negTokenInit with lib/asn1_decoder. For that, add OIDs in linux/oid_registry.h and a negTokenInit ASN1 file, "spnego_negtokeninit.asn1". And define decoder's callback functions, which are the gssapi_this_mech for checking SPENGO oid and the neg_token_init_mech_type for getting authentication mechanisms supported by a server. Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>