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 |
|
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
|
6fe6bf3eef
|
allow selecting blocksize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23640 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-19 02:20:01 +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
|
248222b8f6
|
Tell what buf_len is used for.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23634 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:15:03 +00:00 |
|
Love Hörnquist Åstrand
|
f9e0ec033a
|
comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23633 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:14:53 +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
|
a62c81e366
|
Test program
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23631 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:14:29 +00:00 |
|
Love Hörnquist Åstrand
|
0077b6dd15
|
add example_evp_cipher
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23630 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:14:19 +00:00 |
|
Love Hörnquist Åstrand
|
146c256ee5
|
define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23629 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:14:07 +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
|
abce4983a7
|
Add prototypes for EVP_CipherUpdate EVP_CipherFinal_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23623 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-18 20:12:44 +00:00 |
|
Love Hörnquist Åstrand
|
2c011371e2
|
Mark weak crypto as HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23612 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 15:56:58 +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
|
89d5b031f9
|
define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23610 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 15:56:40 +00:00 |
|
Love Hörnquist Åstrand
|
ce7dc5a8b8
|
add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23593 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 14:10:24 +00:00 |
|
Love Hörnquist Åstrand
|
e8c1f45bf8
|
add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23592 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 14:10:15 +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
|
357e5964a9
|
play games to move make make-proto not see this functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23588 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 14:09:31 +00:00 |
|
Love Hörnquist Åstrand
|
acdb0765bd
|
maybe this should work...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23571 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-08-17 14:05:53 +00:00 |
|