Home
last modified time | relevance | path

Searched refs:vc_mackeylen (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb2_sign.c109 vcp->vc_mackeylen = SMB2_SIG_LEN; in smb2_sign_init()
110 vcp->vc_mackey = kmem_zalloc(vcp->vc_mackeylen, KM_SLEEP); in smb2_sign_init()
113 if (copysize > vcp->vc_mackeylen) in smb2_sign_init()
114 copysize = vcp->vc_mackeylen; in smb2_sign_init()
157 vcp->vc_mackey, vcp->vc_mackeylen); in smb2_compute_MAC()
H A Dsmb_sign.c86 vcp->vc_mackeylen = vcp->vc_ssnkeylen; in smb_sign_init()
87 vcp->vc_mackey = kmem_zalloc(vcp->vc_mackeylen, KM_SLEEP); in smb_sign_init()
88 bcopy(vcp->vc_ssnkey, vcp->vc_mackey, vcp->vc_mackeylen); in smb_sign_init()
143 rc = nsmb_md5_update(ctx, vcp->vc_mackey, vcp->vc_mackeylen); in smb_compute_MAC()
H A Dsmb_conn.h225 int vc_mackeylen; /* MAC key length */ member
H A Dsmb_iod.c1563 kmem_free(vcp->vc_mackey, vcp->vc_mackeylen); in nsmb_iod_negotiate()
1565 vcp->vc_mackeylen = 0; in nsmb_iod_negotiate()
H A Dsmb_conn.c387 kmem_free(vcp->vc_mackey, vcp->vc_mackeylen); in smb_vc_free()