Manuel Pégourié-Gonnard
|
3fb5c5ee1c
|
PK: rename members for consistency CIPHER, MD
Also add pk_get_name() to remove a direct access to pk_type
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
c6ac8870d5
|
Nicer interface between PK and debug.
Finally get rid of pk_context.type member, too.
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
b3d9187cea
|
PK: add nice interface functions
Also fix a const-corectness issue.
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
765db07dfb
|
PK: use alloc and free function pointers
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
3053f5bcb4
|
Get rid of pk_wrap_rsa()
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
835eb59c6a
|
PK: fix support for ECKEY_DH
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
f18c3e0378
|
Add a PK can_do() method and simplify code
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
d73b3c13be
|
PK: use wrappers and function pointers for verify
|
2013-08-20 20:46:03 +02:00 |
|
Manuel Pégourié-Gonnard
|
211a64c79f
|
Add eckey to ecdsa conversion in the PK layer
|
2013-08-20 20:26:28 +02:00 |
|
Paul Bakker
|
d9ca94a677
|
Updated merged pk.c and x509parse.c changes with new memory allocation functions
|
2013-07-25 11:25:09 +02:00 |
|
Manuel Pégourié-Gonnard
|
c2c90031ec
|
Fix pk_set_type() behaviour for unkown type
|
2013-07-17 15:59:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
fd5164e283
|
Fix some more ifdef's RSA/EC, in pk and debug
|
2013-07-17 15:59:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
7c5819eb1e
|
Fix warnings (enum value missing from switch/case)
|
2013-07-17 15:59:41 +02:00 |
|
Manuel Pégourié-Gonnard
|
244569f4b1
|
Use generic x509_get_pubkey() for RSA functions
|
2013-07-17 15:59:40 +02:00 |
|
Manuel Pégourié-Gonnard
|
374e4b87d4
|
pk_set_type() cannot be used to reset key type
|
2013-07-17 15:59:39 +02:00 |
|
Manuel Pégourié-Gonnard
|
81c313ccc6
|
Add #ifdef's on RSA and EC in PK
|
2013-07-09 10:49:09 +02:00 |
|
Manuel Pégourié-Gonnard
|
1f73a65c06
|
Fix ommission in pk_free().
|
2013-07-09 10:42:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
7a6c946446
|
Fix error code in pk.h
|
2013-07-09 10:37:27 +02:00 |
|
Manuel Pégourié-Gonnard
|
12e0ed9115
|
Add pk_context and associated functions
|
2013-07-08 17:32:27 +02:00 |
|