crypto: Add a report function pointer to crypto_type
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 27 Sep 2011 05:24:29 +0000 (07:24 +0200)
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 21 Dec 2017 00:50:06 +0000 (01:50 +0100)
commitbebc17f8d07b61564951ec62a943428558526b2e
tree86c1084f13a012cbc3840ee34409c32995cb35ea
parentc4531abaca7c02e5ea2b4c9ff266e4621435c153
crypto: Add a report function pointer to crypto_type

We add a report function pointer to struct crypto_type. This function
pointer is used from the crypto userspace configuration API to report
crypto algorithms to userspace.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit b6aa63c09ba3b150a1030f9c95c7647361e7910e)
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
crypto/crypto_user.c
include/crypto/algapi.h