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>
Showing
- crypto/asymmetric_keys/asymmetric_type.c 5 additions, 2 deletionscrypto/asymmetric_keys/asymmetric_type.c
- crypto/asymmetric_keys/public_key.c 14 additions, 6 deletionscrypto/asymmetric_keys/public_key.c
- crypto/asymmetric_keys/signature.c 14 additions, 0 deletionscrypto/asymmetric_keys/signature.c
- crypto/asymmetric_keys/x509_cert_parser.c 1 addition, 1 deletioncrypto/asymmetric_keys/x509_cert_parser.c
- include/crypto/public_key.h 4 additions, 1 deletioninclude/crypto/public_key.h
- include/keys/asymmetric-subtype.h 1 addition, 1 deletioninclude/keys/asymmetric-subtype.h
- include/keys/asymmetric-type.h 4 additions, 3 deletionsinclude/keys/asymmetric-type.h
Loading
Please register or sign in to comment