'\" t .\" Title: crypto_akcipher_set_priv_key .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.9.88 .\" Language: English .\" .TH "CRYPTO_AKCIPHER_SET_" "9" "May 2018" "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_akcipher_set_priv_key \- Invoke set private key operation .SH "SYNOPSIS" .HP \w'int\ crypto_akcipher_set_priv_key('u .BI "int crypto_akcipher_set_priv_key(struct\ crypto_akcipher\ *\ " "tfm" ", const\ void\ *\ " "key" ", unsigned\ int\ " "keylen" ");" .SH "ARGUMENTS" .PP \fItfm\fR .RS 4 tfm handle .RE .PP \fIkey\fR .RS 4 BER encoded private key .RE .PP \fIkeylen\fR .RS 4 length of the key .RE .SH "DESCRIPTION" .PP .PP Function invokes the algorithm specific set key function, which knows how to decode and interpret the encoded key .SH "RETURN" .PP zero on success; error code in case of error .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