Print this page
12513 SMB 3.1.1 support for server
*** 9,18 ****
--- 9,19 ----
* http://www.illumos.org/license/CDDL.
*/
/*
* Copyright 2018 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2020 RackTop Systems, Inc.
*/
#ifndef _SMB2_KPROTO_H_
#define _SMB2_KPROTO_H_
*** 61,70 ****
--- 62,75 ----
/* SMB2 signing routines - smb2_signing.c */
int smb2_sign_check_request(smb_request_t *);
void smb2_sign_reply(smb_request_t *);
void smb2_sign_init_mech(smb_session_t *);
+ void smb31_preauth_init_mech(smb_session_t *);
+ void smb31_preauth_fini(smb_session_t *s);
+ int smb31_preauth_sha512_calc(smb_request_t *, struct mbuf_chain *,
+ uint8_t *);
int smb3_encrypt_sr(smb_request_t *, struct mbuf_chain *, struct mbuf_chain *);
int smb3_decrypt_sr(smb_request_t *);
int smb3_encrypt_init_mech(smb_session_t *s);