---
name: "crypto_blkcipher_ivsize"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crypto_blkcipher_ivsize"
---

# crypto\_blkcipher\_ivsize(9)

obtain IV size

## NAME

crypto\_blkcipher\_ivsize - obtain IV size

## SYNOPSIS

**unsigned int crypto\_blkcipher\_ivsize(struct crypto\_blkcipher \*** *tfm***);**

## ARGUMENTS

*tfm*

cipher handle

## DESCRIPTION

The size of the IV for the block cipher referenced by the cipher handle is returned. This IV size may be zero if the cipher does not need an IV.

## RETURN

IV size in bytes

## AUTHORS

**Stephan Mueller** \<smueller@chronox.de\>

Author.

**Marek Vasut** \<marek@denx.de\>

Author.

## COPYRIGHT
