Paul Bakker
|
4fc090af9c
|
Minor typos in pk.h
|
2013-09-18 15:43:25 +02:00 |
|
Paul Bakker
|
da7711594e
|
Changed pk_parse_get_pubkey() to pk_parse_subpubkey()
|
2013-09-16 22:45:03 +02:00 |
|
Paul Bakker
|
ff3a518e78
|
Changed doxygen comments in pk.h from x509_module to pk_module
|
2013-09-16 22:42:19 +02:00 |
|
Paul Bakker
|
cff6842b39
|
POLARSSL_PEM_C split into POLARSSL_PEM_PARSE_C and POLARSSL_PEM_WRITE_C
|
2013-09-16 13:36:18 +02:00 |
|
Paul Bakker
|
77e23fb0e0
|
Move *_pemify() function to PEM module
|
2013-09-15 20:03:26 +02:00 |
|
Paul Bakker
|
4606c7317b
|
Added POLARSSL_PK_PARSE_C and POLARSSL_PK_WRITE_C
|
2013-09-15 17:04:23 +02:00 |
|
Paul Bakker
|
c7bb02be77
|
Moved PK key writing from X509 module to PK module
|
2013-09-15 14:54:56 +02:00 |
|
Paul Bakker
|
1a7550ac67
|
Moved PK key parsing from X509 module to PK module
|
2013-09-15 13:47:30 +02:00 |
|
Paul Bakker
|
9013af76a3
|
Merged major refactoring of x509write module into development
This refactoring adds support for proper CSR writing and X509
certificate generation / signing
|
2013-09-12 11:58:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
8053da4057
|
x509write_csr() now fully using PK internally
|
2013-09-12 11:57:00 +02:00 |
|
Paul Bakker
|
dcbfdcc177
|
Updated doxygen documentation in header files and HTML pages
|
2013-09-10 16:16:50 +02:00 |
|
Manuel Pégourié-Gonnard
|
c6b6803dcf
|
Add forgotten "inline" keyword
|
2013-08-27 22:21:21 +02:00 |
|
Manuel Pégourié-Gonnard
|
bfe32efb9b
|
pk_{sign,verify}() now accept hash_len = 0
|
2013-08-27 22:21:21 +02:00 |
|
Manuel Pégourié-Gonnard
|
0d42049440
|
Merge code for RSA and ECDSA in SSL
|
2013-08-27 22:21:20 +02:00 |
|
Manuel Pégourié-Gonnard
|
12c1ff0ecb
|
Add RSA-alt to the PK layer
|
2013-08-27 22:21:20 +02:00 |
|
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
|
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
|
ab46694558
|
Change pk_set_type to pk_init_ctx for consistency
|
2013-08-20 20:46:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
15699380e5
|
Small PK cleanups
- better error codes
- rm now-useless include
|
2013-08-20 20:46:04 +02:00 |
|
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
|
f8c948a674
|
Add name and get_size() members in PK
|
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 |
|
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
|
a2d4e644ac
|
Some more EC pubkey parsing refactoring
Fix a bug in pk_rsa() and pk_ec() along the way
|
2013-07-17 15:59:43 +02:00 |
|
Manuel Pégourié-Gonnard
|
360a583029
|
Adapt x509parse_cert_info() for EC
|
2013-07-17 15:59:41 +02:00 |
|
Manuel Pégourié-Gonnard
|
2692a30c1b
|
Relax ifdef's in pk.h by analogy with md.h
|
2013-07-17 15:59:41 +02:00 |
|
Manuel Pégourié-Gonnard
|
1e60cd09b0
|
Expand oid_get_sig_alg() for ECDSA-based algs
|
2013-07-17 15:59:40 +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
|
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 |
|
Manuel Pégourié-Gonnard
|
5a9b82e234
|
Make oid_get_pk_alg handle EC algorithms
|
2013-07-08 17:32:26 +02:00 |
|
Paul Bakker
|
ed27a041e4
|
More granular define selections within code to allow for smaller code
sizes
|
2013-04-18 23:12:34 +02:00 |
|