crypto_has_blkcipher(9) Search for the availability of a block cipher

SYNOPSIS

int crypto_has_blkcipher(const char * alg_name, u32 type, u32 mask);

ARGUMENTS

alg_name

is the cra_name / name or cra_driver_name / driver name of the block cipher

type

specifies the type of the cipher

mask

specifies the mask for the cipher

RETURN

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

AUTHORS

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

COPYRIGHT