summaryrefslogtreecommitdiffstats
path: root/source4/lib/crypto
Commit message (Collapse)AuthorAgeFilesLines
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-35/+19
| | | | | | | | | | | | | | | | | | | output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
* r18374: don't go past the end of this arrayAndrew Tridgell2007-10-101-2/+0
| | | | | should fix the intermittend failure of the HMACSHA1 test (This used to be commit 09014e1102ca5ada1e6f0f82506dc3cf81fc037d)
* r18357: Convert more crypto tests from using function results as initialisers.Andrew Bartlett2007-10-104-89/+97
| | | | | | | (Fails on older Unix C compilers) Andrew Bartlett (This used to be commit a4cc13a93fc2f18bfb266603617e14d1cc7ceecf)
* r18351: functions as initialisers in structures doesn't work on some compilersAndrew Tridgell2007-10-101-26/+25
| | | | (This used to be commit db694a7c82e4b5071aa7f609de6ecde90a8d42dd)
* r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher2007-10-101-0/+99
| | | | | metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
* r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher2007-10-101-0/+84
| | | | | metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
* r17493: fix typoStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 785c46ed375b99f5765c2d8a2c7c1aaf400119f8)
* r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher2007-10-101-0/+87
| | | | | metze (This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
* r17490: add all test values from rfc 2202Stefan Metzmacher2007-10-101-12/+66
| | | | | metze (This used to be commit d3e2e1af80c419ca0008e400b3d8899f2e0d0d83)
* r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174Stefan Metzmacher2007-10-107-2/+749
| | | | | | | - and add torture tests also based on the rfc's metze (This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
* r15204: Fix MD5Update prototypeJelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit d2819d4e1f73675925d292c0558cb663779a5a6a)
* r15199: Try to make these prototypes match, to get the build on S390 linux ↵Andrew Bartlett2007-10-101-3/+3
| | | | | | | going. Andrew Bartlett (This used to be commit db6746d456fb3963898170df36642c3f0882f42b)
* r15191: Avoid uint_t as it's not standard.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
* r14425: fixed an hmac-md5 error for keys longer than 64 (using deallocatedAndrew Tridgell2007-10-101-1/+1
| | | | | stack variable) (This used to be commit b10cb752c2558e98495625bbbb8704d19031a42b)
* r13953: make more functions publicStefan Metzmacher2007-10-101-4/+4
| | | | | metze (This used to be commit 6aa9675924c32a83122e7ebe86a736233b46c54f)
* r13842: Make some more functions public.Jelmer Vernooij2007-10-102-7/+9
| | | | (This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
* r13840: Mark some functions as public.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
* r11634: - make crc table staticStefan Metzmacher2007-10-102-3/+3
| | | | | | | | - const uint8_t * in all places - update header prototype metze (This used to be commit 91dfa4c28d280aff8dbf46cf1e174b5b317ba322)
* r11631: fixed a signed/unsigned warningAndrew Tridgell2007-10-102-2/+2
| | | | (This used to be commit 86d08d3ec5cfa36e048042563a56aca79c87a5bb)
* r11616: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison2007-10-101-56/+92
| | | | | | | * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or * code or tables extracted from it, as desired without restriction. Jeremy. (This used to be commit d42644927d46154c6366f3a7d10bea09989ed813)
* r9421: Move arcfour code into it's own file, in lib/crypto.Andrew Bartlett2007-10-103-1/+99
| | | | | Andrew Bartlett (This used to be commit ca6cf462708810637544d4b4bef0f404fb89a002)
* r6462: Move the arcfour sbox state into it's own structure, and allocate itAndrew Bartlett2007-10-101-0/+6
| | | | | | | with talloc() for the NTLMSSP system. Andrew Bartlett (This used to be commit 7a93ac49c28d433ccf0f077294f473fe728b9995)
* r4197: Remove silly extra const.Tim Potter2007-10-102-2/+2
| | | | (This used to be commit fcbfa888defe4f904e0c4b4f723d53a03422ad80)
* r3961: - fix compiler warningsStefan Metzmacher2007-10-102-7/+3
| | | | | | | - remove unused typedef metze (This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)
* r3960: fix compiler warningsStefan Metzmacher2007-10-102-3/+2
| | | | | metze (This used to be commit 54d5b418a75d421a9c6c09bc084454f11e9b7b44)
* r3462: separate out the crypto includesAndrew Tridgell2007-10-106-0/+91
| | | | (This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)
* r995: - renamed many of our crypto routines to use the industry standardAndrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | | | | | | | | names rather than our crazy naming scheme. So DES is now called des_crypt() rather than smbhash() - added the code from the solution of the ADS crypto challenge that allows Samba to correctly handle a 128 bit session key in all of the netr_ServerAuthenticateX() varients. A huge thanks to Luke Howard from PADL for solving this one! - restructured the server side rpc authentication to allow for other than NTLMSSP sign and seal. This commit just adds the structure, the next commit will add schannel server side support. - added 128 bit session key support to our client side code, and testing against w2k3 with smbtorture. Works well. (This used to be commit 729b2f41c924a0b435d44a14209e6dacc2304cee)
* r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher2007-10-101-4/+4
| | | | | metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
* r961: convert 'uchar' to 'uint8_t'Stefan Metzmacher2007-10-101-8/+6
| | | | | metze (This used to be commit 9f914e4af99e18b469d4cf9d8b1514a2bd28ddec)
* r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
* r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher2007-10-102-10/+10
| | | | | metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
* r935: remove unused variableAndrew Tridgell2007-10-101-2/+0
| | | | (This used to be commit a8056e329484256ffb51e823296b87979ef9221f)
* r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher2007-10-103-30/+30
| | | | | metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
* r874: This patch is a pile of work on NTLMSSP:Andrew Bartlett2007-10-101-14/+1
| | | | | | | | | | | | | | | | | | | | | Samba's NTLMSSP code is now fully talloc based, which should go a long way to cleaning up the memory leaks in this code. This also avoids a lot of extra copies of data, as we now allocate the 'return' blobs on a caller-supplied context. I have also been doing a lot of work towards NTLM2 signing and sealing. I have this working for sealing, but not for the verifier (MD5 integrity check on the stream) which is still incorrect. (I can aim a rpcecho sinkdata from a Win2k3 box to my server, and the data arrives intact, but the signature check fails. It does however match the test values I have...). The new torture test is cludged in - when we get a unit test suite back, I'll happliy put it in the 'right' place.... Andrew Bartlett (This used to be commit 399e2e2b1149b8d1c070aa7f0d5131c0b577d2b9)
* - modified the dcerpc client security code to be generic, so ntlmsspAndrew Tridgell2004-02-101-1/+1
| | | | | | | | | and schannel are both instances of possible security modules - added schannel sign and sign/seal support to the dcerpc client code. You select it with binding options of "schannel,sign" or "schannel,seal". (This used to be commit 05db0b9d942cad8f1dd574dc35b759e5e79d4195)
* signed DCERPC over TCP now works !Andrew Tridgell2003-11-261-63/+59
| | | | | | | | | | * moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp code from samba3 (thanks Andrew! the new interface is great) * added signing/ntlmssp support in the dcerpc code * added a dcerpc_auth.c module for the various dcerpc auth mechanisms (This used to be commit c18c9b5585a3e5f7868562820c14f7cb529cdbcd)
* first public release of samba4 codeAndrew Tridgell2003-08-134-0/+627
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)