summaryrefslogtreecommitdiffstats
path: root/include/crypto/public_key.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-06-15 18:28:53 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-23 16:15:37 +0800
commite5221fa6a355112ddcc29dc82a94f7c3a1aacc0b (patch)
treeb5dadf954911e0e8189a8d5ec9eb210a0cdf66aa /include/crypto/public_key.h
parentb6d0695bb3c24ebe8dbaaaf61de791d5821a00ac (diff)
downloadlinux-e5221fa6a355112ddcc29dc82a94f7c3a1aacc0b.tar.gz
linux-e5221fa6a355112ddcc29dc82a94f7c3a1aacc0b.tar.bz2
linux-e5221fa6a355112ddcc29dc82a94f7c3a1aacc0b.zip
KEYS: asymmetric: Move sm2 code into x509_public_key
The sm2 certificate requires a modified digest. Move the code for the hashing from the signature verification path into the code where we generate the digest. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/public_key.h')
-rw-r--r--include/crypto/public_key.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/public_key.h b/include/crypto/public_key.h
index 653992a6e941..8fadd561c50e 100644
--- a/include/crypto/public_key.h
+++ b/include/crypto/public_key.h
@@ -48,8 +48,6 @@ struct public_key_signature {
const char *pkey_algo;
const char *hash_algo;
const char *encoding;
- const void *data;
- unsigned int data_size;
};
extern void public_key_signature_free(struct public_key_signature *sig);