Hi All,
PCI based devices can be shutdown from sysfs interface
echo "unbind" > /sys/bus/pci/drivers/cxgb4/unbind
In case device has active Transformation(tfm), Drivers cannot un-register the Algorithms because alg->cra_refcnt will be non zero.
Can driver use the "CRYPTO_ALG_DEAD" flag to mark it un-available so that crypto_alg_lookup does not allocate new tfm using dead algo.
Regards
Harsh Jain