Add EC support to x509write_pubkey

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-12 01:39:07 +02:00 committed by Paul Bakker
parent e1f821a6eb
commit 3837daec9e
6 changed files with 111 additions and 10 deletions

View file

@ -133,6 +133,7 @@ ecp_keypair;
*/
#define POLARSSL_ECP_MAX_BITS 521
#define POLARSSL_ECP_MAX_BYTES ( ( POLARSSL_ECP_MAX_BITS + 7 ) / 8 )
#define POLARSSL_ECP_MAX_PT_LEN ( 2 * POLARSSL_ECP_MAX_BYTES + 1 )
/*
* Maximum window size (actually, NAF width) used for point multipliation.