aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved chunk_t to utils folderTobias Brunner2012-10-241-690/+0
|
* Pass opaque data to printf hooks and print_in_hook()Martin Willi2012-07-131-4/+4
|
* Don't cast second argument of mem_printf_hook (%b) to size_t.Tobias Brunner2012-03-271-1/+2
| | | | | | | | | | | | | Also treat the given number as unsigned int. Due to the printf hook registration the second argument of mem_printf_hook (if called via printf etc.) is always of type int*. Casting this to a size_t pointer and then dereferencing that as int does not work on big endian machines if int is smaller than size_t (e.g. on ppc64). In order to make this change work if the argument is of a type larger than int, size_t for instance, the second argument for %b has to be casted to (u_)int.
* Fixed common misspellings.Tobias Brunner2011-07-201-4/+4
| | | | Mostly found by 'codespell'.
* ignore : separator characters in chunk_from_hex()Andreas Steffen2010-10-121-3/+25
|
* Implemented base32 encoding of chunks.Martin Willi2010-05-051-0/+63
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-5/+6
|
* Fixing some includes by replacing <> with "".Tobias Brunner2010-03-021-2/+1
| | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths.
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-26/+26
|
* moved chunk_increment() function to libstrongswanMartin Willi2009-08-261-0/+18
|
* chunk_cat/cata/create_cat/length accept the sensitive data clearing mode 's'Martin Willi2009-08-261-7/+14
|
* added a chunk_printable() function (replaces sanitize_chunk)Martin Willi2009-07-061-0/+27
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* scepclient and pluto use asn1 from libstrongswanAndreas Steffen2009-04-201-2/+2
|
* migrated write_chunk() to chunk_write()Andreas Steffen2009-04-201-5/+7
|
* printf hooks refactored to increase portability (i.e. support for platforms ↵Tobias Brunner2009-03-121-33/+8
| | | | without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
* incremental version of chunk_hashTobias Brunner2008-12-101-2/+10
|
* inlined some short chunk functions, showed up in the profilerMartin Willi2008-11-261-51/+0
|
* performance optimization for the DOS protection.Tobias Brunner2008-11-251-1/+81
| | | | | | * half-open SAs per peer are tracked in a hash table * charon.dos_protection setting replaced with charon.cookie_threshold and charon.block_threshold * chunk_hash function added
* expecting int sized length arguments to chunk_split, as vararg functions use ↵Martin Willi2008-11-211-2/+2
| | | | integers
* ported parts of two-sim branchMartin Willi2008-08-221-4/+16
| | | | | | eap_identity parameter to exchange in eap_identity some auth_info/peer_cfg refactorings fixed some bugs, introduced new ones
* replaced freeswan ttodata by own chunk_{to|from}_{hex|base64} functionsMartin Willi2008-04-241-19/+152
|
* cosmetics to chunk_write()Martin Willi2008-04-171-19/+18
|
* added API for random number generators, served through credential factoryMartin Willi2008-04-151-16/+3
| | | | ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-74/+23
|
* implemented SHA1 encrypted passwords for managerMartin Willi2007-09-271-4/+31
|
* the new function chunk_free_randomized() overwrites the contents of a chunk ↵Andreas Steffen2007-09-101-0/+22
| | | | with pseudo-random bytes before freeing it
* added missing #includeMartin Willi2007-04-121-0/+1
|
* support cachecrls=yesAndreas Steffen2007-04-051-0/+40
|
* added chunk_compare() which compares orders chunksAndreas Steffen2007-03-271-0/+15
|
* merged EAP framework from branch into trunkMartin Willi2007-02-121-31/+143
| | | | | includes a lot of other modifications
* better split up of library files "types.h" & "definitions.h"Martin Willi2006-10-311-0/+243
centralized all printf specifier character definitions reuse of arginfo handlers more cleanups fixed more AMD64 issues added DEBUG_LEVEL compile flag to exclude DBGn() statements