Manuel Pégourié-Gonnard
|
a2d3f22007
|
Add and use pk_encrypt(), pk_decrypt()
|
2013-08-27 22:21:20 +02:00 |
|
Manuel Pégourié-Gonnard
|
8df2769178
|
Introduce pk_sign() and use it in ssl
|
2013-08-27 22:21:20 +02:00 |
|
Manuel Pégourié-Gonnard
|
583b608401
|
Fix some return values
|
2013-08-27 22:21:20 +02:00 |
|
Manuel Pégourié-Gonnard
|
fff80f8879
|
PK: use NULL for unimplemented operations
|
2013-08-20 20:46:05 +02:00 |
|
Manuel Pégourié-Gonnard
|
f73da02962
|
PK: change pk_verify arguments (md_info "optional")
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
ac4cd36297
|
PK rsa_verify: check signature length
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
09162ddcaa
|
PK: reuse some eckey functions for ecdsa
Also add some forgotten 'static' while at it.
|
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
|
f8c948a674
|
Add name and get_size() members in PK
|
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 |
|