xref: /illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/fksmb_preauth_pkcs.c (revision 9b664393d4fdda96221e6ea9ea95790d3c15be70)
1 /*
2  * This file and its contents are supplied under the terms of the
3  * Common Development and Distribution License ("CDDL"), version 1.0.
4  * You may only use this file in accordance with the terms of version
5  * 1.0 of the CDDL.
6  *
7  * A full copy of the text of the CDDL should have accompanied this
8  * source.  A copy of the CDDL is also available via the Internet at
9  * http://www.illumos.org/license/CDDL.
10  */
11 
12 /*
13  * Copyright 2020 RackTop Systems, Inc.
14  */
15 
16 #include <smbsrv/smb_ktypes.h>
17 #include <smbsrv/mbuf.h>
18 
19 /*
20  * not implemented yet
21  */
22 void
23 smb31_preauth_init_mech(smb_session_t *s)
24 {
25 }
26 
27 void
28 smb31_preauth_fini(smb_session_t *s)
29 {
30 }
31 
32 int
33 smb31_preauth_sha512_calc(smb_request_t *sr, struct mbuf_chain *mbc,
34     uint8_t *in_hashval, uint8_t *out_hashval)
35 {
36 	return (0);
37 }
38