Commit Graph

10471 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0f47667bfd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:36:27 +00:00
Love Hörnquist Åstrand
f0f64c5deb prune off stuff we dont use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:30:34 +00:00
Love Hörnquist Åstrand
b6135672df Use mp_int_compare_zero instead of "MP_SIGN(&u) == MP_NEG"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:11:57 +00:00
Love Hörnquist Åstrand
6d95db6ea7 Prune off stuff we don't use from imathsource
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:07:34 +00:00
Love Hörnquist Åstrand
fed2ec931e Use mp_int_exptmod directly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:04:22 +00:00
Love Hörnquist Åstrand
f0672f96a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 21:01:48 +00:00
Love Hörnquist Åstrand
cda55ca141 Use a larger table of small primes, cut down genenration in best cases
to half compared to using a small table.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:59:01 +00:00
Love Hörnquist Åstrand
3010e18998 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:26:43 +00:00
Love Hörnquist Åstrand
b2cafda0f2 add RSA_FLAG_NO_BLINDING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 20:26:23 +00:00
Love Hörnquist Åstrand
c7da6b6c61 Drop most of the pkcs11 files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:57:54 +00:00
Love Hörnquist Åstrand
986dc89efb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:43:27 +00:00
Love Hörnquist Åstrand
dfcfc51c66 add hx509_ca_tbs_set_serialnumber
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:40:46 +00:00
Love Hörnquist Åstrand
00a6e317eb test reissueing ca certificate (xxx time validAfter).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:37:14 +00:00
Love Hörnquist Åstrand
8c9a5ca83a Allow setting serialNumber (needed for reissuing certificates)
Change --key argument to --out-key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:36:08 +00:00
Love Hörnquist Åstrand
22133f82f9 (issue-certificate): Allow setting serialNumber (needed for reissuing
certificates), Change --key argument to --out-key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:35:39 +00:00
Love Hörnquist Åstrand
fbb2803309 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:15:31 +00:00
Love Hörnquist Åstrand
cb85e1d9e0 Add keyblinding, add a commented out CRT based RSA.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 18:15:09 +00:00
Love Hörnquist Åstrand
3928ceb728 Headerfile <pkcs11.h> is now freestanding, remove pkcs11u.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 15:32:05 +00:00
Love Hörnquist Åstrand
9a686ce1d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 14:56:29 +00:00
Love Hörnquist Åstrand
ec05142c07 Replace with Marcus Brinkmann of g10 Code GmbH pkcs11 headerfile that is compatible with GPL (file taken from scute)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 14:52:44 +00:00
Love Hörnquist Åstrand
dd43893796 Add iqmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 00:47:03 +00:00
Love Hörnquist Åstrand
3be59531fc (imath_rsa_generate_key): make p > q
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 23:41:43 +00:00
Love Hörnquist Åstrand
84b8adbb48 Add timeing version of the loop.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 22:47:06 +00:00
Love Hörnquist Åstrand
9656c41201 add missing ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 22:35:11 +00:00
Love Hörnquist Åstrand
c49388725b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:56:18 +00:00
Love Hörnquist Åstrand
3572e7735e Test to generate key and use them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:55:05 +00:00
Love Hörnquist Åstrand
fffd555b71 handle other keys the pkcs10 requested keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:53:46 +00:00
Love Hörnquist Åstrand
d0c2319998 add generate key commands
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:52:37 +00:00
Love Hörnquist Åstrand
7c04a560eb Add i2d_RSAPrivateKey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:23:24 +00:00
Love Hörnquist Åstrand
3abdc16e2a (_hx509_request_to_pkcs10): PKCS10 needs to have a subject
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 20:20:11 +00:00
Love Hörnquist Åstrand
f6139e837c cb_func should return 1 to have the generation code to continue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 19:43:55 +00:00
Love Hörnquist Åstrand
f13b6e5705 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 19:27:31 +00:00
Love Hörnquist Åstrand
500e46ca83 test RSA_generate_key_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 19:27:02 +00:00
Love Hörnquist Åstrand
80ed3308f9 Add imath_rsa_generate_key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 19:26:10 +00:00
Love Hörnquist Åstrand
b1e2db09df fix name of krb5-gss private header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:13:16 +00:00
Love Hörnquist Åstrand
a41368a46c Include build (private) prototypes header files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:06:35 +00:00
Love Hörnquist Åstrand
4fe8e7566e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:33:17 +00:00
Love Hörnquist Åstrand
2ce57212dc Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:32:08 +00:00
Love Hörnquist Åstrand
33ba9fdf6d (hx509_ca_tbs_set_proxy): allow negative pathLenConstraint to signal no limit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:31:07 +00:00
Love Hörnquist Åstrand
a03b0ce550 Make it possible to turn off PAC check, its default on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:27:20 +00:00
Love Hörnquist Åstrand
c8c4c730ac (krb5_rd_req_ctx): If there is a PAC, verify its server signature.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:23:34 +00:00
Love Hörnquist Åstrand
4e6e594fc6 export some more pac functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:00:52 +00:00
Love Hörnquist Åstrand
b8884f1904 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:12:46 +00:00
Love Hörnquist Åstrand
a21ff50026 add LIB_roken for test_ntlm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:12:26 +00:00
Love Hörnquist Åstrand
64565477d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:02:21 +00:00
Love Hörnquist Åstrand
2c45be2461 Try all formats on the binary file before giving up, this way we can
handle binary rsa keys too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:01:41 +00:00
Love Hörnquist Åstrand
a6aeb8b42c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:00:50 +00:00
Love Hörnquist Åstrand
25ad1864fd another key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 01:56:37 +00:00
Love Hörnquist Åstrand
e6bfa2b2dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:40:16 +00:00
Love Hörnquist Åstrand
6c800c5ae7 (ntlmsrc): add ntlm/ntlm-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:39:59 +00:00