Home
last modified time | relevance | path

Searched refs:ctxt_len (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/smb/client/
H A Dsmb2pdu.c615 unsigned int ctxt_len = sizeof(struct smb2_signing_capabilities); in build_signing_ctxt() local
628 ctxt_len += sizeof(__le16) * num_algs; in build_signing_ctxt()
629 ctxt_len = ALIGN(ctxt_len, 8); in build_signing_ctxt()
630 return ctxt_len; in build_signing_ctxt()
697 unsigned int ctxt_len, neg_context_count; in assemble_neg_contexts() local
718 ctxt_len = ALIGN(sizeof(struct smb2_preauth_neg_context), 8); in assemble_neg_contexts()
719 *total_len += ctxt_len; in assemble_neg_contexts()
720 pneg_ctxt += ctxt_len; in assemble_neg_contexts()
723 ctxt_len = ALIGN(sizeof(struct smb2_encryption_neg_context), 8); in assemble_neg_contexts()
724 *total_len += ctxt_len; in assemble_neg_contexts()
[all …]
/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c878 int ctxt_len) in decode_preauth_ctxt() argument
884 if (ctxt_len < in decode_preauth_ctxt()
897 int ctxt_len) in decode_encrypt_ctxt() argument
902 if (sizeof(struct smb2_encryption_neg_context) > ctxt_len) { in decode_encrypt_ctxt()
913 ctxt_len) { in decode_encrypt_ctxt()
961 int ctxt_len) in decode_sign_cap_ctxt() argument
966 if (sizeof(struct smb2_signing_capabilities) > ctxt_len) { in decode_sign_cap_ctxt()
976 ctxt_len) { in decode_sign_cap_ctxt()
1014 int clen, ctxt_len; in deassemble_neg_contexts() local
1021 ctxt_len = clen + sizeof(struct smb2_neg_context); in deassemble_neg_contexts()
[all …]