Searched refs:vc_mackeylen (Results 1 – 5 of 5) sorted by relevance
109 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()
86 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()
225 int vc_mackeylen; /* MAC key length */ member
1563 kmem_free(vcp->vc_mackey, vcp->vc_mackeylen); in nsmb_iod_negotiate()1565 vcp->vc_mackeylen = 0; in nsmb_iod_negotiate()
387 kmem_free(vcp->vc_mackey, vcp->vc_mackeylen); in smb_vc_free()