Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an embedded project that requires AES, I seem to have found an AES implementation that fits the bill here:, 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 '14 at 10:10
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 – jayjay Jul 24 '14 at 10:11

Your Answer


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.