path: root/crypto/asymmetric_keys/public_key.h
AgeCommit message (Collapse)AuthorFilesLines
2016-02-10crypto: KEYS: convert public key and digsig asym to the akcipher apiTadeusz Struk1-36/+0
This patch converts the module verification code to the new akcipher API. Signed-off-by: Tadeusz Struk <> Acked-by: Herbert Xu <> Signed-off-by: David Howells <>
2013-09-25KEYS: Split public_key_verify_signature() and make availableDavid Howells1-0/+6
Modify public_key_verify_signature() so that it now takes a public_key struct rather than a key struct and supply a wrapper that takes a key struct. The wrapper is then used by the asymmetric key subtype and the modified function is used by X.509 self-signature checking and can be used by other things also. Signed-off-by: David Howells <> Reviewed-by: Kees Cook <> Reviewed-by: Josh Boyer <>
2012-10-08RSA: Implement signature verification algorithm [PKCS#1 / RFC3447]David Howells1-0/+2
Implement RSA public key cryptography [PKCS#1 / RFC3447]. At this time, only the signature verification algorithm is supported. This uses the asymmetric public key subtype to hold its key data. Signed-off-by: David Howells <> Signed-off-by: Rusty Russell <>
2012-10-08KEYS: Asymmetric public-key algorithm crypto key subtypeDavid Howells1-0/+28
Add a subtype for supporting asymmetric public-key encryption algorithms such as DSA (FIPS-186) and RSA (PKCS#1 / RFC1337). Signed-off-by: David Howells <> Signed-off-by: Rusty Russell <>