'\" t .\" Title: ahash_request_alloc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "AHASH_REQUEST_ALLOC" "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" ahash_request_alloc \- allocate request data structure .SH "SYNOPSIS" .HP \w'struct\ ahash_request\ *\ ahash_request_alloc('u .BI "struct ahash_request * ahash_request_alloc(struct\ crypto_ahash\ *\ " "tfm" ", gfp_t\ " "gfp" ");" .SH "ARGUMENTS" .PP \fItfm\fR .RS 4 cipher handle to be registered with the request .RE .PP \fIgfp\fR .RS 4 memory allocation flag that is handed to kmalloc by the API call\&. .RE .SH "DESCRIPTION" .PP Allocate the request data structure that must be used with the ahash message digest API calls\&. During the allocation, the provided ahash handle is registered in the request data structure\&. .SH "RETURN" .PP allocated request handle in case of success, or NULL if out of memory .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