diff options
author | 2012-09-21 23:25:40 +0100 | |
---|---|---|
committer | 2012-10-08 13:50:16 +1030 | |
commit | 612e0fe99965a4028359cd1da5af56b7f6caf7f6 (patch) | |
tree | ff7fe3993067c3dc4f011ea702480add96b8e1e7 /crypto/asymmetric_keys/public_key.h | |
parent | MPILIB: Reinstate mpi_cmp[_ui]() and export for RSA signature verification (diff) | |
download | linux-612e0fe99965a4028359cd1da5af56b7f6caf7f6.tar.gz linux-612e0fe99965a4028359cd1da5af56b7f6caf7f6.tar.bz2 linux-612e0fe99965a4028359cd1da5af56b7f6caf7f6.zip |
RSA: Implement signature verification algorithm [PKCS#1 / RFC3447]
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>
Diffstat (limited to 'crypto/asymmetric_keys/public_key.h')
-rw-r--r-- | crypto/asymmetric_keys/public_key.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/public_key.h b/crypto/asymmetric_keys/public_key.h index 1f86aad31003..5e5e35626899 100644 --- a/crypto/asymmetric_keys/public_key.h +++ b/crypto/asymmetric_keys/public_key.h @@ -26,3 +26,5 @@ struct public_key_algorithm { int (*verify_signature)(const struct public_key *key, const struct public_key_signature *sig); }; + +extern const struct public_key_algorithm RSA_public_key_algorithm; |