Commit Graph

9 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ee4ddbe911 Drop heim_any.h, prefix der primitives with der_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:21:09 +00:00
Love Hörnquist Åstrand
726a88d9c6 (BN_rand): avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 19:32:18 +00:00
Love Hörnquist Åstrand
a2cdaa4cb6 (BN_rand): check return value from RAND_bytes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-16 10:08:34 +00:00
Love Hörnquist Åstrand
44f875ef5a Remove unused fragment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 13:26:08 +00:00
Love Hörnquist Åstrand
106ab5e5cf Include <limits.h>. From David Love <fx@gnu.org>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:34:39 +00:00
Love Hörnquist Åstrand
33b75d6802 BN_get_negative was really named BN_is_negative, a comment confused me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:37:58 +00:00
Love Hörnquist Åstrand
670afff8cf (BN_rand): don't leak memory on failure, cache malloc(0) case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:33:58 +00:00
Love Hörnquist Åstrand
0e63038199 (BN_rand): clear the bits above the bits that user requested.
(BN_uadd): new function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:29:32 +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