'\" t .\" Title: crypto_has_cipher .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CRYPTO_HAS_CIPHER" "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_has_cipher \- Search for the availability of a single block cipher .SH "SYNOPSIS" .HP \w'int\ crypto_has_cipher('u .BI "int crypto_has_cipher(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 single block cipher .RE .PP \fItype\fR .RS 4 specifies the type of the cipher .RE .PP \fImask\fR .RS 4 specifies the mask for the cipher .RE .SH "RETURN" .PP true when the single block cipher is known to the kernel crypto API; false otherwise .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