Scroll to navigation

CRYPTO_HAS_SKCIPHER(9) Programming Interface CRYPTO_HAS_SKCIPHER(9)

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

January 2017 Kernel Hackers Manual 4.8.