Lines Matching refs:ctx
66 smb_compute_MAC(struct smb_ctx *ctx, mbuf_t *m,
94 if (ctx->ct_mackey == NULL)
111 MD5Update(&md5, ctx->ct_mackey, ctx->ct_mackeylen);
148 struct smb_ctx *ctx = rqp->rq_ctx;
161 if (ctx->ct_mackey == NULL) {
175 rqp->rq_seqno = ctx->ct_mac_seqno;
176 ctx->ct_mac_seqno += 2;
177 err = smb_compute_MAC(ctx, m, rqp->rq_seqno, sigloc);
190 struct smb_ctx *ctx = rqp->rq_ctx;
202 if (ctx->ct_mackey == NULL)
223 err = smb_compute_MAC(ctx, m, rseqno, sigbuf);
248 (void) smb_compute_MAC(ctx, m, rseqno + fudge, sigbuf);
251 (void) smb_compute_MAC(ctx, m, rseqno - fudge, sigbuf);