crypto_has_cipher (9) Linux Manual Page
crypto_has_cipher – Search for the availability of a single block cipher
Synopsis
int crypto_has_cipher(const char *alg_name, u32 type, u32 mask);
Arguments
alg_name
-
- is the cra_name / name or cra_driver_name / driver name of the single block cipher
type
- specifies the type of the cipher
mask
- specifies the mask for the cipher
Return
true when the single block cipher is known to the kernel crypto API; false otherwise
Authors
Stephan Mueller <smueller [at] chronox.de>
- Author.
Marek Vasut <marek [at] denx.de>
- Author.
