How driver can mark the algo implementation Unavailable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux