Document assumption of mbedtls_get_pkcs_padding

Point out that the input length must be the same as the cipher's block
size.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/library/cipher.c b/library/cipher.c
index d0ba01e..2ae01dd 100644
--- a/library/cipher.c
+++ b/library/cipher.c
@@ -839,6 +839,11 @@
     }
 }
 
+/*
+ * Get the length of the PKCS7 padding.
+ *
+ * Note: input_len must be the block size of the cipher.
+ */
 MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
                                                      size_t input_len,
                                                      size_t *data_len)