Question regarding GCM/block alignment

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Wed Oct 16 23:05:36 CEST 2013


Hello,

While implementing/imroving GCM code, I have stumbled upon the
following question/problem.
My current code only supports encryption/decryption of data if data is
submitted in full-blocksize
quantities (except last data block of course). Manual vaguely mentions
that 'Depending on the selected algorithms and encryption mode, the
length of the buffers must be a multiple of the block size.'

Should I add buffering of non-full blocks (by the cost of additional

-- 
With best wishes
Dmitry



More information about the Gcrypt-devel mailing list