summaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3x
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-10-09 18:47:31 +0200
committerJames Morris <james.morris@microsoft.com>2018-10-26 10:30:46 +0200
commitf7c4e06e066c3df282e6e3d4e7d8c498be9e1e46 (patch)
treeb4fbeca37cf7dc4188fb459b9934b8ce386cf7d4 /arch/m68k/sun3x
parentKEYS: Provide software public key query function [ver #2] (diff)
downloadlinux-f7c4e06e066c3df282e6e3d4e7d8c498be9e1e46.tar.xz
linux-f7c4e06e066c3df282e6e3d4e7d8c498be9e1e46.zip
KEYS: Allow the public_key struct to hold a private key [ver #2]
Put a flag in the public_key struct to indicate if the structure is holding a private key. The private key must be held ASN.1 encoded in the format specified in RFC 3447 A.1.2. This is the form required by crypto/rsa.c. The software encryption subtype's verification and query functions then need to select the appropriate crypto function to set the key. Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Marcel Holtmann <marcel@holtmann.org> Reviewed-by: Marcel Holtmann <marcel@holtmann.org> Reviewed-by: Denis Kenzior <denkenz@gmail.com> Tested-by: Denis Kenzior <denkenz@gmail.com> Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'arch/m68k/sun3x')
0 files changed, 0 insertions, 0 deletions