Name

crypto_blkcipher_set_iv — set IV for cipher

Synopsis

void crypto_blkcipher_set_iv (struct crypto_blkcipher * tfm,
 const u8 * src,
 unsigned int len);
 

Arguments

tfm

cipher handle

src

buffer holding the IV

len

length of the IV in bytes

Description

The caller provided IV is set for the block cipher referenced by the cipher handle.