'\" t .\" Title: aead_request_alloc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "AEAD_REQUEST_ALLOC" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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" aead_request_alloc \- allocate request data structure .SH "SYNOPSIS" .HP \w'struct\ aead_request\ *\ aead_request_alloc('u .BI "struct aead_request * aead_request_alloc(struct\ crypto_aead\ *\ " "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 AEAD encrypt and decrypt API calls\&. During the allocation, the provided aead 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