krb5: reorganise crypto.c

lib/krb5/crypto.c was a large, monolithic block of code which made
it very difficult to selectively enable and disable particular
alogrithms.

Reorganise crypto.c into individual files for each encryption and
salt time, and place the structures which tie everything together
into their own file (crypto-algs.c)

Add a non-installed library (librfc3961) and test program
(test_rfc3961) which builds a minimal rfc3961 crypto library, and
checks that it is usable.
This commit is contained in:
Simon Wilkinson
2010-11-01 10:20:53 +00:00
committed by Simon Wilkinson
parent 6184422fef
commit 1d9072f026
24 changed files with 3645 additions and 2619 deletions

View File

@@ -178,6 +178,9 @@ struct _krb5_krb_auth_data;
#ifdef PKINIT
#include <hx509.h>
#endif
#include "crypto.h"
#include <krb5-private.h>
#include "heim_threads.h"