Added support code for RSA and EC key encoding (including reconstruction of all public and private key elements from the private key structure), with raw and PKCS#8 formats, both in DER and PEM.
This commit is contained in:
parent
cfbc702d3d
commit
d8fa415fca
32 changed files with 3528 additions and 105 deletions
|
|
@ -298,11 +298,22 @@ int uses_ecdhe(unsigned suite);
|
|||
*/
|
||||
void list_names(void);
|
||||
|
||||
/*
|
||||
* Print out all known elliptic curve names.
|
||||
*/
|
||||
void list_curves(void);
|
||||
|
||||
/*
|
||||
* Get the symbolic name for an elliptic curve (by ID).
|
||||
*/
|
||||
const char *ec_curve_name(int curve);
|
||||
|
||||
/*
|
||||
* Get a curve by symbolic name. If the name is not recognized, -1 is
|
||||
* returned.
|
||||
*/
|
||||
int get_curve_by_name(const char *str);
|
||||
|
||||
/*
|
||||
* Get the symbolic name for a hash function name (by ID).
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue