Searched refs:ctxt_len (Results 1 – 2 of 2) sorted by relevance
615 unsigned int ctxt_len = sizeof(struct smb2_signing_capabilities); in build_signing_ctxt() local628 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() local718 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 …]
878 int ctxt_len) in decode_preauth_ctxt() argument884 if (ctxt_len < in decode_preauth_ctxt()897 int ctxt_len) in decode_encrypt_ctxt() argument902 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() argument966 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() local1021 ctxt_len = clen + sizeof(struct smb2_neg_context); in deassemble_neg_contexts()[all …]