Symmetric cipher padding?

Moritz Schulte mo at
Sun Mar 20 17:50:24 CET 2005

On Sat, Mar 19, 2005 at 03:17:26PM +1100, Brad Hards wrote:


> Is there any description of how gcrypt does padding?

I am not entirely sure about your question, but I assume you are
asking what padding mechanisms Libgcrypt provides in respect to
symmetric block ciphers.  The answer is: none; you have to do your
padding yourself.  Note that if you are dealing with data, whose size
is larger than a single block size, you can use CTS (cipher text
stealing) instead of padding.


Moritz Schulte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
Url : /pipermail/attachments/20050320/41bb7171/attachment.pgp

More information about the Gcrypt-devel mailing list