summaryrefslogtreecommitdiffstats
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorDavid Howells2018-10-09 18:47:46 +0200
committerJames Morris2018-10-26 10:30:46 +0200
commit3c58b2362ba828ee2970c66c6a6fd7b04fde4413 (patch)
tree842096971b747ef531d6b4d3767ac85f993eb83f /crypto/rsa-pkcs1pad.c
parentKEYS: Implement encrypt, decrypt and sign for software asymmetric key [ver #2] (diff)
downloadkernel-qcow2-linux-3c58b2362ba828ee2970c66c6a6fd7b04fde4413.tar.gz
kernel-qcow2-linux-3c58b2362ba828ee2970c66c6a6fd7b04fde4413.tar.xz
kernel-qcow2-linux-3c58b2362ba828ee2970c66c6a6fd7b04fde4413.zip
KEYS: Implement PKCS#8 RSA Private Key parser [ver #2]
Implement PKCS#8 RSA Private Key format [RFC 5208] parser for the asymmetric key type. For the moment, this will only support unencrypted DER blobs. PEM and decryption can be added later. PKCS#8 keys can be loaded like this: openssl pkcs8 -in private_key.pem -topk8 -nocrypt -outform DER | \ keyctl padd asymmetric foo @s 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 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions