diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-15 18:28:53 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-23 16:15:37 +0800 |
commit | e5221fa6a355112ddcc29dc82a94f7c3a1aacc0b (patch) | |
tree | b5dadf954911e0e8189a8d5ec9eb210a0cdf66aa /include/crypto/public_key.h | |
parent | b6d0695bb3c24ebe8dbaaaf61de791d5821a00ac (diff) |
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.h | 2 |
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); |