commit | 3837daec9eeb63889b22e79454dce1b8154f1a40 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Sep 12 01:39:07 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Sep 12 11:57:01 2013 +0200 |
tree | 9bfabe77cdeb8a283911101e09fb631b90b2a2e5 | |
parent | e1f821a6eb228fe5fb14d98ee92f1092e75072c6 [diff] [blame] |
Add EC support to x509write_pubkey
diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h index ad31bff..c7689c1 100644 --- a/include/polarssl/ecp.h +++ b/include/polarssl/ecp.h
@@ -133,6 +133,7 @@ */ #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.