Commit Graph

14 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
230bf3309e add RSA_generate_key_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 10:43:47 +00:00
Love Hörnquist Åstrand
25622c7c44 (d2i_RSAPrivateKey): Return NULL on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:52:38 +00:00
Love Hörnquist Åstrand
51f86669ef Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:07:32 +00:00
Love Hörnquist Åstrand
7eadb147b2 (RSA_free): free the whole key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:53:00 +00:00
Love Hörnquist Åstrand
016955e82a remove stray ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:33:01 +00:00
Love Hörnquist Åstrand
042b66d1ac Drop heim_any.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:20:35 +00:00
Love Hörnquist Åstrand
84e59ac8a9 (RSA_free): Call the meth->finish before releasing the engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 21:26:23 +00:00
Love Hörnquist Åstrand
03dd091073 (RSA_check_key): Do sign/verify instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:33:28 +00:00
Love Hörnquist Åstrand
a50dbb80fc Default to use rsa-imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:29:39 +00:00
Love Hörnquist Åstrand
7b95f0b5f2 (RSA_check_key): don't do any checking if there is no private key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:45:00 +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
517a78550f Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-09 16:58:57 +00:00
Love Hörnquist Åstrand
49cd3f86ca Implement i2d_RSAPublicKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:17:30 +00:00
Love Hörnquist Åstrand
b8d967ede5 implement enough glue to support OpenSSLs EVP, RSA, DSA, DH, HMAC and ENGINE interfaces for use in hx509. rename all symbols to start with hc_ to avoid clobbering namespaces. contains no RSA/DH/DSA code, just glue to support using dynamic ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE module supporting RSA
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:47:29 +00:00