diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-10-09 17:47:53 +0100 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-26 09:30:46 +0100 |
commit | c78dac920a48adb6a766b9fee620e42d491b022d (patch) | |
tree | eb94d3d303b5177484db03c5cb0d770b217b0072 /crypto/842.c | |
parent | 16d2436e8d9cc08edca8def00b6b1f01eb57f5b7 (diff) | |
download | linux-crypto-c78dac920a48adb6a766b9fee620e42d491b022d.tar.gz linux-crypto-c78dac920a48adb6a766b9fee620e42d491b022d.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 2ef96b5426e6 ("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/842.c')
0 files changed, 0 insertions, 0 deletions