crypto: provide single place for hash algo information
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Mon, 6 May 2013 12:40:01 +0000 (15:40 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 25 Oct 2013 21:14:03 +0000 (17:14 -0400)
commitee08997fee16f10be23c9748d609dbdf3baab8e4
tree30c2d08bc5e5048558f7b8950a268409360c57e5
parent08de59eb144d7c41351a467442f898d720f0f15f
crypto: provide single place for hash algo information

This patch provides a single place for information about hash algorithms,
such as hash sizes and kernel driver names, which will be used by IMA
and the public key code.

Changelog:
- Fix sparse and checkpatch warnings
- Move hash algo enums to uapi for userspace signing functions.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/hash_info.c [new file with mode: 0644]
include/crypto/hash_info.h [new file with mode: 0644]
include/uapi/linux/hash_info.h [new file with mode: 0644]