Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I have an embedded project that requires AES, I seem to have found an AES implementation that fits the bill here: http://www.literatecode.com/aes256, but it does not include an IV.

Are there any documents detailing the standard way to implement an IV? I looked up the FIPS 197 spec and there is no mention of an IV.

share|improve this question
    
You may have a look at modes of operation where you replace "block cipher encryption" by "AES". –  DrLecter Jul 24 at 10:10

1 Answer 1

up vote 4 down vote accepted

AES is a block cipher which actually only "maps" (encrypt) a 128 bit block (plainblock) to a 128 bit block (cipherblock) and vice versa. This "mapping" is key dependent.

To encrypt some data you normally apply an encryption mode like CBC, CTR, GCM etc. using e.g. AES as block cipher within this mode. These modes normally require an IV or Nonce.

So, not the actually AES requires an IV but the mode used to actually en-/decrypt data.

share|improve this answer
    
thanks, this page cleared it up for me en.wikipedia.org/wiki/Block_cipher_mode_of_operation –  jayjay Jul 24 at 10:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.