diff options
Diffstat (limited to 'sys/netsmb/smb_subr.h')
-rw-r--r-- | sys/netsmb/smb_subr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netsmb/smb_subr.h b/sys/netsmb/smb_subr.h index 276190f..62c084a 100644 --- a/sys/netsmb/smb_subr.h +++ b/sys/netsmb/smb_subr.h @@ -114,6 +114,7 @@ void smb_strfree(char *s); void smb_memfree(void *s); void *smb_zmalloc(unsigned long size, struct malloc_type *type, int flags); +int smb_calcmackey(struct smb_vc *vcp); int smb_encrypt(const u_char *apwd, u_char *C8, u_char *RN); int smb_ntencrypt(const u_char *apwd, u_char *C8, u_char *RN); int smb_maperror(int eclass, int eno); @@ -123,5 +124,7 @@ int smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src, int caseopt); int smb_put_string(struct smb_rq *rqp, const char *src); int smb_put_asunistring(struct smb_rq *rqp, const char *src); +int smb_rq_sign(struct smb_rq *rqp); +int smb_rq_verify(struct smb_rq *rqp); #endif /* !_NETSMB_SMB_SUBR_H_ */ |