Commit Graph

6 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
cab95ddf13 (get_device_fd): use /dev/urandom first.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:37:24 +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
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
cbe9276ad4 (RAND_bytes): Don't abort() on failure, return error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-16 10:11:44 +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