summaryrefslogtreecommitdiff
path: root/crypto/xts.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2018-08-30 11:00:14 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-04 11:37:04 +0800
commit871e235bdcbbb9fe49bc4dd1119b9bc220bdc9aa (patch)
tree3791fcd39c9729a23cf1c58e67b852cb45dd4944 /crypto/xts.c
parentdb3efd1337044772e6763d43abedd584fca89cf5 (diff)
downloadlinux-crypto-871e235bdcbbb9fe49bc4dd1119b9bc220bdc9aa.tar.gz
linux-crypto-871e235bdcbbb9fe49bc4dd1119b9bc220bdc9aa.zip
crypto: api - Introduce notifier for new crypto algorithms
Introduce a facility that can be used to receive a notification callback when a new algorithm becomes available. This can be used by existing crypto registrations to trigger a switch from a software-only algorithm to a hardware-accelerated version. A new CRYPTO_MSG_ALG_LOADED state is introduced to the existing crypto notification chain, and the register/unregister functions are exported so they can be called by subsystems outside of crypto. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Suggested-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions