Love Hörnquist Åstrand
89e9107f8d
drop <heim_extra.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:28 +00:00
Love Hörnquist Åstrand
ff5dab4f4a
remove rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:18 +00:00
Love Hörnquist Åstrand
55bddbf305
always include <config.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:07 +00:00
Love Hörnquist Åstrand
02dab69819
hx509_cms_create_signed;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:55 +00:00
Love Hörnquist Åstrand
c39e347450
keyex support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:15:29 +00:00
Love Hörnquist Åstrand
e4ab29a7bb
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:15:05 +00:00
Love Hörnquist Åstrand
1ea672676b
ECDSA_METHOD-not-export if openssl
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:48 +00:00
Love Hörnquist Åstrand
8c452e59ba
doxygen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:38 +00:00
Love Hörnquist Åstrand
f293652434
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:12:46 +00:00
Love Hörnquist Åstrand
aad4e9c130
don't deref ops, they might be null.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:47 +00:00
Love Hörnquist Åstrand
51fc4ba5a1
don't deref ops, they might be null.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:37 +00:00
Love Hörnquist Åstrand
ea8cb168b3
don't deref ops, they might be null.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:27 +00:00
Love Hörnquist Åstrand
b7c044ec6b
Disable test that breaks for ECDSA.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:15 +00:00
Love Hörnquist Åstrand
28cf0ab673
abort on interface misuse
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:30 +00:00
Love Hörnquist Åstrand
833885be80
Also select crypto alg based on private key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:10 +00:00
Love Hörnquist Åstrand
a95073a244
done
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:15:58 +00:00
Love Hörnquist Åstrand
c7535afeb8
drop more oid pointers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:15:47 +00:00
Love Hörnquist Åstrand
14b272fb98
remove unused varaibale
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 18:32:05 +00:00
Love Hörnquist Åstrand
4500883ecc
Calculate the ECDSA max signature runtime and use that select the signature alg
...
Reorder to make more use to variable instead of functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 18:31:55 +00:00
Love Hörnquist Åstrand
64c33e2655
remove printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 18:31:43 +00:00
Love Hörnquist Åstrand
a327eff68f
less oid functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 05:59:13 +00:00
Love Hörnquist Åstrand
e1b125884a
simplify by using the variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 05:58:52 +00:00
Love Hörnquist Åstrand
fee0482b36
simplify by using the variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 05:58:42 +00:00
Love Hörnquist Åstrand
62beb0d073
remove dup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 05:58:32 +00:00
Love Hörnquist Åstrand
a11fdb5933
stuff to do.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 05:58:22 +00:00
Love Hörnquist Åstrand
15205a1900
drop printf within the library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:18:49 +00:00
Love Hörnquist Åstrand
252f0b771d
Fix output length, with this the code sign and verfies cms data.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:18:34 +00:00
Love Hörnquist Åstrand
0d03799468
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:18:16 +00:00
Love Hörnquist Åstrand
18512a864c
fix quoting
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:59 +00:00
Love Hörnquist Åstrand
fd5c282f7d
Default to hx509_signature_ecdsa_with_sha1 since private crypto
...
backend must be the one that selects the credential since the ec group
might not be able to handle sha256.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:43 +00:00
Love Hörnquist Åstrand
76b621899b
signing alg selection based on private key type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:27 +00:00
Love Hörnquist Åstrand
6017ed211c
make error unique
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:11 +00:00
Love Hörnquist Åstrand
0254c6a681
Test signing cms data with ecdsa.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:54 +00:00
Love Hörnquist Åstrand
0f2af8c10f
more EC bits, now parses the private key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:32 +00:00
Love Hörnquist Åstrand
647dde211f
more bits for ecdsa signing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:14 +00:00
Love Hörnquist Åstrand
fead259d5d
use hx509_err
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:15:52 +00:00
Love Hörnquist Åstrand
8331f55413
Remove bits that never been used.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:56 +00:00
Love Hörnquist Åstrand
82c71ee5db
Make parsing of private key generic, prepare for EC private keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:48 +00:00
Love Hörnquist Åstrand
0dfb6450fe
Hooks for ECDSA private key ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:39 +00:00
Love Hörnquist Åstrand
1ebe934837
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:28 +00:00
Love Hörnquist Åstrand
9d14f64819
gen ec-cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:19 +00:00
Love Hörnquist Åstrand
929121644a
add pre-generated ec certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:11 +00:00
Love Hörnquist Åstrand
7ff6e45302
add test for eccerts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:02 +00:00
Love Hörnquist Åstrand
1e95e97550
Add ecdsa-with-sha1 and secp160r1, secp160r2 since openssl uses.
...
Make ECDSA test case work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:53 +00:00
Love Hörnquist Åstrand
9eeecd7419
First drop of EC support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:33 +00:00
Love Hörnquist Åstrand
8ffd509d0a
pass hx509_context to the matching function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:11:01 +00:00
Love Hörnquist Åstrand
ad7bb6ffad
pass hx509_context to the matching function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:52 +00:00
Love Hörnquist Åstrand
baf73c2f8b
doxygen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:01 +00:00
Love Hörnquist Åstrand
2fbb6ab934
Change prototype of hx509_certs_filter().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:09:51 +00:00
Love Hörnquist Åstrand
27ca60fe93
Change prototype of hx509_certs_filter().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:09:41 +00:00