diff options
author | Vitaly Chikunov | 2019-04-11 17:51:13 +0200 |
---|---|---|
committer | Herbert Xu | 2019-04-18 16:15:01 +0200 |
commit | 78a0324f4a5328088fea9426cfe1d1851276c475 (patch) | |
tree | de5222d19c10023d866d9e59fec731267df9ae2d /crypto/rsa-pkcs1pad.c | |
parent | crypto: ux500 - Forbid 2-key 3DES in FIPS mode (diff) | |
download | kernel-qcow2-linux-78a0324f4a5328088fea9426cfe1d1851276c475.tar.gz kernel-qcow2-linux-78a0324f4a5328088fea9426cfe1d1851276c475.tar.xz kernel-qcow2-linux-78a0324f4a5328088fea9426cfe1d1851276c475.zip |
crypto: akcipher - default implementations for request callbacks
Because with the introduction of EC-RDSA and change in workings of RSA
in regard to sign/verify, akcipher could have not all callbacks defined,
check the presence of callbacks in crypto_register_akcipher() and
provide default implementation if the callback is not implemented.
This is suggested by Herbert Xu instead of checking the presence of the
callback on every request.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions