Add name and get_size() members in PK
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h
index a2d166f..43b9f09 100644
--- a/include/polarssl/pk.h
+++ b/include/polarssl/pk.h
@@ -89,6 +89,12 @@
     /** Public key type */
     pk_type_t type;
 
+    /** Type name */
+    const char *name;
+
+    /** Get key size in bits */
+    size_t (*get_size)( void * );
+
     /** Tell if the context implements this type (eg ECKEY can do ECDSA) */
     int (*can_do)( pk_type_t type );