'\" t .\" Title: crypto_alloc_akcipher .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "CRYPTO_ALLOC_AKCIPHE" "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" crypto_alloc_akcipher \- allocate AKCIPHER tfm handle .SH "SYNOPSIS" .HP \w'struct\ crypto_akcipher\ *\ crypto_alloc_akcipher('u .BI "struct crypto_akcipher * crypto_alloc_akcipher(const\ char\ *\ " "alg_name" ", u32\ " "type" ", u32\ " "mask" ");" .SH "ARGUMENTS" .PP \fIalg_name\fR .RS 4 is the cra_name / name or cra_driver_name / driver name of the public key algorithm e\&.g\&. \(lqrsa\(rq .RE .PP \fItype\fR .RS 4 specifies the type of the algorithm .RE .PP \fImask\fR .RS 4 specifies the mask for the algorithm .RE .SH "DESCRIPTION" .PP Allocate a handle for public key algorithm\&. The returned struct crypto_akcipher is the handle that is required for any subsequent API invocation for the public key operations\&. .SH "RETURN" .PP allocated handle in case of success; \fBIS_ERR\fR is true in case of an error, \fBPTR_ERR\fR returns the error code\&. .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