diff options
author | Gordon Ross <gwr@nexenta.com> | 2013-07-16 22:10:42 -0400 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2014-11-12 14:29:11 -0500 |
commit | 85e6b6747d07050e01ec91acef2453655821f9ab (patch) | |
tree | b2531706b2e44cbeaad4a5b157ddffbae7e8406f /usr/src/lib/libsmbfs/smb/smb_crypt.h | |
parent | fd75ca8de430ee0ba5ce650efee0ac0b85ed43e9 (diff) | |
download | illumos-joyent-85e6b6747d07050e01ec91acef2453655821f9ab.tar.gz |
5308 Unable to join AD domain (with NtlmMinSeverSec set in the registry)
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libsmbfs/smb/smb_crypt.h')
-rw-r--r-- | usr/src/lib/libsmbfs/smb/smb_crypt.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/usr/src/lib/libsmbfs/smb/smb_crypt.h b/usr/src/lib/libsmbfs/smb/smb_crypt.h index 15005ddab6..a3ebd69e22 100644 --- a/usr/src/lib/libsmbfs/smb/smb_crypt.h +++ b/usr/src/lib/libsmbfs/smb/smb_crypt.h @@ -33,17 +33,36 @@ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ +#ifndef _SMB_CRYPT_H +#define _SMB_CRYPT_H + /* * Various crypto stuff. * from the driver: smb_crypt.c */ +#ifdef __cplusplus +extern "C" { +#endif + int smb_encrypt_DES(uchar_t *Result, int ResultLen, const uchar_t *Key, int KeyLen, const uchar_t *Data, int DataLen); int +smb_encrypt_RC4(uchar_t *Result, int ResultLen, + const uchar_t *Key, int KeyLen, + const uchar_t *Data, int DataLen); + +int smb_get_urandom(void *data, size_t dlen); + +#ifdef __cplusplus +} +#endif + +#endif /* _SMB_CRYPT_H */ |