diff options
author | Simo Sorce <idra@samba.org> | 2013-07-04 16:37:12 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-07-18 22:37:25 -0400 |
commit | 994d9639caeec0164134e3bd6c16512defe93021 (patch) | |
tree | b7709922d0159a6250bb59b23dcf8a14af752cce /src/ntlm.c | |
parent | 399c16829ceb8dad8f3f6e25e626212e4fca332e (diff) | |
download | gss-ntlmssp-994d9639caeec0164134e3bd6c16512defe93021.tar.gz gss-ntlmssp-994d9639caeec0164134e3bd6c16512defe93021.tar.xz gss-ntlmssp-994d9639caeec0164134e3bd6c16512defe93021.zip |
NTLM Crypto functions
Adds crypto function helpers needed by NTLM authentication
Diffstat (limited to 'src/ntlm.c')
-rw-r--r-- | src/ntlm.c | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -28,8 +28,6 @@ #include <errno.h> #include <iconv.h> #include <stddef.h> -#include <stdint.h> -#include <stdlib.h> #include <string.h> #include <sys/time.h> @@ -129,32 +127,6 @@ struct wire_channel_binding { }; #pragma pack(pop) -/* lm response, v1 or v2 */ -#pragma pack(push, 1) -union wire_lm_response { - struct { - uint8_t resp[24]; - } v1; - struct { - uint8_t resp[16]; - uint8_t cli_chal[8]; - } v2; -}; -#pragma pack(pop) - -/* ntlm response, v1 or v2 */ -#pragma pack(push, 1) -union wire_ntlm_response { - struct { - uint8_t resp[24]; - } v1; - struct { - uint8_t resp[16]; - uint8_t cli_chal[8]; - } v2; -}; -#pragma pack(pop) - #pragma pack(push, 1) struct wire_ntlm_cli_chal { uint8_t resp_type; |