Commit Graph

16315 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
52ad892d83 Add inital version of CRMF asn1 spec, not getting IMPLICIT quite right yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-18 13:05:21 +00:00
Love Hörnquist Åstrand
8df33c8742 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:30:29 +00:00
Love Hörnquist Åstrand
b5bb0fb2b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:24:08 +00:00
Love Hörnquist Åstrand
134300927d Add more RAND functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:23:04 +00:00
Love Hörnquist Åstrand
0256eb27e6 Split out unix /dev/random to a RAND_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:19:05 +00:00
Love Hörnquist Åstrand
347ebf4079 add RAND support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:16:17 +00:00
Love Hörnquist Åstrand
1668824ca5 s/rc4_64/rc2_64/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:14:16 +00:00
Love Hörnquist Åstrand
3a87bd3b39 Use right flags to open(2) when doing reading/writing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:25:57 +00:00
Love Hörnquist Åstrand
45a1e8c9ef Add RAND_METHOD and some associated functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:19:35 +00:00
Love Hörnquist Åstrand
9d126566c5 Test BN_rand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:12:11 +00:00
Love Hörnquist Åstrand
5ce1e2cb21 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-16 19:39:52 +00:00
Love Hörnquist Åstrand
fb47cbf3b2 (ENGINE_by_dso): less printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-16 19:39:40 +00:00
Love Hörnquist Åstrand
902f8ff049 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-16 19:38:47 +00:00
Love Hörnquist Åstrand
ff8368d8a7 (i2d_RSAPublicKey): fix prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-16 19:38:23 +00:00
Love Hörnquist Åstrand
b2a23b8cc4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 21:07:09 +00:00
Love Hörnquist Åstrand
27456af853 Require SHA256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 21:06:52 +00:00
Love Hörnquist Åstrand
23a182bbe3 Fix breakage from sha256 code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 15:38:51 +00:00
Love Hörnquist Åstrand
07ac4c2f4c Add EVP_rc2_64_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 13:13:06 +00:00
Love Hörnquist Åstrand
ae845fd57e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 12:55:24 +00:00
Love Hörnquist Åstrand
ff19333faa generate rc2 tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 12:55:03 +00:00
Love Hörnquist Åstrand
c5796dfb7f Add SHA256 support, and symbols for the other new SHA-2 types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 12:54:10 +00:00
Love Hörnquist Åstrand
fe3ab87a5b (libhcrypto_la_SOURCES): Add sha256.c.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 12:48:12 +00:00
Love Hörnquist Åstrand
7d1f61cec1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 11:09:20 +00:00
Love Hörnquist Åstrand
446e2cc5c9 Add id-pkcs1-sha256WithRSAEncryption and friends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 11:07:59 +00:00
Love Hörnquist Åstrand
6988d6e96e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 10:53:42 +00:00
Love Hörnquist Åstrand
4b76a9f4d4 Turn CMSRC2CBCParameter.rc2ParameterVersion into a constrained integer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 10:53:25 +00:00
Love Hörnquist Åstrand
8c5526e110 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:55:50 +00:00
Love Hörnquist Åstrand
2d55449313 Add SHA-256 symbols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:55:33 +00:00
Love Hörnquist Åstrand
406b081aba Add SHA-256.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:54:45 +00:00
Love Hörnquist Åstrand
9ece16629f Add sha-256 symbols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:54:11 +00:00
Love Hörnquist Åstrand
60536ecb53 Test SHA-256.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:53:37 +00:00
Love Hörnquist Åstrand
2dba3f813b Inital (naive) SHA-256 implementation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 07:53:07 +00:00
Love Hörnquist Åstrand
ab868c1a2a test rc2-40 rc2-64 rc2-128 enveloped data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 21:02:00 +00:00
Love Hörnquist Åstrand
ded280162c test cases for rc2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 21:00:58 +00:00
Love Hörnquist Åstrand
893aa61f9d Update prototypes changes for hx509_crypto_[gs]et_params.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 20:59:14 +00:00
Love Hörnquist Åstrand
be73b86680 Break out the parameter handling code for encrypting data to handle RC2.
Needed for Windows 2k pk-init support.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 20:58:31 +00:00
Love Hörnquist Åstrand
604652ed73 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 14:22:25 +00:00
Love Hörnquist Åstrand
ab8354ee2f (DES_cfb64_encrypt): add asserts that the *num pointers is >= 0,
because if it is, its a programmer error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 14:19:36 +00:00
Love Hörnquist Åstrand
562667c187 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 13:56:21 +00:00
Love Hörnquist Åstrand
0b29b91f6f (dns_srv_order): change a if (ptr == NULL) continue into a assert(ptr
!= NULL) since it could never happen, found by the IBM code checker (beam).
Thanks to Florian Krohm for explaining it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 13:56:00 +00:00
Love Hörnquist Åstrand
abd7e5ec1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:55 +00:00
Love Hörnquist Åstrand
8d95c53570 Export sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:22 +00:00
Love Hörnquist Åstrand
6b8576e29f Import sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:03 +00:00
Love Hörnquist Åstrand
6dc6bb7552 (_gssapi_msg_order_import,_gssapi_msg_order_export):
New functions, used by {import,export}_sec_context.
From Wynn Wilkes <wynn.wilkes@quest.com>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:44:05 +00:00
Love Hörnquist Åstrand
c1a6be3ef3 Add test for import/export sequence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:42:17 +00:00
Love Hörnquist Åstrand
c3e1233f63 (krb5_rd_safe): fix argument to krb5_data_zero, handle message size = 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 16:20:03 +00:00
Love Hörnquist Åstrand
766c132ea1 Fix argument to krb5_data_zero.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 16:18:10 +00:00
Love Hörnquist Åstrand
5948640960 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:22:18 +00:00
Love Hörnquist Åstrand
6815452550 Added certificate revoke information from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:21:46 +00:00
Love Hörnquist Åstrand
19aee3ece1 (_krb5_pk_load_id): Added certificate revoke information, ie CRL's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:19:13 +00:00