PK: use alloc and free function pointers
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h
index 8626b60..83dc2d0 100644
--- a/include/polarssl/pk.h
+++ b/include/polarssl/pk.h
@@ -102,6 +102,13 @@
     int (*verify_func)( void *ctx,
                         const unsigned char *hash, const md_info_t *md_info,
                         const unsigned char *sig, size_t sig_len );
+
+    /** Allocate a new context */
+    void * (*ctx_alloc_func)( void );
+
+    /** Free the given context */
+    void (*ctx_free_func)( void *ctx );
+
 } pk_info_t;
 
 /**