summaryrefslogtreecommitdiff
path: root/source4/lib/crypto
AgeCommit message (Collapse)AuthorFilesLines
2008-09-24Move source4/lib/crypto to lib/crypto.Jelmer Vernooij18-1596/+0
2008-08-01lib/crypto: remove dependency to internal heimdalStefan Metzmacher1-2/+21
metze (This used to be commit 9138fc6639fae7a5567c395254277199c89b0dcb)
2008-06-04copied the Heimdal sha256 functions into lib/crypto to avoid a linkAndrew Tridgell5-3/+327
error Hopefully we can remove this again later (This used to be commit fa2ecfea7a1acc388a86e8fba5b42df7925c9045)
2008-06-04Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell8-783/+2
(This used to be commit d206517f90ac02e829193c5a17e5df25059cf18d)
2008-06-04lib/crypto: remove unused sha1 and hmac-sha1 codeStefan Metzmacher8-782/+2
metze (This used to be commit 2c8904be3bac2c696712cc3160fe95d62afde43a)
2008-06-03SMB2 signing now works. The spec was wrong (and will be fixed in theAndrew Tridgell4-1/+133
next version) (This used to be commit 436cb17b869e2d6cc57936ccc5e81680fb992341)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+1
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-2/+2
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-05-10Fix torture module initializion.Jelmer Vernooij1-1/+1
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij1-14/+7
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2007-12-21r25931: Add config .mk file for crypto lib.Jelmer Vernooij1-0/+26
(This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)
2007-10-10r25522: Convert to standard bool types.Jelmer Vernooij5-14/+14
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell11-33/+22
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-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)
2007-10-10r18374: don't go past the end of this arrayAndrew Tridgell1-2/+0
should fix the intermittend failure of the HMACSHA1 test (This used to be commit 09014e1102ca5ada1e6f0f82506dc3cf81fc037d)
2007-10-10r18357: Convert more crypto tests from using function results as initialisers.Andrew Bartlett4-89/+97
(Fails on older Unix C compilers) Andrew Bartlett (This used to be commit a4cc13a93fc2f18bfb266603617e14d1cc7ceecf)
2007-10-10r18351: functions as initialisers in structures doesn't work on some compilersAndrew Tridgell1-26/+25
(This used to be commit db694a7c82e4b5071aa7f609de6ecde90a8d42dd)
2007-10-10r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher1-0/+99
metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
2007-10-10r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher1-0/+84
metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
2007-10-10r17493: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 785c46ed375b99f5765c2d8a2c7c1aaf400119f8)
2007-10-10r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher1-0/+87
metze (This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
2007-10-10r17490: add all test values from rfc 2202Stefan Metzmacher1-12/+66
metze (This used to be commit d3e2e1af80c419ca0008e400b3d8899f2e0d0d83)
2007-10-10r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174Stefan Metzmacher7-2/+749
- and add torture tests also based on the rfc's metze (This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
2007-10-10r15204: Fix MD5Update prototypeJelmer Vernooij1-4/+4
(This used to be commit d2819d4e1f73675925d292c0558cb663779a5a6a)
2007-10-10r15199: Try to make these prototypes match, to get the build on S390 linux ↵Andrew Bartlett1-3/+3
going. Andrew Bartlett (This used to be commit db6746d456fb3963898170df36642c3f0882f42b)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij1-1/+1
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r14425: fixed an hmac-md5 error for keys longer than 64 (using deallocatedAndrew Tridgell1-1/+1
stack variable) (This used to be commit b10cb752c2558e98495625bbbb8704d19031a42b)
2007-10-10r13953: make more functions publicStefan Metzmacher1-4/+4
metze (This used to be commit 6aa9675924c32a83122e7ebe86a736233b46c54f)
2007-10-10r13842: Make some more functions public.Jelmer Vernooij2-7/+9
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
2007-10-10r13840: Mark some functions as public.Jelmer Vernooij1-3/+3
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
2007-10-10r11634: - make crc table staticStefan Metzmacher2-3/+3
- const uint8_t * in all places - update header prototype metze (This used to be commit 91dfa4c28d280aff8dbf46cf1e174b5b317ba322)
2007-10-10r11631: fixed a signed/unsigned warningAndrew Tridgell2-2/+2
(This used to be commit 86d08d3ec5cfa36e048042563a56aca79c87a5bb)
2007-10-10r11616: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison1-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)
2007-10-10r9421: Move arcfour code into it's own file, in lib/crypto.Andrew Bartlett3-1/+99
Andrew Bartlett (This used to be commit ca6cf462708810637544d4b4bef0f404fb89a002)
2007-10-10r6462: Move the arcfour sbox state into it's own structure, and allocate itAndrew Bartlett1-0/+6
with talloc() for the NTLMSSP system. Andrew Bartlett (This used to be commit 7a93ac49c28d433ccf0f077294f473fe728b9995)
2007-10-10r4197: Remove silly extra const.Tim Potter2-2/+2
(This used to be commit fcbfa888defe4f904e0c4b4f723d53a03422ad80)
2007-10-10r3961: - fix compiler warningsStefan Metzmacher2-7/+3
- remove unused typedef metze (This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)
2007-10-10r3960: fix compiler warningsStefan Metzmacher2-3/+2
metze (This used to be commit 54d5b418a75d421a9c6c09bc084454f11e9b7b44)
2007-10-10r3462: separate out the crypto includesAndrew Tridgell6-0/+91
(This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)
2007-10-10r995: - renamed many of our crypto routines to use the industry standardAndrew Tridgell1-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)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher1-4/+4
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r961: convert 'uchar' to 'uint8_t'Stefan Metzmacher1-8/+6
metze (This used to be commit 9f914e4af99e18b469d4cf9d8b1514a2bd28ddec)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher1-1/+1
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher2-10/+10
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r935: remove unused variableAndrew Tridgell1-2/+0
(This used to be commit a8056e329484256ffb51e823296b87979ef9221f)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher3-30/+30
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r874: This patch is a pile of work on NTLMSSP:Andrew Bartlett1-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)