~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib-ntlm/ntlm-encrypt.h

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef NTLM_ENCRYPT_H
2
2
#define NTLM_ENCRYPT_H
3
3
 
4
 
const unsigned char *
5
 
lm_hash(const char *passwd, unsigned char hash[LM_HASH_SIZE]);
6
 
 
7
 
const unsigned char *
8
 
ntlm_v1_hash(const char *passwd, unsigned char hash[NTLMSSP_HASH_SIZE]);
 
4
void lm_hash(const char *passwd, unsigned char hash[LM_HASH_SIZE]);
 
5
void ntlm_v1_hash(const char *passwd, unsigned char hash[NTLMSSP_HASH_SIZE]);
9
6
 
10
7
void ntlmssp_v1_response(const unsigned char *hash,
11
8
                         const unsigned char *challenge,
20
17
                         const unsigned char *hash_v1,
21
18
                         const unsigned char *challenge,
22
19
                         const unsigned char *blob, size_t blob_size,
23
 
                         unsigned char response[NTLMSSP_V2_RESPONSE_SIZE]);
 
20
                         unsigned char response[NTLMSSP_V2_RESPONSE_SIZE])
 
21
        ATTR_NULL(2);
24
22
 
25
23
#endif