Martin Willi
7dc48bab1b
Use memwipe() in chunk_clear()
2011-05-09 14:36:14 +02:00
Martin Willi
806ec8b1d6
Properly handle zero length in chunk_alloc[a]/chunk_clone[a]
2010-08-16 17:06:27 +02:00
Martin Willi
b019c38fa2
Implemented base32 encoding of chunks.
2010-05-05 10:41:11 +02:00
Tobias Brunner
fac3bfa5cd
Fixing some includes by replacing <> with "".
...
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.
2010-03-02 10:38:58 +01:00
Martin Willi
3b878dae7e
Removed chunk_from_buf() in favor of a simpler chunk_from_chars() macro
2009-09-11 15:39:35 +02:00
Martin Willi
1080a51fd2
evaluate arguments of chunk_clone/clonea/alloc/alloca only once
2009-09-09 16:24:21 +02:00
Martin Willi
323f9f990f
replaces four spaces by tabs, where appropriate
2009-09-04 14:50:23 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Martin Willi
500f515a64
moved chunk_increment() function to libstrongswan
2009-08-26 14:07:26 +02:00
Martin Willi
934d49a4f9
chunk_cat/cata/create_cat/length accept the sensitive data clearing mode 's'
2009-08-26 11:23:51 +02:00
Tobias Brunner
8b6a5ce5ba
We need to include alloca.h on OpenSolaris.
2009-08-14 13:25:22 +02:00
Martin Willi
d7b965e931
fixed two doxygen warnings
2009-07-08 10:28:54 +02:00
Martin Willi
f48c3c72f4
added a chunk_printable() function (replaces sanitize_chunk)
2009-07-06 13:15:29 +02:00
Tobias Brunner
8c5d72cd0b
removing svn keyword $Id$ from all files
2009-04-30 13:19:35 +00:00
Andreas Steffen
3eb5042e9c
migrated write_chunk() to chunk_write()
2009-04-20 06:58:00 +00:00
Andreas Steffen
a376e44577
pluto and scepclient now use chunk_t from libstrongswan
2009-04-17 16:41:26 +00:00
Andreas Steffen
9b91b81870
ported most of the libstrongswan chunk_t macros to pluto
2009-04-17 16:11:33 +00:00
Martin Willi
1490ff4d9b
updated Doxyfile
...
properly close all doxygen groups
fixed remaining doxygen warnings
2009-03-24 17:43:01 +00:00
Tobias Brunner
d25ce3701e
printf hooks refactored to increase portability (i.e. support for platforms without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
2009-03-12 18:07:32 +00:00
Andreas Steffen
b59f154b09
proper initialization and disposal of keying material
2009-01-15 01:52:44 +00:00
Tobias Brunner
d6dc0a21fb
incremental version of chunk_hash
2008-12-10 13:43:51 +00:00
Martin Willi
e2cb07d713
inlined some short chunk functions, showed up in the profiler
2008-11-26 10:08:36 +00:00
Tobias Brunner
ed6146ffbe
performance optimization for the DOS protection.
...
* 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
2008-11-25 13:16:05 +00:00
Martin Willi
822901061b
ported parts of two-sim branch
...
eap_identity parameter to exchange in eap_identity
some auth_info/peer_cfg refactorings
fixed some bugs, introduced new ones
2008-08-22 10:44:51 +00:00
Martin Willi
9213ad27c2
replaced freeswan ttodata by own chunk_{to|from}_{hex|base64} functions
2008-04-24 13:26:22 +00:00
Tobias Brunner
eed87e1d76
typo
2008-04-18 10:58:36 +00:00
Martin Willi
72c882d8c0
cosmetics to chunk_write()
2008-04-17 14:06:37 +00:00
Martin Willi
6a365f0740
added API for random number generators, served through credential factory
...
ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
2008-04-15 05:56:35 +00:00
Martin Willi
552cc11b1f
merged the modularization branch (credentials) back to trunk
2008-03-13 14:14:44 +00:00
Martin Willi
93720075df
implemented SHA1 encrypted passwords for manager
2007-09-27 07:15:47 +00:00
Andreas Steffen
bb3d6c3dbe
the new function chunk_free_randomized() overwrites the contents of a chunk with pseudo-random bytes before freeing it
2007-09-10 12:16:24 +00:00
Andreas Steffen
8883eef7b8
support cachecrls=yes
2007-04-05 17:07:14 +00:00
Martin Willi
25eaae17db
added chunk_from_thing() macro
2007-03-29 11:06:59 +00:00
Andreas Steffen
ef49c3486a
added chunk_compare() which compares orders chunks
2007-03-27 04:37:15 +00:00
Andreas Steffen
aa3af83a80
fixed typo
2007-03-06 14:26:03 +00:00
Martin Willi
f27f6296e6
merged EAP framework from branch into trunk
...
includes a lot of other modifications
2007-02-12 15:56:47 +00:00
Martin Willi
db7ef62494
better split up of library files "types.h" & "definitions.h"
...
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
2006-10-31 12:27:59 +00:00