File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src / msoft.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:29 2013 UTC (10 years, 11 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, v5_8p7, v5_8p1_cross, v5_8p1, v5_8, v5_7p0, v5_7, v5_6, HEAD
5.7

    1: 
    2: /*
    3:  * msoft.h
    4:  *
    5:  * Rewritten by Archie Cobbs <archie@freebsd.org>
    6:  * Copyright (c) 1998-1999 Whistle Communications, Inc. All rights reserved.
    7:  * See ``COPYRIGHT.whistle''
    8:  */
    9: 
   10: #ifndef _MSOFT_H_
   11: #define _MSOFT_H_
   12: 
   13: #include <sys/types.h>
   14: 
   15: /*
   16:  * FUNCTIONS
   17:  */
   18: 
   19:   extern void	NTChallengeResponse(const u_char *chal,
   20: 		  const char *nthash, u_char *hash);
   21: 
   22:   extern void	NTPasswordHash(const char *password, u_char *hash);
   23:   extern void	NTPasswordHashHash(const u_char *nthash, u_char *hash);
   24:   extern void	LMPasswordHash(const char *password, u_char *hash);
   25: 
   26:   extern void	MsoftGetKey(const u_char *h, u_char *h2, int len);
   27:   extern void	MsoftGetStartKey(u_char *chal, u_char *h);
   28: 
   29:   extern void	GenerateNTResponse(const u_char *authchal,
   30: 		  const u_char *peerchal, const char *username,
   31: 		  const char *nthash, u_char *hash);
   32:   extern void	GenerateAuthenticatorResponse(const u_char *nthash,
   33: 		  const u_char *ntresp, const u_char *peerchal,
   34: 		  const u_char *authchal, const char *username,
   35: 		  u_char *authresp);
   36: 
   37:   extern void	MsoftGetMasterKey(u_char *resp, u_char *h);
   38:   extern void	MsoftGetAsymetricStartKey(u_char *h, int server_recv);
   39: 
   40: #endif
   41: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>