crypto: digital signature verification support
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Fri, 14 Oct 2011 12:25:16 +0000 (15:25 +0300)
committerDmitry Kasatkin <dmitry.kasatkin@intel.com>
Wed, 9 Nov 2011 10:10:37 +0000 (12:10 +0200)
commit051dbb918c7fb7da8e64a2cd0d804ba73399709f
tree34d547e74ef6edb7feeda4a8291b221cc016c393
parent7e8dec918ef8e0f68b4937c3c50fa57002077a4d
crypto: digital signature verification support

This patch implements RSA digital signature verification using GnuPG library.

The format of the signature and the public key is defined by their respective
headers. The signature header contains version information, algorithm,
and keyid, which was used to generate the signature.
The key header contains version and algorythim type.
The payload of the signature and the key are multi-precision integers.

The signing and key management utilities evm-utils provide functionality
to generate signatures and load keys into the kernel keyring.
When the key is added to the kernel keyring, the keyid defines the name
of the key.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Documentation/digsig.txt [new file with mode: 0644]
include/linux/digsig.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/digsig.c [new file with mode: 0644]