]> git.karo-electronics.de Git - linux-beck.git/commit
KEYS: Allow authentication data to be stored in an asymmetric key
authorDavid Howells <dhowells@redhat.com>
Wed, 6 Apr 2016 15:13:33 +0000 (16:13 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Apr 2016 15:13:33 +0000 (16:13 +0100)
commit3b764563177c1e435ef3e2608271c07955f73ea6
tree6c2c109d6fdde374e9a514976f49e236f79459f4
parent864e7a816a0646a6d9aecbd59a8e366c39b8ad2d
KEYS: Allow authentication data to be stored in an asymmetric key

Allow authentication data to be stored in an asymmetric key in the 4th
element of the key payload and provide a way for it to be destroyed.

For the public key subtype, this will be a public_key_signature struct.

Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/asymmetric_type.c
crypto/asymmetric_keys/public_key.c
crypto/asymmetric_keys/signature.c
crypto/asymmetric_keys/x509_cert_parser.c
include/crypto/public_key.h
include/keys/asymmetric-subtype.h
include/keys/asymmetric-type.h