[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Crypt module discussion
From: |
jemarch |
Subject: |
Re: [pdf-devel] Crypt module discussion |
Date: |
Sat, 02 Aug 2008 14:14:17 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> Does OUTSIZE not function as a guard to make it easier to avoid
> overflowing the 'out' buffer?
Yes, it is true. But I mean, we can provide a function or macro
which return the size of the encrypted output buffer. So we avoid
caller need know about padding, for example.
Do that function always fill the output buffer? Or it is possible to
calculate the size of the output buffer that is going to be filled?