summaryrefslogtreecommitdiff
path: root/crypto/rsa.c
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2019-04-11 18:51:13 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 22:15:01 +0800
commit78a0324f4a5328088fea9426cfe1d1851276c475 (patch)
treede5222d19c10023d866d9e59fec731267df9ae2d /crypto/rsa.c
parent3c2bc636219fc0c2ea82c8f0d3fb0c9936cf5146 (diff)
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.c')
0 files changed, 0 insertions, 0 deletions