---
name: "crypto_has_skcipher"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crypto_has_skcipher"
---

# crypto\_has\_skcipher(9)

Search for the availability of an skcipher.

## NAME

crypto\_has\_skcipher - Search for the availability of an skcipher.

## SYNOPSIS

**int crypto\_has\_skcipher(const char \*** *alg\_name***, u32** *type***, u32** *mask***);**

## ARGUMENTS

*alg\_name*

is the cra\_name / name or cra\_driver\_name / driver name of the skcipher

*type*

specifies the type of the cipher

*mask*

specifies the mask for the cipher

## RETURN

true when the skcipher is known to the kernel crypto API; false otherwise

## AUTHORS

**Stephan Mueller** \<smueller@chronox.de\>

Author.

**Marek Vasut** \<marek@denx.de\>

Author.

## COPYRIGHT
