For some algorithms using GetNextIV() is necessary, for others it's 
optional. You can query the algorithm to find out which is the case. See 
http://www.cryptopp.com/docs/ref/class_simple_keying_interface.html. (For 
all block cipher modes it's optional.)

Note that GetNextIV() is for geting the next IV. You still need to use an 
RNG to generate the first IV if the algorithm requires a random IV.

----- Original Message ----- 
From: "dreijer" <[EMAIL PROTECTED]>
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2007 2:42 AM
Subject: AES and GetNextIV()


>
> I just stumbled upon the method GetNextIV() in CFB_CipherTemplate.
> Should one initialize the IV for an AES cipher using this method rather
> than calling AutoSeededRandomPool::GenerateBlock() ?
>
>
> > 



--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to