'\" t .\" Title: crypto_blkcipher_get_iv .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CRYPTO_BLKCIPHER_GET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Programming Interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" crypto_blkcipher_get_iv \- obtain IV from cipher .SH "SYNOPSIS" .HP \w'void\ crypto_blkcipher_get_iv('u .BI "void crypto_blkcipher_get_iv(struct\ crypto_blkcipher\ *\ " "tfm" ", u8\ *\ " "dst" ", unsigned\ int\ " "len" ");" .SH "ARGUMENTS" .PP \fItfm\fR .RS 4 cipher handle .RE .PP \fIdst\fR .RS 4 buffer filled with the IV .RE .PP \fIlen\fR .RS 4 length of the buffer dst .RE .SH "DESCRIPTION" .PP The caller can obtain the IV set for the block cipher referenced by the cipher handle and store it into the user\-provided buffer\&. If the buffer has an insufficient space, the IV is truncated to fit the buffer\&. .SH "AUTHORS" .PP \fBStephan Mueller\fR <\&smueller@chronox.de\&> .RS 4 Author. .RE .PP \fBMarek Vasut\fR <\&marek@denx.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br