Small PK cleanups

- better error codes
- rm now-useless include
diff --git a/include/polarssl/error.h b/include/polarssl/error.h
index 10e68f8..889e4be 100644
--- a/include/polarssl/error.h
+++ b/include/polarssl/error.h
@@ -77,7 +77,7 @@
  * PEM      1   9
  * PKCS#12  1   4 (Started from top)
  * X509     2   25
- * PK       2   1 (Started from top)
+ * PK       2   3 (Started from top)
  * DHM      3   6
  * PKCS5    3   4 (Started from top)
  * RSA      4   9
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h
index 6a3d4b8..a39fadf 100644
--- a/include/polarssl/pk.h
+++ b/include/polarssl/pk.h
@@ -43,7 +43,8 @@
 #endif
 
 #define POLARSSL_ERR_PK_MALLOC_FAILED       -0x2F80  /**< Memory alloation failed. */
-#define POLARSSL_ERR_PK_TYPE_MISMATCH       -0x2F00  /**< Type mismatch, eg attempt to use a RSA key as EC, or to modify key type */
+#define POLARSSL_ERR_PK_TYPE_MISMATCH       -0x2F00  /**< Type mismatch, eg attempt to use a RSA key as EC, or to modify key type. */
+#define POLARSSL_ERR_PK_BAD_INPUT_DATA      -0x2E80  /**< Bad input parameters to function. */
 
 #if defined(POLARSSL_RSA_C)
 /**