Add a TODO about get_output length signature. 64/66164/3
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Thu, 14 Apr 2016 14:56:09 +0000 (16:56 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 20 Apr 2016 10:23:12 +0000 (03:23 -0700)
Change-Id: I33b588ab52da7e1efb05e48c73f5335f02b55fb8

api/yaca/crypto.h

index 309d2f9..b3d16db 100644 (file)
@@ -155,6 +155,8 @@ void yaca_ctx_free(yaca_ctx_h ctx);
  *
  * @return negative on error (@see error.h) or length of output.
  */
+// TODO: this function should probably return the value by param of
+// size_t type and leave the return int value only to report errors
 int yaca_get_output_length(const yaca_ctx_h ctx, size_t input_len);
 
 /**