Skip to contentSkip to conversation

IV generation in geode-aes

DISCUSSION Sohail 2 participants 2 messages Sep 26, 2013 Crypto API

lore
Share & tools
lore

Sohail

author
#0 lore raw

Hi all,
I could'nt understand the mechanism of IV generation in geode-aes. Can someone explain it in easy to understand manner?

Thanks a lot.

#1 lore raw

Hi,

In geode-aes, there is not any IV generation mechanism. In fact IV is delivered to geode-aes's
registered algorithms, from upper layers.For example in case of "cbc-aes-geode" algorithm,
from cbc wrapper ("cbc.c") via walk->iv:

blkcipher_walk_init(&walk, dst, src, nbytes);
err = blkcipher_walk_virt(desc, &walk);
op->iv = walk.iv;
...

Regards.

Quoted 10 lines · Sohail

Hi all,
I could'nt understand the mechanism of IV generation in geode-aes. Can someone explain it in easy to understand manner?

Thanks a lot.

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html