Annotation of embedaddon/mpd/src/msoft.h, revision 1.1.1.1

1.1       misho       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>