Commit Graph

35 Commits

Author SHA1 Message Date
Love Hornquist Astrand
2b6a34e132 allocate cleam memory for cipher to play with 2009-08-21 07:43:29 -07:00
Love Hornquist Astrand
06f016c1e6 Rename DEF_PROVIDER to HCRYPTO_DEF_PROVIDER 2009-08-17 13:59:17 +02:00
Love Hornquist Astrand
76e01c5084 (EVP_MD_CTX_cleanup): clean out memory 2009-08-16 20:42:38 +02:00
Love Hornquist Astrand
21e8270aa2 Support RC4 in EVP 2009-08-10 11:48:12 +02:00
Love Hornquist Astrand
8276a469ab Add CommonCrypto support, split out all hcrypto specific code to hcrypto module 2009-08-10 09:07:37 +02:00
Love Hörnquist Åstrand
2e5770b7f4 drop digest init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:59 +00:00
Love Hörnquist Åstrand
af8661bb03 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:49:13 +00:00
Love Hörnquist Åstrand
fa6a8adddc doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:49:04 +00:00
Love Hörnquist Åstrand
3a343cc41a add EVP_CIPHER_CTX_ctrl and EVP_CIPHER_CTX_rand_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:56:00 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
c6f0b74fe5 Do incremental encryption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-19 02:20:14 +00:00
Love Hörnquist Åstrand
61fb057fe7 Try to update buf_len to catch more errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:15:30 +00:00
Love Hörnquist Åstrand
bbc4454631 First implementation of EVP_CipherUpdate and EVP_CipherFinal_ex that
only handle buffers on block bounderies.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:15:16 +00:00
Love Hörnquist Åstrand
bec34fc8ac ref to example.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:14:41 +00:00
Love Hörnquist Åstrand
e0efb981f0 documentation and fix des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:13:55 +00:00
Love Hörnquist Åstrand
e8bb6453e2 Dummy EVP_CipherUpdate EVP_CipherFinal_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:13:10 +00:00
Love Hörnquist Åstrand
de9f33dca8 define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:49 +00:00
Love Hörnquist Åstrand
3cf44d5def add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:07 +00:00
Love Hörnquist Åstrand
7c6e91521c expose hc_evp_md
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:43 +00:00
Love Hörnquist Åstrand
5fadb08d38 break out the hcrypto part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:59 +00:00
Love Hörnquist Åstrand
87493aa114 EVP_MD_CTX_init already implemented.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:47:16 +00:00
Love Hörnquist Åstrand
38153d7b7a deprecate functions that are needed for exported EVP_MD_CTX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:47:04 +00:00
Love Hörnquist Åstrand
d87f2f7ea9 Internalize hc_EVP_MD_CTX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:46:52 +00:00
Love Hörnquist Åstrand
4d69c8fd82 Fixup key parity before going ahead and using the key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 10:30:28 +00:00
Love Hörnquist Åstrand
699deb5ba2 use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 10:30:14 +00:00
Love Hörnquist Åstrand
626c774600 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-29 11:13:26 +00:00
Love Hörnquist Åstrand
e73f5f9b72 Add last of the doxygen documentation for functions in this module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 15:13:26 +00:00
Love Hörnquist Åstrand
0508c84035 more doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 13:01:10 +00:00
Love Hörnquist Åstrand
bb9f8932f8 more doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 13:00:48 +00:00
Love Hörnquist Åstrand
4de14c728e complete the EVP_MD functions doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 12:26:37 +00:00
Love Hörnquist Åstrand
46233322e8 more doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 11:59:52 +00:00
Love Hörnquist Åstrand
1592be2835 sprinkle doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 11:51:56 +00:00
Love Hörnquist Åstrand
97414f05ca Add Camellia
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-24 16:29:05 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00