aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/fips_prf/fips_prf.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-13/+13
|
* fips-prf: Remove superfluous <arpa/inet.h> includeMartin Willi2015-04-131-2/+0
| | | | | As we make no use of htonl() and friends, this is unneeded, but actually prevents a Windows build.
* fips-prf: Fail when trying to use append mode on FIPS-PRFMartin Willi2015-03-281-1/+6
| | | | | Append mode hardly makes sense for the special stateful FIPS-PRF, which is different to other PRFs.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Add a return value to prf_t.set_key()Martin Willi2012-07-161-3/+4
|
* Add a return value to prf_t.allocate_bytes()Martin Willi2012-07-161-2/+2
|
* Add a return value to prf_t.get_bytes()Martin Willi2012-07-161-4/+10
|
* Don't cast second argument of mem_printf_hook (%b) to size_t.Tobias Brunner2012-03-271-3/+3
| | | | | | | | | | | | | 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.
* Migrated fips_prf plugin to INIT/METHOD macrosAndreas Steffen2010-12-041-29/+26
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-3/+3
|
* Removed chunk_from_buf() in favor of a simpler chunk_from_chars() macroMartin Willi2009-09-111-2/+1
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-15/+15
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* The introduced SHA1_NOFINAL hasher was not sufficient for EAP-AKA, Martin Willi2008-03-191-20/+11
| | | | | | as it requires to XOR the key into the hashers state. A new SHA1 based keyed hash function, implemented as PRF, enables EAP-AKA and the FIPS-PRF function to properly use the existing SHA1 implementation.
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+261