Commit Graph

287 Commits

Author SHA1 Message Date
Love Hornquist Astrand 76e01c5084 (EVP_MD_CTX_cleanup): clean out memory 2009-08-16 20:42:38 +02:00
Love Hornquist Astrand fef41d9e23 Use constant time compare 2009-08-15 13:29:15 +02:00
Love Hornquist Astrand 1cd2e05d82 ct comment 2009-08-15 13:27:55 +02:00
Love Hornquist Astrand 8ef2d2d11b the key argument is const, mark it as such 2009-08-14 20:06:39 +02:00
Love Hornquist Astrand f6dd20ae2b drop unused struct prototypes 2009-08-14 15:46:30 +02:00
Love Hornquist Astrand 241e0444d9 basic framework for ec.c 2009-08-14 15:33:20 +02:00
Love Hornquist Astrand b7fc0614f0 Add return type for ECDH_compute_key 2009-08-14 10:13:48 +02:00
Love Hornquist Astrand 193f14461f Add symbols renaming 2009-08-14 10:07:50 +02:00
Love Hornquist Astrand 628075b646 remove dup EC_KEY_free 2009-08-14 10:06:09 +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 Hornquist Astrand 44709846a0 add ec*.h files 2009-08-06 09:28:08 +02:00
Love Hornquist Astrand d1eb77fba8 add basic symbol renaming and header prototection 2009-08-06 09:27:35 +02:00
Love Hornquist Astrand 5334dd9702 add basic symbol renaming and header prototection 2009-08-06 09:26:54 +02:00
Love Hornquist Astrand a9b182bc4e add basic symbol renaming and header prototection 2009-08-06 09:25:52 +02:00
Love Hornquist Astrand b8ebf4e245 add wincrypt 2009-08-05 13:48:40 +02:00
Love Hornquist Astrand 3a031244bc Drop RCSID and HAVE_CONFIG_H 2009-08-05 13:37:37 +02:00
Stefan Metzmacher 513f59dcd4 heimdal:camellia: include roken.h
metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00
Andrew Bartlett a4287ff403 Include roken.h to fix build of example_evp_cipher test on Linux
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00
Love Hörnquist Åstrand f8d7804396 More tests for HC_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:28:44 +00:00
Love Hörnquist Åstrand e9cea2daee More tests for HC_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:28:24 +00:00
Love Hörnquist Åstrand 164c99a4b4 Do locking around file descriptor, this allows caching of the file
descriptor in the module.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:18 +00:00
Love Hörnquist Åstrand 59e499f32f Prefer /dev/random on MacOS since it's always there and have good performance.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:07 +00:00
Love Hörnquist Åstrand f1c791989f fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:55:24 +00:00
Love Hörnquist Åstrand 7e9941b369 test BN_CTX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:55:14 +00:00
Love Hörnquist Åstrand e4249d88fd make it pass the regression test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:55:04 +00:00
Love Hörnquist Åstrand 38c18bdcba off by one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:31:19 +00:00
Love Hörnquist Åstrand 852c2a405c inplement BN_CTX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:31:09 +00:00
Love Hörnquist Åstrand f48b2244eb add BN_CTX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:31:00 +00:00
Love Hörnquist Åstrand 56440edb0e add BN_CTX_{start,end}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:30:49 +00:00
Love Hörnquist Åstrand 15dec2cc3b remove var
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:30:40 +00:00
Love Hörnquist Åstrand b62bc750a1 add BN_CTX_get
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:30:27 +00:00
Love Hörnquist Åstrand 93261f08f6 make types more typesafe.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:30:15 +00:00
Love Hörnquist Åstrand aea6ecb992 add BN_CTX_new(), BN_CTX_free()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:30:06 +00:00
Love Hörnquist Åstrand 3867b32678 add ec files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:46 +00:00
Love Hörnquist Åstrand d1a451880e add bits needed for EC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:06 +00: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 4362a07669 drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:29:37 +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 3d93ee6cea add EVP_CTRL_RAND_KEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:49 +00:00
Love Hörnquist Åstrand 97a97a81f9 update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:39 +00:00
Love Hörnquist Åstrand 8a3bbf5a27 add EVP_CIPHER_CTX_ctrl and EVP_CIPHER_CTX_rand_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:28 +00:00
Love Hörnquist Åstrand 9a190f0dd9 add EVP_CIPHER_CTX_ctrl and EVP_CIPHER_CTX_rand_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:17 +00:00
Love Hörnquist Åstrand bfb9748972 add EVP_CIPH_RAND_KEY and typify ctrl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:05 +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 68a0002ba9 clean up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-19 02:20:36 +00:00
Love Hörnquist Åstrand 58362ab151 Test EVP_CIPHER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-19 02:20:24 +00:00