diff options
author | Eric Biggers <ebiggers@google.com> | 2022-01-18 16:13:06 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-01-31 11:21:44 +1100 |
commit | c2a28fdb2f4e0b1676709426d80a986dd601200e (patch) | |
tree | 2eb6ef97a601b8d409845268dd660b79de18c154 /crypto/sm2.c | |
parent | a24611ea356c7f3f0ec926da11b9482ac1f414fd (diff) | |
download | linux-c2a28fdb2f4e0b1676709426d80a986dd601200e.tar.gz linux-c2a28fdb2f4e0b1676709426d80a986dd601200e.tar.bz2 linux-c2a28fdb2f4e0b1676709426d80a986dd601200e.zip |
crypto: rsa-pkcs1pad - use clearer variable names
The new convention for akcipher_alg::verify makes it unclear which
values are the lengths of the signature and digest. Add local variables
to make it clearer what is going on.
Also rename the digest_size variable in pkcs1pad_sign(), as it is
actually the digest *info* size, not the digest size which is different.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sm2.c')
0 files changed, 0 insertions, 0 deletions