'\" t .\" Title: crypto_ahash_export .\" 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_AHASH_EXPORT" "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_ahash_export \- extract current message digest state .SH "SYNOPSIS" .HP \w'int\ crypto_ahash_export('u .BI "int crypto_ahash_export(struct\ ahash_request\ *\ " "req" ", void\ *\ " "out" ");" .SH "ARGUMENTS" .PP \fIreq\fR .RS 4 reference to the ahash_request handle whose state is exported .RE .PP \fIout\fR .RS 4 output buffer of sufficient size that can hold the hash state .RE .SH "DESCRIPTION" .PP This function exports the hash state of the ahash_request handle into the caller\-allocated output buffer out which must have sufficient size (e\&.g\&. by calling crypto_ahash_reqsize)\&. .SH "RETURN" .PP 0 if the export was successful; < 0 if an error occurred .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