gcry_cipher_decrypt usage
Werner Koch
wk at gnupg.org
Thu Apr 7 09:28:04 CEST 2011
On Wed, 6 Apr 2011 20:35, news at edrusb.is-a-geek.org said:
> In other words, when a buffer of ciphered data is given to
> gcry_cipher_decrypt, how is it possible to know the amount of clear text
> data that has been produced?
That depends on the cipher mode. Almost all modes return the same
number of bytes as you put in. Can you please give a more explicit
example?
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gcrypt-devel
mailing list