summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys/public_key.h
Commit message (Collapse)AuthorAgeFilesLines
* KEYS: Split public_key_verify_signature() and make availableDavid Howells2013-09-251-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 <dhowells@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Josh Boyer <jwboyer@redhat.com>
* RSA: Implement signature verification algorithm [PKCS#1 / RFC3447]David Howells2012-10-081-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 <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* KEYS: Asymmetric public-key algorithm crypto key subtypeDavid Howells2012-10-081-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 <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
OpenPOWER on IntegriCloud