summaryrefslogtreecommitdiffstats
path: root/src/ntlm.h
Commit message (Collapse)AuthorAgeFilesLines
* Add helper to compute extended security challengeSimo Sorce2014-08-071-0/+12
|
* Add functions to verify NTLMv1 responsesSimo Sorce2014-08-071-0/+30
|
* Internalize extended security and datagram statusSimo Sorce2014-08-061-7/+28
| | | | | | | | Move handling of datagram status with ntlm_crypto routines, this way ntlm_seal_regen becomes an internal detail. Also better separate exended security and legacy sign/seal crypto state generation and general handling in sign/seal functions
* Introduce ntlm_signseal_stateSimo Sorce2014-08-061-38/+38
| | | | This structure keeps the crypto state closer to the crypto routines.
* Use a macro to define the ntlm signature sizeSimo Sorce2014-08-061-0/+1
| | | | | Avoids the look of magic numbers everywhere, and give some useful context to the code reader
* Check netbios computer and domain name when neededSimo Sorce2014-05-041-1/+2
| | | | | | MS-NLMP 3.1.5.1.2 says a client must fail to communicate if NTLMv2 is used, Integrity or Confidentiality are required and NetBIOS Computer or Domain Name are not present in the Challenge message from the server.
* Add support for setting CBT in the clientSimo Sorce2014-05-041-0/+2
|
* Add function to verify Channel Binding TokenSimo Sorce2014-05-041-0/+10
|
* Add function to calculate channel bindings hashSimo Sorce2014-05-041-0/+12
|
* Return target_info from ntlm_decode_auth_msgSimo Sorce2014-05-041-0/+2
| | | | | | | | | The target_info structure embedded in the NT Response message in NTLMv2 contains information needed to establish if the client has sent a valid MIC. So we need to extract and return it if the caller requested it. Also moves some wire structures definitions in common to be able to reuse them.
* Make MIC conditional on integrity being requestedSimo Sorce2014-05-041-1/+3
| | | | | If integrity is requested by any party then the MIC, if requested by the server will be generated, otherwise it will not be.
* Add function to verify MICsSimo Sorce2014-05-041-0/+20
|
* Add function to calculate MICSimo Sorce2014-05-041-0/+17
|
* Augment target_info processing with a utilitySimo Sorce2014-05-041-0/+23
| | | | | | | | | Thi re-encoded the target_info structure at the client side adding additional provisions of MS-NLMP 3.1.5.2.1 That is: - generate indication that a MIC is requested by the server - add ClientSuppliedTargetName data
* Add internal facility to override standard versionSimo Sorce2014-05-041-0/+12
| | | | This is useufl to use test vetors w/o altering them
* Change input parameter to be constSimo Sorce2014-05-041-1/+1
| | | | It is never and should never be touched so const char * is better.
* Support connectionless signing and sealing.Simo Sorce2013-10-181-0/+14
| | | | | In connectionless mode (GSS_C_DATAGRAM_FLAG on) sealing keys ust be rotated for each message.
* Add integrity and confidentiality functionsSimo Sorce2013-08-191-0/+54
|
* Basic implementation of accept_sec_contextSimo Sorce2013-08-181-4/+28
| | | | For now works only for satndalone server with access to a password file.
* Fix message type checkSimo Sorce2013-07-281-0/+4
|
* Add NTLM Crypto support functions for NTLMv1Simo Sorce2013-07-181-1/+77
|
* Implement credential handlingSimo Sorce2013-07-181-0/+1
|
* NTLM Crypto functionsSimo Sorce2013-07-181-27/+139
| | | | Adds crypto function helpers needed by NTLM authentication
* Initial NTLM message parsing librarySimo Sorce2013-07-161-0/+334
Implements functions to encode/decode NTLMSSP packets