Commit Graph

399 Commits

Author SHA1 Message Date
Asanka Herath
fd3d2ccd0d Windows: Build with USE_HCRYPTO_IMATH 2010-08-20 16:53:57 -04:00
Asanka Herath
0730c0b98f Windows: ASN1_LIB needs to be defined for Heimdal library 2010-08-20 13:14:12 -04:00
Asanka Herath
63e3aedf8c Windows: Fix lib/hcrypto tests 2010-08-20 13:09:49 -04:00
Asanka Herath
2730cfc919 lib/hcrypto/test_*: Use "rb" when opening binary files 2010-08-20 13:09:47 -04:00
Asanka Herath
e88a1d83c6 test_crypto.in: Also test w32crypto 2010-08-20 13:09:47 -04:00
Asanka Herath
eafb187cd0 Declare RAND_w32crypto_method() 2010-08-20 13:09:46 -04:00
Asanka Herath
9b466f35fb Windows: RAND_file_name() should look up profile path
If RANDFILE and HOME environment variables aren't defined, failover to
looking up the user's profile path.  In particular, default to a file
named .rnd in the user's local (non-roamin) application data
directory.
2010-08-20 13:09:45 -04:00
Asanka Herath
7af1f40258 hcrypto/test_rand.c: Add w32crypto method
Also make it non-fatal to request a method that is unsupported.  This
makes it possible to only test methods that we are compiling.
2010-08-20 13:09:44 -04:00
Asanka Herath
f807cb8152 Windows: Update exports 2010-08-20 13:07:58 -04:00
Asanka Herath
ba44354336 Windows: Check exported symbols
During a test run, cross check the Windows exports list against the
version-script files.  For the test to pass, all symbols on either
list should be accounted for.

If there are symbols that are specific to Windows or symbols that are
not included on Windows, they should be annotated in the .def file as
follows:

    ;!  non_windows_symbol

    	common_symbol

        windows_only_symbol ;!
2010-08-20 13:06:55 -04:00
Asanka Herath
d83611238a Windows: Build a single heimdal.dll
Heimdal.dll is a combination of libasn1, libwind, libhcrypto, libhx509
and libkrb5.
2010-08-20 13:06:54 -04:00
Asanka Herath
ea4d8dbfdb Windows: Use EXEPREP and DLLPREP macros for processing binaries
Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
2010-08-20 13:04:06 -04:00
Asanka Herath
e512f5e826 Type safety for rsa-tfm.c 2010-08-20 13:03:35 -04:00
Asanka Herath
ccc5fa16b1 Silence type safety warnings for rand-w32.c
Cast parameters to exact expected type so compiler won't complain.
2010-08-20 13:03:35 -04:00
Asanka Herath
cd1e4911ca Local variable initialization for s_embar()
Or we may potentially return an uninitialized value.
2010-08-20 13:03:34 -04:00
Asanka Herath
87bc873223 Fix declaration of CAMELLIA_cbc_encrypt() 2010-08-20 13:03:34 -04:00
Asanka Herath
e9160dbcfa Support parallelized builds on Windows 2010-08-20 13:03:32 -04:00
Love Hornquist Astrand
c6ed8b9a66 indent 2010-08-20 00:07:03 -07:00
Love Hornquist Astrand
90a605432e .c -> .obj 2010-08-20 00:05:16 -07:00
Love Hornquist Astrand
27c94fadca bits 2010-08-20 00:03:16 -07:00
Love Hornquist Astrand
c073ec126f remove unused stuff 2010-08-20 00:01:49 -07:00
Love Hornquist Astrand
1f226a37b9 try glue in ltm in NTMakefile 2010-08-19 23:55:33 -07:00
Love Hornquist Astrand
2952862912 add new numbers 2010-08-15 15:27:36 -07:00
Love Hornquist Astrand
763a72b73a enable ltm, add key blinding, add remove tfm 2010-08-15 15:06:58 -07:00
Love Hornquist Astrand
16feede517 Build test vectors for Simon Josefsson (draft-josefsson-pbkdf2-test-vectors-00) 2010-08-05 00:50:28 -07:00
Simon Wilkinson
40ef7759b9 hcrypto: Remove bn.h from rand.h
rand.h doesn't require any symbols defined in bn.h, so don't
include bn.h in the header file. This makes it easier for applications
to include only the symmetric portions of libhcrypto.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-07-21 18:00:21 -07:00
Love Hornquist Astrand
94a5df1840 use ct_memcmp 2010-07-20 08:07:23 -07:00
Love Hornquist Astrand
baec3d761c allow specifying the engine to use 2010-07-18 16:13:24 -07:00
Love Hornquist Astrand
aaf598c2fd drop pregen 2010-07-18 14:10:55 -07:00
Love Hornquist Astrand
b9754f1def pref numbers and switch to ltm 2010-07-18 14:08:26 -07:00
Love Hornquist Astrand
e7c7091ae5 add ltm dh 2010-07-18 13:26:39 -07:00
Love Hornquist Astrand
6c0c936595 select add libtommath 2010-07-18 13:04:03 -07:00
Love Hornquist Astrand
1a625c0908 ltm-0.41 2010-07-01 10:51:29 -07:00
Love Hornquist Astrand
5ca101c63e fix compile warnings 2010-06-29 11:57:56 -07:00
Love Hornquist Astrand
6d0e3950a5 add hc_i2d_DHparams 2010-06-16 14:55:51 -07:00
Love Hornquist Astrand
0dcfbd65c9 add i2d_DHparams 2010-06-16 14:55:08 -07:00
Love Hornquist Astrand
cda41d7252 add i2d_DHparams 2010-06-16 14:55:04 -07:00
Love Hornquist Astrand
91020dd11d add cfb8-aes modes 2010-06-03 17:20:40 -07:00
Love Hornquist Astrand
efa5a314a8 fix warnings 2010-06-03 16:16:48 -07:00
Love Hornquist Astrand
a11303a4ca make tfm default 2010-06-01 20:24:52 -07:00
Love Hornquist Astrand
3f56365be0 don't reinit variable 2010-06-01 19:18:24 -07:00
Love Hornquist Astrand
2527594a5c If build with libcrypto, load the openssl engine 2010-06-01 17:17:21 -07:00
Love Hornquist Astrand
de4cee4dd7 speed for rsa 2010-06-01 17:16:25 -07:00
Love Hornquist Astrand
4f90bb51d2 add gmp 2010-06-01 17:11:29 -07:00
Love Hornquist Astrand
f41c361718 make almost work 2010-06-01 17:10:57 -07:00
Love Hornquist Astrand
3c8d9ef8d5 more symbols 2010-06-01 15:07:43 -07:00
Love Hornquist Astrand
40327e0cf3 add more generate 2010-06-01 15:07:17 -07:00
Love Hornquist Astrand
661ce3d1a4 add more generate 2010-06-01 15:07:07 -07:00
Love Hornquist Astrand
8bb2de2e3f test --time-key=generate 2010-06-01 15:06:53 -07:00
Love Hornquist Astrand
3d4eabb5ea more testing 2010-06-01 15:05:07 -07:00