Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dsigning.c150 uint8_t *sigloc; in smb_rq_sign() local
159 sigloc = (uchar_t *)m->m_data + SMBSIGOFF; in smb_rq_sign()
167 bcopy("BSRSPLY", sigloc, 8); in smb_rq_sign()
177 err = smb_compute_MAC(ctx, m, rqp->rq_seqno, sigloc); in smb_rq_sign()
180 bzero(sigloc, SMBSIGLEN); in smb_rq_sign()
193 uint8_t *sigloc; in smb_rq_verify() local
218 sigloc = (uchar_t *)m->m_data + SMBSIGOFF; in smb_rq_verify()
237 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
249 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
252 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) { in smb_rq_verify()
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c196 uint8_t *sigloc; in smb_rq_sign() local
207 sigloc = mp->b_rptr + SMBSIGOFF; in smb_rq_sign()
215 bcopy("BSRSPLY", sigloc, 8); in smb_rq_sign()
223 status = smb_compute_MAC(vcp, mp, rqp->sr_seqno, sigloc); in smb_rq_sign()
226 bzero(sigloc, SMBSIGLEN); in smb_rq_sign()
239 uint8_t *sigloc; in smb_rq_verify() local
263 sigloc = mp->b_rptr + SMBSIGOFF; in smb_rq_verify()
283 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
296 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
299 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) { in smb_rq_verify()