diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-10-09 18:47:53 +0200 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-26 10:30:46 +0200 |
commit | b3a8c8a5ebb5b4c3eb7b104364e63c453cc85f14 (patch) | |
tree | 2504542402fb696882faa4ef09cc56a9f81be9dc /crypto/ccm.c | |
parent | KEYS: Implement PKCS#8 RSA Private Key parser [ver #2] (diff) | |
download | linux-b3a8c8a5ebb5b4c3eb7b104364e63c453cc85f14.tar.xz linux-b3a8c8a5ebb5b4c3eb7b104364e63c453cc85f14.zip |
crypto: rsa-pkcs1pad: Allow hash to be optional [ver #2]
The original pkcs1pad implementation allowed to pad/unpad raw RSA
output. However, this has been taken out in commit:
commit c0d20d22e0ad ("crypto: rsa-pkcs1pad - Require hash to be present")
This patch restored this ability as it is needed by the asymmetric key
implementation.
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions