- moved algorithm definitions from payloads to corresponding transforms

- cleanup of docs in transforms
This commit is contained in:
Martin Willi
2005-11-24 16:22:04 +00:00
parent 2a1d820155
commit 8277be6053
28 changed files with 413 additions and 265 deletions
+14 -1
View File
@@ -1,7 +1,7 @@
/**
* @file prf.c
*
* @brief Generic interface for pseudo-random-functions
* @brief Generic constructor for all prf_t
*
*/
@@ -27,6 +27,19 @@
#include <transforms/prfs/prf_hmac.h>
/**
* string mappings for encryption_algorithm_t
*/
mapping_t pseudo_random_function_m[] = {
{PRF_UNDEFINED, "PRF_UNDEFINED"},
{PRF_HMAC_MD5, "PRF_HMAC_MD5"},
{PRF_HMAC_SHA1, "PRF_HMAC_SHA1"},
{PRF_HMAC_TIGER, "PRF_HMAC_TIGER"},
{PRF_AES128_CBC, "PRF_AES128_CBC"},
{MAPPING_END, NULL}
};
/*
* Described in header
*/